Page 1 of 1

Question: Different defence bonuses for units?

Posted: Tue Jul 24, 2018 10:26 am
by Corbeau
Asking for v2.5.

Is it possible to define different bonuses for different terrains for different units?For example, I want Marines to have bigger defence bonus than, say, Riflemen.

Also, is it possible to define differentdefence bonuses AGAINST different units? For example, when infantry is defending against armour in the forest, to give it bigger defence bonus than if it's defending against another infantry.

Re: Question: Different defence bonuses for units?

Posted: Sat Jul 28, 2018 2:17 pm
by Caedo
Short answer: no.

Long answer: no to the first question (the functionality simply doesn't exist). As for the second question, the Defend_Bonus effects (which are usually used for City Walls etc.) can depend both on the terrain of the defender, as well as the attacking unit's type, class or flags; however, it cannot depend on the defending unit. So you could make armor weaker when attacking forests in general, but not specifically when attacking infantry.

Re: Question: Different defence bonuses for units?

Posted: Sat Jul 28, 2018 8:15 pm
by Corbeau
Hm, that may also work well.

Re: Question: Different defence bonuses for units?

Posted: Sun Jul 29, 2018 4:06 am
by vodot
it's fun to see you two replying to each other in the same thread, I get your names confused :p

Re: Question: Different defence bonuses for units?

Posted: Sun Jul 29, 2018 11:26 am
by Corbeau
I thought you were supposed to discover Alphabet early in the game.

Re: Question: Different defence bonuses for units?

Posted: Mon Jul 30, 2018 3:21 am
by vodot
I play ancients; alphabet is a long way off :lol: