Jump to content

Planning and Collaboration for a Teleport Spell Mod


Endarire

Recommended Posts

@lynx
As mentioned above, you would warp to the same place you would arrive had you walked to that destination.  This is very intentionally mimicking the functionality of walking there, but without encounters and with a travel time of 0.

Note that the spell is refunded for some purposes, not merely because you were disrupted while casting.  The refund is there because simply being told, "You can't use this spell you cast when you don't know why" with no mercy is just not fun.

@subtledoctor
Tell me your main character's name so that, if the caster is named that, he alone suffers the pain you desired for him.

EVERYONE
I'm more interested in getting the specific area codes of blacklisted areas and vendor NPC IDs who sell Teleport scrolls.  Also, what other areas should be blacklisted for teleport use due to them being extraplanar or likely game/plot-breaking if warped out of or to?

Thankee!

Edited by Endarire
Link to comment
22 hours ago, Jarno Mikkola said:

Thing is, I have sevear doubts you can do that in this engine. Hmm, so if you can, do so with the "Eeg" character.

You can detect the main character's name: use the Charname() trigger. (The game uses it to get Drizzt to attack you if your character is also called 'Drizzt'.)

Link to comment

Nice! Didn't know about that one.

Anyway, I think this mod started at the wrong stage — areas to exclude can be figured out eventually, but without a technical proof-of-concept showing the mod is feasible in the first place, asking for areas is a bit moot.

Link to comment

At the technical level, the simplest way to do this is by script and dialog. Teleport just summons an invisible creature that initiates dialog. Use the dialog options to select where you teleport to and to control what options are available and whether you're allowed to do it at all. Implement teleportation to an area via an area-specific cutscene called from the dialog, and put the special effects into that cutscene. That's fairly easy to implement. It would obviously be cooler to have a graphical select option but it would be radically harder to do (lots of UI editing at the least, possibly EXE changes.)

That said, I think the problems of breaking the plot are fairly severe. You have to lock down quite a few areas, with not very much in the way of in-game justification, in order to avoid messing with the whole leave-and-return structure of chapters 4-5. (A party who can teleport doesn't really have any reason to accept the underdark-vs-Saemon dilemma at the end of chapter 4.) And it would be quite difficult to deal with the various forced random encounters that the game (and probably also some mods) triggers from time to time.

Link to comment

@DavidW
I also considered the 'warp via dialog' situation, but vastly preferred what I proposed as it seemed like a more elegant solution.  In terms of scope, how easily implemented is my solution of changing the map travel times to 0, avoiding all encounters, 'fast traveling' to the location, then returning things to normal post-warp?

Plot-wise, I assumed chapters 4 and 5 had ample justification to prevent warping.  Spellhold Isle probably has some sort of 'anti warp field' to prevent stray mages from jumping in and out.  Chapter 5 is in the Underdark where long-range teleportation effects, by canon, don't work.  ([url=https://forgottenrealms.fandom.com/wiki/Faerzress]Faerzress[/url].)  Again, I chose the blacklist teleport locations for good reason due to plot or technical reasons.

Link to comment
3 hours ago, Endarire said:

In terms of scope, how easily implemented is my solution of changing the map travel times to 0, avoiding all encounters, 'fast traveling' to the location, then returning things to normal post-warp?

Impossible without engine hacks, I *think*. (If there’s an ingame way to edit travel times, I don’t know it, though it’s not something I’ve looked for extensively.)

If you’re set on this strategy, I agree with Lynx: do a technical proof-of-concept before worrying about fine details.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...