Mods / CustomPlayStyles
Author: Neuro_Mancer
Side: Client
Created: Aug 21st 2024 at 12:04 PM
Last modified: Aug 21st 2024 at 7:31 PM
Downloads: 604
Follow Unfollow 16
Latest release (for Vintage Story 1.19.8, outdated):
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.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.1 | customplaystyles | 485 | Aug 21st 2024 at 7:31 PM | CustomPlayStyles-v1.0.1.zip | 1-click install | ||
|
1.0.1 Changed mod info to content mod. Changed default play style to creative world with very high ore generation. | |||||||
| 1.0.0 | customplaystyles | 119 | Aug 21st 2024 at 12:07 PM | CustomPlayStyles-v1.0.0.zip | 1-click install | ||
|
Initial release! | |||||||
The mod works fine with 1.21.4 and should be close to updateproof unless worldgen is reworked but the no music thing was bugging me so had a look,
Open worldconfig.json in a text editor (notepad is fine) and change.
"playListCode": "custom-playstyle",
edit to
"playListCode": "survival",
job done.
If author could update with this and Jimmies addition that would be amazing.
Also there are a few options missing, roughly about 10 i think so i you want all options and the music fixed ive pasted one of my worldconfig.json contents below just replace everything in your worldconfig.json file.
"playstyles": [{
"code": "custom-playstyle",
"playListCode": "survival",
"langcode": "custom",
"requestMods": ["game", "survival"],
"listOrder": 5,
"worldType": "standard",
"worldConfig": {
"gameMode": "survival",
"playerlives": "-1",
"startingClimate": "temperate",
"spawnRadius": "500",
"graceTimer": "25",
"deathPunishment": "drop",
"droppedItemsTimer": "1800",
"seasons": "enabled",
"daysPerMonth": "18",
"harshWinters": "true",
"blockGravity": "sandgravel",
"caveIns": "off",
"allowFallingBlocks": true,
"allowFireSpread": true,
"lightningFires": false,
"allowUndergroundFarming": false,
"noLiquidSourceTransport": false,
"playerHealthPoints": "15",
"playerHealthRegenSpeed": "1",
"playerHungerSpeed": "1",
"lungCapacity": "40000",
"bodyTemperatureResistance": "0",
"playerMoveSpeed": "1.5",
"creatureHostility": "aggressive",
"creatureStrength": "1",
"creatureSwimSpeed": "2",
"foodSpoilSpeed": "1",
"saplingGrowthRate": "1",
"toolDurability": "1.5",
"toolMiningSpeed": "1",
"propickNodeSearchRadius": "8",
"microblockChiseling": "stonewood",
"allowCoordinateHud": true,
"allowMap": true,
"colorAccurateWorldmap": false,
"loreContent": true,
"clutterObtainable": "ifrepaired",
"temporalStability": true,
"temporalStorms": "sometimes",
"tempstormDurationMul": "1",
"temporalRifts": "visible",
"temporalGearRespawnUses": "-1",
"temporalStormSleeping": "0",
"worldClimate": "realistic",
"landcover": "0.7",
"oceanscale": "5",
"upheavelCommonness": "0.3",
"geologicActivity": "0.05",
"landformScale": "3",
"worldWidth": "1024000",
"worldLength": "1024000",
"worldEdge": "traversable",
"polarEquatorDistance": "400000",
"storyStructuresDistScaling": "1",
"globalTemperature": "1",
"globalPrecipitation": "1",
"globalForestation": "0",
"globalDepositSpawnRate": "1",
"surfaceCopperDeposits": "0.12",
"surfaceTinDeposits": "0.014",
"snowAccum": "true",
"allowLandClaiming": false,
"classExclusiveRecipes": true,
"auctionHouse": true
},
}],
"worldConfigAttributes": []
}
Does anyone have any ideas about why this mod prevents the music from playing in VS v1.21? Or how to fix it so the music still plays?
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.
"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"
}
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.
Any word on if this is being updated/author still active?
Is it just me or do worlds made with this mod don't play any music?
Very useful mod. How do I change the name and/or description of the playstyle that appears when I'm creating a world?
VaelophisNyx
So the sturcture should be like:
Mods/CustomPlayStyles-v1.0.1\worldconfig.json
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
Mine seems to be complaining about missing the modinfo.json file, even though it is there
I helped with this