OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: camden_guitarist on 17 Oct 2005, 19:56:13

Title: vehicle behaviour
Post by: camden_guitarist on 17 Oct 2005, 19:56:13
Hi there, I'm currently working on the German Airwolf Mod, I'm editing especially some of the scripts and the config.cpp in general...I was wondering since the control over this baby is 'very' hard when I ignite the turbo thrusters...if there is any way to 'edit' the behaviour properties of the aircraft...also I'd like to make her turn around her axe a bit faster than normal helicopters...

In short...is there any way to do this with a script or not?

Thanks for any usable answers...

Cheers,

Paul.

PS: if it is a stupid question or not doable a simple no will suffice...I am a newbie to this stuff so bear with me :)
Title: Re:vehicle behaviour
Post by: THobson on 17 Oct 2005, 20:57:28
If this is an addon question it would be better in the Addons Board.  If not then you could look at setDir.  Something like:

#loop
_ch setDir ((getDir _ch)+0.5)
~0.01
goto"loop"

should put it into a bit of a spin.  You get the idea.
Title: Re:vehicle behaviour
Post by: camden_guitarist on 17 Oct 2005, 21:35:29
does this include up and down...I guess so, it's just about direction which is max 360 but I guess it's a 3d component.

Mmm, if you want to move it to the addons section, be my guest, I thought it fell under general editing and scripting since I am a newbie. Thanks anyway.

Cheers,

Paul
Title: Re:vehicle behaviour
Post by: THobson on 17 Oct 2005, 21:49:30
This isn't up and down it is just round and round.  
Title: Re:vehicle behaviour
Post by: camden_guitarist on 17 Oct 2005, 22:02:49
so what can I use for up and down, coz I could not find a set command for that...setposistion is for stance no?

Thanks for your help by the way

Paul.
Title: Re:vehicle behaviour
Post by: camden_guitarist on 17 Oct 2005, 22:08:56
basicly I just want to improve (fasten) steering, if you get my drift

Paul.
Title: Re:vehicle behaviour
Post by: h- on 17 Oct 2005, 23:04:22
There is no scripting commands for setting pitch or bank..