Mod:Starting items
Revision as of 23:55, 25 September 2022 by Anabellebel (talk | contribs)
This tutorial shows how to add starting items or weapons in any new game of The Sum, regardless of the chosen starting character. Error in adding starting items should not compromise the game in any way.
Required tools
Add starting inventory items
- Open the folder Game/ then config.lua with a text editor.
- Under "config.starting_items", replace paths = {""},by a collection of items paths and filenames of your choice. All must be located in Game/core/entitiets/items.
- Ex:paths = {"Armor/bosMetal.ent","Food/beefjerky.ent","Misc/Cigs.ent"}
- Ex:
- Under "config.starting_items", replace number = {""},by a series of numbers corresponding of the number of items you want for each file.
- Ex:paths = {1,10,20}
- Ex:
- Go to the Filemenu thenSave.
Add starting inventory weapons
- Open the folder Game/ then config.lua with a text editor.
- Under "config.starting_weapons", replace paths = {""},by a collection of weapons paths and filenames of your choice. All must be located in Game/core/entitiets/weapons.
- E.g.: paths = {"Blades/knife.ent","Grenades/molotov.ent","Pistols/10mmPistol.ent"}
- E.g.:
- Under "config.starting_items", replace number = {""},by a series of numbers corresponding of the number of items you want for each file.
- E.g.: paths = {1,5,1}
- E.g.:
- Go to the Filemenu thenSave.