SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Factorio

Diplomacy

ZBy ZwerOxotnik

Adds advanced diplomacy system, diplomatic requests, needful commands, auto-diplomacy, customizable protection from theft of electricity, custom balance settings, building prohibition radius near enemy and integration with chat mod, etc etc. Has compatibility with any PvP scenario. High performance with the system. >33 translations

Diplomacy

Description

Discord reddit Read this in another language | English | Русский

I recommend to use this mod with mods: [secondary chat][secondary chat] as it is possible write to allies; [Tiny pole][Tiny pole] if the protection from theft of electricity disabled; Is it difficult to find enemy players? Use [Dirty talk][Dirty talk]; For balance evolution factor between teams [Soft evolution][Soft evolution]; [Transfer of entities][Transfer of entities] - useful when many teams; For a custom "PvP" scenario ~~[Pack scenarios][Pack scenarios]~~ [TvT scenarios][TvT scenarios].

Auto-diplomacy

forbidden_entity = (any turret, any wagon, locomotive, car, roboport, radar, rocket-silo)

If you mined entity.type = (forbidden_entity) OR entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-mined"].value another faction become enemy.

If you destroy entity.type = (forbidden_entity or player) OR entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-killed"].value another faction become enemy, else neutral (if you are not already enemies).

If you damage to the entity.max_health >= settings.global["diplomacy-HP-forbidden-entity-on-damage"].value another faction become enemy with low probability.

Mod settings

For maps

| Description | Parameters | (Default) | | ----------- | ---------- | --------- | | Protection from theft of electricity - does not allow enemies to connect to someone else's electricity | boolean | true | | Show all factions - Hides in diplomacy factions without playersHides in diplomacy factions without players | boolean | false | | Required HP for changing relationships for a killed object - changes state relationships when killed an entity HP >= this parameter value | 1-100000000000 | 300 | | Required HP for changing relationships for a mined object - changes state relationships when mined an object HP >= this parameter value | 0-100000000000 | 300 | | Required HP for changing relationships for damage to an object - changes state relationships when damage to the object HP >= this parameter value (happens with low probability) | 1-100000000000 | 300 | | Allow players mine objects from allied factions | boolean | false | | Auto-diplomacy when dealing damage - checks damage and changes relationships between factions | boolean | true | | Diplomatic privilege - which players are able to change teams diplomatic stance towards other teams. All players: Every player on the team. Team leader: The connected player who has been on the team longest. | ["all players", "team leader"] | all players | | Building Prohibition Radius - you can't build near enemies within this radius | 0-25 | 3 |

Startup

| Description | Parameters | (Default) | | ----------- | ---------- | --------- | | Hide all object markers on map | boolean | false | | HP of rocket silo - to change HP of rocket silo | 1-10000000000 | 50000 | | Count science pack for the technology of tanks | 1-10000000000 | 1000 | | Count science pack for the technology of power armor MK2 | 1-10000000000 | 1000 | | Count science pack for the technology of uranium ammo | 1-10000000000 | 1800 |

Future plans

  • Diplomatic request queue
  • Short demonstration video
  • Add in "diplomacy" blacklist for factions and scenarios, which will contain factions/players
  • Add in "balanced evolution factor" blacklist for scenarios, which will contain the factions
  • Mod settings the map transform in GUI of the game
  • Faction menu
  • Add GUI to view the relationship between each other's factions

Found an Issue?

Please report any issues or a mistake in the documentation, you can help us by [submitting an issue][issues] to our GitLab Repository or on [mods.factorio.com][mod portal] or on [forums.factorio.com][homepage].

Want a Feature?

You can *request* a new feature by [submitting an issue][issues] to our GitLab Repository or on [mods.factorio.com][mod portal] or on [forums.factorio.com][homepage].

Special thanks

  • Plov - tester

[Transfer of entities]: https://mods.factorio.com/mod/transfer_entities [Tiny pole]: https://mods.factorio.com/mod/TinyPole [TvT scenarios]: https://mods.factorio.com/mod/TvT-scenarios [secondary chat]: https://mods.factorio.com/mods/ZwerOxotnik/secondary-chat [Pack scenarios]: https://mods.factorio.com/mod/pack-scenarios [Soft evolution]: https://mods.factorio.com/mod/diplomacy [Dirty talk]: https://mods.factorio.com/mod/dirty-talk [issues]: https://gitlab.com/ZwerOxotnik/diplomacy/issues [mod portal]: https://mods.factorio.com/mod/diplomacy/discussion [homepage]: https://forums.factorio.com/viewtopic.php?f=190&t=64630 [Factorio]: https://factorio.com/

Patreon

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.