How to Remove Zone of Control from a Unit

Discussion in 'Civ5 - Creation & Customization' started by regularkid, Aug 26, 2020.

  1. regularkid

    regularkid Chieftain

    Joined:
    Aug 10, 2020
    Messages:
    2
    Gender:
    Male
    Hey fellow modders:

    Does anybody know if there is a way to remove "zone of control" from a particular unit, so that it no longer exerts zone of control on other units? I've looked everywhere for the answer, but I'm not sure which file to edit or what value to change for this purpose. Any help would be greatly appreciated.

    -Joe

    Moderator Action: Moved to the main C&C forum as that is where questions are best answered. leif
     
    Last edited by a moderator: Aug 27, 2020
  2. whoward69

    whoward69 DLL Minion

    Joined:
    May 30, 2011
    Messages:
    8,582
    Location:
    Near Portsmouth, UK
    All combat units exert a ZoC. Only way to change this would be to modify the DLL. (Best way to do that would be to create a new promotion attribute "No ZoC", mod the DLL to look for that in the pathfinding code, then create a new promotion in XML/SQL with that attribute set, then finally grant that promotion to the unit(s) you don't want to exert a ZoC)
     
  3. regularkid

    regularkid Chieftain

    Joined:
    Aug 10, 2020
    Messages:
    2
    Gender:
    Male
    Thanks for the response, Whoward. I'm not sure what you mean by "pathfinding code" or "mod the DLL to look for that." It sounds complicated lol
     

Share This Page