Home   Help Search Login Register  

Author Topic: Tank Target sky??  (Read 795 times)

0 Members and 2 Guests are viewing this topic.

Offline OrnelP

  • Members
  • *
  • "The true battlefield is within"
Tank Target sky??
« on: 21 Jun 2006, 05:01:40 »
 ???   Hey every0ne, i need some help,  I seen some screenshots with tanks driving with the Gun pointed to the sky.  Tanks really do drive with the guns at the sky when they have a loaded shell and in formation column.  So how do i get the tanks gun to sit pointed up and be able to have the AI drive like that? is it possible?  All help Appreciated -Ornelp  :D

 

[attachment deleted by admin]
« Last Edit: 21 Jun 2006, 05:05:58 by OrnelP »
War is delightful to those who have had no experience of it
- Deciderius Erasmus

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re: Tank Target sky??
« Reply #1 on: 21 Jun 2006, 17:51:55 »
it's quite possible...i can imagine a way which would use some math (where i have no knowledge at all).

you would need a looped script which setpos a invisible object (might be a gamelogic) constantly in front of the tank at a certain height.
The mathematics would be necessarly to keep the GL in front of the tank and not to drift to left or right...or even behind.

Once you get this, just use the dotarget command to have the cannon pointed to the sky.

You would also need a point where the script cancels this dotarget thing, else the tank would not fight enemy tanks at all. But i think this could be simply done by checking the behaviour.

Maybe someone who has more knowledge of math could write such a script.