• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

tank cannon problem

Status
Not open for further replies.
Level 8
Joined
Sep 17, 2009
Messages
606
hi
im working on a warfare map for some time and ive noticed on other maps that the tank turret/cannon turns etc... how do i get it to do that? can you help me piz
 
Level 8
Joined
Sep 17, 2009
Messages
606
hi
aahh...no that aint it, like how do i get the cannon to turn??? for example illidan(evil)x's m1a2 abrams battle tank, how do i get the cannon to turn?
thanks for replying
 
Level 8
Joined
Sep 17, 2009
Messages
606
ya i think you have to use triggers but i dont know how to use them. ive seen the same model the abrams tank in some maps and they got the cannon to turn or even move 360º
 
Level 22
Joined
Jun 23, 2007
Messages
3,242
he uses two models, the turret, and the chassis. then he creates to units. the tank (chassis) which is the tank unit u can select, and the turret, which is a dummy unit.
whenever a tank enters the map, he assigns a turret to the chassis, and moves it every .1 second or so to the posiition of the tank. He also somehow made it so whatever the tank attacks, the turret attacks as well. its a tad complicated.
notice how he blocks out the camera? he does it so he wont show the tank without a turret.
 
Status
Not open for further replies.
Top