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

evilon

Major
133 Badges
Jun 10, 2004
718
455
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Crusader Kings Complete
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Cities: Skylines - Green Cities
  • Imperator: Rome - Magna Graecia
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Prison Architect
I decided to split Liguria off Piedmont, and incorporate Nice into it. But I'm struggling with localization for the various "HUB" names.

From map_data/state_regions/01_south_europe.txt
Code:
STATE_LIGURIA = {
    id = 1077
    subsistence_building = "building_subsistence_farms"
    provinces = { "x904061" "x5F6BAA" "x54728A" "x5080E0" }
    traits = { "state_trait_natural_harbors" }
    city = "x5F6BAA"
    port = "x904061"
    farm = "x5080E0"
    mine = "x54728A"
    arable_land = 15
    arable_resources = { "bg_wheat_farms" "bg_livestock_ranches" "bg_silk_plantations" }
    capped_resources = {
        bg_coal_mining = 28
        bg_fishing = 8
    }
    naval_exit_id = 3032
}
From localization\english\hub_names_l_english.yml
Code:
 HUB_NAME_STATE_LIGURIA_city:0 "Savona"
 HUB_NAME_STATE_LIGURIA_port:0 "Genoa"
 HUB_NAME_STATE_LIGURIA_farm:0 "Nice"
 HUB_NAME_STATE_LIGURIA_mine:0 "Albenga"

I'm quite certain that I have removed any references from STATE_PROVENCE and STATE_PIEDMONT to any relevant things, like Nice. But I can never be sure.


What am I missing? Liguria looks dead without the names and bits.
 
Seems I missed some important files in gfx/map/map_object_data/ named generated_map_object_locators_farm.txt etc. Hopefully I will be able to fix the missing road to Toulon soon enough.

EDIT: Got everything sorted.... manually.. didn't realize there was a map editor for me to use. Still can't get it to read the new railroad I did between Genoa and Toulon. For some reason my .splnet is not overridden by my mod.
 
Last edited: