Survivalist: Invisible Strain

Survivalist: Invisible Strain

28 ratings
SIS Zombies Damage Walls
   
Award
Favorite
Favorited
Unfavorite
Tags: IsMod
File Size
Posted
Updated
1.577 MB
20 Oct, 2024 @ 8:44am
22 Nov, 2024 @ 12:11am
3 Change Notes ( view )

Subscribe to download
SIS Zombies Damage Walls

Description
What is this?
This mod makes zombies damage your base walls and gates when they are right in front of them. No place will be safe anymore, so you will have to invest more time in your defenses. The damage also depends on the type of zombie (green, blue, red, white).

You can configure the damage dealt to gates/walls through the settings file, and whether it affects other community bases or only your own.

Not tested in Story Mode. Use at own risk.

Settings
The settings file can be found in the mod's folder under "Settings_ZombiesDamageWalls.xml".
  • Enabled. Whether the mod is enabled. (default true)
  • AffectsOtherCommunities. Whether zombies damage other communities walls and gates. (default true)
  • GateDamageMultiplier. Multiplier affecting the amount of damage zombies make to gates. Higher -> more damage. (default 1.0)
  • FenceDamageMultiplier. Multiplier affecting the amount of damage zombies make to fences. Higher -> more damage. (default 1.0)

Compatibility
Shouldn't have any incompatibilities. Report any issues in the comments section!
6 Comments
xCeezyx 2 Jan @ 4:03am 
Is it normal that the white strand at the start of the story mode can break through the fences?
SweetCaptn  [author] 22 Nov, 2024 @ 12:11am 
Should be fixed, thanks Bob!
Bob  [developer] 21 Nov, 2024 @ 9:10am 
Heya, I got a crash report that I think is due to this mod. I think you just need to check if "source" is null in the OnPropertyDamaged function that you're overriding. Presumably a car whose driver had exited or died bumped into a building here.

Exception (v221): NullReferenceException: Object reference not set to an instance of an object Community_OnPropertyDamaged__Patch.Postfix (Community __instance, TerrainCoord tile, System.Single radius, TileObject obj, Character source) (at <9c8170fb1fc04710a5db8a1cc3a650e1>:0)
(wrapper dynamic-method) Community.Community.OnPropertyDamaged_Patch1(Community,TerrainCoord,single,TileObject,Character)
Prop.ApplyDamage (Character source, System.Single damage, System.Boolean from_impact, UnityEngine.Vector3 hitPos, System.Boolean burning, System.Single damageRadius) (at C:/Survivalist2/Assets/Scripts/Prop/Prop.cs:1792)
SweetCaptn  [author] 31 Oct, 2024 @ 2:52am 
Fixed a bug where communities would blame you for any damage done by zombies to their gates/fences.
PON ✦ BON 20 Oct, 2024 @ 12:04pm 
Great , This mod is a revolution:steamthumbsup::steamthumbsup:
darth_lame-o 20 Oct, 2024 @ 9:33am 
Yet another game changing mod from the master himself. You're doing God's (Bob's?) work.