Skip to content

Where the various settings get loaded...

ISeeDEDPpl edited this page Apr 7, 2012 · 4 revisions

Settings.cs main job is to pull settings from your characters settings XML file.

Cache.cs keeps track of faction and mission level settings.

In the mission XML there are 2 layers of settings, mission wide settings, and pocket settings

mission wide settings are loaded in AgentInteraction.cs

HERE Logging.Log("AgentInteraction: Loading mission xml [" + missionName + "]");

pocket settings are loaded in Cache.cs

HERE: `public IEnumerable LoadMissionActions(long agentId, int pocketId, bool missionMode)'

Generally the settings flow we want is:

Settings XML --> faction (does not exist yet) XML --> mission XML

Fittings is slightly different:

default fitting --> by faction name (defined in character settings XML) --> by mission name (defined in character settings XML)