Door Kickers 2

Door Kickers 2

Not enough ratings
No Blind Fire Mission Pack
   
Award
Favorite
Favorited
Unfavorite
Content Type: Mission Pack, Enemies
File Size
Posted
Updated
26.095 MB
29 Apr @ 5:44pm
20 Jun @ 5:43pm
3 Change Notes ( view )

Subscribe to download
No Blind Fire Mission Pack

Description
Forbids Blind Fire for Every Enemy in Single Missions / Operations
It seems to work fine to me, but if you find something wrong, please let me know!

I have read some posts/reviews that blind fire screws single plans.
This mod overwrites maps to forbid blind fire for enemies written there.
It seems to work with Single Missions / Operations, and would be able to combine with other enemy mods.

If you want to play RMG/ToD, then go to the Nexus Mods page.
These also overwrite enemy entities, so they must conflict with other enemy mods :(

RMG/ToD with vanilla enemies:
https://www.nexusmods.com/doorkickers2/mods/371?tab=files
All of the official missions with my modded enemies:
https://www.nexusmods.com/doorkickers2/mods/305?tab=files

Technical info
In MapName.xml, some human units have chanceToBlindFire="X", such as:
<Traits AAA BBB chanceToBlindFire="X" CCC />

So I have replaced them with "nothing", using a regular expression:
chanceToBlindFire="[.0-9]*"

Then I have added chanceToBlindFire="0" to the traits of human units,
by replacing
<Traits
with
<Traits chanceToBlindFire="0"

So the result is like this:
<Traits chanceToBlindFire="0" AAA BBB CCC />

Further info
Some units in maps don't have the chanceToBlindFire trait, but then it seems to refer to its human entity.
e.g. Grunt Insurgent has <Traits chanceToBlindFire="0.5" stopsToShoot="true"/>
in \data\entities\humans_badguys.xml

This mod also adds the traits to unnecessary units such as troopers, hostages, VIPs, civilians, executioners etc.
But they would be ignored, I suppose hope.

RMG/ToD seems to summon enemies with the default traits, so their entities must be overwritten.
Popular Discussions View All (1)
2
29 Apr @ 6:03pm
Bug report
Takeshi, made in Mom
2 Comments
Takeshi, made in Mom  [author] 20 Jun @ 5:46pm 
Updated for v1.10.

Optional files at Nexus Mods are;
No Blind Fire Mission Pack RMG Vanilla: No change
EWG Enemy Replacer No Blind Fire Mission Pack: Will update soon, because it includes Single missions
Takeshi, made in Mom  [author] 2 May @ 12:03am 
Forgot to tell, 2 hours ago, I stopped supporting RMG/ToD here,
because it is not enough to edit maps.
If you want to play RMG/ToD, go to the Nexus Mods page above and download the optional file, which also edits the unit entity.