1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Loadouts grant perks (vanilla, RT)

Discussion in 'CivBE - Code Snippets' started by Machiavelli24, Oct 26, 2015.

  1. Machiavelli24

    Machiavelli24 Mod creator

    Joined:
    May 9, 2012
    Messages:
    818
    Workshop entry
    CivFanatics Download

    What it does
    This mod contains code that defines three new XML tables. By adding entries to these tables mod makers can have colonists, cargo and spacecraft provide perks.

    Compatibility
    This code is compatible with vanilla Beyond Earth and Rising Tide.

    How to incorporate into your mod
    Copy the "Loadouts grant perks" directory and all its contents to your mod. Have the XML file update the database (via the Action tab) and set the LUA file as an "InGameUIAddin" (via the Content tab).

    How to use
    Add entries to the Colonist_LGP_FreePerk, Cargo_LGP_FreePerk or Spacecraft_LGP_FreePerk tables.

    How it works
    When the first player founds their first city the code will do a one time check that gives all players the perks associated with their loadout choices.
     

Share This Page