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

HMS Enterprize

On loan to the C.S Navy
26 Badges
Jun 21, 2004
4.980
217
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • 500k Club
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Darkest Hour
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"
}
}
 
It has no (i. e. commented out) portrait, name list, origin. Of course the game would have hard time interpreting this. Check the error log, I think the main problem is lack of portrait.

I did remove all # tags on the items you mentioned and changed them all to generic entries like the standard human ones but still no joy.

The only thing I haven’t included is the planet initialiser but that should default to a random generated planet I was given to understand.
 
Does error.log say anything about it? You can find it in Documents\Paradox Interactive\Stellaris\logs
Thanks for the tip.

I’d missed out : government = gov_plutocratic_oligarchy

And hadn’t chosen enough civics. Apparently that is enough to throw the whole thing out!
 
Not 100% on topic, but since 3.4.* you don't need to do that manual work anymore.

You can just create a custom faction on the Empire screen, save it and then copy the empire from Documents\Paradox Interactive\Stellaris\user_empire_designs_v3.4.txt into the mod file, since both accept the same syntax now.
 
  • 1Like
Reactions:
Not 100% on topic, but since 3.4.* you don't need to do that manual work anymore.

You can just create a custom faction on the Empire screen, save it and then copy the empire from Documents\Paradox Interactive\Stellaris\user_empire_designs_v3.4.txt into the mod file, since both accept the same syntax now.
Oh cool, that’s really helpful thanks
 
Well, Ive got my 2 custom factions (terrans on earth & vulcans) up & running but now Im trying to make them spawn near each other.

Ive seen the following command in the sol_initialisers file:

neighbor_system = {
hyperlane_jumps = { min = 1 max = @jumps }
initializer = "sol_neighbor_t1"
}

And was thinking this is what I need to create & modify. Currently the Vulcan home system (in terms of set up) is randomly generated and not a specific entry like sol_neighbour_t1 is.

Will this be a problem? And are there other things I need to define in other files?