Teleport to anywhere

Discussion in 'Modding and Scripting Support' started by Xz, Aug 21, 2006.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    is it possible to change the teleport spell to let you teleport to anywhere?
     
  2. Frigo

    Frigo Active Member

    Messages:
    2,107
    Likes Received:
    0
    Joined:
    Jan 21, 2006
    AntiTeleport.mes if I remember correctly?
     
  3. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    Yeah, I'm sorry I didn't explai what exactly I was asking. Is it possible to change the teleport script so that it till allow you to teleport to unknown locations, that is to teleport based on co-ordinates? Like when you walk you can walk anywhere...
     
  4. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    It's probably not possible.

    There are very few lines for Teleport in SpellList.mes. This means that most of what happens in the spell is controlled by something hardcoded into the game.

    {1200}{AoE: Tgt_Self}
    {1201}{Cost: 50, ChargeBeginCost: 0}
    {1205}{[Begin], Type: EyeCandy, 2, Add}
    {1206}{[Begin], Type: Movement, Move_Location: Teleport_Tile}
     
  5. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    So it's not possible to attach a script to it?
     
  6. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Spells have no scripts or script attachment points in the way that critters and items do.

    Troika had to custom build the Teleport spell rather than just use the spell commands that most other spells use so I would say that it is beyond the abilities of any modder.
     
  7. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    You probably know what I want this for, you mentioned in my other thread, changing the dlg files. Any documents you would reccomend on the subject?
     
  8. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    The WorldEd manual.
    AMTUT gives an easy introduction to general modding but if you only want to change some dialogue then the relevant parts of WorldEd should do you.

    You don't even have to add new lines of dialogue. In the final field of an existing line of dialogue you can add "mm133". Simple as that.

    Explanation:
    mm - mark map area num1 as known on PC’s map
    {133}{Dungeon of the Dragon Pool}
     
  9. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
  10. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    It was "mm55" actually. :)
     
  11. TONGSyaBASS

    TONGSyaBASS Member

    Messages:
    772
    Likes Received:
    0
    Joined:
    Apr 19, 2005
    Indeed it is.
    I spell checked that post twice (I was tired and kept messing up) but I forgot to idiot check it.
    The number I gave you was from townmap, which basically decides whether the map should be fogged or not. What I should have given you was the gamearea number but I see you found it yourself.
     
  12. Xz

    Xz Monkey Admin Staff Member

    Messages:
    5,085
    Likes Received:
    4
    Joined:
    May 31, 2003
    I did, I found it in the Torian Kel Skeleton dialog.
     
  13. AirBreather

    AirBreather New Member

    Messages:
    11
    Likes Received:
    0
    Joined:
    Jan 31, 2008
    Hmm.

    Guess this is a major bump, but I'd like to also teleport from anywhere.

    I unpacked arcanum1 to 4.dat with dbmaker.exe and the "AntiTeleport.mes" file did not show up. How could I get access to it?
     
  14. rroyo

    rroyo Active Member

    Messages:
    3,319
    Likes Received:
    0
    Joined:
    Oct 13, 2006
    It's in the Arcanum.dat/rules folder.
     
Our Host!