• 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.

gauffa

Sergeant
88 Badges
Nov 20, 2002
50
0
Visit site
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Shadowrun Returns
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: Rights of Man
  • Stellaris: Ancient Relics
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Shadowrun: Hong Kong
  • Divine Wind
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
I messed with making new units a bit last night and wasn't entirely unsuccessful. What I like to do is create a super unit that only one country can use and decimate the globe with them. I was able to create another unit in the 'units' folder and change the stats and even got it included in the game by adding it to the land technology table but I wasn't able to restrict it to a single country.

I created a new type of Heavy Infantry and included it in the land tech table but it replaced all HIs in the game with this new super unit.

If anyone has any thoughts, suggestions or just wants to carry the conversation I'd like to hear what you guys think.
 
Rather than putting the activation of the new unit in the land tech table you could try making it an invention. And then you could restrict invention's trigger to require a specific country flag.
 
mebethekoko said:
Rather than putting the activation of the new unit in the land tech table you could try making it an invention. And then you could restrict invention's trigger to require a specific country flag.

I haven't tried that. What I just did is add the unit 'roman_heavy_infantry.txt' to the units folder and added the line to the file 'technology_group = roman_tech'. Now the unit is appearing as the HI unit for the Romans and no one else. But now I cannot construct new HIs Pricipes or my new unit. I've gone through and added a few lines to the localisations csv files as well to account for the new units description. I haven't added the descriptive line to each tech group. Maybe that has something to do with it...

I'm going to trying that and I'll be back...
 
gauffa said:
I haven't tried that. What I just did is add the unit 'roman_heavy_infantry.txt' to the units folder and added the line to the file 'technology_group = roman_tech'. Now the unit is appearing as the HI unit for the Romans and no one else. But now I cannot construct new HIs Pricipes or my new unit. I've gone through and added a few lines to the localisations csv files as well to account for the new units description. I haven't added the descriptive line to each tech group. Maybe that has something to do with it...

I'm going to trying that and I'll be back...

I've pretty much gone the same way, done the same thing and with the same result. Haven't found a solution yet! Maybe the invention route is worth a look.
 
kruscica said:
I've pretty much gone the same way, done the same thing and with the same result. Haven't found a solution yet! Maybe the invention route is worth a look.

Nopers. The problem isn't related to how you enable the new units, but rather building said units. I was just suggesting the invention scheme as a way to control which nations would get which new units.

As far the problem with not being able to build new Heavy Infantry after adding the new unit, I'm thinking it could be a GUI problem. My thinking is that the GUI isn't setup to build the new unit, but can't build the old one because the country has a different unit designated in the Heavy Infantry slot.
 
Wouldn't you have to attach the new unit to a trade good, the way the other units currently are? That seems to take the place of specific buildings in EU3.
 
mebethekoko: hmm, you may be right... in the same way in EU3 that if you mod units to a non-standard unit, if won't be upgraded when you change national formation.

battlecry: ??? I had not thought of the link to trade goods. And it took me a moment to work out exactly what you were referring to. But yes, all the existing units ARE linked to trade goods, and that is something worth exploring! Thanks!