2022-03-11 16:06:19 +00:00
|
|
|
# LootDistributionGenerator
|
|
|
|
|
2022-03-11 17:15:51 +01:00
|
|
|
Generates Distribution .json files which are required by the SPT-AKI/Server to spawn loot.
|
|
|
|
|
|
|
|
# Setup
|
|
|
|
|
|
|
|
Requires a config.yaml in /config defining dump and target folders as well as a location for 7z.exe
|
|
|
|
|
|
|
|
````yaml
|
|
|
|
---
|
|
|
|
tools:
|
|
|
|
7z_exe: 'C:/Program Files/7-Zip/7z.exe'
|
|
|
|
server:
|
|
|
|
# SPT-AKI Server location (to store the generated json)
|
|
|
|
location: 'C:/GAMES/SPT_AKI_Dev/Server/'
|
2022-03-11 17:42:50 +01:00
|
|
|
# The map names in the loot dump do not directly correspond to the server database structure, this is the mapping
|
2022-03-11 17:15:51 +01:00
|
|
|
map_directory_mapping_yaml: map_directory_mapping.yaml
|
|
|
|
|
|
|
|
archives:
|
|
|
|
# where we put our sequential dump jsons to be sorted archived, preprocessor will put them into archives
|
|
|
|
source_folder: 'D:/Games/SPT_Dev/map_dumps/12.12/'
|
|
|
|
# here we store the archives with used data
|
|
|
|
target_folder: 'D:/Games/SPT_Dev/map_dumps/12.12_used/'
|
|
|
|
# archive name for map loot dump data
|
|
|
|
loot_filename: loot_dumps.7z
|
|
|
|
# archive name for bot dump data
|
|
|
|
bot_filename: bot_dumps.7z
|
|
|
|
# all dump data is appended into an archive in this folder
|
|
|
|
backup_file: 'D:/Games/SPT_Dev/map_dumps/12.12_unused/complete.7z'
|
|
|
|
config:
|
|
|
|
static:
|
|
|
|
# we have a separate yaml that defined forced static loot per map
|
2022-03-11 17:42:50 +01:00
|
|
|
forced_yaml: forced_static.yaml
|
|
|
|
loose:
|
2022-03-11 17:15:51 +01:00
|
|
|
# known quest items per map for validation
|
2022-03-11 17:42:50 +01:00
|
|
|
forced_yaml: forced_loose.yaml
|
2022-03-11 17:15:51 +01:00
|
|
|
````
|