Jump to content
AfkMan

Where do i find Cities IDs??

Recommended Posts

Hello guys!

I have a mission, the author made a few cities to be captured. I want to add more cities to play longer.

 

Here's an author's code for the cities:

class Params
{
	class FrontLine
	{
		title = "START";
		texts[] = {"Sofia", "Delfinaki", "Ioaninna", "Paros"};
		values[] = {3389, 5316, 5871, 9680};
		default = 3389;
	};

};

 

And now i wonder - where did he get those id's? How can i find such ID for a city?

Share this post


Link to post
Share on other sites

Does the number mean anything?

 

Share this post


Link to post
Share on other sites
4 minutes ago, gc8 said:

Does the number mean anything?

 

if only i knew

Share this post


Link to post
Share on other sites

I bet these number mean something, because it works. It's a part of Params class in Description.ext. When launching a mission you can choose a first city to start and it works. But where did he get those numbers?=)

Share this post


Link to post
Share on other sites
3 minutes ago, AfkMan said:

I bet these number mean something, because it works. It's a part of Params class in Description.ext. When launching a mission you can choose a first city to start and it works. But where did he get those numbers?=)

 

they could be just random ids

Share this post


Link to post
Share on other sites
18 minutes ago, gc8 said:

 

they could be just random ids

Yeah, they could. But i changed Sofia number to 12254 and default too - the city had changed. Changed to 8000 and city changed again.

Share this post


Link to post
Share on other sites

if you search the IDs through all the files with text editor you should see how they are used 

Share this post


Link to post
Share on other sites
Just now, gc8 said:

if you search the IDs through all the files with text editor you should see how they are used 

I allready tried and failed. I havent found them even in CfgWorlds

Share this post


Link to post
Share on other sites

No such thing as city IDs, there's probably another script picking the location based on the values from description.ext params.

 

Other than that, ask the original mission author for permission to alter his mission and how to go about changing those values.

 

Cheers

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×