For my own fun, i am making a simple mod that try to restore the hilarious level of aggression from mooses and bears from old versions of cataclysm and removed their fear of sound and etc...
So far i have done this
- created a folder named "moose_bear_unleashed"
in myCBNdirectory\data\mods\
- in that "moose_bear_unleashed" folder i have those 2 files
modinfo.json
[
{
"type": "MOD_INFO",
"id": "moose_bear_unleashed",
"name": "Moose and Bear Unleashed",
"authors": [ "just tweaking json" ],
"maintainers": [ "not really going to happen" ],
"description": "Try to restore the level of threat mooses and bears were in old versions of Cataclysm.",
"category": "creatures",
"dependencies": [ "dda" ]
}
]
bear_moose.json
[
{
"id": "mon_bear",
"type": "MONSTER",
"name": { "str": "black bear" },
"description": "The American black bear. A large omnivorous scavenger, it has powerful claws and jaws, and is an effective ambush hunter. It can pose a considerable threat, although most individuals are shy around humans.",
"default_faction": "bear",
"bodytype": "bear",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"volume": "154250 ml",
"weight": "154250 g",
"hp": 100,
"speed": 140,
"material": [ "flesh" ],
"symbol": "B",
"color": "dark_gray",
"aggression": 100,
"morale": 60,
"melee_skill": 6,
"melee_dice": 4,
"melee_dice_sides": 6,
"melee_cut": 4,
"dodge": 3,
"armor_bash": 2,
"vision_day": 30,
"vision_night": 10,
"zombify_into": "mon_zombear",
"path_settings": { "max_dist": 10 },
"anger_triggers": [ "HURT", "PLAYER_CLOSE" ],
"placate_triggers": [ "MEAT" ],
"death_function": [ "NORMAL" ],
"harvest": "mammal_large_fur",
"reproduction": { "baby_monster": "mon_bear_cub", "baby_count": 1, "baby_timer": 700 },
"//": "220 days gestation period, the mother and cubs remain together for 16-17 months.",
"baby_flags": [ "SPRING" ],
"special_attacks": [ [ "EAT_FOOD", 20 ] ],
"flags": [ "SEES", "HEARS", "SMELLS", "ANIMAL", "WARM", "BLEED", "BASHES", "DESTROYS", "ATTACKMON" ]
},
{
"id": "mon_moose",
"type": "MONSTER",
"name": { "str_sp": "moose" },
"description": "The Eastern moose, the largest living species of deer. The bulls are quite ill-tempered, especially in the rutting season.",
"default_faction": "herbivore",
"bodytype": "horse",
"categories": [ "WILDLIFE" ],
"species": [ "MAMMAL" ],
"volume": "386000 ml",
"weight": "386 kg",
"hp": 120,
"speed": 200,
"material": [ "flesh" ],
"symbol": "M",
"color": "brown",
"aggression": 100,
"morale": 80,
"melee_skill": 6,
"melee_dice": 3,
"melee_dice_sides": 4,
"melee_cut": 0,
"dodge": 1,
"armor_bash": 4,
"armor_cut": 1,
"vision_night": 7,
"path_settings": { "max_dist": 10 },
"anger_triggers": [ "HURT", "MATING_SEASON", "PLAYER_CLOSE" ],
"death_function": [ "NORMAL" ],
"baby_flags": [ "AUTUMN" ],
"//": "Baby moose don't actually exist (yet), but autumn is their mating season so baby_flags is defined so that they get angry then",
"harvest": "mammal_large_leather",
"special_attacks": [ [ "EAT_CROP", 60 ] ],
"flags": [ "SEES", "HEARS", "SMELLS", "PET_MOUNTABLE", "ANIMAL", "WARM", "BLEED", "BASHES", "DESTROYS", "ATTACKMON" ]
}
]
If i enable this mod in a world and debug spawn a moose, the thing will immediately want to murder my character , old time nostalgia
So it works great and as intended
But now i would like to increase the chances of spawning, as from my memories bears and mooses weren't -that- (i nearly never saw them in current cata) rare to encounter in old Cataclysm.
And i'm puzzled on how to do that, anyone has an idea ?
**** EDIT : finally found how to edit the spawn chances, as from googling cdda (and so cbn) had drastically reduced wildlife spawning at some point.
Additionally wildlife is also cut in the spawning if there are too many zombies as priority is given to monsters apparently. So if you enable "wander spawn" that emulate zombie hordes the number of wildlife animal will be very small , near to nothing.
Anyways, here's then the additional file i would put in my mod folder to get more moose and bears spawning
unleashedgroups.json
{
"type": "monstergroup",
"name": "GROUP_FOREST",
"override": true,
"auto_total": true,
"default": "mon_null",
"monsters": [
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 300, "cost_multiplier": 10, "conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "ends": 72, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 300, "cost_multiplier": 10, "ends": 72, "conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "ends": 168, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 300, "cost_multiplier": 10, "ends": 168, "conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "ends": 672, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 300, "cost_multiplier": 10, "ends": 672, "conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 100, "cost_multiplier": 10, "ends": 2160, "conditions": [ "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_bear", "freq": 300, "cost_multiplier": 10, "ends": 2160, "conditions": [ "NIGHT", "SPRING", "SUMMER", "AUTUMN" ] },
{ "monster": "mon_moose", "freq": 100, "cost_multiplier": 3 },
{ "monster": "mon_moose", "freq": 200, "cost_multiplier": 3, "conditions": [ "DAY" ] },
{ "monster": "mon_moose", "freq": 100, "cost_multiplier": 3, "ends": 72 },
{ "monster": "mon_moose", "freq": 200, "cost_multiplier": 3, "ends": 72, "conditions": [ "DAY" ] },
{ "monster": "mon_moose", "freq": 100, "cost_multiplier": 3, "ends": 168 },
{ "monster": "mon_moose", "freq": 200, "cost_multiplier": 3, "ends": 168, "conditions": [ "DAY" ] },
{ "monster": "mon_moose", "freq": 100, "cost_multiplier": 3, "ends": 672 },
{ "monster": "mon_moose", "freq": 200, "cost_multiplier": 3, "ends": 672, "conditions": [ "DAY" ] },
{ "monster": "mon_moose", "freq": 100, "cost_multiplier": 3, "ends": 2160 },
{ "monster": "mon_moose", "freq": 200, "cost_multiplier": 3, "ends": 2160, "conditions": [ "DAY" ] }
]
}
basically for now i multiplied all the "freq" by 100 (to check if things were actually working, and they work as there's a lot of mooses and bears spawning) , will have to tinker a bit to find a more reasonnable "freq" to get things back to roughly how it used to be in old cataclysm.
But at least this little mod works now , you can learn to fear moose and bear again (and weaponize them against zombies, or against each other as both animals will murder each other)