User:Mauirixxx/SavedGameNotes

From UFOpaedia
< User:Mauirixxx
Revision as of 08:49, 27 June 2014 by Mauirixxx (talk | contribs) (→‎Base / Soldier editing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About .sav files

Since the saved game file is in YAML format, it's rather easy to hand edit the saved game file. First thing to note, there's NO tabulation allowed - every new line is doubled spaced per its own section.

Quick Tutorial

All country information will be found in the "countries:" block of data. Each country represented will have the following information laid out like so:

countries:
  - type: STR_USA #this defines the data for this specific country
    activityXcom:
      - 0
    activityAlien:
      - 0
    funding:
      - 996000
  - type: STR_RUSSIA #and repeat until all desired countries are listed

All blocks of data start with a dash "-" double space indented from its section identifier (in this case, "countries:"). So from the USA block of data, we can easily see that we've had 0 X-COM activity (each month of activity is represented by a new line, preceeded by a dash and then the activity amount, like so: - 459), 0 Alien activity, and for the first month, they funded us nearly a million dollars USD.

Notable sections

Each section will have unique name that's easy to find, however the data laid out inside it may not make sense at first (remember, a dash "-" starts a new data block, but it matters not what comes first in the new block after the dash). When viewed in Notepad++ configured to be an IDE for YAML, you'll start out with 13 collapsible sections, listed below:

  • rulesets - this dictates what custom rules were loaded when this save was made
  • time - literally, the time & date in your X-COM game
  • countries - a listing of all the funding countries
  • ids - a count of how many objects you've encountered/acquired from a global view (total # of soldiers, # of waypoints set, alien landing/crash/terror sites, total # of ufos). More informational then anything else
  • maintenance - how much maintenance cost per month; each new line represents 1 month
  • research scores - not sure exactly what it represents, but like maintenance, each line represents 1 month
  • expenditures - how much $$$ you've spent, each line represents 1 month
  • incomes - how much $$$ you've made, combines both money from countries given at the end of each month, and money from selling items (alien weapons & corpses for example)
  • funds - how much $$$ you ended the month with
  • bases - all of your individual base info will be in here
  • alienMissions - shows current alien missions
  • alienStrategy - shows current alien strategy (abduction, infiltration, researching (us humans!), base building, & harvesting)
  • regions - similar to countries, though less defined (Asia covers Japan, Taiwan, China etc etc, for instance)

Basically, you'll probably edit your "funds" info once (go on, give yourself a billion dollars or 2!), and constantly messing with your "bases" section, as that's where you'll be able to edit soldier stats, base building completion time, reorganizing your current base facilities, and quickly heal wounded soldiers

Base / Soldier editing

Each base in the save file will be a new block preceeded by a dash symbol, TYPICALLY in the following order:

  • lon: #.###############################
  • lat: #.###############################
  • Name: Example Base NAME
  • Facilities (which will have a new block under THAT showing the "type:" (for example "type: STR_ACCESS_LIFT"), and the X & Y coordinates of the type that's defined in that new block (if you have a facility under construction, you'll have a 4th line named buildTime: ## (## being the amount of days left in the build))
  • items - this is your inventory, and where you'll gift yourself 1,000 Elerium ("STR_ELERIUM_115: 1000" to be exact)
  • crafts - this section lists all your aircraft
  • soldiers - this section is where you take your green rookies and turn them into super soldiers with 200% aiming accuracy & 1000 time units!

Each soldier name is preceeded by their id #, and followed by their initial & then currents stats, like so:

bases:
  - soldiers:
      - id: 1
        name: Bill Clinton
        initialStats:
          tu: ##
          etc etc....
      - id: 2
        name: Hillary Clinton
        currentStats:
          tu: ##
          etc etc ...

It also shows what aircraft they're on, mission/kill stats, armor, rank and more. Current stats are what you want to edit, specifically the "tu:" line if you want 1000 tu super soldiers.