Difference between revisions of "Mod:Starting items"
Jump to navigation
Jump to search
Anabellebel (talk | contribs) (Created page with "This tutorial will explain you how to disable the ''tutorial mode'' in ''The Sum''. It generates information windows as game elements are discovered, or ite...") |
Anabellebel (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | This tutorial | + | This tutorial shows how to add starting items or weapons in any new game of ''[[Wikipedia 2197|The Sum]]'', regardless of the chosen starting character. Error in adding starting items should not compromise the game in any way. |
[[file:Inventory at start.jpg|thumb|Screenshot of ''The Sum'' displaying the start inventory of Mara's character.]] | [[file:Inventory at start.jpg|thumb|Screenshot of ''The Sum'' displaying the start inventory of Mara's character.]] | ||
Line 5: | Line 5: | ||
* [[Mod:Editors#Notepad.2B.2B|Notepad++]] | * [[Mod:Editors#Notepad.2B.2B|Notepad++]] | ||
− | == | + | == Add starting inventory items == |
− | # Open the folder ''Game''/ then ''config.lua'' with a text editor. | + | # Open the folder ''Game''/ then '''config.lua''' with a text editor. |
− | # Under "config. | + | # Under "config.starting_items", replace {{False button|paths = {""},|color=gray2}} by a collection of items paths and filenames of your choice. All must be located in ''Game/core/entitiets/items''. |
+ | ## Ex: {{False button|paths = {"Armor/bosMetal.ent","Food/beefjerky.ent","Misc/Cigs.ent"}|color=gray2}} | ||
+ | # Under "config.starting_items", replace {{False button|number = {""},|color=gray2}} by a series of numbers corresponding of the number of items you want for each file. | ||
+ | ## Ex: {{False button|paths = {1,10,20}|color=gray2}} | ||
+ | {{Warning|The number of added numbers must be identical to the number of items added above.}} | ||
+ | # Go to the {{False button|File|color=gray2}} menu then {{False button|Save|color=gray2}}. | ||
+ | |||
+ | == Add starting inventory weapons== | ||
+ | # Open the folder ''Game''/ then '''config.lua''' with a text editor. | ||
+ | # Under "config.starting_weapons", replace {{False button|paths = {""},|color=gray2}} by a collection of weapons paths and filenames of your choice. All must be located in ''Game/core/entitiets/weapons''. | ||
+ | ## Ex: {{False button|paths = {"Blades/knife.ent","Grenades/molotov.ent","Pistols/10mmPistol.ent"}|color=gray2}} | ||
+ | # Under "config.starting_items", replace {{False button|number = {""},|color=gray2}} by a series of numbers corresponding of the number of items you want for each file. | ||
+ | ## Ex: {{False button|paths = {1,5,1}|color=gray2}} | ||
+ | {{Warning|The number of added numbers must be identical to the number of items added above.}} | ||
# Go to the {{False button|File|color=gray2}} menu then {{False button|Save|color=gray2}}. | # Go to the {{False button|File|color=gray2}} menu then {{False button|Save|color=gray2}}. |
Revision as of 20:16, 22 September 2022
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.
- Ex: paths = {"Blades/knife.ent","Grenades/molotov.ent","Pistols/10mmPistol.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,5,1}
- Ex:
- Go to the Filemenu thenSave.