Page 1 of 1
Fort able to redeploy?
Posted: Thu Jan 13, 2022 11:57 am
by StuccoFresco
Hi all, I have a problem: a "fort" custom unit I've created seems able to redeploy via trains. Its Chassis is "static" and it has 0 movement points.
This is his custom Class:
[FORT]
id = 3
category = land
stats = 6, 7, 13, 3, 2, 10, 17, 5, 15, 14
noPurchase
noUpgrade
riverImmune
navalFoundation
defensive
supportAA
supportAT
Why can it move with trains?
Re: Fort able to redeploy?
Posted: Sat Jan 15, 2022 10:44 pm
by ColonelY
StuccoFresco wrote: ↑Thu Jan 13, 2022 11:57 am
Hi all, I have a problem: a "fort" custom unit I've created seems able to redeploy via trains. Its Chassis is "static" and it has 0 movement points.
[...]
Why can it move with trains?
I've found it!
Set as "static" and 0 mp, that's correct.
But there is a little something to change:
steps = 0 (
rather than 1 as now)!
(
You've put 2 steps for the cav, which is excellent, meaning it can moves twice - provided it has enough mp(s) left. For the forts, selecting 0 step ensure that there won't be any movement at all, because the player can't act that way.
See, it's like when comparing with generic units like oil_pump stats... you've got one oil_pump on a railroad but unable to move - so, what's the difference in terms of stats? 
)
Steps set to 0. This has to be done 6 times: for the 3 yugo forts and for the 3 uk forts! (
Yeah, even if I don't think the player will have uk forts to handle, but, anyway...)
That will do the trick! 
Re: Fort able to redeploy?
Posted: Sun Jan 16, 2022 1:33 pm
by StuccoFresco
That's fantastic! I didn't think about the steps!