0 of 0

File information

Last updated

Original upload

Created by

Tempest

Uploaded by

Tempest407

Virus scan

Safe to use

Tags for this mod

6 comments

  1. TDoctor11
    TDoctor11
    • member
    • 0 kudos
    Is this the mod I would use if i find kuertee's friendly fire tweaks a bit too easy to trigger friendly fire? edit: also does this still work on 7.5?
  2. shoulu
    shoulu
    • member
    • 0 kudos
    the only issue i have...does it only affect the player? or will other ships also "ignore" enemy fire for a longer time?
    1. Tempest407
      Tempest407
      • supporter
      • 0 kudos
      A very good question. My awful answer is 'I don't know'. I didn't review the whole codebase for the NPC faction logic when it comes to choosing who to attack. I only changed the logic for how ships that otherwise would not be hostile respond to being shot at.

      If it impacts NPC-on-NPC engagements at all: In cases of piracy, the NPC aggressor factions are generally already at very low relations (hostile) to basically all factions, and are shoot-on-sight after being revealed as pirate ships. Therefore, this mod would do nothing at all once the pirate is revealed. For war-type things, I believe the faction relations are generally mutual, so I'm not sure what instances would arise (if any) of one faction attacking another while they sit and do nothing. That said, this mod does nothing to change relation penalties after attacks are recognized (thresholds met) or in the case of destruction of a ship.

      That said, the whole mod is literally just this very short xml file that tweaks number values in existing game logic:

      <?xml version="1.0" encoding="utf-8"?> 
      <diff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > 
      <replace sel="dataset class="ship_xl"/properties/relation/attack">
      <tolerance threshold="-5.0" change="-0.125" decay="0.25" delay="5" />
      </replace>
        
      <replace sel="dataset class="ship_l"/properties/relation/attack">
      <tolerance threshold="-5.0" change="-0.125" decay="0.25" delay="5" />
      </replace>

      <replace sel="dataset class="ship_m"/properties/relation/attack">
      <tolerance threshold="-1.0" change="-0.1" decay="0.25" delay="10" />
      </replace>
      <replace sel="dataset class="ship_s"/properties/relation/attack">
      <tolerance threshold="-1.0" change="-0.3" decay="0.25" delay="10" />
      </replace>

      </diff>


      Feel free to open it up and change the values more to your liking. I definitely did not do any balance checking or tuning on it - I just found the knobs to turn that made the problems I had in my own game go away, and thought that the fix might be useful to others as well. In retrospect, I definitely overtuned the L and XL thresholds (40 shots is a bit much), and 10 hits on a medium is probably also too much. I think I got s size right at 4 shots, though could still work with less. For s in vanilla it is a 1 shot threshold......I think this is where most fleet engagements actually go awry rather than stray shots hitting capitals en masse by accident.
    2. yushir0
      yushir0
      • member
      • 1 kudos
      What parameter should I change to say make it 20 shots forL and XL and maybe 6 or 8 for M? I'm assuming it's the tolerance threshold, but what is the formula? Thanks
      Edit: Nvm it's the quotient of change and threshold.
  3. Ciqingh
    Ciqingh
    • member
    • 0 kudos
    Thx! u saved my gameplay. 
  4. Orktodus
    Orktodus
    • member
    • 0 kudos
    В 5 раз перебор,3 и то уже многовато.