Adding spoilers to vehicles

Hey everyone,

I'm a little bit new to modding rfactor. Have recently been having a bit of a tinker editing some .dds files & changing up car liveries. I would also like to have a crack at modding some vehicles themselves.

In particular I'm looking to add rear spoilers to some cars, just wondering how I would go about this?

Is it a case of looking at one of the GEN, HDV or PM files & changing some of the values?

Any help would be greatly appreciated!
 
Wings are designated in the HDV file:

[FRONTWING]
FWRange=(5.0, 1.0, 25) // front wing range
FWSetting=17 // front wing setting
FWMaxHeight=(0.35) // maximum height to take account of for downforce
FWDragParams=(0.0185, 0.001675, 0.00001) // base drag and 1st and 2nd order with setting
FWLiftParams=(-0.346225, -0.0090, 0.000011) // base lift and 1st and 2nd order with setting(-0.318225, -0.0090, 0.000011)
FWLiftHeight=(0.920) // effect of current height on lift coefficient
FWLiftSideways=(0.25) // dropoff in downforce with yaw (0.0 = none, 1.0 = max)
FWPeakYaw=(2.0, 1.0) // angle of peak, multiplier at peak
FWLeft=(-0.05, 0.0, 0.0) // aero forces from moving left
FWRight=(0.05, 0.0, 0.0) // aero forces from moving right
FWUp=(0.0, -0.168, -0.001) // aero forces from moving up
FWDown=(0.0, 0.168, 0.001) // aero forces from moving down
FWAft=(0.0, 0.04, -0.04) // aero forces from moving rearwards
FWFore=(0.0, 0.0, 0.0) // aero forces from moving forwards (recomputed from settings)
FWRot=(0.15, 0.06, 0.22) // aero torque from rotating
FWCenter=(0.00, 0.05, -0.50) // center of front wing forces (offset from center of front axle in ref plane)


[REARWING]
RWRange=(5.0, 1.0, 25) // rear wing range
RWSetting=22 // rear wing setting
RWDragParams=(0.0225, 0.004375, 0.00001) // base drag and 1st and 2nd order with setting
RWLiftParams=(-0.3710835, -0.01002, 0.000010) // base lift and 1st and 2nd order with setting
RWLiftSideways=(0.20) // dropoff in downforce with yaw (0.0 = none, 1.0 = max)(-0.3430835, -0.01002, 0.000010)
RWPeakYaw=(2.0, 1.0) // angle of peak, multiplier at peak
RWLeft=(-0.09, 0.0, 0.0) // aero forces from moving left
RWRight=(0.09, 0.0, 0.0) // aero forces from moving right
RWUp=(0.0, -0.192, -0.002) // aero forces from moving up
RWDown=(0.0, 0.192, 0.002) // aero forces from moving down
RWAft=(0.0, 0.10, -0.10) // aero forces from moving rearwards
RWFore=(0.0, 0.0, 0.0) // aero forces from moving forwards (recomputed from settings)
RWRot=(0.20, 0.10, 0.30) // aero torque from rotating
RWCenter=(0.00, 0.60, 0.35) // center of rear wing forces (offset from center of rear axle at ref plane)

Some cars may not have the actual wing parameters, just the aero forces sections. In such cases you can add the missing lines; you will get the wing effects but no visible wings (which requires editing the 3D models).
 
Thanks for the reply mate. I've done a bit of editing to those HDV files but haven't been able to get any visible wings on this particular car.

Perhaps it might help if I explain what I'm hoping to achieve in particular. I've been doing some small changes to the 'Super Touring Cars 1.6' mod for rfactor. Basically, I'm trying to create a single season where all of the different manufacturers are competing in a singular season. So far, I've had success in adding all of the various cars & drivers, as well as a few fantasy liveries, the one thing I'm looking to do to finish it all up is to add a rear spoiler to one particular car (Mazda Xedos 6).

The rest of the cars within the mod (Alfa, BMW, Renault, Volvo, Vauxhall etc.) are all able to be selected with, or without, rear wings - apart from the Mazda. Just wondering if there's any way to plonk a rear wing from another car onto the back of that Mazda, if only for aesthetic purposes?

If I need to do some 3D model editing, should I be looking to extract the .gen file into some kind of editing software?

Hope all of this makes sense X-D
 

Latest News

Do you prefer licensed hardware?

  • Yes for me it is vital

  • Yes, but only if it's a manufacturer I like

  • Yes, but only if the price is right

  • No, a generic wheel is fine

  • No, I would be ok with a replica


Results are only viewable after voting.
Back
Top