OpenXcom Forum

Contributions => Programming => Topic started by: liberation on May 31, 2015, 02:49:49 pm

Title: Region labels
Post by: liberation on May 31, 2015, 02:49:49 pm
Any chance of adding label support for regions in the same format as countries labelling?
Title: Re: Region labels
Post by: 7Saturn on May 31, 2015, 03:34:51 pm
Including borders of the regions, would be nice, indeed.
Title: Re: Region labels
Post by: Falko on May 31, 2015, 07:01:22 pm
you can add borders with more polylines but they are indistinguishable from country borders (only one color) and for the current regions they are frequently in water
Title: Re: Region labels
Post by: liberation on June 01, 2015, 03:12:56 pm
Still think that labels for regions would be very useful for modders as any new regions added to the globe are very hard to find, especially if your using graphs to track alien activities!
Title: Re: Region labels
Post by: 7Saturn on June 01, 2015, 03:23:03 pm
you can add borders with more polylines but they are indistinguishable from country borders (only one color) and for the current regions they are frequently in water
One possibility would be, to make them switchable, like the country borders, but with another switch, independend from country. So you could have one of them, or both, or none. Would that be possible, from an engine point of view?
Title: Re: Region labels
Post by: Solarius Scorch on June 01, 2015, 03:59:49 pm
Frankly I can't see the need; it's not like people don't know where Pacific Ocean is.

Oh wait, what about the Mars project? :)
Title: Re: Region labels
Post by: 7Saturn on June 01, 2015, 04:01:15 pm
Everybody knows, where Terra Meridianis borders are. :P
Title: Re: Region labels
Post by: liberation on June 01, 2015, 09:16:27 pm
Frankly I can't see the need; it's not like people don't know where Pacific Ocean is.

Oh wait, what about the Mars project? :)

 ;)

I didn't think about it all until after finishing the regions and looking at the graphs and thinking, nice that works then... but hold on... where the bloody hells Arabia terra??? lol

Really need labels for anywhere but earth i think, landmasses are all well and good if you know the planet  :)


Title: Re: Region labels
Post by: Hobbes on June 01, 2015, 09:50:06 pm
;)

I didn't think about it all until after finishing the regions and looking at the graphs and thinking, nice that works then... but hold on... where the bloody hells Arabia terra??? lol

Really need labels for anywhere but earth i think, landmasses are all well and good if you know the planet  :)

For the time being you can try to have both regions and countries with the same borders, with the country labels having the region names instead. Afterwards you can use the cities to help players find the country, so if you have Marsec as a country you could name its cities as Marsec HQ, etc. But this depends on the country system you want to implement.
Title: Re: Region labels
Post by: liberation on June 01, 2015, 10:15:26 pm
For the time being you can try to have both regions and countries with the same borders, with the country labels having the region names instead. Afterwards you can use the cities to help players find the country, so if you have Marsec as a country you could name its cities as Marsec HQ, etc. But this depends on the country system you want to implement.

Think this is what will need to be done for now, or each region has its own city regardless of countries or allegiance.