Workshop type MAPS:
- Upload from: \Scenario\Workshop
- A "Package" of a .scenario file and as many game items as necessary
- Game items load from Workshop path if available, then check SRU path
- Display/Select:
- SP: Listbox 1534
- MP: switch list as with Save games; Listbox 2907
Workshop type MODS:
- Upload from: ??
- Replacement/addition items for anything in game root path
- Once "subscribed", will be used for file load paths
- Search workshop paths, in order, until file found
- If file not found, use default SRU path
- Optional, handle file list paths (ie Sandbox) by combining all results into one
- Could be unsubscribed from SRU
- Optional, could query list and subscribe from within SRU
- Note: This usage can cause conflicts with other workshop items, unexpected changes (ie flag replacements), issues with core game, etc
Game Engine initializes Steam during application startup, before main menu display
- Workshop items should be retreived before menu is called, so that graphics and haps will load through the workshop sequence.
- Items that load before workshop data is available:
- Splash screens (BltSplashScreen) - pubsplash, splash, splashme/box
- If Workshop data arrives in time, everything else should be OK
Uses of Steam Workshop
- Create a new Sandbox/Scenario (MAPS)
- Created in \Scenario\Workshop\
- Create a .scenario file
- Create a folder with the same name for scenario-specific files
- Optional: Create folders with override for default game (Maps\, Graphics\ etc)
- Upload to Steam using Asset Tool
- Create Mods for Core Game (MODS)
- Create a folder structure with changed files
- Can be in any folder - Sandbox\ etc, Maps\, Graphics\, Localize\ etc
- Upload to Steam using ???
File Loading Sequence - stops at first found:
- If MAPS: MAPS workshop path
- If not MAPS: Loop through each MODS path looking for Scenario Path overrides
- If not MAPS: Scenario Path in Default installation
- Default installation
For Example - loading Sandbox SR1940, looking for Default.WMData
- Look through all MODS : <Modpath>\Sandbox\SR1940\MAPS\Default.WMData
- Sandbox\SR1940\MAPS\Default.WMData
- MAPS\Default.WMData
For Example - Loading MAPS Workshop Scenario SRNEW, looking for Default.WMData
- <Mapspath>\SRNEW\MAPS\Default.WMData
- MAPS\Default.WMData