NighTragEl4d Posted June 16, 2011 Share Posted June 16, 2011 Anyway yesturday crossed on my mind when i played LoK:Defiance to make a sam effect in combat as it have Dimensional Reaver effect.This effect has the teleporting ability to each target and it hits it,lasts for few seconds. Here is you tube link what i mean: Link to comment Share on other sites More sharing options...
lgpmichael Posted June 17, 2011 Share Posted June 17, 2011 (edited) Anyway yesturday crossed on my mind when i played LoK:Defiance to make a sam effect in combat as it have Dimensional Reaver effect.This effect has the teleporting ability to each target and it hits it,lasts for few seconds. Here is you tube link what i mean: Your biggest problem would be to know which target it is aiming for, as Oblivion doesn't know who your target is until you hit it. I would think you would want to have the weapon, on hit, set some kind of quest variable on a 1 second update quest. Lets say it sets it to 3, and decrements once per second. When that variable is above zero (giving you a 3 second window since your last hit), the quest places an invisible activator at your location, sends out a short range, say 400 units, area affect spell, which would cause a SpellEffect to hit every creature and NPC in range. The effect does nothing but look at the relative angles of each creature (absolute angle and players facing angle are available, so from that you can get relative angle). If a creature is within a certain angle, you can do some simple maths to setpos the player to move them to next to that creature. I think that that would do roughly what you need. Its late so I won't go into code, but each of those steps are possible in the CS. Hrm, however it wont take any account of intervening obstructions so you COULD end up inside a wall or rock. I can't think of any realistic way to stop that happening unfortunately, as the collisions in Oblivion assume that almost every object in the came is hollow. Edited June 17, 2011 by lgpmichael Link to comment Share on other sites More sharing options...
Recommended Posts