Home   Help Search Login Register  

Author Topic: Getting a tank to turn it s turret instead of chassis  (Read 1409 times)

0 Members and 2 Guests are viewing this topic.

SneakyPete

  • Guest
Is it possible to get a tank to stay still and target an object by rotating the turret only and not the whole body?

Offline supershooter

  • Members
  • *
  • 2+2=4
Re:Getting a tank to turn it s turret instead of chassis
« Reply #1 on: 12 Apr 2005, 16:48:43 »
errr yes? don't you just seat yourself as the gunner?

SneakyPete

  • Guest
Re:Getting a tank to turn it s turret instead of chassis
« Reply #2 on: 12 Apr 2005, 16:54:16 »
 ;D Very funny.

This is an AI controlled tank that I want to use in a cutscene.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Getting a tank to turn it s turret instead of chassis
« Reply #3 on: 12 Apr 2005, 17:27:39 »
Try

tank1 setfuel 0

:beat: *Gets Shot* :beat:

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Getting a tank to turn it s turret instead of chassis
« Reply #4 on: 12 Apr 2005, 18:30:21 »
or even

Code: [Select]
deletevehicle tank_nameD
or

Code: [Select]
tank_nameD setpos someplace_else
which will get rid of the (D)river, leaving only the gunner to rotate his turret with a dowatch or dotarget command.

just a thought, no idea if it'll work or not. helpful eh? :P


Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Getting a tank to turn it s turret instead of chassis
« Reply #5 on: 12 Apr 2005, 18:32:27 »
I suppose you could just make a tank with out a driver and then use setvelocity to make it look like its driving, and have the gunner target something, however it would proboby be easier to just driverdude disableai "Autotarget".
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Getting a tank to turn it s turret instead of chassis
« Reply #6 on: 12 Apr 2005, 21:26:51 »
wouldn't doTarget just do it without removeing the driver?
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

SneakyPete

  • Guest
Re:Getting a tank to turn it s turret instead of chassis
« Reply #7 on: 12 Apr 2005, 22:31:39 »
And the winner is.....

No fuel works.

DoTarget does not.

Remove driver works.

Haven't tried the deletevehicle tank_nameD thing yet as I have no idea what that means.

With the tank on the move it rotates the turret fine.  Its just when its stationary that causes the problem.

It always amazes me that whatever you ask someone always has an answer.

Thanks guys.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting a tank to turn it s turret instead of chassis
« Reply #8 on: 12 Apr 2005, 22:46:01 »
Quote
It always amazes me that whatever you ask someone always has an answer.
It is true - it is very unusual for a question on this board not to be answered.
Plenty of reviewed ArmA missions for you to play

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Getting a tank to turn it s turret instead of chassis
« Reply #9 on: 13 Apr 2005, 08:51:42 »
tank_nameD would indicate the driver of the unit called tank_name. similarly, tank_nameG will indicate the gunner, and tank_nameC the commander. handy for those loons already in vehicles that you want to grab for some reason :)
« Last Edit: 13 Apr 2005, 08:52:00 by bedges »

SneakyPete

  • Guest
Re:Getting a tank to turn it s turret instead of chassis
« Reply #10 on: 13 Apr 2005, 12:37:35 »
Cheers Bedges,

Now I understand.  :thumbsup:

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Getting a tank to turn it s turret instead of chassis
« Reply #11 on: 13 Apr 2005, 18:08:02 »
Bedges:

those commends works???? like Tank1D??? I mean, thy are similar to
Code: [Select]
driver tank1 Right??? or you just name them...??

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Getting a tank to turn it s turret instead of chassis
« Reply #12 on: 13 Apr 2005, 18:34:23 »
both. tank1D is the same as driver tank1, just needs less typing ;)