Jump to content


Photo

Dimension door


  • Please log in to reply
5 replies to this topic

#1 Daeva

Daeva
  • Member
  • 26 posts

Posted 26 August 2005 - 09:02 AM

Right, I have set up an encounter, however, I cannot seem to work out how to have the creatures dimension door in rather than merely appearing. I asume you merely make the graphics for dimension door appear in the location(s) of the spawning creature(s) but how do I go about doing this and how do I make them appear during the graphics (like the cowled wizards) rather than before or after them?


Does anyone know how to do this?

#2 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11149 posts

Posted 26 August 2005 - 09:05 AM

A tip would be to check out the cutscene from leaving Chateau Irenicus.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#3 igi

igi

    IESDP Guardian

  • Administrator
  • 1067 posts

Posted 26 August 2005 - 10:07 AM

Another tip would be to check the
IESDP

Visit the IESDP


#4 Nastian

Nastian
  • Member
  • 280 posts

Posted 26 August 2005 - 12:05 PM

I think that you may want to use a script:

IF
    Global("yyy","xxx",0)
THEN
    RESPONSE #100
       SetGlobal("yyy","xxx",1)
        CreateCreatureDoor("zzz",[x.y],z)
END

yyy - your condition (for example MyNPC)
xxx - area code (for example AR0700)
zzz - creature file (for example Karan)

x & y - coordinations (for example 323.1020)
z - clockwise direction (from 1-15?)

Of course you should append it to xxx area script.

But beware - I never try it myself!

#5 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11149 posts

Posted 26 August 2005 - 01:34 PM

Of course you should append it to xxx area script.

Actually, the only thing you need to remember is to use this action:

CreateCreatureDoor(S:NewObject*,P:Location*,I:Face*)

...which can be found in IESDP, as igi said.

You don't have to append it to the area script if you don't want to, as you can easily use it in another script, a dialogue or a cutscene as well.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#6 Daeva

Daeva
  • Member
  • 26 posts

Posted 29 August 2005 - 07:02 AM

Thanks, I'll give all those things a try...