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

vanin

Colonel
72 Badges
May 7, 2008
1.090
675
  • Crusader Kings II
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis 4: Emperor
  • Stellaris: Synthetic Dawn
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Rome Gold
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • For The Glory
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Arsenal of Democracy
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
I tried to give the epirotes a chance in the Phyrric war, and the event fires as it should, but the whole event becomes wrong.
First off, the event is labled "Boundary dispute", and the only option i get is "press the issue". The option itself displays the units i want to 'spawn' for Epirus, but it says they will spawn in PROV0. When i click the option, the event backfires and the game crashes. I have no idea what in my trigger causes it, but then i so far only learn as i go. Anyway, here's the trigger:


country_event = {

id = 8000

trigger = {

tag = EPI

year = 474

}

mean_time_to_happen = {

months = 1

}

title = "EVTNAME8000"
desc = "EVTDESC8000"

option = {

name = "EVTOPTA8000" # Rome will crumble in fear!
98 = {
militia = THIS
militia = THIS
militia = THIS
militia = THIS
militia = THIS
militia = THIS
militia = THIS
heavy_infantry = THIS
heavy_infantry = THIS
heavy_infantry = THIS
heavy_infantry = THIS
archers = THIS
archers = THIS
archers = THIS
archers = THIS
cavalry = THIS
cavalry = THIS
warelephant = THIS
}
}
}

98 is the number for the province of Tarentum, where i want the army to spawn. Since the event fires correctly i believe it has something to do with the 98 =... or the.csv files... (they keep messing with me - i read guides and follow them to the letter but they still mess up, countries get weird names etc.).
Any thoughts concerning what could cause the crash?

Thanks in advance.
 
vanin said:
Code:
98 = {                           
militia = [COLOR=DarkRed]THIS[/COLOR]                          
militia = [COLOR=DarkRed]THIS[/COLOR]                          
militia = [COLOR=DarkRed]THIS[/COLOR]                         
militia = [COLOR=DarkRed]THIS[/COLOR]                         
militia = [COLOR=DarkRed]THIS[/COLOR]                         
militia = [COLOR=DarkRed]THIS[/COLOR]                         
militia = [COLOR=DarkRed]THIS[/COLOR]			
heavy_infantry = [COLOR=DarkRed]THIS[/COLOR]			
heavy_infantry = [COLOR=DarkRed]THIS[/COLOR]  		 	
heavy_infantry = [COLOR=DarkRed]THIS[/COLOR]  			
heavy_infantry = [COLOR=DarkRed]THIS[/COLOR]			
archers = [COLOR=DarkRed]THIS[/COLOR]		
archers = [COLOR=DarkRed]THIS[/COLOR]		
archers = [COLOR=DarkRed]THIS[/COLOR]		
archers = [COLOR=DarkRed]THIS[/COLOR]		
cavalry = [COLOR=DarkRed]THIS[/COLOR] 			
cavalry = [COLOR=DarkRed]THIS[/COLOR]                       
warelephant = [COLOR=DarkRed]THIS[/COLOR]
}

There should be not "THIS", numbers, only numbers;
for example: cavalry = 1000 (1000 soldier),
 
Yep, when giving units in a country event THIS is appropriate, here's an example of a vanilla event from civilwar.txt:

Code:
province_event = {

	id = 2030

	is_triggered_only = yes

	title = "EVTNAME2030"

	desc = "EVTDESC2030"

	option = {
		name = "EVTOPTA2030"					# Let's not waste any time
		owner = {
			militia = this
			militia = this
		}
	}
}

I'm not sure you can specify a province when using unit = THIS in a country event though (i.e., I don't think the 98 = {} part will work), vanilla events usually fire a province event, and then deliver the units in that one.

EDIT: Hang on, in the example I just posted, the THIS is a province...so perhaps in country event it should be:
Code:
militia = 98
etc etc etc
in order to specify a province.
 
Last edited:
Hm though here I with you should agree...
I last night have been too borrowed by work and to check did not become, though I thought that here the same system, as well as in EU:III, but here another... :confused: :confused: :confused:

cavalry = THIS, the place of occurrence of units, means here or THIS or number of a province...



I certainly did not check, but you Vanin, can try to remove 89 = {}


Sorry, for the wrong information... :eek:o
 
I removed the 98 = {} . The game freezes when the event fires though so i have put it on ice until i can localise the problem, wich cna take ages since i plain suck at triggering ^^. Instead i have given Epirus a trigger that gives them more soldiers to start with at 474, but the benefits (more manpower etc) wears off at the year 480, so it works aslong as the Pyrrhic war doesn't last for more than 6 years :)
 
Try:
Code:
country_event = {

           id = 79000

        trigger = {

           tag = EPI
            year = 474
        }

mean_time_to_happen = {

months = 1

}

title = "EVTTITLE79000"
desc = "EVTDESC79000"

option = {

name = "EVTOPTA79000" # Rome will crumble in fear! 
militia = 98
militia = 98
militia = 98
militia = 98
militia = 98
militia = 98
militia = 98
heavy_infantry = 98
heavy_infantry = 98
heavy_infantry = 98
heavy_infantry = 98
archers = 98
archers = 98
archers = 98
archers = 98
cavalry = 98
cavalry = 98
warelephant = 98
}
}

I checked, event work...
I have specially given event this ID, later you can change it...
Epir will receive 18000 soldier...
 
wink12je9.gif
 
Let me know how this works out. I'd like to add it (or something similar) to Rome:Enhanced if you have no objections.
 
battlecry said:
Let me know how this works out. I'd like to add it (or something similar) to Rome:Enhanced if you have no objections.

I have something similar myself, and it works somewhat. The war doesn't now always end with Epirus losing, though since the war tends to be a bit longer, and since I also did some work that added initial trouble with the Galatians for Macedonia, Illyria is often free enough to cause trouble. I should note my own event spawn a bunch of troops in Tarentum, the main army is spawned in Syracuse (I also spawn a bunch of ships (in Epirus) as well as give Epirus some cash so they don't go bankrupt immediately, that army is expensive).
 
Lofman said:
The war doesn't now always end with Epirus losing,
Well they should still lose...the Roman manpower advantage (and their obstinacy), even at this stage, would have precluded Epiran victory in a drawn out war.
 
battlecry said:
Well they should still lose...the Roman manpower advantage (and their obstinacy), even at this stage, would have precluded Epiran victory in a drawn out war.

Well Magna Graecia is always crushed. Epirus on the other hand may get away without losing anything. Unless it drags out to long, since as you mentioned Rome has more manpower, and while the Epirotes are given more money to start with, those are soon eaten up by the cost of the army and can't really be used to raise hordes of mercenaries, in which case Illyria and often Carthage starts to invade.
 
Lofman said:
Well Magna Graecia is always crushed. Epirus on the other hand may get away without losing anything. Unless it drags out to long, since as you mentioned Rome has more manpower, and while the Epirotes are given more money to start with, those are soon eaten up by the cost of the army and can't really be used to raise hordes of mercenaries, in which case Illyria and often Carthage starts to invade.

Sounds good. Would you care to either post or PM me this event of yours? Perhaps we can collaborate to turn "works somewhat" into just plain "works".