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

rocketman120

First Lieutenant
93 Badges
Jun 28, 2013
200
152
  • Europa Universalis 4: Emperor
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Necroids
  • Europa Universalis IV
  • Victoria 3 Sign Up
  • Europa Universalis IV: Pre-order
  • Battle for Bosporus
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Humanoids Species Pack
  • Stellaris: Ancient Relics
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Call to arms event
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
Attempted to add some race-specific portraits for humans (I want to make human factions for specific cultures), but they don't show up in the faction creator. To attempt I added in these lines below the original human portraits, but they won't show up in the editor. Wiki doesn't help. Is there another file I need to mod?

# Human_Republic
human_male_01 = { entity = "portrait_human_male_01_entity" clothes_selector = "mammalian_human_male_clothes_01" hair_selector = "human_male_hair_01" greeting_sound = "human_male_greetings_03" }
human_male_02 = { entity = "portrait_human_male_02_entity" clothes_selector = "mammalian_human_male_clothes_01" hair_selector = "human_male_hair_02" greeting_sound = "human_male_greetings_04" }
human_male_04 = { entity = "portrait_human_male_04_entity" clothes_selector = "mammalian_human_male_clothes_01" hair_selector = "human_male_hair_04" greeting_sound = "human_male_greetings_01" }

and

human_republic = {
default = human_male_01
game_setup = { #will run with a limited country scope. species and government is set but the country does not actually exist
add = {
trigger = {
ruler = { gender = male }
}
portraits = {
human_male_01
human_male_02
human_male_04
}
}
#set = {
# trigger = { ... }
# portraits = { ... }
# #using "set =" instead of "add" will first clear any portraits already added
#}
}

#species scope
species = { #generic portrait for a species
add = {
portraits = {
human_male_01
human_male_02
human_male_04
}
}
}

#pop scope
pop = { #for a specific pop
add = {
portraits = {
human_male_01
human_male_02
human_male_04
}
}
}

#leader scope
leader = { #scientists, generals, admirals, governor
add = {
trigger = {
gender = male
}
portraits = {
human_male_01
human_male_02
human_male_04
}
}
}


#leader scope
ruler = {
add = {
trigger = {
gender = male
}
portraits = {
human_male_01
human_male_02
human_male_04
}
}
}
}
 
There's not much information on how to use or modify the 3D portraits to make new ones. The clothes_selector "simply" tells the game what clothes to put on based on the type (pop, admiral, leader, etc.). The hair_selector randomizes the type of humans you get miking skin color and type of hair to get variations.

They're defined in gfx>portraits>asset_selectors

Now, wether you can change them substantialy or not and still be able to maintain that randomness I still don't know. I'm trying to create a new human species with new portraits and headwear instead of hair while using the humans animations without overwriting the normal human species.

I think I've identified all the files involved in that but don't know it it'll work.
 
You must add "human_republic" into your 00_species_classes.txt. Just make one in your mod folder and only add your "human_republic" into it. but don't ask me what the stupid clothes_selector and shit does with your portrait selection i'm having a headache right now because i can't figure it out.

Thanks, that's what worked. Damn wiki never told me there was a second file that needed editing and I couldn't find any relevant info in the defines.lua or gfx text files like other Paradox games have this info.