Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2002, 01:51 PM
Malevolent
Hill Giant
 
Join Date: Mar 2002
Posts: 171
Default Scripted Doors - they're magic 'n stuff

It's quickhack of the hour with your host: Malevolent!

I thought I'd toss in the ability to script doors. So when you script a door, it fires off the script engine. Further, you can use a new tag i stuck in called NAME to make the world seem more alive. NAME is used in the message sent across. Check through the example below if you don't catch what I'm getting at.

rivervale.qst

DOOR_SCRIPT 1 {
NAME: An old and very magical hobbit door
SAY: Hello good friend!
CAST_SPELL: 7
EMOTE:slowly grinds open.
EMOTE:begins to sing.
}

DOOR_SCRIPT 2 {
NAME: A blackened door
SAY: I have been awaiting those words for someone to turn the handle for a very long time.
EMOTE:slowly grinds open.
EMOTE:begins to chant.
SAY: I shall now be with you in spirit, good friend.
CAST_SPELL: 404
}

DOOR_SCRIPT 3 {
NAME: A voice inside
SAY: I don't know where you come from, pal. But here in Rivervale, we knock.
EMOTE:coughs.
CAST_SPELL: 11
}

DOOR_SCRIPT 4 {
NAME: Deputy Budo
CAST_SPELL: 911
SAY: Quick! Hide in the closet!
EMOTE:closes the closet door behind him.
}

Attached source. I didn't find it very economical with the current script engine to check everytime you say something. The first test of this sent me to cazic -- wrong spell # :P

I'd like to add #DOOR_LOCKED, #DOOR_LOCKED_LEVEL (somenum), some time later. But the above do a neat job.

--MV
Reply With Quote
  #2  
Old 04-06-2002, 03:53 PM
Lyenu X`Arie
Fire Beetle
 
Join Date: Mar 2002
Posts: 0
Default

Very nice.. I'll have to check it out =)
Reply With Quote
  #3  
Old 04-14-2002, 01:22 PM
ninja_looter
Sarnak
 
Join Date: Apr 2002
Posts: 58
Default

LOL that rocks!
Reply With Quote
  #4  
Old 04-14-2002, 08:45 PM
Shortlived
Sarnak
 
Join Date: Apr 2002
Posts: 92
Default

lol damn good idea!
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 10:05 AM.


 

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