The birth of a crawler..
This is a how-to for transforming an ordinary truck into a rock crawler.
1 –Β Pick your battles.
When you want to create a crawler truck out of a standard truck or car choose wisely. Donβt think you can pick a big 6×6 truck and convert it into a crawler.
These trucks often are too stiff and do not have enough give in their suspension to facilitate the wheel traveling up and down.
If you do pick a big truck make sure the suspension is with leaf springs or coils. That should give enough room for fitting bigger tires and it gives enough flex while crawling.
2- Choose the right tires
Rock crawling is all about getting enough grip at low speed so fitting your crawler with narrow tires is not going to perform good enough. What we are going to use are wide tires with lots of footprint. For instance the T-150 wheels,Monster truck,Maz or kraz wheels. And when you like to watch the car crawl over a rock make sure to choose tires that can deform.
3 β How to fit the wheels onto your truck
The process of fitting new wheels to your truck is simple. We borrow wheels from another truck. That donor truck also needs to be installed in the game or the transplant will fail.
Open the xml of your truck of choice in MediaClassesTrucks.Β I am going to be using the Mongo Heist truck as example so that would be MediaclassestrucksMongo Heist.xml for this truck. Also open the donor truck xml, in this case the file maz.xml
In the xml of the Maz we find this section:
Mesh=”maz_wheel_left.xml”
TrackTexture=”kraz_track__d.tga”
Radius=”0.68″
Width=”0.52″
Mass=”600″
Friction=”1.0″
SubstanceFriction=”1.5″
Torque=”default”
ConnectedToHandbrake=”true”
Copy this section and then open the xml of the Mongo truck. In the Mongo xml select the exact same section of code and paste the Monster wheel code over it. Change the Friction number to allow for better grip, the higher the number the better it gets grip. Also add a SteeringAngle if that was not present in the donor car wheel setup. The end result looks like this:
Mesh=”maz_wheel_left.xml” Β Β Β Β Β Β Β <——–Β This is where you can change the tire and put one on from another vehicle.
TrackTexture=”kraz_track__d.tga” Β Β <——Β This is the track that the tires leaves behind as you drive.
Radius=”0.68″ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β <——-This changes the physical radius of the tire.Β
Width=”0.52″ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β <——-This changes the physical width of the tire.
Mass=”600″ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β <——-This is the weight of the tire. A heavy tire means the truck handles better.
Friction=”6″ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β <——-This changes the friction of the tire on the ground when there is no mud.
SubstanceFriction=”1″ Β Β Β Β Β Β Β Β Β Β Β <——-This is the friction of the tire in mud.
Torque=”full” Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β <——- “default” means its turning when you give it throttle. “true or full” means it only turns in all wheel drive
ConnectedToHandbrake=”true” Β Β Β Β <——-This determines if handbrake is applied to this wheel when you press Space
SteeringAngle=”35″ Β Β Β Β Β Β Β Β Β Β Β Β Β <——-This is how much the wheel turns. a positive integer means it turns regularly, negative meansΒ opposite.
p.s. By adding a high Friction number your car wil also brake really hard.
4- Positioning the wheels
Fitting new wheels to a truck is now done but when you load them they are in the wrong place on the axles. This is because your new tires have different dimensions then the original wheels. So we are now going to edit the wheel position. Open your new xml and scroll all the way down to the very end of the xml. You will see a Wheel section.
In this section you will the code for the position of the wheels on the axles. The Wheels section of the original Mango Heist truck looks like this:
<Wheels>
<Wheel _template=”FrontWheel” DiffGroup=”axle0″>
Hardpoint=”(2.028; 0.8; 1.25)” />
</Wheel>
<Wheel _template=”FrontWheel” DiffGroup=”axle0″>
Hardpoint=”(2.028; 0.8; -1.25)” />
</Wheel>
<Wheel _template=”RearWheel” DiffGroup=”axle1″>
Hardpoint=”(-1.875; 0.9; 1.25)” />
</Wheel>
<Wheel _template=”RearWheel” DiffGroup=”axle1″>
Hardpoint=”(-1.875; 0.9; -1.25)” />
</Wheel>
</Wheels>
The Suspension Hardpoint is the part we are going to change. You see three numbers. The first is the position of the wheel from the center of the truck. The second number is the ride height. And the third number is the position of the wheel from the center of the axle.
The new xml of the Mongo Heist Maz looks like this:
<Wheels>
<Wheel _template=”FrontWheel” DiffGroup=”axle0″>
Hardpoint=”(2.028; 0.5; 1.40)” />
</Wheel>
<Wheel _template=”FrontWheel” DiffGroup=”axle0″>
Hardpoint=”(2.028; 0.5; -1.40)” />
</Wheel>
<Wheel _template=”RearWheel” DiffGroup=”axle1″>
Hardpoint=”(-1.875; 0.7; 1.40)” />
</Wheel>
<Wheel _template=”RearWheel” DiffGroup=”axle1″>
Hardpoint=”(-1.875; 0.7; -1.40)” />
</Wheel>
</Wheels>
Adjusted the ride heigt a bit and the placement on the axles. The position of the wheels from the centre of truck remains untouched.
5 β Set the suspension
This is a bit personal as it is different for everybody what they prefer the suspension to be like. Hard or soft? The following block of code is the one you can tinker with to determine how your suspension will react.
<Suspension
MinLimit=”-0.4″ Β Β Β Β Β Β <——- The amount the wheel can move downward (integers do not work, only decimals)
MaxLimit=”0.2″ Β Β Β Β Β Β <——- The amount the wheel can move upward. (integers do not work, only decimals)Β
Strength=”0.005″ Β Β Β Β <——- TheΒ strengthΒ of the suspension, lower the number, the weaker it is.Β
Damping=”0.18″ Β Β Β Β Β <——- The “bounciness” of the suspension.
/>
<Steering JointOffset=”0.1″ Castor=”8″ /> Β Β <—— this doesnt really matter unless your making a mod from scratch.Β
<Softness ForceScale=”1.0″ MaxAccel=”0.5″ /> Β Β Β <——- This is how soft the tires are, if madeΒ correctlyΒ the deform.
For my example truck, the Mongo Heist Maz crawler, I copied the suspension settings from the Hilux Truggy.
6- Center of Mass
Center of mass is what it is. It determines where your truck has it center of mass. Put it too high and the truck tips over really easy. Set it to low and it becomes more rigid then nescesary.
Open the xml of your truck and search for CenterOfMassOffset. The numbers behind this determine where your truck will have its center of mass. This is a choice everyone can make for themselves so play around with these numbers and see for yourself.
I copied the CenterOfMassOffset from the Hilux Truggy which works really good on the tweaked Mongo truck.
CenterOfMassOffset=”(0.0; -0.15; 0)”
The numbers are in three sets. The first determines the location of the CoM from the center of the truck forward or back. The second set determines the up or down from the center of the truck. The third set determines left or right from the center of the truck.
7 β Gear up!
Now you have a truck with slightly larger wheels for better grip but the truck can not get grip because it wants to accelerate to fast which results in loosing grip instead of getting it. So we have to adjust the gear setup as wel. For this I always use the gears as setup by Rhys Trappet in his Hilux Truggy car, they provide maximum torque in gear 1 and 2 which results in a lot of grip when crawling over rocks.
Open your crawler xml and look for VehicleConstraint. The original Mongo has the following setup for its gears:
<VehicleConstraint
CrawlAtAutoR=”0.1″
CrawlAtAutoH=”0.1″
CrawlAtAutoL=”0.1″
>
<ReverseGear
Torque=”100000″ Β Β Β Β Β Β <—–The amount of power the truck has.
AngVelMin=”-2.0″ Β Β Β Β Β Β <—–The minimum speed/power
AngVelOpt=”1.0″ Β Β Β Β Β Β <—–The optimum speed/power
AngVelMax=”20.0″ Β Β Β Β Β <—–The maximum speed/power
LinVelMax=”2.0″ Β Β Β Β Β Β <—–This does not change much, but feel free to fool around with it
MaxDeltaAngVel=”0.1″ Β Β <—–This is how fast the torque gets to the wheels.
The smaller the # the faster the power is received
/>
<Gear
Torque=”110000″
AngVelMin=”-2.0″
AngVelOpt=”1.0″
AngVelMax=”20.0″
LinVelMax=”2.0″
MaxDeltaAngVel=”0.1″
/>
<Gear
Torque=”100000″
AngVelMin=”1.5″
AngVelOpt=”4.8″
AngVelMax=”40.0″
LinVelMax=”8.0″
MaxDeltaAngVel=”0.1″
/>
<Gear
Torque=”90000″
AngVelMin=”8.5″
AngVelOpt=”16.0″
AngVelMax=”75.0″
LinVelMax=”16.0″
MaxDeltaAngVel=”0.1″
/>
VehicleConstraint>
Which is going to be replaced by this:
<VehicleConstraint
CrawlAtAutoR=”0.1″
CrawlAtAutoH=”0.1″
CrawlAtAutoL=”0.1″
><ReverseGear
Torque=”70000″
AngVelMin=”-2.0″
AngVelOpt=”0.0″
AngVelMax=”4.0″
LinVelMax=”1.2″
MaxDeltaAngVel=”0.005″
/>
<Gear
Torque=”80000″
AngVelMin=”-10.0″
AngVelOpt=”0.0″
AngVelMax=”4.0″
LinVelMax=”1″
MaxDeltaAngVel=”0.005″
/>
<Gear
Torque=”80000″
AngVelMin=”-5.0″
AngVelOpt=”3.0″
AngVelMax=”10.0″
LinVelMax=”3.0″
MaxDeltaAngVel=”0.05″
/>
<Gear
Torque=”60000″
AngVelMin=”0.0″
AngVelOpt=”6.0″
AngVelMax=”20.0″
LinVelMax=”5.0″
MaxDeltaAngVel=”0.05″
/>
<Gear
Torque=”60000″
AngVelMin=”5.0″
AngVelOpt=”14.0″
AngVelMax=”30.0″
LinVelMax=”9.0″
MaxDeltaAngVel=”0.05″
/>
<Gear
Torque=”60000″
AngVelMin=”10.0″
AngVelOpt=”20.0″
AngVelMax=”35.0″
LinVelMax=”23.0″
MaxDeltaAngVel=”0.05″
/>
</VehicleConstraint>
8- All done
When you followed the steps 1 to 5 you wil now have a Mongo Heist with Maz tires and a great ability for crawling over some really steep rocks. Ofcourse the process is not yet finished as the truck does tend to tip over a bit too fast but I am working on that.. if you know what to do let me know J
I hope you found this tutorial usefull.
Thanks to Bardaff for tips and advice.
Thanks to Rhys Trappet for the Hilux Truggy
Thanks to King_the_Modder for the what-is-what in the xml
www.spintires.nl
p.s. Should you find a error in this tutorial do not hesitate to contact me.
10 Comments
Geeextah502
Feb 06, 2014 5:56 pmHein your great! Thanx a lot for your guide how to change the tires. I still want UAZ 2206 with bigger tires and now I made it myself π
http://imgup.com/data/images/11274.jpg
Geeextah502
Feb 06, 2014 5:57 pmI used K5Blazer tires π
Hein
Feb 06, 2014 6:34 pmNicely done! Crawler bus π
Geeextah502
Feb 06, 2014 6:51 pmNot very crawler, not space for flex under body, but finally never stuck in mud π
Geeextah502
Feb 06, 2014 6:48 pmTo compare with original
http://imgup.com/data/images/11278.jpg
Hein
Feb 06, 2014 7:32 pmCould you send me the xml? Send it to info at spintires dot nl
Geeextah502
Feb 06, 2014 7:42 pmYeah no problem.
Pedro Veia
Apr 05, 2014 8:42 amCool!tx for this great tutorial guys!
now we are going to have real fun!;)
Dorkus Amibous
Apr 14, 2014 4:41 pmI simply wanted to make the tires on the FJ Cruiser a bit bigger. I made the numbers bigger, and then saved the xml file then went back into the game. nothing changed. Help Please.
Spintires.nl
Apr 15, 2014 6:00 amThe xml only does things like the weight of the tire and its grip etc. To make the actual displayed tire bigger you would need to edit the texture files of the tire.