Transmission Gear names help

Your forum for all discussions around Modding.
User avatar
Hoffa82
Posts: 185
Joined: Tue May 01, 2018 10:50 pm

Transmission Gear names help

Post by Hoffa82 »

So I'm trying to edit a fendt mod to have a more realistic gearbox, and with that changing the names of the gears to what they are displayed on the shifter, so 1,2,3,25,30,40 instead of 1,2,3,4,5,6.

I've inserted this inte the xml;

<transmission autoGearChangeTime="1" gearChangeTime="0.5" axleRatio="0.96" name="$l10n_info_transmission_manualWithPowerShiftGroups">
<directionChange useGear="false" useGroup="false" changeTime="0.5"/>
<groups type="POWERSHIFT" changeTime="0.5">
<group ratio="0.694" name="L" />
<group ratio="0.835" name="M" />
<group ratio="1" name="S" isDefault="true"/>
</groups>

<forwardGear maxSpeed="8.2" name="1" />
<forwardGear maxSpeed="13.1" name="2" />
<forwardGear maxSpeed="20.6" name="3" />

<forwardGear maxSpeed="25.0" name="25" />
<forwardGear maxSpeed="30.0" name="30" />
<forwardGear maxSpeed="40.0" name="40" />
</transmission>

And it works when going forward, when reversing the gears are named -1,-2,-3,-4-,5-,6 instead of -1,-2,-3-,-25,-30,-40.

Is there any documantation on what lines of code can be used in the transmission part of the xml? I would also like to know if there is a possibility to lock gears when using certain ranges, so for example 25,30 and 40 gears aren't accessable in L range.

Thanks.