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

Rhel

Major
123 Badges
Aug 4, 2010
752
2.614
  • Crusader Kings II
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • March of the Eagles
  • Majesty 2
  • Magicka
  • King Arthur II
  • Heir to the Throne
  • Arsenal of Democracy
  • Crusader Kings II: Charlemagne
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • For the Motherland
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Divine Wind
  • Europa Universalis III Complete
  • Prison Architect
  • Cities: Skylines - Campus
Is it possible to use sequential ship names? I've been trying to get it to work for a custom name list but so far I've had no luck. Am I just being a dummy or can ships not use sequential names?
 
Hmm. I can't seem to find anything in the namelists themselves. What am I looking for?
It's an effect.

Code:
#NCC number setting on ship build
ship_event = {
    id = STH_onaction.800
    hide_window = yes 
    is_triggered_only = yes
    trigger = {
        exists = owner
        owner = { starfleet_empire = yes }
    }
    immediate = {
        owner = { change_variable = { which = "builtShips" value = 1 } }
        set_name = "NCC_SHIP_NAME"
    }
}


Code:
NCC_SHIP_NAME:0 "[This.GetName] NCC-[Owner.builtShips]"
 
  • 1
Reactions:
I know that this is rather old thread, however I recently tried to do something like that for my personal mod and I was unable to find working solution - I want to crreate numbering system for any player created empire. Does anyone have any hint?