Fast Travel;Teleport magic effect

Post » Thu Jun 21, 2012 3:12 pm

i have an idea for a mod, a big one, but i have one little question:
is it possible to create a magic effect for a shout to teleport you to a specific location (or initiate fast travel), damage health, stamina and magicka, and make it useless unless you are in certain cells?
i want to create a sgout that has 3 words (which will stay a secret), i'll call them 1, 2 and 3.


1: if you are in cell A or B, it will take you to cell X and do 30% magicka and stamina damage (out of your maximum capacity. if you can have 200 magicka total, you will lose 60 magicka, no matter how much you have left), and will remove 15% of your remaining health (if you have 100 health remaning, you will lose 15, no matter if the maximum is 100, 500 or 1000)

2: if you are in Cell A, B, C or D, you will go to cell X, taking 35% health damge, 66% stamina and magicka damage. if you use two words in cell A or B, you will still take the two-word shout damage.

3: if you are in cell A, B, C, D, E or F, you will go to cell X, take 50% remaining health damnage, 100% stamina and Magicka damage. best used in the last two cells only.

Cell X is a small camp, and has the route to get into cell A.
the shouts need to be locked to ABCDEF, and will do nothing in other cells. is this possible?
note that to get to a cell, you have to travel through the previous ones (A->B->C->D->E->F), so i can probably set a variable to monitor if you are in ABCDEF, or if you are somewhere else. would a variable help?
User avatar
john page
 
Posts: 3401
Joined: Thu May 31, 2007 10:52 pm

Post » Thu Jun 21, 2012 2:58 pm

everything you listed is possible, but will likely be somewhat of a headache to set up

for travelling, you can use a script that calls MoveTo() (but this wont bring any followers along for the ride)

for the damage effects, you can use existing magicEffects DamageHealth, DamageStamina and DamageMagicka

you will also need to make dummy magic effects that spit out a message saying you cant shout or whatever.



the whole system will most likely be best controlled by a master perk (applied to the player as a constant ability) that has multiple condition scenarios.

you don't need a variable to track location, you can use GetInCell in a condition function instead.




if you've never done a complex magic effect chain or scripting before, you have a lot of research cut out for you. explaining each step one at a time would be very time consuming
User avatar
His Bella
 
Posts: 3428
Joined: Wed Apr 25, 2007 5:57 am

Post » Thu Jun 21, 2012 6:12 am

thank you! this is very helpful! i have plenty of time to research, so i'll take a look around on the CK wiki
i think i'll set this so that a follower will use a silent version when the player uses it, as this area will have special followers instead of your regular one. similar to the way that followers sneak when you sneak.
what do you think of this shout?:
Filok Aak Morah {Escape Guide Focus}
User avatar
Jhenna lee Lizama
 
Posts: 3344
Joined: Wed Jun 06, 2007 5:39 am

Post » Thu Jun 21, 2012 10:15 am

if you have pre-determined followers, like the companion quests when they force-follow you, you can use the moveTo() on those actors as well, to bring everyone along together
User avatar
Damned_Queen
 
Posts: 3425
Joined: Fri Apr 20, 2007 5:18 pm


Return to V - Skyrim