-
Notifications
You must be signed in to change notification settings - Fork 58
Modifying the menu
Daniel Varnai edited this page Jan 3, 2016
·
4 revisions
You can easily modify the items and the menu layout. The menu is generated from the file addons/sourcemod/configs/store/items.txt. The file follows the KeyValue format of the engine. Nothing is hardcoded in it. You can just add, delete, modify items or even add new submenus to it. To add a new submenu, you just have to add a new block to the keyvalue. For example:
...
"My new category"
{
"A new subcategory in my category"
{
...other subcategories...
...items...
}
...other subcategories...
...items...
}
...rest of the items.txt...
You can turn categories into individual items as well by setting its price. If you do that, your players will be able to get access to everything inside that category by paying for the category itself.