graphics of wheels
by Gerard Neo · in Technical Issues · 02/20/2003 (5:39 pm) · 2 replies
I have added a new vehicle in my torque game engine and can load it using the world creator editor, but i realise that the wheels of the original vehicle in the game is using the same graphics as the second vehicle, although both have different graphics in their respective data/shapes folder.
Can anyone explain to me how to get back the original wheels?
Both the vehicles .cs files are suppose to load different image for the wheels.
datablock WheeledVehicleData(DefaultCar : CarDamageProfile)
{
category = "Vehicles";
shapeFile = "~/data/shapes/dcar/dcar2.dts";}
datablock WheeledVehicleData(Car)
{
category = "Vehicles";
shapeFile = "~/data/shapes/car/car.dts";}
Can anyone explain to me how to get back the original wheels?
Both the vehicles .cs files are suppose to load different image for the wheels.
datablock WheeledVehicleData(DefaultCar : CarDamageProfile)
{
category = "Vehicles";
shapeFile = "~/data/shapes/dcar/dcar2.dts";}
datablock WheeledVehicleData(Car)
{
category = "Vehicles";
shapeFile = "~/data/shapes/car/car.dts";}
About the author
#2
I'm sorry but i do not get what u mean. When I type the following in the game.cs file,
exec("./tank.cs");
exec("./car.cs");
the 1st vehicle, tank, will take on the image of the wheels of the 2nd vehicle, car.
If I add in another vehicle, the previous 2 vehicles will take the image of the 3rd vehicle.
02/21/2003 (12:01 am)
Anthony: I'm sorry but i do not get what u mean. When I type the following in the game.cs file,
exec("./tank.cs");
exec("./car.cs");
the 1st vehicle, tank, will take on the image of the wheels of the 2nd vehicle, car.
If I add in another vehicle, the previous 2 vehicles will take the image of the 3rd vehicle.
Torque Owner Anthony McCrary