-
-
Notifications
You must be signed in to change notification settings - Fork 250
Mod Values
To use ASB with mods, you can select them in a list in the mod manager (Menu Settings - Mod Values Manager). Currently only mods that are listed there are supported.
The info below according manually created mod-value-files is out of date and does not work currently
To add values that differ from the official values, you can load a file with the deviations. This is not necessary if your server only has different global stat-multipliers, these can be adjusted in the settings. This procedure is only necessary, if you use a mod that changes stat-values of species, e.g. the Classic Flyers-mod.
This method can also be used if you have a mod that adds new creatures.
Load the created file via File
-> Load additional values…
. The file is usually located in the folder json
.
You need to create a json-file, that contains all the new data. If you ommit data for a value by setting it to null
, the original (official) data is used.
The file has to have the following format:
{"species":[ {"name":"Argentavis","statsRaw":[null,[750,0.1,0.1],null,null,null,null,[null,null,0.025],null]},{"name":"Pelagornis","statsRaw":[null,[320,0.1,0.1],null,null,null,null,[null,null,0.025],null]}, {"name":"MyDinoSpecies","statsRaw":[[700,0.2,0.27,0.5,0],[175,0.1,0.1,0,0],[150,0.1,0.1,0,0],[3000,0.1,0.1,0,0.15],[250,0.02,0.04,0,0],[1,0.05,0.1,1,0.4],[1,0,0.025,0.5,0],[420,0.06,0,0.5,0]]} ]}
The order of the stats is HP, St, Ox, Fo, We, Dm, Sp, To.
The order of the stat-values is Base, wildLevel, tamedLevel, tamingAdd, tamingAffinity
.
In the example, the new species "MyDinoSpecies" has a base-value of HP of 700, which is increased by 20% (=0.2) each wild-level, increased by 27% each tamed level and it gets an additive taming bonus of 0.5.
Keep in mind, these values are all again affected by the global stat-multipliers, e.g. with a TameAdd-global-multiplier of 0.14, the additive taming bonus of 0.5 becomes 0.07 ingame.
Additionally to the stat-values you can alter more values:
-
"NoImprintingForSpeed"
: can have the valuesfalse
ortrue
-
"TamedBaseHealthMultiplier"
: a double (decimal) number.
The easiest way is to ask the creator of the mod if they can post the data. If you have access to the devkit-files, the data is usually in the files DinoCharacterStatusComponent_BP_[Creature]
where [Creature]
is specifying the species (it's not always called exactly like in the game). Some numbers for taming (e.g. needed affinity) are located usually in a file called [Creature]_Character_BP
.
If you don't get the values from the mod-dev or the dev-kit, you can find them ingame. This needs some time and calculations.
- Start a singleplayer game with the mod enabled, with the option
Singleplayer
disabled, and all the stat-multipliers set to 1. - Repeat for all species:
- spawn in a level 1 creature, knock it out and note the
base
-values of all stats (e.g. 200) - spawn in some level 10 creature, knock them out and find the smallest increase in each stat. Divide this number by the base-number, this is the
wildLevel
-value (e.g. smallest larger than base-value is 210, so increase is 10, sowildLevel
is 10/200 = 0.05) - forcetame a creature (console-command
playersonly
to freeze,forcetame
while looking at the creature), add xp (mount the creature, add xp withaddexperience 10000 0 1
) note each stat-value, level up each stat exactly once, note each stat-value again, divide first value by last to gettamedLevel
-value (e.g. stat-value is 300, after applying one level it increases to 330, sotamedLevel
is 330/300 = 0.1) - take an untamed creature, note all stat-values (after knocking it out), hit it until the taming-effectiveness (TE)reaches 0 %, then tame it (command
dotame
while looking at it, do not use forcetame, this will give it 100 % TE), compare the stat-values to the pre-tame ones and note each difference which is thetamingAdd
-value - take an untamed creature, note all stat-values as V1 (after knocking it out), forcetame it and note the stat-values again as V2. The
tamingAffinity
-value now equals(V2 / (V1 + tamingAdd)) - 1
.
- spawn in a level 1 creature, knock it out and note the
Some vanilla species have an additional multiplier for the health once tamed, this makes things more complicated, but probably few mods use this extra multiplier. See the complete stat-calculation formulas for more infos.
For the mod Classic Flyers there's already a file included in the release in the json-folder.