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

j.marino

Recruit
Dec 17, 2013
3
0
So, I've edited some of the files so "The Byzantine Restoration", a decision to become the Byzantine Empire via Greece, occurs. Everything seems to go well, except for the fact that it's supposed to start off as a Fascist Dictatorship, and it doesn't. Nor does the flag change to the BYZ flags from the /gfx/flags folder — it stays as Greece.


Here's the /history/countries file for Byzantine Empire



capital = 860
primary_culture = greek
religion = orthodox
government = fascist_dictatorship
plurality = 0.0
nationalvalue = nv_order
literacy = 0.40
civilized = yes
prestige = 0

# Political reforms
slavery = no_slavery
upper_house_composition = appointed
vote_franschise = landed_voting
public_meetings = yes_meeting
press_rights = censored_press
trade_unions = non_socialist
voting_system = first_past_the_post
political_parties = underground_parties

# Social Reforms
wage_reform = acceptable_minimum_wage
work_hours = eight_hours
safety_regulations = good_safety
health_care = good_health_care
unemployment_subsidies = low_subsidies
pensions = good_pensions

school_reforms = good_schools

#New Reforms
conscription = one_year_draft
debt_law = bankruptcy
penal_system = capital_punishment
child_labor = child_labor_illegal
citizens_rights = culture_voting_only
border_policy = closed_borders

ruling_party = BYZ_fascist
upper_house = {
fascist = 100
liberal = 0
conservative = 0
reactionary = 0
anarcho_liberal = 0
socialist = 0
communist = 0
}

1861.1.1 = {
# Technologies

#Inventions
}


Here's the /common/countries entry for it

color = { 147 82 173 }
graphical_culture = EuropeanGC

party = {
name = "BYZ_conservative"
start_date = 1830.1.1
end_date = 2000.1.1

ideology = conservative

economic_policy = interventionism
trade_policy = protectionism
religious_policy = pluralism
citizenship_policy = residency
war_policy = jingoism
}

party = {
name = "BYZ_reactionary"
start_date = 1830.1.1
end_date = 2000.1.1

ideology = reactionary

economic_policy = state_capitalism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = pro_military
}

party = {
name = "BYZ_liberal"
start_date = 1830.1.1
end_date = 2000.1.1

ideology = liberal

economic_policy = interventionism
trade_policy = protectionism
religious_policy = pluralism
citizenship_policy = residency
war_policy = pro_military
}


party = {
name = "BYZ_anarcho_liberal"
start_date = 1830.1.1
end_date = 2000.1.1

ideology = anarcho_liberal

economic_policy = laissez_faire
trade_policy = free_trade
religious_policy = pro_atheism
citizenship_policy = full_citizenship
war_policy = pro_military
}

party = {
name = "BYZ_socialist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = socialist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = secularized
citizenship_policy = full_citizenship
war_policy = anti_military
}

party = {
name = "BYZ_communist"
start_date = 1848.1.1
end_date = 2000.1.1

ideology = communist

economic_policy = planned_economy
trade_policy = protectionism
religious_policy = pro_atheism
citizenship_policy = full_citizenship
war_policy = pro_military
}

party = {
name = "BYZ_fascist"
start_date = 1890.1.1
end_date = 2000.1.1

ideology = fascist

economic_policy = state_capitalism
trade_policy = protectionism
religious_policy = moralism
citizenship_policy = residency
war_policy = jingoism
}

unit_names = {
dreadnought = {
Kilkis Aspis "Vasilefs Konstantinos" Salamis Athina Constantinopolis Sparta Leonidas "Mégas Aléxandros" Pericles Olympias
}
ironclad = {
Karteria Panopi Pliksavra Afroessa Sfendoni Hydra Spetsai Psara Limnos "Vasilissa Olga"
}
manowar = {
"Nikolis Apostolis" Tombazis Poros "Andreas Vokos" "Laskarina Bouboulina" "Constantine Kanaris" Plixavra Averof
}
cruiser = {
"Navarhos Miaoulis" "Georgios Averof" Elli "Antinaurkos Condoriotis" "Lambros Katsonis" Árgos Agamemnon Gyáros Tilemachos Delfoí
}
frigate = {
Hellas Navarino Psara "Prinkips Maximilianos" Maxamillianos "Mount Othrys" Thíva Skirka Heratos Aeolus
}
monitor = {
Sfendoni Thessalía Apeiros Attikí Pelopónnisos Circe Eurýkleia Aiolia Kriti Ródos
}
clipper_transport = {


}
steam_transport = {


}
commerce_raider = {
Aetos Ierax Leon Panthir Ifestos Makedonía Naxos Évia Limnos Zakynthos
}
}


This is the decision to become Byzantium

political_decisions = {
form_byzantium = {
potential = {
tag = GRE
}

allow = {

is_independent = yes
crisis_exist = no
election = no
owns = 860
is_greater_power = yes
}

effect = {
prestige = 30
badboy = 5
all_core = {
add_core = BYZ
}
change_tag = BYZ
add_accepted_culture = croat
add_accepted_culture = slovene
add_accepted_culture = kurdish
add_accepted_culture = bulgarian
add_accepted_culture = romanian
add_accepted_culture = hungarian
add_accepted_culture = armenian
add_accepted_culture = albanian
add_accepted_culture = south_german
add_accepted_culture = russian
add_accepted_culture = byelorussian
add_accepted_culture = ukrainian
country_event = {id = 123456 days = 5 }
any_pop { limit = { has_pop_culture = turkish } militancy 10 }
}

ai_will_do = {
factor = 1
}
}
}

And here's the referenced event which is triggered

country_event {

id = 123456
title = "EVTNAME123456"
desc = "EVTDESC123456"
major = yes
news = no
option = {name = "EVT123456OPTC" prestige = 10}
is_triggered_only = yes
fire_only_once = yes

}

I've been combing the code to see what can possible be causing this but to no avail. Anybody have an idea?
 

TK-XD-M8

Captain
Sep 9, 2016
309
61
I doubt it has anything to do with it, but you don't seem to have any battleships or cruisers listed under the unit names.

I doubt it would do anything, but it's worth a try.
 

Savolainen5

General
71 Badges
Feb 24, 2012
2.497
388
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Cities in Motion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Monks and Mystics
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis 4: Emperor
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I do seem to recall there being weird things with the placement of change_tag. Try putting it as the first thing in the effect. Of course, if you're already changing to BYZ, and you're working with a savegame already, you need to delete the gfx folder for your mod in Documents/Paradox Interactive/Victoria 2, because otherwise the game wouldn't know what flags to reference.

Also, BYZ will be the same government that GRE has when it takes the decision, meaning that you'll have to add an additional effect to the decision: goverment = fascist_dictatorship

Protip: Use of the
Code:
[code][ /code]
code and spoilers will make that more legible.