Rich (BB code):
moon = {
name = "NAME_Unity"
class = pc_continental
orbit_distance = 5
orbit_angle = 340
size = 18
starting_planet = yes
has_ring = no
entity = "continental_planet_01_entity"
deposit_blockers = none
modifiers = none
flags = { planet_unity }
init_effect = {
prevent_anomaly = yes
random_country = {
limit = { has_country_flag = human_1 }
save_event_target_as = une
owner_species = {
save_event_target_as = human_species
}
}
create_country = {
name = "NAME_Commonwealth_of_Man"
adjective = "PRESCRIPTED_adjective_humans2"
authority = "auth_dictatorial"
civics = {
civic = civic_nationalistic_zeal
civic = civic_distinguished_admiralty
}
species = event_target:human_species
name_list = "HUMAN2"
ship_prefix = "CNS"
ethos = {
ethic = "ethic_xenophobe"
ethic = "ethic_fanatic_militarist"
}
flag = {
icon= {
category = "human"
file = "flag_human_4.dds"
}
background= {
category = "backgrounds"
file = "stripe.dds"
}
colors={
"red"
"black"
"null"
"null"
}
}
type = default
origin = "origin_lost_colony"
effect = {
save_global_event_target_as = npc_CoM
set_country_flag = parent_system_spawned
add_resource = {
minerals = 800
energy = 800
food = 800
alloys = 400
consumer_goods = 400
influence = 200
}
if = {
limit = {
event_target:une = {
has_origin = origin_necrophage
}
}
set_origin = origin_necrophage
set_country_flag = necrophage_commonwealth
}
if = {
limit = {
event_target:une = {
has_origin = origin_clone_army
}
}
set_origin = origin_clone_army
}
}
}
create_colony = {
owner = event_target:npc_CoM
}
generate_start_deposits_and_blockers = yes
clear_blockers = yes
generate_start_buildings_and_districts = yes
generate_start_pops = yes
event_target:npc_CoM = {
set_country_flag = human_2
set_country_flag = special_intro_for@event_target:une
set_graphical_culture = "reptilian_01"
set_city_graphical_culture = "reptilian_01"
change_species = event_target:human_species
create_starting_leaders = yes
country_event = { id = game_start.9 }
country_event = { id = game_start.33 days = 1 } # needs delay for system ownership to settle
}
set_name = "NAME_Unity"
}
}
So I basically just took the above code straight out of the vanilla files and had the system initializer containing it (une_deneb_system) spawned as a neighbor to my own. It took me a bit to realize that graphical culture could be set, but adding change_species to that same effect block did nothing. I'm really just trying to spawn CoM within a certain number of hyperlane jumps to my UNE, and I'd rather not have to save edit to make them have the same species. Any help would be massively appreciated!