Question: Different defence bonuses for units?

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Question: Different defence bonuses for units?

Post 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.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Question: Different defence bonuses for units?

Post by Alien Valkyrie »

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.
~ AVL
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Question: Different defence bonuses for units?

Post by Corbeau »

Hm, that may also work well.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
User avatar
vodot
Veteran
Posts: 81
Joined: Thu May 17, 2018 4:54 pm

Re: Question: Different defence bonuses for units?

Post by vodot »

it's fun to see you two replying to each other in the same thread, I get your names confused :p
User avatar
Corbeau
Elite
Posts: 1291
Joined: Mon Jan 13, 2014 11:13 pm

Re: Question: Different defence bonuses for units?

Post by Corbeau »

I thought you were supposed to discover Alphabet early in the game.
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
User avatar
vodot
Veteran
Posts: 81
Joined: Thu May 17, 2018 4:54 pm

Re: Question: Different defence bonuses for units?

Post by vodot »

I play ancients; alphabet is a long way off :lol:
Post Reply