[from omdata.h]
struct overmap_spawns {
overmap_spawns(): group( NULL_ID ), min_population( 0 ), max_population( 0 ),
chance( 0 ) {};
mongroup_id group;
int min_population;
int max_population;
int chance;
what does ‘chance’ do in this context? the game doesnt report an error when I input it, and it seems to allow for mulitple group entries. Ive tried several formats, but the game isnt accepting any.
To further clarify, Ive tried using multiple groups with no success. The chance tag works on its own with one group though.
= = = = =
{
“type” : “overmap_special”,
“id” : “Anthill”,
“overmaps” :
[
{ “point”:[0,0,0], “overmap”: “anthill”}
],
“locations” : [ “wilderness” ],
“city_distance” : [10, -1],
“city_sizes” : [4, 12],
“occurrences” : [0, 27],
“rotate” : false,
“spawns” : [{“group” : “GROUP_ZOMBIE”, “min_population” : 50, “max_population” : 100, “radius” [5,10], “chance” : 50}, {“group” : “GROUP_TRIFFID”, “min_population” : 50, “max_population” : 100, “radius” [5,10], “chance” : 50} ]
}
Is valid insofar as the game doesnt return an error, however, it also doesnt generate anything topside. Below, the hardcoded anthill mobs take over.
So even if I figured out how do, I couldnt use it on anything that is hardcoded.