Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #926251

Unit home city loss

Added by Lexxie L 16 days ago. Updated 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

"When a city is lost in war, units outside the city may be lost. This is fine, especially in early games where it is reasonable that a unit is loyal to its city more than its nation, but in mid-late game it's more likely that the unit is loyal to the country not the city and loss of the city would not make it stop fighting/serving the country."

Home city unit disbanding may work particularly bad for some kinds of rulesets, scenarios, or phases of the game (such as space age phase of game), where disappearing units just aren't realistic to the game simulation at that point.

Just trying to start discussion with ideas in a solution space:
1. server settings for, or
2. effects for:

  • unit loss from home tied to some condition
  • conditional alternate behaviour for unit loss (i.e. re-homed to best/nearest alternative city)

Any thoughts on what is easiest to implement, while still giving some conditional flexibility to a ruleset?
Thanks!

History

#1 Updated by Marko Lindqvist 8 days ago

The first idea, which I have not thought very far, that comes to mind is an action enabler for rehoming units in that situation. If the action is not enabled, unit is lost. If action is enabled, unit gets automatically rehomed.

#2 Updated by Alexandro Ignatiev 4 days ago

Don't really know if it is worth doing rather than just making possible rulesets with all nation-wide upkeeps. Even if so, I have poor idea of how to adjust AI behaviour to it (does AI ever consider unit losses with cities now?) Maybe just enable some Lua callbacks (existing or to be done) to rehome units?

#3 Updated by Lexxie L 4 days ago

Nationwide upkeep has no way to handle shield upkeep. For gold upkeep this already seems irrelevant.

I think this is right back to where we were. Cutting edge rulesets need either
1.effect, 2.actionenabler (?), or 3.server setting

in order to prevent some rather ridiculous and potentially game-breaking cases (in competitive multiplayer situations).

I do not understand the actionenabler idea, he must mean some kind of automatic re-homing that the server does as an action instead of the user. If it finds that re-homing from far distance is legal, then it would automatically perform it. Hmm, that sounds like a good solution actually.

#4 Updated by Sveinung Kvilhaugsvik 4 days ago

Lexxie L wrote:

Nationwide upkeep has no way to handle shield upkeep.

The suggestion is to create national upkeep for shield upkeep. I'm not sure if Ignatiev has the exact same idea that I have but my idea would be new fields that allowed units without a home city to pay upkeep.

#5 Updated by Sveinung Kvilhaugsvik 4 days ago

Lexxie L wrote:

I do not understand the actionenabler idea, he must mean some kind of automatic re-homing that the server does as an action instead of the user. If it finds that re-homing from far distance is legal, then it would automatically perform it. Hmm, that sounds like a good solution actually.

That could be done as an Action Auto Performer.

#6 Updated by Lexxie L 3 days ago

Sveinung Kvilhaugsvik wrote:

Lexxie L wrote:

Nationwide upkeep has no way to handle shield upkeep.

The suggestion is to create national upkeep for shield upkeep. I'm not sure if Ignatiev has the exact same idea that I have but my idea would be new fields that allowed units without a home city to pay upkeep.

If there is someone who really wants that, it's fine. I still don't understand how national shields can be done, and I feel it's almost separate idea from this problem area.

#7 Updated by Lexxie L 3 days ago

Sveinung Kvilhaugsvik wrote:

Lexxie L wrote:

I do not understand the actionenabler idea, he must mean some kind of automatic re-homing that the server does as an action instead of the user. If it finds that re-homing from far distance is legal, then it would automatically perform it. Hmm, that sounds like a good solution actually.

That could be done as an Action Auto Performer.

If Action Auto Performer is already available or not too hard to make, then I believe this is the way. The reqs for actionenabler would give ruleset control over the circumstances....

... If there is some way for the reqs to do it. For now I struggle to understand how reqs could look at some geographic things like where is the closest city, etc.

Also available in: Atom PDF