branchrust_reboot/main/hardcore_refreshcancel
112 Commits over 61 Days - 0.08cph!
Fixed not being able to assign another player their full bag limit on vanilla servers (this behaviour now only kicks in when a server is running fog of war or no map)
Fixed incorrect bag count being sent to player when they assign one of their bags to another player
Possibly fixed some issues with modifiers not calculating time properly
Codegen to fix compile errors
Removed the 20%, 40% and 60% scrap cost increase in hardcore, tech tree costs should match vanilla (just without guns)
Explosive ammo shares the same hardcore game mode costing behavior as other ammo types (Subject to change)
Fix not being able to repair skinned weapons that are crafting blocked by game mode (eg. redirect ak skins)
Another possible map clearing while server restarts fix
Fill in changes on hardcore prefab (for inventory game mode UI)
Updated the compass description to mention the behaviour when it's on the belt bar
Fix a regression where the map was briefly visible when the map was closing while fog of war is active
Don't show the mission button on the map if missions are disabled by the active game mode
Better map handling of sleeping bag clusters and fog, fixes clusters disappearing when opened
Don't allow a client to send fog of war updates until they receive the initial fog update form the server
Fixed another case of fog of war being deleted when a player is deleted (ReassignEntityId on FileStorage with the players new network id)
This will wipe all existing fog of war
Fix map not rendering properly after leaving a hardcore server and joining a non hardcore server
Reassign the read only death screen fog images every time we open the death screen
Add back in the option to make the player not show their direction on the map, show an empty circle
Even if a player has a compass on the belt, they still need to to pull out the compass to figure out a direction
Can no longer buy pistol ammo from npc vendors (affects waterwell mostly)
Fix monuments/vending machines briefly visible when map is fading in
Fix game modes automatically spawning the player if they were killed while offline even if they have a sleeping bag (ie. when we would normally just show the death screen when connecting)
Fix death screen fog not being applied if player leaves and joins another server in a single session
Possible MapInterface.ResetMapView NRE fix
Updated upkeep costs to 2x
bracket_0_costfraction is now 0.2 (0.1 vanilla)
bracket_1_costfraction is now 0.3 (0.15 vanilla)
bracket_2_costfraction is now 0.4 (0.2 vanilla)
bracket_3_costfraction is now 0.66 (0.33 vanilla)
Bring the sleeping bag clusters above the fog of war when a cluster is opened
Show the players location on the map if they have a compass in their belt bar
Adjust map fade logic to prevent a few edge cases where the map under the fog was visible for a few frames
Can now craft an eoka in hardcore
Remove outpost respawn point mission provider from hardcore (he had no missions to provide anyway)
Fixed floating lights in bandit town when marketplace is deleted due to a game mode
Horses for sale are now immortal (not an issue in vanilla due to safe zones)
Halved all ammo drops from killing NPC's (see server.npcAmmoLootMultiplier, set to 0.5 for hardcore)
Fix tech tree lines being able to render on top of the tech tree nodes if the order of the tech tree nodes has been modified
Layout change on T2 hardcore for buckshot/shield
Removed respawnTimeAddition convar
Added respawnTimeAdditionBag and respawnTimeAdditionBed convars, controls respawn rates per respawn type (campers are counted as beds)
Adjusted respawn time to 15m for bags and 10m for beds in hardcore
Reduce ammunition crafting cost multiplier to 5x (was 10x)
Don't show the player icon on the map
Don't show underground layers on the map
Another loot spawn change to try and resolve these game mode issues