Jump to content

Start_position.cpp error


Recommended Posts

Hello guys!

I have one problem....

I created new 1x1 a1, b1, c1 map's... 

I changed the coordinates to my new coordinates in start_position.cpp. But not good. I tested in game But it takes you to the old coordinates.... I dont understand.... 

Why not runing? Somebody know?

 

(My english so bad sorry ...)

 

This is my start_position.cpp

Spoiler
#include "stdafx.h"
#include "start_position.h"


char g_nation_name[4][32] =
{
	"",
	"½Å¼ö±¹",
	"õÁ¶±¹",
	"Áø³ë±¹",
};

//	LC_TEXT("½Å¼ö±¹")
//	LC_TEXT("õÁ¶±¹")
//	LC_TEXT("Áø³ë±¹")

long g_start_map[4] =
{
	0,	// reserved
	1,	// Red
	21,	// Yellow
	41	// Blue
};

DWORD g_start_position[4][2] =
{
	{      0,      0 },	// reserved
	{ 509400, 757400 },	// Red (1)
	{  55700, 157900 },	// Yellow (21)
	{ 190300, 917600 }	// Blue (41)
};


DWORD arena_return_position[4][2] =
{
	{       0,  0       },
	{   347600, 882700  }, // ÀÚ¾çÇö
	{   138600, 236600  }, // º¹Á¤Çö
	{   857200, 251800  }  // ¹Ú¶óÇö
};


DWORD g_create_position[4][2] = 
{
	{		0,		0 },
	{ 459800, 953900 },
	{ 52070, 166600 },
	{ 957300, 255200 },	
};

DWORD g_create_position_canada[4][2] = 
{
	{		0,		0 },
	{ 509400, 757400 },	//Red (1)
	{ 45700, 166500 },	//Yellow (21)
	{ 190300, 917600 },	//Blue (41)
};

 

 

Link to comment
Share on other sites

  • Developer

The new maps are in the same index?

long g_start_map[5] = // [4] to [5]
{
	0,	// reserved
	1,	// Red
	21,	// Yellow
	41	// Blue
// example begin
	,82 // My new personal map (INDEX)
// example end
};

DWORD g_start_position[5][2] = // [4] to [5]
{
	{      0,      0 },	// reserved
	{ 509400, 757400 },	// Red (1)
	{  55700, 157900 },	// Yellow (21)
	{ 190300, 917600 }	// Blue (41)
// example begin
	{ 010101, 010101 }	// My new personal map (COORD)
// example end
};
  • Love 1


Join

Link to comment
Share on other sites

On 3/23/2022 at 7:22 PM, Mitachi said:

The new maps are in the same index?

long g_start_map[5] = // [4] to [5]
{
	0,	// reserved
	1,	// Red
	21,	// Yellow
	41	// Blue
// example begin
	,82 // My new personal map (INDEX)
// example end
};

DWORD g_start_position[5][2] = // [4] to [5]
{
	{      0,      0 },	// reserved
	{ 509400, 757400 },	// Red (1)
	{  55700, 157900 },	// Yellow (21)
	{ 190300, 917600 }	// Blue (41)
// example begin
	{ 010101, 010101 }	// My new personal map (COORD)
// example end
};

Yes all index's same... 

I missed up the coordinates. Succeeded, thank you for your reply.      ❤️  ❤️ 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.