So recently I've been making a mod for eu4 that turns it into ww1.
One of the things that I'm doing is to give the ottomans some (historically accurate) debuffs, like slower movement and reinforcement speed since ottoman rail networks were extremely poor at the onset of the war. I created an event that would trigger when the game started, that would give the ottomans this debuff. However, when I loaded up the game, the event showed up, but only said "missing localization" and didn't give the country modifier.
<picture of event>
View attachment 583525
<code in the "events" file>
<code in the "event_modifiers" file>
<code in the "localization" file>
I don't have all of the DLC, so that might cause issues?
I have the localization in a seperate file, but it doesn't give the modifier either so I don't think that's it.
One of the things that I'm doing is to give the ottomans some (historically accurate) debuffs, like slower movement and reinforcement speed since ottoman rail networks were extremely poor at the onset of the war. I created an event that would trigger when the game started, that would give the ottomans this debuff. However, when I loaded up the game, the event showed up, but only said "missing localization" and didn't give the country modifier.
<picture of event>
View attachment 583525
<code in the "events" file>
Code:
namespace = railway
#starting off the game with
country_event = {
id = 100000
title = "TURrailname1"
desc = "TURraildesc1"
picture = COMET_SIGHTED_eventPicture
fire_only_once = yes
trigger = {
is_year = 1900
tag = TUR
}
option = {
name = "TURrailopt1"
}
immediate = {
add_country_modifier = TURrailmod1
}
}
}
<code in the "event_modifiers" file>
Code:
TURrailmod1 = {
reinforce_speed = -.5
movement_speed = -.25
<code in the "localization" file>
Code:
TURrailname1: 0 "ineffective railway systems"
TURraildesc1: 0 "The Ottoman economy has long lagged behind the rest of Europe. Recent efforts have been aided by foreign powers with an interest in the region such as Great Britain, France, and Germany. However, the vast Ottoman Empire still remains poorly connected by rail, with already constructed railways either not connecting to each other, or to strategically important locations.
TURrailopt1: 0 "We must improve our railways"
TURrailmod1: 0 "Poor Railways"
I don't have all of the DLC, so that might cause issues?
I have the localization in a seperate file, but it doesn't give the modifier either so I don't think that's it.