AA Only Gun Tower?

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: AA Only Gun Tower?

Post 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 :lol: :twisted:

Code: Select all

[CraftClass]
GunTowerProcessCheckCantHit = true // true: retarget if intended victim can't be hit (only if GunTowerProcess is in use)
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AA Only Gun Tower?

Post 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.
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: AA Only Gun Tower?

Post 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.
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: AA Only Gun Tower?

Post 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.
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: AA Only Gun Tower?

Post by Ded10c »

Clever. The building would only really be a target to aircraft, too.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AA Only Gun Tower?

Post 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
User avatar
Ded10c
Recycler
Posts: 3815
Joined: Sun Feb 20, 2011 11:05 am
Location: Stoke-on-Trent
Contact:

Re: AA Only Gun Tower?

Post by Ded10c »

By my understanding, it's more ___ ___
\GT/
Josiah
Sabre
Posts: 213
Joined: Mon Feb 21, 2011 6:45 am
Contact:

Re: AA Only Gun Tower?

Post 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
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AA Only Gun Tower?

Post by General BlackDragon »

That would only allow it to fire near STRAIGHT upwards.... :-/
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: AA Only Gun Tower?

Post 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.
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: AA Only Gun Tower?

Post by bigbadbogie »

General BlackDragon wrote:That would only allow it to fire near STRAIGHT upwards.... :-/
That depends how deep you put the turret object.
User avatar
S.cavA.rmyG.en
Sabre
Posts: 296
Joined: Fri Mar 04, 2011 3:15 am
Location: ISDF Junk Yard
Contact:

Re: AA Only Gun Tower?

Post 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.
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: AA Only Gun Tower?

Post 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.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: AA Only Gun Tower?

Post 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....
User avatar
bigbadbogie
Bull Dog
Posts: 586
Joined: Mon Feb 21, 2011 8:12 am
Location: Ecuadorian Embassy

Re: AA Only Gun Tower?

Post by bigbadbogie »

I guess so. Didn't think of that. Might still be possible to have an AA gun above ground...
Post Reply