Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive: Conquest

A successor to first Strive For Power game, currently at alpha stage · By Strive4Power

How to change race rarity

A topic by Sweet_Dreams created Aug 27, 2020 Views: 1,623 Replies: 4
Viewing posts 1 to 3
(1 edit) (+1)

You can change what races appear in the guilds and slave market by editing just one file :

/assets/data/worlddata.gd

Open it in any text editor (it's just plain text).  See line 9, where it says

races = [['Human', 50], ['halfbreeds', 15], ['Elf', 3]]

That tells you what races will appear in guilds. You can change the frequency by simply editing the number, or even add new races; for example :

races = [['Human', 30], ['halfbreeds', 25], ['Elf', 8],['Centaur', 200]]

would make centaurs appear more often than any other race. You can add any of the races to the list :

Human,Elf,DarkElf,Drow,Orc,Goblin,Kobold,Gnome,Dwarf,Fairy,Dryad,Demon,Seraph,Dragonkin,Centaur,Taurus,Harpy,Slime,Lamia,Archnam,Scylla,Nereid

as well as Beastkin# and Halfkin# for Cat, Wolf, Fox, Bunny and Tanuki. You can even add your own custom races.

If you just want random races to appear sometimes, you can add ['rare', #] or ['monster',#], replacing the # with however common you want them to be.

Monster races are : 'Lamia','Scylla','Centaur','Nereid','Arachna','Slime','Harpy','Taurus','Dragonkin'

Rare races are :'DarkElf','Drow','Goblin','Gnome','Kobold','Dwarf','Seraph','Demon'

However, this needs to be done before you start a new game, as these settings are saved in your save game file. You can edit the save game to change the races, but it's more complicated.

I don't want to start a new file...I want an orc on my main file

I've spam reloaded upgraded exotic merchant atleast 30 times

I've tried to edit race rarity in .sav file, but it doesn't seem to work

I went to the last mention of races in the file after global something, it seemed to be the global setting since it was outside most brackets and was not within quest settings that I could make out, added orc, 200 but nothing happened after refreshing slave market

There wasn't any Aliron tuple in the sav file so I assume it's following global settings

Creating a mod, adding Orc, 200 to races in plains doesn't work either

Problem solved, I wasn't importing save after modding, just loading

I modded orc race weight to 500

I can't guarantee this will work, but you could search in your save file for all mentions of

["Human",25],["halfbreeds",5],["Elf",3]

which are the default spawn rates for races in plains; then change it to whatever you want. You could replace 'Human' with 'Orc' to get mostly orcs in Aliron, instead of mostly humans. You will probably have to replace more than one instance.

Backup your save first.