Pretty simple really, allows stray shots to hit friendly mechs.
Just search for "Friendly Fire" on Nexus, it's mod number 448.
The code to do this is already exists, it just needs to be activated in the JSON, and it's just a one line change.
If you just want to hack the JSON yourself instead of downloading the mod, just add:
"StrayShotValidTargets": 2
to the "ToHit" in CombatGameConstants.json (it doesn't currently exist)
If what I understand of the code is correct, the possible values are:
0: Enemy only
1: Enemy+neutral
2: All targets
I haven't had time to test this (and won't till the weekend), but it would be great to get confirmation it works before that.
Also, first person to headcap their own mech on stream gets 100 points!
Just search for "Friendly Fire" on Nexus, it's mod number 448.
The code to do this is already exists, it just needs to be activated in the JSON, and it's just a one line change.
If you just want to hack the JSON yourself instead of downloading the mod, just add:
"StrayShotValidTargets": 2
to the "ToHit" in CombatGameConstants.json (it doesn't currently exist)
If what I understand of the code is correct, the possible values are:
0: Enemy only
1: Enemy+neutral
2: All targets
I haven't had time to test this (and won't till the weekend), but it would be great to get confirmation it works before that.
Also, first person to headcap their own mech on stream gets 100 points!