Author Topic: Turret on turret question  (Read 1037 times)

Okay, I am thinking if a player can be mounted to turret, can I mount a turret to turret since turret has same datablock as the player.

Then I tried it. then I end up something like the picture shows below.



This looks okay at the first place, but when I ride the tank, I can't get in the turret by using changing seat server cmd.

I implemented the onTrigger function to get myself in the turret, the changing seat cmd works in the tank turret and I can get in the MG turret.

However, I got a console spawn--Warning: Multi-seat turrets are not implemented yet. so how can fix the problem? or we are not allowed to have turret on turret?

PS: the MG that I used for testing is "borrowed" from T90 made by Gravity Cat. If this problem can be fixed, I will make my own MG for sure.

Either sounds like an engine-wise issue, or something badspot hasn't implemented in the script yet

also, that tank is really high poly dude

Either sounds like an engine-wise issue, or something badspot hasn't implemented in the script yet

also, that tank is really high poly dude

Maybe I guess. Anyway, I have figured it out by implementing several cmd and vehicle functions.

By the way, the tank may look like high poly, but the size of this add-on is about 650kb, which is not too bad I think.

Maybe I guess. Anyway, I have figured it out by implementing several cmd and vehicle functions.

By the way, the tank may look like high poly, but the size of this add-on is about 650kb, which is not too bad I think.
its 3 times the size of the default tank.dts :/, and the high poly also makes some of the visuals a "do not want" like the main cannon, you could have at least smooth shaded it, you can plainly see tons and tons of unrequired vertices/faces

yeah I should have made the tank gun and smoke grenade launcher lower poly.

I have another question that bugs me for long time: How to do eye shift for player who sits in the turret?

You know, many times, the turret driver's eye node can not line with the turret barrel, so it becomes difficult for the player to aim the tank gun.

Hopefully, someone can give me some help.

yeah I should have made the tank gun and smoke grenade launcher lower poly.

I have another question that bugs me for long time: How to do eye shift for player who sits in the turret?

You know, many times, the turret driver's eye node can not line with the turret barrel, so it becomes difficult for the player to aim the tank gun.

Hopefully, someone can give me some help.
its in the datablock that creates the player, above or under uiname = "";

You need a joint named "eye" at the point you want the players third person camera to see from

You need a joint named "eye" at the point you want the players third person camera to see from

Wait a second, I think the node for third person view is called cam. node called eye is for first person view.

It looks like I must go to the torque reference book to find out all the parameters for player data.

tree() or .dump() can get a full list from in-game, though little or no information on what any of it does.

tree() or .dump() can get a full list from in-game, though little or no information on what any of it does.
I am trying it now.