Tasho 244 Posted February 5, 2015 Share Posted February 5, 2015 hi, I made the spawn position for wolf but the problem si that he dosen't use it : start_position.cpp : DWORD g_create_position_wolfman[4][2] = { { 0, 0 }, { 808100, 935100 }, { 859300, 935100 }, { 910500, 935100 }, }; start_position.h: extern DWORD g_create_position_wolfman[4][2]; inline DWORD CREATE_START_X_WOLFMAN(BYTE e) { if (e >= 1 && e <= 3) { return g_create_position_wolfman[e][0]; } } inline DWORD CREATE_START_Y_WOLFMAN(BYTE e) { if (e >= 1 && e <= 3) { return g_create_position_wolfman[e][1]; } } So what is the problem? Link to comment Share on other sites More sharing options...
Tasho 244 Posted February 5, 2015 Author Share Posted February 5, 2015 up Link to comment Share on other sites More sharing options...
Tasho 244 Posted February 6, 2015 Author Share Posted February 6, 2015 up Link to comment Share on other sites More sharing options...
Tasho 244 Posted February 6, 2015 Author Share Posted February 6, 2015 up Link to comment Share on other sites More sharing options...
Tasho 244 Posted February 8, 2015 Author Share Posted February 8, 2015 up Link to comment Share on other sites More sharing options...
Premium iRETEMAG 138 Posted February 8, 2015 Premium Share Posted February 8, 2015 I wan't to put my wolfman starting at the same of others (city1) Here is my start_position.cpp: #include "stdafx.h" #include "start_position.h" char g_nation_name[4][32] = { "", "½Å¼ö±¹", "õÁ¶±¹", "Áø³ë±¹", }; // LC_TEXT("½Å¼ö±¹") // LC_TEXT("õÁ¶±¹") // LC_TEXT("Áø³ë±¹") long g_start_map[7] = { 0, 1, 21, 41, 7, 27, 47 }; DWORD g_start_position[7][2] = { {0, 0}, {469300, 964200}, {55700, 157900}, {969600, 278400}, {768000, 896000}, {819200, 896000}, {870400, 896000} }; DWORD arena_return_position[4][2] = { { 0, 0 }, { 347600, 882700 }, // ÀÚ¾çÇö { 138600, 236600 }, // º¹Á¤Çö { 857200, 251800 } // ¹Ú¶óÇö }; DWORD g_create_position[7][2] = { {0, 0}, {459800, 953900}, {52070, 166600}, {957300, 255200}, {808600, 936000}, {859800, 936000}, {911000, 936000} }; DWORD g_create_position_canada[7][2] = { {0, 0}, {457100, 946900}, {45700, 166500}, {966300, 288300}, {808600, 936000}, {859800, 936000}, {911000, 936000} }; Link to comment Share on other sites More sharing options...
Tasho 244 Posted February 9, 2015 Author Share Posted February 9, 2015 you did nothing with this, the wolfman still take the same map coordonates as the other characters ... and what you did here is incomplet u neet to edit start_position.h to run with [7][2] matrix like this : extern DWORD g_start_posirtion[7][2]; extern long g_start_map[7]; extern DWORD g_create_position[7][2]; extern DWORD g_create_position_canada[7][2]; The problem is when you finish doing start_poisition.cpp/.h we need to add something else, but I don't know what.:-? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now