Log in to reply
 

Editing Boat Handling data of APC for addon APC (ZFB)



  • I want ask for help anyone with finding out how to set up right BoatHandlingData in handling.meta for addon APC.

    I used ZFB vehicles from Army pack as replacement of APC. The vehicle work good but it is not swiming.

    So I changed this 2 lines in vehicles.meta to original APC data
    Vehicle '<type>' to

    VEHICLE_TYPE_AMPHIBIOUS_AUTOMOBILE

    and added flag

    FLAG_DONT_TIMESLICE_WHEELS

    • I added BoatHandling from vanilla APC subhandling there

    ...
    <SubHandlingData>
    <Item type="CBoatHandlingData">
    ...

    The car is now on the half of way to swimming, work in water - it don't drown. But it is rolled on the side and can't move. (I had to drive really slow into he water because of the wrong BoatHandling data it just stop and start going reverse at the moment it touch the water in little higher speed).

    The problem is, I don't have idea which line in CBoatHandlingData is doing what. It need at least:

    • set up the position of vehicle (to don't turn on the side but stay in driving position).
    • set up to be possible moving (swimming) in the water

    then all other details as pushing water etc.

    I would appreciate any tips about BoatHandlingData lines as much as trying to set datas for this specific vehicle :pray:



  • @ArmaniAdnr paste bin the handling entry for the vanilla APC so I can take a look



  • @Reacon vanilla APC BoatHandling is following:

    <Item type="CBoatHandlingData">
    <fBoxFrontMult value="0.900000" />
    <fBoxRearMult value="0.800000" />
    <fBoxSideMult value="0.600000" />
    <fSampleTop value="1.20000" />
    <fSampleBottom value="0.30000" />
    <fAquaplaneForce value="0.000000" />
    <fAquaplanePushWaterMult value="0.000000" />
    <fAquaplanePushWaterCap value="3.500000" />
    <fAquaplanePushWaterApply value="0.002000" />
    <fRudderForce value="5.00000" />
    <fRudderOffsetSubmerge value="0.000000" />
    <fRudderOffsetForce value="0.550000" />
    <fRudderOffsetForceZMult value="1.00000" />
    <fWaveAudioMult value="4.000000" />
    <vecMoveResistance x="1.000000" y="300.000000" z="225.000000" />
    <vecTurnResistance x="2.00000" y="8.000000" z="0.00000" />
    <fLook_L_R_CamHeight value="4.000000" />
    <fDragCoefficient value="4.500000" />
    <fKeelSphereSize value="0.400000" />
    <fPropRadius value="0.300000" />
    <fLowLodAngOffset value="0.00725884" />
    <fLowLodDraughtOffset value="-0.58569765" />
    <fImpellerOffset value="0.550000" />
    <fImpellerForceMult value="2.00000" />
    <fDinghySphereBuoyConst value="0.000000" />
    <fProwRaiseMult value="0.250000" />
    <fTransmissionMultiplier value="5.500000" />
    <fTractionMultiplier value="0.500000" />
    </Item>


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.