Jump to content

[41.73] [Singleplayer] Weapon script's MaxHitCount doesn't work correctly for values bigger than 2 with piercing bullets


space_fish

Recommended Posts

• Version? -- 41.73 Stable

• Singleplayer/Multiplayer? -- Singleplayer

• Host or dedicated? -- Singleplayer without any servers

• Mods?  -- N O  O T H E R  M O D S

• Old or new save? -- New save

 

• Reproduction steps:

1. Go to game files in Steam, find media/scripts/items_weapons.txt

2. Find the entry for AssaultRifle and set MaxHitCount    =    8

3. Launch in debug mode, spawn in the world with insane population

4. Spawn yourself an AssaultRifle and set aiming to 7 or 8

5. Start shouting and shooting and attract as many zombies as you can to stand in one place around you (or use horde manager)

6. Move away

6. Aim at the crowd

7. See that despite the zombie density and your set MaxHitCount, it is shown that you will shoot only some two zombies

screenshot_18-08-2022_00-48-20.jpg

screenshot_18-08-2022_00-47-57.jpg

screenshot_18-08-2022_00-48-28.jpg

Edited by space_fish
Link to comment
Share on other sites

  • space_fish changed the title to [41.73] [Singleplayer] Weapon script's MaxHitCount doesn't work correctly for values bigger than 2 with piercing bullets

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...