Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Land Vehicle Axel Length???
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=2933
Page 1 of 1

Author:  VXD Shady [ Sun Apr 29, 2007 4:34 am ]
Post subject:  Land Vehicle Axel Length???

I have seen extended axels on a Technical before in a BF1942 mod and I am just wondering how I would LENGTHEN the AXELS on that particular vehicle or on any other land vehicles.

Thank You

Author:  VOLTANO [ Sun Apr 29, 2007 6:57 am ]
Post subject: 

To make the wheels appear to have longer axels or make the wheelbase wider all you have to do is reset the wheel/spring positions.

Default code from objects.con

ObjectTemplate.addTemplate HumveeFrontWheelR
ObjectTemplate.setPosition .9/.1/1.0
ObjectTemplate.addTemplate HumveeFrontWheelL
ObjectTemplate.setPosition -.9/.1/1.0
ObjectTemplate.addTemplate HumveeBackSpringR
ObjectTemplate.setPosition .9/-0.372/-2.5
ObjectTemplate.addTemplate HumveeBackSpringL
ObjectTemplate.setPosition -.9/-0.372/-2.5


The first number( 1/ ) sets the left/right position --> 1/2/3

The second number ( /2/ ) sets the height (up/down) compaired to the body --> 1/2/3

The third number ( /3 ) sets the length of the wheelbase ( forward to back ) --> 1/2/3


So the code to make the Humvee wheels look "wider" is as follows.

Server side code

ObjectTemplate.Active HumveeFrontWheelR
ObjectTemplate.setPosition 1.2/.1/1.0
ObjectTemplate.Active HumveeFrontWheelL
ObjectTemplate.setPosition -1.2/.1/1.0
ObjectTemplate.Active HumveeBackSpringR
ObjectTemplate.setPosition 1.2/-0.372/-2.5
ObjectTemplate.Active HumveeBackSpringL
ObjectTemplate.setPosition -1.2/-0.372/-2.5


This code sets the wheels at a wider stance the way the trucks look in the VXF Airshow mod.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/