Ungodly Diplomacy AI 1.0.1 and Research 1.2.0

Ungodly Diplomacy

Ungodly madly vastly enhanced, advanced, and improved.

The installation guide for two BepInEx 5 (x64) mods for Diplomacy is Not an Option by StixsworldHD (StixsmasterHD4k): Ungodly Diplomacy AI 1.0.1 and Ungodly Diplomacy Research 1.2.0. Install one or both. They use the same loader, and the Research mod was built and checked to run alongside the AI mod.

Start the install Get the downloads

The game's research tree during a mission, with the tooltip for Builders Guild I at level 0: its price, a research time of 01m 30s, +10% builder movement speed, and the line "Ungodly Research: repeatable after the first research (no level limit)".View full size 1920 × 1080
In a mission with Ungodly Diplomacy Research installed: the last line of the tooltip shows this research can be repeated after the first time, with no level limit.

Two mods

Each one is a single DLL with its own settings window and config file.

Ungodly Diplomacy AI

Version 1.0.1, settings window on F8

Takes over the game's combat targeting, pathfinding, projectile ballistics and coroutines, keeps every original behaviour, and lets you switch each system on or off mid-battle.

The Ungodly Diplomacy AI v1.0.1 settings window open over the game's main menu on the Ballistics tab, listing Lead Moving Targets, Lead Strength, Dispersion Scale, Integrator-Exact Arcs, Obstacle-Clearing Arcs and Arc Raise Attempts.View full size 1920 × 1080
Ungodly Diplomacy AI: the F8 window on its Ballistics tab, opened at the main menu. Every row shows its range, its default and a plain-language explanation.

How to install Settings Download

Ungodly Diplomacy Research

Version 1.2.0, settings window on F9

Makes finished unit research repeatable with no level limit, stacks every level through the game's own engine, scales prices and times, and adds a Research Mastery progression.

The Ungodly Diplomacy Research v1.2.0 settings window open over the main menu on the Repeatable tab: Repeat Unit Offense, Defense, Mobility and Training, and Ability Research are ON, Repeat Structure Research is OFF.View full size 1920 × 1080
Ungodly Diplomacy Research: the F9 window on its Repeatable tab, where you choose which kinds of research can be repeated. Structures are OFF by default.

How to install Settings Download

Four parts, in order

Each part ends with a check, so you know the last step worked before you start the next.

What you end up with

BepInEx adds four small files and a BepInEx folder beside the game's .exe. Each mod adds one DLL and writes its own settings file the first time it runs. None of the game's own files are changed.

  • Diplomacy is Not an Option
    • BepInEx from the BepInEx zip
      • cache
      • config
        • BepInEx.cfg
        • com.stixsworldhd.ungodlydiplomacyai.cfg created by the AI mod
        • com.stixsworldhd.ungodlydiplomacyresearch.cfg created by the Research mod
      • core 18 files
      • patchers
      • plugins
        • UngodlyDiplomacyAI.dll AI mod
        • UngodlyDiplomacyResearch.dll Research mod
      • LogOutput.log
    • Diplomacy is Not an Option_Data
    • MonoBleedingEdge
    • .doorstop_version from the BepInEx zip
    • changelog.txt from the BepInEx zip
    • Diplomacy is Not an Option.exe
    • doorstop_config.ini from the BepInEx zip
    • UnityCrashHandler64.exe
    • UnityPlayer.dll
    • winhttp.dll from the BepInEx zip

Using both together

Checked by the Research mod against the real UngodlyDiplomacyAI.dll:

Two windows
F8 opens the AI window and F9 opens the Research window. Both can be open at once, and whichever closes last hands the cursor back to the game exactly as it was.
Load order
The Research mod declares a soft dependency on the AI mod, so BepInEx loads the AI first when both are installed. Either mod also works alone.
Coroutines
Both mods can run the game's coroutines on MEC Pro. While the AI mod's redirect is on, the Research mod's stays idle, so nothing ever runs twice.
Unit stats
The AI's targeting and ballistics read stats through the game's own research system, so they see stacked research levels automatically.
No-teleport guard
Stacked move speed stays below 90% of the AI guard's Speed Tolerance, so fast units are never mistaken for teleporting ones.

What the AI mod changes

Combat AI
The game's own targeting code, ported in full, plus utility scoring: units weigh distance, wounded enemies, threat, armour counters, overkill and high-value targets. Healers triage, and rushed ranged units can step back and keep shooting.
Pathfinding
Routes chosen by real walking distance, true 8-direction flow fields that never cut wall corners, detours around congested areas, and a per-frame time budget.
Ballistics
True intercept lead on moving targets, round scatter instead of square, arcs corrected for the game's 60-steps-per-second projectile physics, and arcs raised to clear walls, gates and palisades.
Coroutines
The game's coroutines run on More Effective Coroutines Pro, with every Unity wait type translated.
No-teleport guard
Stuck units walk out at a believable speed instead of snapping several cells in one frame, sometimes through walls.

Left alone on purpose: hit detection and damage, movement physics, and your saves. The AI mod never adds anything to a save.

What the Research mod changes

Repeatable research
Finished unit research becomes available again, with no level limit. Every extra level stacks its bonuses on top and applies to every existing and future unit of that type.
Stacking in the game's own engine
The mod rewrites the effect entries the game's research jobs read, so health, attack animations, tooltips and the attack-range overlay all use the stacked values. Levels add up Linear, Diminishing or Compounding.
Safety caps
Damage, range, attack speed, health, regeneration, move speed, training, abilities, summons, splash, sight and flat bonuses each have a cap. Levels never stop; each stat stops growing at its cap.
Cost and time scaling
A base multiplier for all research plus a growth curve for repeat levels (Linear, Exponential, Polynomial or an Advanced Leveling System formula), up to a price and time ceiling.
Research Mastery
Every finished research level gives mastery XP. Mastery levels (up to 30 by default) bring faster research, cheaper repeat levels and stronger stacking.

Research levels are stored in the game's own save. Without the mod, the same save loads each research as completed once.

Release facts

Measured from the release files themselves.

FactUngodly Diplomacy AIUngodly Diplomacy Research
Version1.0.11.2.0
ArchiveUngodlyDiplomacyAI_v1.0.1.rar, 94,284 bytesUngodlyDiplomacyResearch_v1.2.0.rar, 82,721 bytes
SHA-256305324dddbc7ab1cb658e67ade435cc996398aeafd8bf9c1c82663d59fdb03fff7e393028a42c07dd45c5256af403d7cdae5db1a0e23e8b7e838986cc2de08e6
Plugin GUIDcom.stixsworldhd.ungodlydiplomacyaicom.stixsworldhd.ungodlydiplomacyresearch
Menu keyF8F9
Settings42 in 7 sections. See every one.65 in 7 sections. See every one.
LoaderBoth are compiled against BepInEx 5.4.23.3. The screenshots on this site were taken with BepInEx 5.4.23.5, the current release, on game build dno_1.0.180_r.