[Patch] Patching gun_game_mode_logic: Reverting friendly fire change - 25/04/2025

Introduction

Apparently, the devs broke `gun_game_mode_logic` in favour of Leadstorm, just like what they did to `zombie_spawn_mode` in favour of Earth Shield before (its more like they were lazy to make a new set of codes anyways)
  • !!! All gun game mods need patching! !!!

So what did they break this time?

To create Free-for-All for Leadstorm, they have added a tag called gamemodeFriendlyFire to gun_game_mode_logic, basically enabling friendly fire, while disabling the penalty for team kill.

  • The problem speaks for itself:
    Classic gun games are team A vs team B, so this effectively breaks them!

  • There is also a second problem, you cannot use game_options when "gamemodeFriendlyFire:tag" is present, gun_game_mode_logic will disappear from your game for an unknown reason

Whether you understand it or not, here is the patch

  1. Download the patch gun_game_mode_logic_patch.blk.txt (4.7 KB)
  2. Locate the file you just downloaded in your File Explorer
  3. Rename the file to gun_game_mode_logic_patch.blk (make sure it is not a Text File, with .txt extension)
  4. Place the file in your mod directory (/userGameMods//), where your scene.blk is
  5. (If you haven’t got one) Add a text file, and rename it to entities.blk (make sure it is not a Text File, but a .blk file)
  6. Open the file with notepad.exe (or any text editor you may have)
  7. Add the line import:t="gun_game_mode_logic_patch.blk"
  8. Save the change and close the text editor
  9. Load up your mod
  10. Change your gun_game_mode_logic to be gun_game_mode_logic__patched, which is the patched version of the entity.
  • Due to limitations of the game, it is not possible to override the broken gun_game_mode_logic with my patched version.
  • You may edit your scene.blk and replace your gun_game_mode_logic with the name of mine, it works too and it keeps the levels you customized!
3 Likes