Can anyone maybe post a bit of code for a working wing on my F1 car? I need some downforce on the front and rear (at speed preferably..?)
I'm not familiar with aircraft and they seen to have plenty of elements so I'm not sure whats the bare basics to get a wing like this I can go tweak. thx
Help creating a working wing for F1 racing car
Re: Help creating a working wing for F1 racing car
You want a wing with lift. You can copy and paste a wing from a plane such as a Corsair or BF109.
Then you want to make it upside-down.
[Rotate it 180 degrees to flip it over.]
I am not sure which axis to flip it on.
Then you want to make it upside-down.
[Rotate it 180 degrees to flip it over.]
I am not sure which axis to flip it on.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Re: Help creating a working wing for F1 racing car
I found this:
[In the Corsair's Physics.con file]
rem *** CorsairBodyWingVertical ***
ObjectTemplate.create Wing CorsairBodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1 [Can be changed to 0/0/0]
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 0
[In the Corsair's Objects.con file, added to "CorsairComplex" bundle]
ObjectTemplate.addTemplate CorsairBodyWingVertical
ObjectTemplate.setRotation 0/0/-89.999
Try changing the rotation to this in attempt to make it upside-down:
ObjectTemplate.setRotation 0/0/180
Use this to change the position of the wing on your vehicle:
ObjectTemplate.setPosition 0/0/0
Hope this helps.
[In the Corsair's Physics.con file]
rem *** CorsairBodyWingVertical ***
ObjectTemplate.create Wing CorsairBodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/-0.1 [Can be changed to 0/0/0]
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 0
[In the Corsair's Objects.con file, added to "CorsairComplex" bundle]
ObjectTemplate.addTemplate CorsairBodyWingVertical
ObjectTemplate.setRotation 0/0/-89.999
Try changing the rotation to this in attempt to make it upside-down:
ObjectTemplate.setRotation 0/0/180
Use this to change the position of the wing on your vehicle:
ObjectTemplate.setPosition 0/0/0
Hope this helps.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
- Apache Thunder
- Posts: 1213
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Help creating a working wing for F1 racing car
As I understand how the setWingLift command works from how the MDT backup site shows, it makes it lift upwords (relative to the vehicle position! Not world position!). So instead use a negative value to make it lift down instead of up. Rotating it upside down might not work as the wing lift command will always lift up relative to the object's main hull regardless of wing position/rotation.
The flaplift command can probably be left at zero since it's purpose is to provide lift/friction in a different manner then the other command. Since the wing will only make the car go down and the car won't be "flying", a flap lift setting is probably not needed.
The flaplift command can probably be left at zero since it's purpose is to provide lift/friction in a different manner then the other command. Since the wing will only make the car go down and the car won't be "flying", a flap lift setting is probably not needed.



I have cameras in your head!
Re: Help creating a working wing for F1 racing car
thanks.. i did get this going in fact... a lot easier than i thought. v e r y tricky to balance it on an Formula 3 car though!
but its working.. once i get this map finished ya'll will need to take a look. some very decent use of bf42 and its a damn pretty map too.
but its working.. once i get this map finished ya'll will need to take a look. some very decent use of bf42 and its a damn pretty map too.
