Page 3 of 4
Re: AA Only Gun Tower?
Posted: Sat Apr 28, 2012 1:25 am
by S.cavA.rmyG.en
the setting you were looking for changed.
heres what you need I used this to make a evil muti turrented guntower
Code: Select all
[CraftClass]
GunTowerProcessCheckCantHit = true // true: retarget if intended victim can't be hit (only if GunTowerProcess is in use)
Re: AA Only Gun Tower?
Posted: Sat Apr 28, 2012 3:21 am
by General BlackDragon
In page 1, you will see that is already in my ODF.
It doesn't work if the unit can't physically aim at the target.
Re: AA Only Gun Tower?
Posted: Tue May 01, 2012 3:31 am
by Commando
That only takes effect if hidden behind terrain. A unit not being able to aim down, minpitch, does not count. I bugged that a long time ago.
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 8:17 am
by bigbadbogie
Progress made.
If a 'turret' class building is tapped inside another building which sits like an inverted flat-top pyramid (so basically sitting in a hole and therefore is underground) it will only shoot at units that are above it and it will retarget properly.
It will still shoot at ground units but only if they are sitting right on top of it.
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 9:36 am
by Ded10c
Clever. The building would only really be a target to aircraft, too.
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 3:00 pm
by General BlackDragon
Explain?
The host building, does it have to be collidable, or just part of the mesh?
And, IIRC, it's basically taking a GT, and putting it inside a hollow upside down pyramid/zigguarat?
Sooo
______________\GT/_________________
?
_ = Ground
\ / = upside down pyramid walls
GT = tapped turret
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 3:18 pm
by Ded10c
By my understanding, it's more ___ ___
\GT/
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 3:23 pm
by Josiah
AHadley wrote:By my understanding, it's more ___ ___
\GT/
I think it doesn't like your spaces... but I think your right with the general idea
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 3:24 pm
by General BlackDragon
That would only allow it to fire near STRAIGHT upwards.... :-/
Re: AA Only Gun Tower?
Posted: Mon May 07, 2012 4:19 pm
by MrTwosheds
My initially below ground based GTs happily fire straight through the sides of their bunker and the ground as the animation raises them into position. I wish they would not.
Re: AA Only Gun Tower?
Posted: Tue May 08, 2012 4:39 am
by bigbadbogie
General BlackDragon wrote:That would only allow it to fire near STRAIGHT upwards.... :-/
That depends how deep you put the turret object.
Re: AA Only Gun Tower?
Posted: Wed May 09, 2012 3:21 am
by S.cavA.rmyG.en
General BlackDragon wrote:Explain?
The host building, does it have to be collidable, or just part of the mesh?
And, IIRC, it's basically taking a GT, and putting it inside a hollow upside down pyramid/zigguarat?
Sooo
______________\GT/_________________
?
_ = Ground
\ / = upside down pyramid walls
GT = tapped turret
it needs a hex shaped hole for the scions but other then that I like the idea.
Re: AA Only Gun Tower?
Posted: Wed May 09, 2012 3:56 am
by bigbadbogie
No! The hole must be shaped in congruency with the terrain. It needs to be an inverted flat-topped pyramid. No other shape will work unfortunately.
I already tested this with a circular shaped hole.
Re: AA Only Gun Tower?
Posted: Wed May 09, 2012 2:36 pm
by General BlackDragon
Is it *only* the eyepoint that must be under the terrain?
Note the image of the gunturret i would need this to work with. guns come out of the ...well, guns....
Re: AA Only Gun Tower?
Posted: Wed May 09, 2012 2:58 pm
by bigbadbogie
I guess so. Didn't think of that. Might still be possible to have an AA gun above ground...