Ive created a mod and inserted a custom faction into the game, which works broadly speaking. (in the 88_prescripted_countries file)
The odd thing is, Ive pretty much done a copy/paste of those lines of code for a second faction (the Vulcans from start trek), yet the faction does not show up in game. Am I missing something blindingly obvious?
This is the code in the same file noted above To note Ive # some of the copied code from my Terran custom faction:
Vulcan = {
name = "Vulcan Confederacy"
adjective = "Vulcans"
spawn_enabled = always # yes / no / always
ignore_portrait_duplication = yes
ship_prefix = "VSS"
species = {
class = "HUM"
#portrait = "human"
name = "Vulcan"
plural = "Vulcans"
adjective = "Vulcan"
#name_list = "Terran"
trait = "trait_intelligent"
trait = "trait_strong"
trait = "trait_enduring"
trait = "trait_slow_breeders"
}
room = "vulcan_room"
authority = "auth_oligarchic"
civics = { "civic_efficient_bureaucracy" "civic_idealistic_foundation" }
government = plutocratic_oligarchy
ethic = "ethic_xenophile"
#ethic = "ethic_egalitarian"
#origin = "origin_terran"
flags = { Vulcan }
playable = has_humanoids # scripted_triggers
planet_name = "Vulcan"
planet_class = "pc_arid"
#initializer = "sol_system_initializer"
initializer = ""
system_name = "40 Eridani"
graphical_culture = "mammalian_01"
city_graphical_culture = "mammalian_01"
empire_flag = {
icon= {
category = "Trek"
file = "Vulcan.dds"
}
background= {
category = "backgrounds"
file = "stripe.dds"
}
colors={
"blue"
"black"
"null"
"null"
}
}
ruler = {
name = "T'Mei"
gender = female
portrait = "human_female_02"
texture = 0
attachment = 1
clothes = 1
leader_class = ruler
#ruler_title= "Administrator"
#ruler_title_female= "Administrator"
}
}
The odd thing is, Ive pretty much done a copy/paste of those lines of code for a second faction (the Vulcans from start trek), yet the faction does not show up in game. Am I missing something blindingly obvious?
This is the code in the same file noted above To note Ive # some of the copied code from my Terran custom faction:
Vulcan = {
name = "Vulcan Confederacy"
adjective = "Vulcans"
spawn_enabled = always # yes / no / always
ignore_portrait_duplication = yes
ship_prefix = "VSS"
species = {
class = "HUM"
#portrait = "human"
name = "Vulcan"
plural = "Vulcans"
adjective = "Vulcan"
#name_list = "Terran"
trait = "trait_intelligent"
trait = "trait_strong"
trait = "trait_enduring"
trait = "trait_slow_breeders"
}
room = "vulcan_room"
authority = "auth_oligarchic"
civics = { "civic_efficient_bureaucracy" "civic_idealistic_foundation" }
government = plutocratic_oligarchy
ethic = "ethic_xenophile"
#ethic = "ethic_egalitarian"
#origin = "origin_terran"
flags = { Vulcan }
playable = has_humanoids # scripted_triggers
planet_name = "Vulcan"
planet_class = "pc_arid"
#initializer = "sol_system_initializer"
initializer = ""
system_name = "40 Eridani"
graphical_culture = "mammalian_01"
city_graphical_culture = "mammalian_01"
empire_flag = {
icon= {
category = "Trek"
file = "Vulcan.dds"
}
background= {
category = "backgrounds"
file = "stripe.dds"
}
colors={
"blue"
"black"
"null"
"null"
}
}
ruler = {
name = "T'Mei"
gender = female
portrait = "human_female_02"
texture = 0
attachment = 1
clothes = 1
leader_class = ruler
#ruler_title= "Administrator"
#ruler_title_female= "Administrator"
}
}