branchrust_reboot/main/hardcore_refreshcancel
117 Commits over 61 Days - 0.08cph!
Fix fog not clearing immediately on spawn
Better initialisation flow for hardcore map, stops parts of it running when booting up in vanilla
Added debug.resetfogofwar
merge from upkeep_convars -> hardcore_refresh
Reapply game mode changes
Merge from main (stomp local BaseGameMode changes, will need to reapply)
Added server.pveBulletDamageMultiplier convar, set to 1.5x on hardcore, affects all damage going from a player -> npc
Added server.respawnTimeAddition convar, adds the given amount of time to all respawn points (bags/beds/etc, won't apply to beach respawns)
Set to 25m for hardcore, brings sleeping bag cooldown to 30m
Subject to change!
Reworked how we handle loot distribution changes, each item now has a loot distribution type and the game mode can raise or lower the weights of all items with that type. Only has a firearms options right now
This is independent of the item category as we need to be a bit more fine grained, it's also a bit mask so an item could be in more than one category (eg. firearms and military)
Added a 50 point modifier to all firearm spawns in loot containers, should double chance of finding guns (needs more testing)
Added the firearms loot type and crafting restrictions to all firearms:
Military Flamethrower
P17
L96
Python
Double barrel shotgun
Pump Shotgun
Homing missile launcher
HC Revolver
MGL
HMLMG
M4
Minigun
Revolver
Rocket Launcher
Bolt Rifle
Eoka
Flamethrower
M249
MP5
Waterpipe shotgun
Spas12
AK
LR300
M39
M92
Semi auto pistol
Semi auto rifle
SKS
Custom SMG
T1 SMG
MP5
Added ability to adjust weighting of items globally in loot spawns per game mode
Fixed vending machine restrictions not being properly applied if era is default
Add ability for items to have a restriction per game mode, extending the era restriction field
These restrictions are stored on the game mode instead of the item but are displayed on the item via a custom inspector
Game mode restrictions are applied prior to the era restrictions
Allows us to restrict items per game mode using the same set of tools we used for the primitive mode (eg. disallow crafting but still allow looting)
Disabled the ak from being crafted as a test