padawan57 Posted February 16, 2018 Share Posted February 16, 2018 Hi! So, i decided to play Oblivion in VR with vorpx. IT'S SOOO GOOD. But i get sick really quck, so i decided to make a teleport movement mod. I was sure that there is something like a "raycast" function in scripts wich will cast an invisible ray from player and then return hit location. But no such luck!So instead i wrote a spell which will teleport me to where it hits. Kinda like a "blink mod" in skyrim nexus.I did that, works fine! Maybe will upload it when i fix some more bugs. But now i have to watch the casting animation every time and it gets old very quick. And i have to wait for it to return to normal position. Also distracts in combat. I never moded before so, sory if i just missed something. I programmed a lot though, i am only unfamiliar with oblivion modding, not with general concepts. --ONE OF THE FOLLOWING would help me:1) Is there a raycast-like function or a better way to cast\shoot something and get coordinates where it hts over then tracking a spell projectile? (i abandoned hope, but who knows). 2) Can i cast remote-spell (not touch or self, but projectile based) from script? Not on an actor-target, but just in the directon the player is looking? This way i can skip animation and free player hands to do other magick if i make it cast from script on some KeyDown or whatnot. 3) Is there a way to skip castng animation? So player casts as usual but projectile just appears in front of him instantly for just one spell? Or maybe is there for all spells? (i am willing to compromise casting hands for movement comfort) 4) or at least can i make one spell cast MUCH faster? (not fly faster, already did that, but cast) Thank you! Hope some more experienced modder will see this and tell me that i am stupid and missed the obvious :-D Link to comment Share on other sites More sharing options...
lubronbrons Posted February 16, 2018 Share Posted February 16, 2018 this mod could be a good reference for teleport scripthttps://www.nexusmods.com/oblivion/mods/45116 Link to comment Share on other sites More sharing options...
QQuix Posted February 16, 2018 Share Posted February 16, 2018 I once played a litle with a similar idea. Check QQuix Oblivion Test Environment - GetLOS (Youtube) The code is in QQuix Test Environments (Nexus) At the time (2008-2009) somebody created a flashlight mod using (and probably improving) my code. I can't find it. I did find a more recent one: :Bettys Flashlights ( which may use some other concept) Link to comment Share on other sites More sharing options...
padawan57 Posted February 16, 2018 Author Share Posted February 16, 2018 (edited) Wow these are both great examples, i'll check them out thank you very much! Check QQuix Oblivion Test Environment - GetLOS (Youtube) And this looks exactly like what i need from the video. Thanks again. Edited February 16, 2018 by padawan57 Link to comment Share on other sites More sharing options...
Recommended Posts