OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: Odalrick on June 29, 2017, 12:54:46 am

Title: The rain in Spain stays mainly in Sweden
Post by: Odalrick 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Meridian on June 29, 2017, 01:10:05 am
Change language from en-GB to en-US.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Odalrick on June 29, 2017, 01:34:56 am
Thanks.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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?
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Meridian 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Meridian on July 19, 2017, 12:31:04 pm
Yes
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Meridian 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: greattuna 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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
Title: Re: The rain in Spain stays mainly in Sweden
Post by: legionof1 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.
Title: Re: The rain in Spain stays mainly in Sweden
Post by: doctor medic 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
Title: Re: The rain in Spain stays mainly in Sweden
Post by: Dioxine on July 29, 2017, 04:18:25 pm
I won't be changing the names of continents, what for?