Joined: Wed Nov 24, 2004 12:00 am Posts: 257 Location: New York City
|
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.
_________________  Do everything to the best of your ability and you will find yourself in the future doing everything better than you thought possible. Anthony Voltano 7/7/4777 VXF VOLT
|
|