Mount point(s) problem
by Kimberly Unger · in Torque Game Engine · 09/08/2003 (10:18 am) · 1 replies
We are trying to create a player that has two (2) weapons premounted. The player is a vehicle and we have created two mount points (mount0, and mount1). these points are about 160 degrees apart. The weapons Caled B and S have the following in there respective cs files
B.cs
.
.
mountPoint = 0;
S.cs
.
.
mountPoint = 1;
Weapon B mounts just fine on the ship's mount0, but Weapon S is getting mounted to Contrail0 and not Mount1;
We followed the examples given with Deathcar. What is happening?
B.cs
.
.
mountPoint = 0;
S.cs
.
.
mountPoint = 1;
Weapon B mounts just fine on the ship's mount0, but Weapon S is getting mounted to Contrail0 and not Mount1;
We followed the examples given with Deathcar. What is happening?
Torque Owner Sam Guffey
In your weapons image datablock you should be able to set its offset in x, y, z and align the weapons up accordingly. The option may not be writen there but it does exist.
offSet = "x y z";
If you need an example of this I believe I have a working one, just let me know if you cannot get it working. There should be no reason to edit the engine for multiple mounts.