I added Missile class as a cargo for advanced bomber, but such missile cannot be launched or unloaded during flight - it can be used only if enemy is at nearby tile (which is suicidal in case of nuclear weapon), but can't fly on its own.
Is it a bug or feature?
Missile can be launched only from ship
Missile can be launched only from ship
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
- Alien Valkyrie
- Elite
- Posts: 513
- Joined: Sun Feb 10, 2013 10:21 pm
- Location: Stuttgart, Germany
Re: Missile can be launched only from ship
I'm assuming your Advanced Bomber is an Unreachable unit? In that case, you'll want to take a look at the "embarks" and "disembarks" fields for unit types. Should be documented in units.ruleset.
~ AVL
Re: Missile can be launched only from ship
Och, so it is a purpose of these flags, thanks, works perfectly now - bomber can carry and launch medium range cruise missile or short range atom bomb, but can't launch long-range nuclear missile (can be used for transporting these to a base, though).Caedo wrote:I'm assuming your Advanced Bomber is an Unreachable unit? In that case, you'll want to take a look at the "embarks" and "disembarks" fields for unit types. Should be documented in units.ruleset.
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047