Visible Minefields 1.1.1

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

"I love invisible minefields!" - said nobody ever

CURRENT ISSUES:
Explosion damage calculation is a little messed up, will try to improve in upcoming patches

THIS MOD IS (SLIGHTLY) UNDERCOOKED, I'M SORRY! - If you have any suggestions or notice an issue then let me know!

This mod only modifies minefields. For claymores check out Hazardifier by DrakiaXYZ

Introduction

This mod makes all non-boundary minefields visible. That's about it.

Performance

Since this mod creates up to hundreds of GameObjects it may lead to a reduce in performance. Minefield properties can be changed in mapconfig.json.

Preview

Installation

Just drag & drop the BepInEx folder into your SPT folder.


wByb5Ln.gif


  • Version 1.1.1

    • Fixed an issue where mines would not disappear when shot from outside the explosion radius.
  • Version 1.1.0

    • Fixed the bug where other plugins would break when loading a map without minefields. Hopefully. Again.
    • Adjusted landmine damage code.
    • Added some additional explosion damage config options.

    I'm sorry for the state that the mod has been in for the past week. Had I done a better job of debugging it wouldn't have been like this.

    I want to give a massive thank you to Skully from the SPT Discord and HOT DOG for helping me test and debug.

    :)

  • Version 1.0.1

    • Hopefully fixed the issue where some plugins would get disabled without throwing an error
    • Adjusted the explosion damage so that fractures would happen on the closest limb instead of randomly

    BROKEN

  • Version 1.0.0

    BROKEN

  • Maybe make them spawn only within close proximity of the player to help with performance. Unless that is already how it works.

    • my main concern was with the amount of boxcolliders but in testing i didnt notice a performance impact and after a little googling theyre apparently pretty efficient. the mines themselves are relatively low poly as well (around 4600 tris, which isnt really low poly but it is what it is), have a lod model and are culled at far distances. but i guess what you suggested could be a potential optimization approach if people start noticing performance issues caused by this mod

      Thumbs Up 1
  • What maps are affected? I'm only aware of mines on Woods. I'm mostly interested in seeing the mines/claymore on Lighthouse and Streets. Does this make those visible too?

    • currently only the minefield near usec camp on woods, the minefields around the water treatment plant on lighthouse and the minefield near the railway extract on shoreline. to make claymores visible use hazardifier

  • I just tried it, and still disables a lot of plugins without any errors. Sadge

    • i have a potential fix ready but need help testing. add me on discord peinful

  • For some reason this mod and Terkois Free Cam mod don't get along, weirdly never got any errors.

    • just tried it and it worked fine... weird

    • also conflicts with acidphantasm's Accessibility Indicators and DrakiaXYZ's Loot Radius

    • i have a potential fix ready but need help testing. add me on discord peinful

    • UPDATE;

      Quote

      <3 <3 <3

      Heart 1
  • Can you make them 'smoke' instead of explode? possible?

    • if you mean removing the fireball from the explosion particle then i agree, it does look weird. i could make that an option in the future potentially

  • I kinda wish they were somewhat hidden, not fully exposed.

    • if you enable advanced settings theres an option that lets you configure how far into the ground they spawn, but i think the colliders might end up too far into the ground, making the mines unable to be shot or stepped on

  • For some reason this broke all of my other bepinx shit

    • any errors?

    • No errors, but I also confirm some of my Bepinx mods stopped working when your mod was in my files. No idea why.

    • which mods are we talking about? saying "some" isnt telling me much

  • Been looking forward to this

    Heart 2
  • Quite quick,i asked you a couple hours ago about what are you working on and you are already done :D Great Job

    Heart 1