1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Missiles and Squadrons rebasing

Discussion in 'Civ4 - Final Frontier Plus' started by Imp. Knoedel, May 28, 2014.

  1. Imp. Knoedel

    Imp. Knoedel That's Imperator Knoedel.

    Joined:
    Nov 11, 2011
    Messages:
    7,624
    Location:
    Bergdeutschland
    It always bothers me that squadrons and missiles can jump from system to system and ship to ship and system to ship and ship to system pretty much instantly when other units have to crawl from tile to tile. Would it be possible to restrict the use of the rebasing mission so that the target has to be within the unit's range?
     
  2. God-Emperor

    God-Emperor Chieftain

    Joined:
    Jul 18, 2009
    Messages:
    3,551
    Location:
    Texas
    As it is now, the only way I know of restricting the rebasing is to make it so that a unit has to be present at the location of the missile or squadron to pick it up. The choice is a range of 0 or inifinity.

    In CIV4SpecialUnitInfos.xml the fighter and missile special unit types are where you'd change it to make them range 0, by changing bCityLoad from 0 to 1. This blocks loading onto units at a range, but still allows movement from city to city.

    In BtS missiles have this set to 1 which is why your subs and missile cruisers have to go back to a city to get some loaded, but fighters have it set to 0 so they can go to an aircraft carrier anywhere on the map.

    Note that changing this for squadrons would make it much harder to move a squadron onto a starbase - you'd have to carry it there with a carrier to transfer it, assuming you can do unit to unit transfers when that vlaue is set to 1 (I don't remember if missiles can be moved between units in BtS). Likewise moving the missiles off of a starbase (if you are not using the game option that turns off starbase missile production) has the same difficulty.

    As far as I know adding a range to rebasing would require DLL work since I don't think there is any Python that is called that could change it (no "canRebase" callback that I can see).
     

Share This Page