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 #879658

New unload action "emergency exit"

Added by Alexandro Ignatiev about 2 years ago. Updated over 1 year ago.

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

0%

Estimated time:

Description

Currently the game has funny rules:
1) If your submarine is sunken by a destroyer, all its missiles (being unreachable units) survive as a swarm on that site.
2) If your diplomat is travelling on a transport aircraft (without a parachute - not listed in transport_disembark) nd the aircraft is shot over a land tile, than, if the stack death is off, your diplomat safely lands and is ready to bribe the anti-aircraft unit.

To solve these issues, let's add one more disembark action that is performed when a transport is lost. If the action is not enabled, the cargo gets lost with the transport. The action may have succes percentage set (the submarine may succeed in launching some rockets when the torpedo was on its way).

History

#1 Updated by Sveinung Kvilhaugsvik about 2 years ago

I agree that you have found a problem.

Is this really an action? What happens when I order a unit to perform this action from a non lost transport? Does the transport get destroyed? What if I order it while inside an allied transport?

I think that this - no matter if this is an action or not - looks like something where an action auto performer may end up doing part of the job. Action auto performers aren't fully exported to the ruleset yet since they aren't complete enough to be frozen. Have a look at cities.ruleset's missing_unit_upkeep except the *_wipe field and game.ruleset's auto_attack for examples of their capabilities. Do you agree?

#2 Updated by Alexandro Ignatiev about 2 years ago

Yes surely it's not an action to be performed by a player ("Disband" is another action). I don't understand the frontline state of the actions system so well, so something about ACT_REQ_RULES just sprang up in my mind. But I can't see how can it be resolved with auto-performing any existing action (it's, likely, hard requirement for disembarking from unreachable one to be listed?). Action enablers + Action_Odds_Pct gives enough control over the situation (except I am not sure if we can put the cause of transport loss into the reqs - may your cardboard planer safely land the troops if disbanded by its owner or runs out of fuel but be destroyed if hit by a fighter?). Thus, you may think of something better.

#3 Updated by Sveinung Kvilhaugsvik about 2 years ago

Alexandro Ignatiev wrote:

Yes surely it's not an action to be performed by a player ("Disband" is another action). I don't understand the frontline state of the actions system so well, so something about ACT_REQ_RULES just sprang up in my mind.

Does Feature #880508 make clear what an action is?

#4 Updated by Alexandro Ignatiev over 1 year ago

Thanks, now it's clear that what I talk about is not an action. Well, it should be yet decided what is it :)

#5 Updated by Alexandro Ignatiev over 1 year ago

Alexandro Ignatiev wrote:

2) If your diplomat is travelling on a transport aircraft (without a parachute - not listed in transport_disembark) nd the aircraft is shot over a land tile, than, if the stack death is off, your diplomat safely lands and is ready to bribe the anti-aircraft unit.

Actually, as Ilkka pointed, it's not the case, currently cargo that neither can unload nor is resqued by "Undisbandable" flag is destroyed with the transport without check for livability. (Likely the auto-performer (?) should select between "disband", "stay", "escape" etc.).

Also available in: Atom PDF