SetAltitude [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

SetAltitude [Solved]

Post by Fiodis »

I'm having a bit of trouble with the Hover class's SetAltitude property. I added the stock Republic fightertank and changed SetAltitude from 0.5 to 20.0, but in-game I didn't see any change at all. I searched the forums and got posts saying SetAltitude changed the default hover height, but it doesn't seem to be doing that. I also found a few unanswered posts reporting the same problem as I have.

Has anyone gotten this ODF line to have any apparent effect in-game?
Last edited by Fiodis on Sun Aug 11, 2013 7:30 pm, edited 1 time in total.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: SetAltitude

Post by Marth8880 »

I have a feeling that only works if the vehicle doesn't have any spring bodies. Try commenting out the spring body parameters and then see what happens.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: SetAltitude

Post by Fiodis »

That turns out to be the case. Thanks. :)
Post Reply