Become the world’s first superpower and command the most incredible and vast war machine of the Ancient world. Dominate the enemies of your glorious empire by military, economic and political means.

Post news Report RSS Modding updates with Rise of the Republic

With Rise of the Republic out August 9th, modders will have access to more unit parts and more scripting options as well as the Mod Filter Creative Assembly brought into Total War: Rome II with Desert Kingdoms back in March.

Posted by on


With Rise of the Republic out August 9th, modders will have access to more unit parts and more scripting options as well as the Mod Filter Creative Assembly brought into Total War: Rome II with Desert Kingdoms back in March.

What is Rise of the Republic?

Rise of the Republic is a thrilling new campaign pack charting the events surrounding Rome in the 4th century BC. The campaign unfolds across a detailed map of Italy including Sicily, Sardinia, Corsica and Carthage, and depicts the tumultuous events which ultimately set the stage for the Second Founding of Rome.

The New Modding Update

Modders will be able to transfer regions between factions, spawn an army or navy in a chosen region, grant technologies through payloads, and restrict available technologies using scripted conditions. Incidents defined in the database can now be easily triggered from Lua. Mission awards may include agents. The new ‘Government Actions’ and ‘Centralised building upgrades’ mechanics introduced in the Rise of the Republic campaign can be customised and applied to any faction (and the same holds for the new Etruscan victory condition requiring the faction to maintain constant ownership over a certain region).

New Unit Parts

  • Accessories – 8
  • Armour – 26
  • Cloak – 2
  • Crests – 9
  • Greaves – 16
  • Hair and Beard – 28
  • Helmets – 58
  • Leg – 4
  • Skin – 14
  • Tunic – 7
  • Weapon – 8
  • Shield – 10
  • Shield Decals – 36

While adding features necessary for the new campaign pack Rise of the Republic, Creative Assembly thought that some of you modding enthusiasts may open to interesting possibilities for modding, so they made them accessible via scripting and the database. They also added a Lua function and a payload type for transferring the ownership of regions, a feature often requested by the modding community.

New script commands

  • transfer_region_to_faction(“region_key”, “faction_key”)
  • trigger_custom_incident(“faction_key”,”incident_key”, “payload”*)

*Optional: if not present, uses database-defined payloads.

New Lua Callbacks

The following callbacks have been added to \campaigns\main_invasion\scripting.lua and can be used as a reference.

  • CheckAdditionalTechnologyRequirements(faction_key, technology_key)
  • OccupationDecisionAvailableForFaction(faction_key, occupation_decision)

New incident payloads have been added

  • TRANSFER_REGION: Transfers the region of the event to a faction (defaults to player faction).
  • GIVE_TECHNOLOGY: Gives defined technology to the faction in the event. (defaults to random tech)
  • SPAWN_FORCE: Will spawn a military force that is defined with the following parameters:
    • STRENGTH: [number] number of units
    • UNIT_SET: [unit set key] * if absent defaults to the battle group of the owning faction.
    • NAVY: if present, creates a naval force in the sea connected to the regions port.
    • OWNER: [faction key]* If absent defaults to owner of target region.
    • X[number];
    • Y [number]: map co-ordinates for spawn* if absent, will be defined by target region.
    • DISTANCE: [number] distance from regions settlement* if absent, defaults to 0.
    • PIRATE: if present, the owner faction of the army will declare war on the nearest settlement. (designed to be used together with the NAVY and X, Y options, to make the spawned navy attack the nearest port).

New Mission Parameters

  • dont_lose_region has been added to mission objective types.
  • grant_agent as been added as a mission reward types.

New Mechanics

  • A new centralised building upgrade system that ties provincial upgrades to the provincial capital can be defined in the centralised_upgrade_building_level_junctions table.
  • Added a new mechanic called “Government actions” which optionally replaces the possibility to change a faction’s government type. Government actions can be defined using a combination of database records and scripting – see the faction_politics_government_actions_junctions table in the DB and the OnFactionPoliticsGovernmentActionTriggered function in \campaigns\main_invasion\scripting.lua.

You can also follow and discuss ModDB news and features on

Mod DB Follow us on Twitter Fan us on Facebook Watch us on Youtube Join us on Steam


Post comment Comments
Tallestdavid
Tallestdavid - - 975 comments

this is super sweet im hype for the unit parts!

Reply Good karma Bad karma+2 votes
OrangeNero
OrangeNero - - 6,594 comments

Amazing, is it not?

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: