Difference between revisions of "Mod:Starting items"
Jump to navigation
Jump to search
Anabellebel (talk | contribs) |
Anabellebel (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
# Open the folder ''Game''/ then '''config.lua''' with a text editor. | # Open the folder ''Game''/ then '''config.lua''' with a text editor. | ||
# 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''. | # 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. | # 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}}. | # Go to the {{False button|File|color=gray2}} menu then {{False button|Save|color=gray2}}. | ||
Line 16: | Line 16: | ||
# Open the folder ''Game''/ then '''config.lua''' with a text editor. | # 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''. | # 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. | # 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.