isLandTransportable for units with 0 movement
-
My Flak 88 has 0 movement and isLandTransportable but should be able to attack as far as the isLandTransport unit (truck at mov 2) can attack. Like now a truck with 2 movement can pick up a infantry which only has movment 1 and let it attack at max movement distance of the IsLandTransport unit (2 in this case).
I tried to fiddle around with the GivesMovement option but that also doesnt function because in both ways it seams that movement has to be >=1 for the isLandTransportable unit.(?) -
Moved to Map Making.
I assume you don't have the "Selectable Zero Movement Units" property true.
However, you may still want to make a Feature Request about handling this matter in a better way.
-
@Cernel said in isLandTransportable for units with 0 movement:
don't have the "Selectable Zero Movement Units" property true.
Oh thank you so much, but i really cannot remember that option even though its not totaly foreign to my brain. Must be long time since i used that i guess.
-
@TorpedoA this is Roger's site. It explains most, if not all, properties. Not custom ones, but is useful
-
<property name="Selectable Zero Movement Units"
It seems that this only effects the player?
Example:<attachment name="unitAttachment" attachTo="Mot.Inf" <option name="attack" value="1"/> <option name="defense" value="2"/> <option name="movement" value="2"/> <option name="canBlitz" value="true"/> <option name="transportCost" value="4"/> <option name="isLandTransport" value="true"/> <option name="createsResourcesList" value="-1:PUs"/>With above isLandTransport unit, AI is able to pick up below isLandTransportable Unit and move it.
<attachment name="unitAttachment" attachTo="Infantry" <option name="attack" value="1"/> <option name="defense" value="2"/> <option name="movement" value="1"/> <option name="transportCost" value="2"/> <option name="isLandTransportable" value="true"/> <option name="createsResourcesList" value="-1:PUs"/>But AI seems not be able to pick up following one:
<attachment name="unitAttachment" attachTo="FlaK88" <option name="attack" value="2"/> <option name="defense" value="2"/> <option name="movement" value="0"/> <option name="transportCost" value="3"/> <option name="isLandTransportable" value="true"/> <option name="typeAA" value="AA"/> <option name="attackAA" value="3"/> <option name="maxAAattacks" value="1"/> <option name="mayOverStackAA" value="true"/> <option name="isAAforFlyOverOnly" value="true"/> <option name="createsResourcesList" value="-1:PUs"/>Seems its only for the player, and at least thats ok as long only the human player has units with movement=0.
But i have a unit which is for all players, so thats problematic as i like to have it at 0 movement while still being transportable by the AI.
Is there something i dont know?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login