Can Bombard attack NOT end movement?
Can Bombard attack NOT end movement?
Like the title says. Regardless of how many MPs a bombarding unit has left, after it attacks, its movement ends. Is it possible to switch this so that the unit can move on?
-
- Hardened
- Posts: 257
- Joined: Mon Nov 06, 2017 12:05 pm
- Location: St.Petersburg, Russia
- Contact:
Re: Can Bombard attack NOT end movement?
Currently not, it is hardcoded in server/unithand.c. As far as I can see, you even can not give the mp back by a callback, since action_started_unit_unit is called before the bombardment, and then nobody is killed.
And what's the trouble? A bombarder that bombs and runs (or bombs and bombs and bombs) seems to be an imbalance.
And what's the trouble? A bombarder that bombs and runs (or bombs and bombs and bombs) seems to be an imbalance.
Re: Can Bombard attack NOT end movement?
Ignatus wrote:And what's the trouble? A bombarder that bombs and runs (or bombs and bombs and bombs) seems to be an imbalance.
Only if it's a Bomber (airplane). However, I'm thinking about Partisans. Hit'n'run tactics, not much damage, but some disruption and hard to catch.
-
- Hardened
- Posts: 257
- Joined: Mon Nov 06, 2017 12:05 pm
- Location: St.Petersburg, Russia
- Contact:
Re: Can Bombard attack NOT end movement?
Only close thing I can imagine - set bombardment radius to more than 1, then the attacked side would not easily see where the attacker is. But this parameter is currently set only for all bombarders in the ruleset.
Re: Can Bombard attack NOT end movement?
Ignatus wrote:bombardment radius
Is this a ruleset/server feature or coding only?
-
- Hardened
- Posts: 257
- Joined: Mon Nov 06, 2017 12:05 pm
- Location: St.Petersburg, Russia
- Contact:
Re: Can Bombard attack NOT end movement?
It's a ruleset parameter. E.g. in webperimental/game.ruleset (2.6)
Code: Select all
bombard_max_range = 3
-
- Hardened
- Posts: 257
- Joined: Mon Nov 06, 2017 12:05 pm
- Location: St.Petersburg, Russia
- Contact:
Re: Can Bombard attack NOT end movement?
Or it would not help. The server sends to the client combat info that always shows combating units within the player's sight, even if both units are invisible otherwise. At least, so it is designed in 2.6.
-
- Hardened
- Posts: 257
- Joined: Mon Nov 06, 2017 12:05 pm
- Location: St.Petersburg, Russia
- Contact:
Re: Can Bombard attack NOT end movement?
Requested a callback that could give some mp back: HRM#817749.
Re: Can Bombard attack NOT end movement?
Cool. Thanks.
Re: Can Bombard attack NOT end movement?
Corbeau wrote:Regardless of how many MPs a bombarding unit has left, after it attacks, its movement ends. Is it possible to switch this so that the unit can move on?
In 3.1 you can use the Action_Success_Actor_Move_Cost effect.