Mod:Starting items

From Wikipedia 2197
Jump to navigation Jump to search

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.

Screenshot of The Sum displaying the start inventory of Mara's character.

Required tools[edit | edit source]

Add starting inventory items[edit | edit source]

  1. Open the folder Game/ then config.lua with a text editor.
  2. 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.
    1. E.g.:
       paths = {"Armor/bosMetal.ent","Food/beefjerky.ent","Misc/Cigs.ent"} 
  3. Under "config.starting_items", replace
     number = {""}, 
    by a series of numbers corresponding of the number of items you want for each file.
    1. E.g.:
       paths = {1,10,20} 

      Alert.png  The number of added numbers must be identical to the number of items added above. 


  4. Go to the
     File 
    menu then
     Save 
    .

Add starting inventory weapons[edit | edit source]

  1. Open the folder Game/ then config.lua with a text editor.
  2. 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.
    1. E.g.:
       paths = {"Blades/knife.ent","Grenades/molotov.ent","Pistols/10mmPistol.ent"} 
  3. Under "config.starting_items", replace
     number = {""}, 
    by a series of numbers corresponding of the number of items you want for each file.
    1. E.g.:
       paths = {1,5,1} 

      Alert.png  The number of added numbers must be identical to the number of weapons added above. 


  4. Go to the
     File 
    menu then
     Save 
    .