Author Topic: The rain in Spain stays mainly in Sweden  (Read 6147 times)

Offline Odalrick

  • Squaddie
  • *
  • Posts: 2
    • View Profile
The rain in Spain stays mainly in Sweden
« on: June 29, 2017, 12:54:46 am »
In my game the Sweden area is named "Spain". Is that normal? It seems wierd, but maybe not too wierd for this mod.

However, since Berlin, Russia, London et cetera are where I would expect them to be it seems to me there is something wrong with my install. Since I've no clue how to fix it or even if it is something wrong, I'm asking here.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8626
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #1 on: June 29, 2017, 01:10:05 am »
Change language from en-GB to en-US.

Offline Odalrick

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #2 on: June 29, 2017, 01:34:56 am »
Thanks.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #3 on: July 18, 2017, 01:44:20 pm »
I noticed that when you make a new base the regions still have their old earth names like siberia and north america.Can it be changed or is it hardcoded?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8626
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #4 on: July 18, 2017, 02:09:39 pm »
I noticed that when you make a new base the regions still have their old earth names like siberia and north america.Can it be changed or is it hardcoded?

It can be changed.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #5 on: July 19, 2017, 12:23:14 pm »
Is it as easy as just changing some names in the rules.ini?I think i could help in that case

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8626
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #6 on: July 19, 2017, 12:31:04 pm »
Yes

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #7 on: July 19, 2017, 08:10:47 pm »
What exacly should i look for when changing the names at the base creation?What line of code dictates what name appears at that state as i see a ton of pieces of code about area but i cant figure out which is for new base construction.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8626
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #8 on: July 19, 2017, 08:15:21 pm »
Find for example:

STR_NORTH_AMERICA: "North America"

and change it to:

STR_NORTH_AMERICA: "New India"

Here's main code: https://github.com/SupSuper/OpenXcom/blob/master/bin/standard/xcom1/Language/en-US.yml#L537
You don't want to change it directly, I recommend making a mod instead.
« Last Edit: July 19, 2017, 08:17:22 pm by Meridian »

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #9 on: July 19, 2017, 11:29:36 pm »
This will help a lot,im going to put them in a seperate document as a start.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #10 on: July 19, 2017, 11:39:16 pm »
Is this a good start?
http://imgur.com/9d6E9qt

EDIT:im starting to realise that some things like venezuela and siberia or north america seem to not have a piratez namesake unless i dont know much of the lore of those regions.
I didnt have intention of translating the piratez versions of the map to other english languages but to try to correct any of those mistakes which in hindsight was trying to fix something that wasnt broken in the first place,unless piratez has namesakes for the continents and not just the countries.
« Last Edit: July 19, 2017, 11:54:46 pm by doctor medic »

Offline greattuna

  • Colonel
  • ****
  • Posts: 170
  • No range like point blank range.
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #11 on: July 19, 2017, 11:53:22 pm »
No, you're looking at autosave file. What you should be looking at is en-US.yml file, it contains all strings related to that. It's located at \user\mods\Piratez\Language folder, but I'd strongly advise against tinkering with it.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #12 on: July 19, 2017, 11:56:23 pm »
I see,i will test it to find out how it affects the game.

Actualy i wonder if dioxine will change the region names or will keep them as such.I find it odd how while every country and city has its name changed but not the region
« Last Edit: July 20, 2017, 12:05:40 am by doctor medic »

Offline legionof1

  • Moderator
  • Commander
  • ***
  • Posts: 1899
  • Bullets go that way. Money comes this way.
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #13 on: July 20, 2017, 01:16:26 am »
I would imagine he would get around to it eventually but it's only the one popup screen.

Offline doctor medic

  • Colonel
  • ****
  • Posts: 383
    • View Profile
Re: The rain in Spain stays mainly in Sweden
« Reply #14 on: July 20, 2017, 08:52:23 am »
Then again he changed the text to when you try to make a base underwater so there is that too.
Although this isnt the place for speculating what or if there will be any region renames