Missile can be launched only from ship

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
Post Reply
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Missile can be launched only from ship

Post by Wahazar »

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?
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
User avatar
Alien Valkyrie
Elite
Posts: 513
Joined: Sun Feb 10, 2013 10:21 pm
Location: Stuttgart, Germany

Re: Missile can be launched only from ship

Post by Alien Valkyrie »

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
Wahazar
Elite
Posts: 362
Joined: Mon Jul 02, 2018 1:49 pm

Re: Missile can be launched only from ship

Post by Wahazar »

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.
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).
Augmented2 ruleset/modpack for freeciv2.6: http://forum.freeciv.org/f/viewtopic.php?f=11&t=91047
Post Reply