• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ageless1946

Recruit
4 Badges
Apr 10, 2010
6
0
  • Arsenal of Democracy
  • 500k Club
  • Pillars of Eternity
  • Imperator: Rome
If I were to modify the year = and buildtime = for each unit does that take effect just for your country or for all countries? If the answer is ALL then is there a way to restrict changes like this to just the country you are playing?
 
Well there's a couple ways to it. Let's just take one type of unit for the demonstration, say Armor.
  • You could edit the "...db\units\divisions\armor.txt" file to for the Buildtime and the "...\db\tech\armor_tech.txt" file for the year. This will change it for all countries.
  • You could edit a saved game by only modifying the Buildtime under the unit type for that specific country:
upgrade = { armor = { buildtime = -36 cost = -3.2000 transportweight = -4.0000 defaultorganisation = 50.0000 morale = 50.0000 max_supply_stock = 0.0000 max_oil_stock = 0.0000 } }
 
  • 1Like
  • 1
Reactions:
It doesn't matter. Easier through event. Here is an example of a command in an event.

command = { type = build_time which = naval_bomber when = now where = relative value = 10 }

You can write your own terms and triggers. And you can fire the event by console-whenever you want.

:)