Fredbob396 Posted July 15, 2010 Share Posted July 15, 2010 I recently downloaded this: http://www.tesnexus.com/downloads/file.php?id=10991 and absolutely loved it!But I really wish there was one that you could use on yourself. Basically, a spell that would fling yourself in the direction your looking. If someone could make a spell that did this, I would be thankful. ;) Link to comment Share on other sites More sharing options...
kieranfoy Posted July 15, 2010 Share Posted July 15, 2010 Actually, I think I can do that. I already have a spell that sends you enemies flying, and occasionally sends you flying. The scripting might be tricky, but I'll try. Link to comment Share on other sites More sharing options...
Fredbob396 Posted July 16, 2010 Author Share Posted July 16, 2010 Thanks! Link to comment Share on other sites More sharing options...
Skevitj Posted July 17, 2010 Share Posted July 17, 2010 Sounds easy enough. Just moveto a marker behind the caster then have it cast pushactoraway on the caster and return the marker to it's holding cell. I'm not sure where the push points connect, ie, the pushing actor pushes from their feet towards a pre defined height on the target? I've noticed when I push someone of the same height at the same level they move up slightly, guess it's something which could be solved with tweaking if no-one knows. The only real problem would be the relative position to move the marker too to avoid faceplanting yourself. You could use that to your advantage though; have the spell let you select which angle to launch at... Human mortar practice. Hmmm... mortaring yourself at guards from the other side of the market... Now that's a picture. Definitely needs someone yelling "Cannonball" when cast. Link to comment Share on other sites More sharing options...
kieranfoy Posted July 17, 2010 Share Posted July 17, 2010 Yeah, well, my way just launches you fifty feet straight up into the air, so I'll turn it over to Skevitj, if he/she's volunteering. My scripting doesn't work as well as his/hers. Link to comment Share on other sites More sharing options...
Skevitj Posted July 17, 2010 Share Posted July 17, 2010 Ha.. I wasn't trying to steal it from you. I've been trying to create a sort of super jump spell to allow you magic up to that nice sniper spot, the two ideas are almost identical so thought I'd comment on how I'm doing it. Unfortunately my idea has hit a brick wall in avoiding rag doll mode when launched; Not much point in being this all mighty mage if you're just going to launch yourself face first into a rock and fall down. I'll have a go at it, shouldn't take too long to clean up what I had. That said I just got a new computer, don't have anything installed at the moment, so gimme a day. Link to comment Share on other sites More sharing options...
kieranfoy Posted July 17, 2010 Share Posted July 17, 2010 Trust me, I've got waaay bigger things on my mind; be a relif to have this one in more competant hands. No offense to the OP, but laying down new flooring trupms fun. :( Link to comment Share on other sites More sharing options...
Skevitj Posted July 17, 2010 Share Posted July 17, 2010 (I'm a "he" btw)I feel your pain, I've got the house all to myself for a week and I've got a few rooms to paint. Oh procrastination, how I love thee. @Fredbob396: The version I'm writing up will require OBSE due to the need for the sin/cos functions. If you're completely against OBSE I'll try and write up approximation functions myself at a later date, but its a lot of work and I give no guarantees that I can or will, and the OBSE version will still do a better job. I plan on having everything fine tunable in the game, ie There will be a global quest which governs the strength/angle of the push so you'd just have to console "set LSQuest.PushPower to 10" or something like that to tweak it in game. It allows you to tune it to your liking without having to continuously switch between the CS and Oblivion. The settings will be stored as part of the save game. EDIT: If anyone knows where the action points for pushactoraway are could you please post. Even if it's just a guesstimate. Link to comment Share on other sites More sharing options...
documn Posted July 17, 2010 Share Posted July 17, 2010 My guess it's at the feet, at least for NPCs. That's where an NPC's location is if you pull the coordinates. You can use polynomial functions to approximate sin and cos if you don't want to use OBSE. This page shows one way to use them: http://cs.elderscrolls.com/constwiki/index.php/Summon_Object I don't know if you've set up your scripts already, but you may want to check out my mod Doc's Full Auto for a simple script to place an activator relative to where the player's looking. In this mod I have a couple activators that line up with the player's line of sight (though I'll admit my mod doesn't take into account if the player is in sneak mode). I imagine it wouldn't take too much tweaking to put an activator behind instead. Though, if the player's "push point" is indeed at the feet, you will probably have to adjust the height offset to make the activator go underground if you want to fling the player upward. Link to comment Share on other sites More sharing options...
Skevitj Posted July 17, 2010 Share Posted July 17, 2010 Here it is... Enjoy If you want any modifications made, feel free to send me a message, or post it here. I reckon it works well enough, now I just need to figure out how to stop ragdoll... @documn: Thanks for the reply. As for placing the caster: It's not like it's hard, just 2 sines, a cos and a dash of minus signs, basic trig by anyone's standards. As for the action point: It's not at the feet: place it down there and you go shooting up in the air, I played around with the offset for a bit, but 75 units on the z axis looks about right. I only tried it on a male bretton (Height 1) so i'm hoping height doesn't affect it. If it does I've included instructions on how to tune it ingame, so it's easy enough to fix. Stumped as to why it seems to push through an arbitrary point though. IOU1 Doc. Ha, your comment about sneaking reminded me to check mine, and wada you know, I'd forgotten to change the offset, 55 along the z produces the same as 75 while standing. Link to comment Share on other sites More sharing options...
Recommended Posts