Garry's Mod

Garry's Mod

DakTek Combat System
guy 6 Sep, 2017 @ 10:45pm
how do i make a turret on a tank?
i have made a tank but i dont know how to make a turret?
< >
Showing 1-11 of 11 comments
Dakota  [developer] 7 Sep, 2017 @ 1:15am 
Step one, place a plate ontop of the tank, use axis center on the top of the turret plate to the baseplate of the tank. Next spawn a small gun model and position it above the turret plate then axis center the side of that gun to the turret plate. Now you have a functional turret frame. To put a daktek gun on it position your preferred weapon on the gun model and then put a gate on the gun model and parent the daktek gun to the gun model.

This tutorial here explains how to setup a gun on a mech, but also helps with the understanding of setting up a gun on any vehicle.

https://www.youtube.com/watch?v=3M2pHkuSf3I

Relevant info starts at 1:25. You can cut out the bit about what constraints to use on the gun, as they're different than for a tank, which i explained above.

This tutorial goes over using and setting up weapons.
https://www.youtube.com/watch?v=O05ldIj6O6A
guy 7 Sep, 2017 @ 9:46pm 
thanks
guy 8 Sep, 2017 @ 12:01am 
its working but the camera is broken when i get in the tank the camera is the wrong way around so its inverted and when i get out the camera stays on the tank.
Last edited by guy; 8 Sep, 2017 @ 12:01am
Dakota  [developer] 8 Sep, 2017 @ 11:26am 
Originally posted by guy:
its working but the camera is broken when i get in the tank the camera is the wrong way around so its inverted and when i get out the camera stays on the tank.

Do you have a camera chip setup in the tank with a camera controller linked to your seat?
guy 9 Sep, 2017 @ 11:49pm 
yes
Dakota  [developer] 10 Sep, 2017 @ 2:19am 
Try replacing the camera controller with a new one. Also try welding the camera controller chip to what its placed on.
guy 10 Sep, 2017 @ 5:47am 
i fixed it thanks
guy 10 Sep, 2017 @ 5:59am 
theres one more problem
the cam keeps going in first person and then third again and again.
Dakota  [developer] 10 Sep, 2017 @ 9:26am 
Originally posted by guy:
theres one more problem
the cam keeps going in first person and then third again and again.

Is that when you press the cam toggle key on the cam chip? If so, on lines 46 and 47 where it says CAMTIME=10, change 10 to 250. This will give a longer delay before allowing you to swap back and fourth.
Last edited by Dakota; 10 Sep, 2017 @ 9:28am
guy 10 Sep, 2017 @ 6:28pm 
ok thanks
< >
Showing 1-11 of 11 comments
Per page: 1530 50