Difference between revisions of "User:Mauirixxx/CustomRules"

From UFOpaedia
Jump to navigation Jump to search
(Needed a place to store my Hawaii (Honolulu, actually) rule for the Geoscape)
 
m
 
Line 27: Line 27:
  
 
Just copy and paste this into data/Ruleset/[CustomRuleName].rul then go into Options -> Mods, find your newly created custom rule, and enable it.
 
Just copy and paste this into data/Ruleset/[CustomRuleName].rul then go into Options -> Mods, find your newly created custom rule, and enable it.
 +
 +
== Misc Notes ==
 +
Weapons that consume ammo have both an:
 +
 +
<pre>items:
 +
  - type:</pre>
 +
 +
AND an associated:
 +
 +
<pre>units:
 +
  - type:</pre>
 +
 +
More info can be found via the [[Ruleset_Reference_(OpenXcom)]] page.

Latest revision as of 21:11, 22 June 2014

Add Hawaii to the Geoscape

# Ruleset to add new cities to the geoscape map

regions:
  - type: STR_PACIFIC
    cities:
      - name: STR_HONOLULU
        lon: 207.074
        lat: -21.3902
      - name: STR_LIHUE
        lon: 205.479
        lat: -22.0707
      - name: STR_HILO
        lon: 209.757
        lat: -19.6007
extraStrings:
  - type: en-US
    strings:
      STR_HONOLULU: Honolulu
      STR_LIHUE: Lihue
      STR_HILO: Hilo
  - type: en-GB
    strings:
      STR_HONOLULU: Honolulu
      STR_LIHUE: Lihue
      STR_HILO: Hilo

Just copy and paste this into data/Ruleset/[CustomRuleName].rul then go into Options -> Mods, find your newly created custom rule, and enable it.

Misc Notes

Weapons that consume ammo have both an:

items:
  - type:

AND an associated:

units:
  - type:

More info can be found via the Ruleset_Reference_(OpenXcom) page.