Page 1 of 1

Artillery defensive support

Posted: Tue Aug 11, 2020 7:42 pm
by StuccoFresco
I wanted to make artillery units support the defense like anti-tank guns do. I tried setting their class as "anti-tank" in units.csv, but it doesn't work. I also tried to add the "defensive" trait, but nothing happens.

Re: Artillery defensive support

Posted: Thu Aug 13, 2020 2:09 am
by StuccoFresco
Nobody knows?

Re: Artillery defensive support

Posted: Thu Aug 13, 2020 4:06 am
by GabeKnight
Oh, there was a question in there? I thought you just wanted to post your findings... :wink:

The "supportAT" trait should also work in the arty class, I guess.
I know for sure that it does in other land-classes, like transports.

I'm not so sure what the "defensive" trait does, though. I think it has something to do with the model orientations, like "fixedfire" or "fixedbase".

Re: Artillery defensive support

Posted: Thu Aug 13, 2020 7:21 am
by StuccoFresco
Thanks for your response, I'm trying every combination but it doesn't seem to work.

I tried leaving infantry as "infantry" class, artillery as "artillery" class, adding the trait "supportAT" to the latter, nothing happens. My infantry was able to attack an infantry in front of it without triggering fire from the artillery unit behind it.

I tried leaving infantry as "infantry" class, artillery as "anti-tank" class, adding and not adding the trait "supportAT" to the latter, nothing happens. My infantry was able to attack an infantry in front of it without triggering fire from the artillery unit behind it.

I tried defining infantry as "tank" class, artillery as "anti-tank" class, adding and not adding the trait "supportAT" to the latter, nothing happens. My infantry was able to attack an infantry in front of it without triggering fire from the artillery unit behind it.

I tried defining infantry as "tank" class, artillery as "artillery" class, adding and not adding the trait "supportAT" to the latter, nothing happens. My infantry was able to attack an infantry in front of it without triggering fire from the artillery unit behind it.


I'm quite confused...

Re: Artillery defensive support

Posted: Thu Aug 13, 2020 9:54 am
by GabeKnight
You didn't say nothing about infantry, my friend... :shock:

I'd say that your idea of putting infantry into the tank class is basically good, but the wrong approach IMO. I didn't test this thoroughly, but my best guess is that the supportAT mechanic is triggered by the "attack type" = "mechanical" type units (units.csv).

And the "supportAT" trait has to go into the classes.txt file, you know that, right?

Re: Artillery defensive support

Posted: Thu Aug 13, 2020 2:46 pm
by StuccoFresco
No, I didn't!

Re: Artillery defensive support

Posted: Wed Aug 19, 2020 12:07 pm
by Admiral_Horthy
defenseAT works against hard target, which defends against hard attack.
That includes armored car, APC, so tank type does not count. But this trait is hard coded, cannot be used for what you need. Artillery units not using it, as far as I know. Dual-mode can, but the dual mode swithes between arty-AT types so, same.

Re: Artillery defensive support

Posted: Wed Aug 19, 2020 2:48 pm
by StuccoFresco
Yeah it only works against "mechanical" attack, it seems.