Author Topic: Tank Gun Problem  (Read 1283 times)

Gabbe

  • Guest
Tank Gun Problem
« on: 22 April 2010, 14:01:02 »
If i had a tank with a gun, how could i make the gun on the tank track the enemy?

wyvern

  • Guest
Re: Tank Gun Problem
« Reply #1 on: 22 April 2010, 14:03:29 »
What do you mean

Gabbe

  • Guest
Re: Tank Gun Problem
« Reply #2 on: 22 April 2010, 14:08:59 »
Tank= 4
Gun = 1
Enemy = 2
Dead Enemy = 3

Gun is attached to the tank, and it is chasing the enemy to shoot it without the tank moving, in third act it is going back to original position, i belive this is possible in the spring engine and they have a code like ours, if this doesn`t exist in glest yet, i might move this to GAE or MG

First act

Quote
41   2

Second act

Quote
4
1

2

Third act

Quote
41

3

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Tank Gun Problem
« Reply #3 on: 22 April 2010, 23:22:03 »
You can't.

Gabbe

  • Guest
Re: Tank Gun Problem
« Reply #4 on: 23 April 2010, 13:21:50 »
You can't.

Well thats a great way of stopping a thread....
Im going to see how the military fixes it...

jda

  • Guest
Re: Tank Gun Problem
« Reply #5 on: 23 April 2010, 21:01:21 »
Military doesn't "fix" it.

To clarify that and correct John.d.h:
Vanilla Glest can't.
MegaGlest probably can't either. (but I haven't really followed its development).
GAE can but I don't know how, only that there's a new option to put in the XML. You can find it out in Military though. ;)

EDIT:
Correcting my correction:

What John.d.h said is perfectly correct because:
NONE of the above engines allows you to have a gun to independently rotate while the vehicle it's attached to is standing still (or is moving in another direction). GAE does have plans to implement this in the future through changes to the Pets feature.

Tracking a target is already available in GAE. ;)
« Last Edit: 23 April 2010, 21:05:50 by jda »

 

anything