Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2011, 12:44 PM
Shamanistik08
Sarnak
 
Join Date: Apr 2011
Posts: 47
Default Earthquake

Hi there,
I was wondering if the worldwide emote from Overlord Mata Muram was included somewhere in EQemu. and If so, what script you need to use?
The earthquake on killing a boss expansion would be great.

Thanks in advance
Reply With Quote
  #2  
Old 05-02-2011, 04:31 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

You can use these 2 commands to accomplish most of what you want:

CameraEffect(duration, [intensity, singleclient])
quest::we(colorid, "Text") - Server wide emote.

That will let you do a world emote in whatever color you choose. It can also do a camera shake, but that is only on a per-zone basis, so if you wanted it to be world-wide, you would either need to modify the source code to make a world-wide option or add special perl scripts in each zone that will somehow handle doing the camera shake as needed (which would be a bit of a pain).

I would like to have a world-wide option for the camera shake, but haven't really had the time to look into getting one added or how to do so.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 05-02-2011, 06:18 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by trevius View Post
You can use these 2 commands to accomplish most of what you want:

CameraEffect(duration, [intensity, singleclient])
quest::we(colorid, "Text") - Server wide emote.

That will let you do a world emote in whatever color you choose. It can also do a camera shake, but that is only on a per-zone basis, so if you wanted it to be world-wide, you would either need to modify the source code to make a world-wide option or add special perl scripts in each zone that will somehow handle doing the camera shake as needed (which would be a bit of a pain).

I would like to have a world-wide option for the camera shake, but haven't really had the time to look into getting one added or how to do so.
About to commit something that will allow for the camera to shake globally, and identified the opcode for it to work on titanium. In addition to all of this, I also added a way to reload rules in all zones (or just world) in a command.

~
Reply With Quote
  #4  
Old 05-02-2011, 06:31 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Ohh, very nice, Secrets! Guessing you can just use the same command and change the singleclient bool into an int8 with 0 being zonewide, 1 being single client and 2 being world-wide. Not sure if that would be a bit confusing, but it should reduce the need for a whole new command or field and won't break any existing scripts.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 05-02-2011, 06:41 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by trevius View Post
Ohh, very nice, Secrets! Guessing you can just use the same command and change the singleclient bool into an int8 with 0 being zonewide, 1 being single client and 2 being world-wide. Not sure if that would be a bit confusing, but it should reduce the need for a whole new command or field and won't break any existing scripts.
The parameter will be optional, if it doesn't exist, it simply won't use it. (defaults to false in code)

No need for complicating things if you don't need to :p
Reply With Quote
  #6  
Old 05-02-2011, 07:05 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Committed my changes in r1888. Enjoy :P
Reply With Quote
  #7  
Old 05-02-2011, 08:03 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Quote:
Originally Posted by trevius View Post
Ohh, very nice, Secrets! Guessing you can just use the same command and change the singleclient bool into an int8 with 0 being zonewide, 1 being single client and 2 being world-wide. Not sure if that would be a bit confusing, but it should reduce the need for a whole new command or field and won't break any existing scripts.
Not a bad idea, but I would think:
0 = Single client
1 = Zone clients
2 = World clients
Reply With Quote
  #8  
Old 05-03-2011, 05:24 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by joligario View Post
Not a bad idea, but I would think:
0 = Single client
1 = Zone clients
2 = World clients
Yeah, that would make more sense, but if it was set as a bool, that would require all existing scripts to be altered to work the new way. It doesn't matter either way anyway, since I was thinking that the singleclient field was a bool when it really is asking for a specific client instead. I think the way Secrets implemented it should work fine enough. Though, it seems to be coded a bit oddly, but as long as it works as intended it is fine with me
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #9  
Old 05-11-2011, 01:23 AM
Shamanistik08
Sarnak
 
Join Date: Apr 2011
Posts: 47
Default

Quote:
Originally Posted by trevius View Post
You can use these 2 commands to accomplish most of what you want:

CameraEffect(duration, [intensity, singleclient])
quest::we(colorid, "Text") - Server wide emote.

That will let you do a world emote in whatever color you choose. It can also do a camera shake, but that is only on a per-zone basis, so if you wanted it to be world-wide, you would either need to modify the source code to make a world-wide option or add special perl scripts in each zone that will somehow handle doing the camera shake as needed (which would be a bit of a pain).

I would like to have a world-wide option for the camera shake, but haven't really had the time to look into getting one added or how to do so.
Couldn't make a script that work with that, could you post a sample with values filled please? sorry still a newbie..
Reply With Quote
  #10  
Old 05-11-2011, 02:44 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I think this should work, but didn't actually test it:


Code:
sub EVENT_SAY {

	$npc->CameraEffect(5000, 5, 0, 1);
	quest::we(13, "OH SNAP!");

}
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #11  
Old 05-11-2011, 03:45 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by trevius View Post
I think this should work, but didn't actually test it:


Code:
sub EVENT_SAY {

	$npc->CameraEffect(5000, 5, 0, 1);
	quest::we(13, "OH SNAP!");

}
That should indeed work.

You will need latest SVN compiled.
Reply With Quote
  #12  
Old 05-11-2011, 11:49 AM
Shamanistik08
Sarnak
 
Join Date: Apr 2011
Posts: 47
Default

Ok not working. working wih rev1751. and since I am still not sure if I can compile the new rev without losing all the work I've done, I won't do it.

Thanks anyway
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3