Mods / CustomPlayStyles

Tags: #Other #QoL #Tweak #Utility #Worldgen
Author: Neuro_Mancer
Side: Client
Created: Aug 21st 2024 at 12:04 PM
Last modified: Aug 21st 2024 at 7:31 PM
Downloads: 432
Follow Unfollow 13

Latest release (for outdated Vintage Story v1.19.8):
CustomPlayStyles-v1.0.1.zip  1-click install


Ever wished you could create a custom play style, so your users do not copy the settings from the mod pack page?

Or you are a dev that wants to test world generation settings but need to copy and paste it every time.

This mod makes things easier, you can just change the worldconfig.json in the mod folder.

You should extract the mod from the zip. Just copy the folder from the zip into your Mods folder.

For that, you can create a World with your desired settings and then copy these settings.

After that, open the worldconfig.json file

Inside the file, there is the following entry:

"worldConfig": {
            "worldClimate": "realistic",
            "gameMode": "survival",
            "temporalStability": "true",
            "temporalStorms": "sometimes",
            "graceTimer": "0",
            "microblockChiseling": "stonewood",
            "polarEquatorDistance": "100000",
            "lungCapacity": "40000",
            "harshWinters": "true",
            "daysPerMonth": "9",
            "saplingGrowthRate": "1",
            "propickNodeSearchRadius": "6",
            "allowUndergroundFarming": "false",
            "temporalGearRespawnUses": "20",
            "temporalStormSleeping": "0",
            "clutterObtainable": "ifrepaired"
        }

Replace the contents inside the bracket with your desired settings.

 

Special Thanks to:
DanaCraluminum for the Initial plan and also debugging the mod. 

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.1 349 Aug 21st 2024 at 7:31 PM Show CustomPlayStyles-v1.0.1.zip 1-click install
v1.0.0 83 Aug 21st 2024 at 12:07 PM Show CustomPlayStyles-v1.0.0.zip 1-click install

8 Comments (oldest first | newest first)

💬 JimmyMac, Apr 1st at 12:20 PM

This mod is great - Works with 1.20.7 and should work with any version as far as I can see. 

I was able to SORT OF customize the name and description. You can do it 2 ways.

  1. After you extract the mod from the zip make a folder named game in the assets folder
  2. In the game folder make a folder named lang
  3. in the lang folder make a text file named whatever your default language is set to
    1. Mine is set to english so my file is named en.json - You can look in the VintageStory\assets\game\lang folder to see all the file names and match the file in the mods lang folder to it
  4. in the en.json (or whatever your file is) add these lines to name and describe your custom playstyle
    1. {
          "playstyle-custom": "My Custom Playstyle Name",
          "playstyle-desc-custom": "My description of this playstyle\n\nKeep Inventory On\nHealth 35hp\n5 Days Before Monsters\nThis is on a new line"
      }
    2. Replace the name and description wording with whatever you want

 

Now once the mod is loaded it will use your customized name and description. That is also a problem because mods don't load until you start up a world. So by using the steps above it won't show the new name/desc until you load a world and then exit it back to the menu. Once you do that one time it will be stay until the you restart VS. To make this permanent and work like it should you will need to acutally edit your default language file in the VintageStory\assets\game\lang folder and add the lines from step 4 above to the bottom of the file without the { }  I don't like messing with the default VS files directly because it will most likely break every time there is an update but at the moment this is the only way to make it work like it should. 

And here is what mine looks like now. I'm happy. I been wanting this for a while.

My Custom Playstyles

💬 Ateerix, Mar 7th at 3:30 PM

Any word on if this is being updated/author still active?

💬 enn, Jan 31st at 2:33 PM

Is it just me or do worlds made with this mod don't play any music?

💬 hologramblue, Dec 1st 2024 at 4:55 AM

Very useful mod. How do I change the name and/or description of the playstyle that appears when I'm creating a world?

💬 Neuro_Mancer , Aug 27th 2024 at 10:35 AM

VaelophisNyx

So the sturcture should be like:

Mods/CustomPlayStyles-v1.0.1\worldconfig.json

 

💬 VaelophisNyx, Aug 24th 2024 at 10:17 PM

Ok, the issue seems to be that the archive is nested. Moving the contents up into the main archive and out of the CustomPlayStyles-v1.0.1 folder worked

💬 VaelophisNyx, Aug 24th 2024 at 10:15 PM

Mine seems to be complaining about missing the modinfo.json file, even though it is there

💬 DanaCraluminum, Aug 21st 2024 at 3:06 PM

I helped with this

 (edit comment delete)