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 |
||
(5 intermediate revisions by the same user not shown) | |||
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''. |
+ | ## E.g.: {{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. | ||
+ | ## E.g.: {{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''. | ||
+ | ## E.g.: {{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. | ||
+ | ## E.g.: {{False button|paths = {1,5,1}|color=gray2}}{{Warning|The number of added numbers must be identical to the number of weapons 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}}. |
Latest revision as of 23:57, 25 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[edit | edit source]
Add starting inventory items[edit | edit source]
- 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.
- E.g.: paths = {"Armor/bosMetal.ent","Food/beefjerky.ent","Misc/Cigs.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,10,20}
- E.g.:
- Go to the Filemenu thenSave.
Add starting inventory weapons[edit | edit source]
- 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.