How do I add ammuntion and attire tabs?
Adding a category to the top of /s GUI?
Hi,
You can add different tabs (max 12 tabs) via the reward_data.json
In this you can edit the whole tabs, also edit items to the respective tabs.
Here's a list with Tabs and the matching Categorys:
Weapons "category": 1
Construction "category": 2
Items "category": 3
Resources: category": 4
Atire: "category": 5
Tools: "category": 6
Medical: "category": 7
Food: "category": 8
Ammo: "category": 9
Traps: "category": 10
Misc: "category": 11
Components "category": 12
If you are missing some Categorys in your reward_data.json
you have to add these.
Imagine there is only one category in your Json:
Example:
Now we will add a new one, like category 12, that will be like this:
Example:
Hope it will help.
You can add different tabs (max 12 tabs) via the reward_data.json
In this you can edit the whole tabs, also edit items to the respective tabs.
Here's a list with Tabs and the matching Categorys:
Weapons "category": 1
Construction "category": 2
Items "category": 3
Resources: category": 4
Atire: "category": 5
Tools: "category": 6
Medical: "category": 7
Food: "category": 8
Ammo: "category": 9
Traps: "category": 10
Misc: "category": 11
Components "category": 12
If you are missing some Categorys in your reward_data.json
you have to add these.
Imagine there is only one category in your Json:
Example:
{"items": {"scarecrowhead_0": {"shortname": "scarecrowhead","displayName": "Scarecrow Wrap","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5},"partyhat_0": {"shortname": "partyhat","displayName": "Party Hat","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5},"attire.reindeer.headband_0": {"shortname": "attire.reindeer.headband","displayName": "Reindeer Antlers","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5}},"kits": {},"commands": {}}Now we will add a new one, like category 12, that will be like this:
Example:
{"items": {"scarecrowhead_0": {"shortname": "scarecrowhead","displayName": "Scarecrow Wrap","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5},"partyhat_0": {"shortname": "partyhat","displayName": "Party Hat","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5},"attire.reindeer.headband_0": {"shortname": "attire.reindeer.headband","displayName": "Reindeer Antlers","customIcon": null,"amount": 1,"cost": 2,"skinId": 0,"isBp": false,"category": 5},"propanetank_0": {"shortname": "propanetank","displayName": "Empty Propane Tank","customIcon": null,"amount": 20,"cost": 2,"skinId": 0,"isBp": false,"category": 12},"gears_0": {"shortname": "gears","displayName": "Gears","customIcon": null,"amount": 20,"cost": 2,"skinId": 0,"isBp": false,"category": 12}},"kits": {},"commands": {}}Hope it will help.
In response to DeliciousAce ():Hi,
You can add different tabs (max 12 tabs) via the reward_data.json
In this you ca...
Hello, ive edited my reward_data.json file to look like this yet it makes no changes.
{
Weapons "category": 1
Construction "category": 2
Items "category": 3
Resources: category": 4
Atire: "category": 5
Tools: "category": 6
Medical: "category": 7
Food: "category": 8
Ammo: "category": 9
Traps: "category": 10
Misc: "category": 11
Components "category": 12
{
"Weapons": {
"rifle.ak_0": {
"shortname": "rifle.ak",
"displayName": "Assualt Rifle",
"customIcon": null,
"amount": 1,
"cost": 2,
"skinId": 0,
"isBp": false,
"category": 1
},
"kits": {},
"commands": {},
}
{
Weapons "category": 1
Construction "category": 2
Items "category": 3
Resources: category": 4
Atire: "category": 5
Tools: "category": 6
Medical: "category": 7
Food: "category": 8
Ammo: "category": 9
Traps: "category": 10
Misc: "category": 11
Components "category": 12
{
"Weapons": {
"rifle.ak_0": {
"shortname": "rifle.ak",
"displayName": "Assualt Rifle",
"customIcon": null,
"amount": 1,
"cost": 2,
"skinId": 0,
"isBp": false,
"category": 1
},
"kits": {},
"commands": {},
}
In response to Rustopilous ():Hello, ive edited my reward_data.json file to look like this yet it makes no changes.
{ You cant add categories in the json you need to edit the .cs
GoldieYou cant add categories in the json you need to edit the .cs
This is incorrect. Or, it is at this time.
{
"Active categories (global)": {
"Show attire tab": true,
"Show commands tab": false,
"Show construction tab": true,
"Show electrical tab": true,
"Show exchange tab": false,
"Show fun tab": true,
"Show items tab": true,
"Show kits tab": false,
"Show misc tab": true,
"Show seller tab": false,
"Show tools tab": true,
"Show transfer tab": false
This is my settings for .json config file