3rd person OD edit

McDanger

New Member
So I thought I'd have a bit of fun and try make voltz idea a reality (didn't post in thread though because it would have been a bit of a necro):

http://forums.legionsoverdrive.com/threads/script-3rd-person-od.825/page-2

Basically taking RockyRex's 3rd person OD script, and throwing in a timer. The best I could find in the torque engine was a 'schedule'. So I tried that last night, with some messy hacked up code, and it worked!

Then I cleaned up the code today and now it doesn't :mad: After checking through it all with some printouts, it turns out the 'if' statement to check if OD is off seems to almost always return true...

Basically, if anyone was interested, v1 works, but I don't know why. v2 doesn't work, and I'd like to know why!

v1: http://www.mediafire.com/?m6qrd34za78jzu6
v2: http://www.mediafire.com/?edwe4p5wrnmb4eb

All credit to rocky for actually writing the script in the first place.
 

k e v i n

Private Tester
sooo...when you use overdrive, you will switch to 3rd person, and after the set timer will switch you back to 1st person??
 

McDanger

New Member
Kinda. The timer was to delay the 'check od is off' statement, forcing it to check less frequently (because I thought the problem was od thinking it was off/then on/then off etc).

The idea behind it is you will swap to 3rd when od is active and back to first when od is off. (Ie: how it works in v1)
 

Volt Cruelerz

Legions Developer
I made this same sort of thing a while back. When you go into OD, you switch to third. When you exit OD, you go back to first. Nice to see others taking interest in Legions scripting!
 
Top