Jump to content

Teleport mod help (anim speed or raycast)


Recommended Posts

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...