Jump to content

Adding New Modes

Not a Bug 1.2.0

Chillzone - PvE

Posted

I'm trying to add a new mode and it's not working out for me. 

I have the group created I believe, but I'm having an issue with the lang files. 

I edit them and add the new mode. Reload. But everything I added is removed -- back to default. 

And the group title still looks like this: 

Screenshot 2024-08-31 at 12.52.35 PM 1.png

WarMode.json

Mr01sam

Posted

Hey, can you send me your lang file(s)?

Mr01sam

Posted

You have to add a new entry to your lang file for every new mode you add for every spot you see the default modes.


So in the WarMode.json lang file, you need to add the following entries:
"mode rogue"
"ss title rogue"
"ss text rogue"

And if you add other custom modes in the future, you'll need to do the same for those as well.
image.png.dcdf666920fdfb34366c96966a65b297.png


Additionally, if you're using the spawn ui, you will need to edit the WarModeSpawnUI.json lang file as well. And add the following values
"rogue"
"rogue info"
image.png.c56219bf369c9676bc2f11767d641295.png

Mr01sam

Posted

Changed Status from Pending to Not a Bug

Chillzone - PvE

Posted

7 hours ago, Mr01sam said:

You have to add a new entry to your lang file for every new mode you add for every spot you see the default modes.


So in the WarMode.json lang file, you need to add the following entries:
"mode rogue"
"ss title rogue"
"ss text rogue"

And if you add other custom modes in the future, you'll need to do the same for those as well.
image.png.dcdf666920fdfb34366c96966a65b297.png


Additionally, if you're using the spawn ui, you will need to edit the WarModeSpawnUI.json lang file as well. And add the following values
"rogue"
"rogue info"
image.png.c56219bf369c9676bc2f11767d641295.png

I've done all of this. It all literally disappears after reloading the plugin.

Chillzone - PvE

Posted

So the profile finally shows -- however the lang files still does not save anything

Screenshot2024-09-05at10_19_55AM.png.b6e7fb452a93fbcdcfdcf0d6f7a5ce5a.png

Mr01sam

Posted

Hey I just tried to reproduce this and I can't get the problem to occur - adding the localization is working for me and its saving properly. Perhaps you could DM me and we could work through it to figure out what is going on?

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.