[Guide] How to create map
Step 1 - Login in game and take the position that you want to put your map();
http://img682.imageshack.us/img682/1254/50219051.jpg
(showing something interesting) - so you get the actual values of the position of the character, you have to change the
z position of the y: Example
X = 38,281 Y = 254 Z =- 17,121
The correct is:
X = 28,281 Y =- 17121 Z = 254
You just change the values of Y to Z.
Now I already picked the place where it will be my map, we create it, the position I chose for him was
(already showing with the letters in the correct coordinates) -45,988 X = Y =- 26851 Z = 254
Step 2 - Creating the Map ();
1 - Open your 3d max and create a map will.
http://img509.imageshack.us/img509/9250/67105290.jpg
After you have created your map, pack up his position to the position you took (of course you have to put
positions with her letters X, Y, Z corrected), mine was -45,988 X = Y =- 26851 Z = 254, I'll put,
these locations on the map it in 3d max.
http://img338.imageshack.us/img338/9387/13654749.jpg
After that you have to put a dummy involving the whole map (dummy helpers is in the side of the camera).
http://img22.imageshack.us/img22/5121/60683083.jpg
Okay, now part of map development is already complete, now let's save.
Go on Export-> select to export to file. ASE, and put the name of aquivo.
Now the options will appear that you mark these options ->
http://img252.imageshack.us/img252/3387/83319707.jpg
Ready.
Step 3 - Stirring the Executable ();
1 - Open your server.exe with Olly and look for the map that you want to replace.
In my case I'm using the server's Chinoca loco (Spcute), I'll put this map that I just
create in place of my map that he could not put (field 47).
After I open the server.exe in olly and have arrived to the offset of the map. * (as I already said I'll put the map
I created on my map) *.
The code in Assembly of my map is the following.
Code:
08C9F3B5 68 2083C808 PUSH Crystal_.08C88320 ; ASCII "Panzer"
08C9F3BA 68 2783C808 PUSH Crystal_.08C88327 ; ASCII "Panzer-City\Panzer.ase"
08C9F3BF E8 CCFD78F7 CALL Crystal_.0042F190
08C9F3C4 68 DE260100 PUSH 126DE <------- position of the pivot of the map in Y
08C9F3C9 68 A50B0000 PUSH 0BA5 <------- position of the pivot of the map in X
08C9F3CE B9 10617800 MOV ECX,Crystal_.00786110
08C9F3D3 56 PUSH ESI
08C9F3D4 6A 06 PUSH 6
08C9F3D6 6A 11 PUSH 11
08C9F3D8 6A 13 PUSH 13
08C9F3DA 6A 12 PUSH 12
08C9F3DC 68 00010000 PUSH 100
08C9F3E1 51 PUSH ECX
08C9F3E2 E8 5A64ECFF CALL Crystal_.08B65841
08C9F3E7 E8 24FE78F7 CALL Crystal_.0042F210
08C9F3EC 68 93210100 PUSH 12193 <------- position of the pivot of the map in Y
08C9F3F1 68 EF080000 PUSH 8EF <------- position of the pivot of the map in X
08C9F3F6 E8 950479F7 CALL Crystal_.0042F890
08C9F3FB 68 EC260100 PUSH 126EC <------- position of the pivot of the map in Y
08C9F400 68 DB0D0000 PUSH 0DDB <------- position of the pivot of the map in X
08C9F405 E8 860479F7 CALL Crystal_.0042F890
08C9F40A 6A 20 PUSH 20
08C9F40C 6A 40 PUSH 40
08C9F40E 68 E9020000 PUSH 2E9
08C9F413 68 B3310100 PUSH 131B3 <------- position of the pivot of the map in Y
08C9F418 68 C5080000 PUSH 8C5 <------- position of the pivot of the map in X
08C9F41D E8 0EFF78F7 CALL Crystal_.0042F330
08C9F422 68 F2020000 PUSH 2F2
08C9F427 68 D9300100 PUSH 130D9 <------- position of the pivot of the map in Y
08C9F42C 68 CC080000 PUSH 8CC <------- position of the pivot of the map in X
08C9F431 68 10617800 PUSH Crystal_.00786110
08C9F436 E8 B5FF78F7 CALL Crystal_.0042F3F0
08C9F43B E8 3364ECFF CALL Crystal_.08B65873
I'll put my map in a folder called 'Panzer-City', and the name is file.ase 'Panzer.ase', what i have to change the code above, the coordinates of the map and place that is born ....
So let it.
My code was as follows: ->
Code:
08C9F3B5 68 2083C808 PUSH cPT__.08C88320 ; ASCII "Panzer"
08C9F3BA 68 2783C808 PUSH cPT__.08C88327 ; ASCII "Panzer-City\Panzer.ase"
08C9F3BF E8 CCFD78F7 CALL cPT__.0042F190
08C9F3C4 68 1D97FFFF PUSH FFFF971D <-because the value is negative and I put a sign '-' in front of it
08C9F3C9 68 5C4CFFFF PUSH FFFF4C5C <- Number in Hexadecimal
08C9F3CE B9 10617800 MOV ECX,cPT__.00786110
08C9F3D3 56 PUSH ESI
08C9F3D4 6A 06 PUSH 6
08C9F3D6 6A 11 PUSH 11
08C9F3D8 6A 13 PUSH 13
08C9F3DA 6A 12 PUSH 12
08C9F3DC 68 00010000 PUSH 100
08C9F3E1 51 PUSH ECX
08C9F3E2 E8 5A64ECFF CALL cPT__.08B65841
08C9F3E7 E8 24FE78F7 CALL cPT__.0042F210
08C9F3EC 68 1D97FFFF PUSH FFFF971D
08C9F3F1 68 5C4CFFFF PUSH FFFF4C5C
08C9F3F6 E8 950479F7 CALL cPT__.0042F890
08C9F3FB 68 1D97FFFF PUSH FFFF971D
08C9F400 68 5C4CFFFF PUSH FFFF4C5C
08C9F405 E8 860479F7 CALL cPT__.0042F890
08C9F40A 6A 20 PUSH 20
08C9F40C 6A 40 PUSH 40
08C9F40E 68 E9020000 PUSH 2E9
08C9F413 68 1D97FFFF PUSH FFFF971D
08C9F418 68 5C4CFFFF PUSH FFFF4C5C
08C9F41D E8 0EFF78F7 CALL cPT__.0042F330
08C9F422 68 F2020000 PUSH 2F2
08C9F427 68 1D97FFFF PUSH FFFF971D
08C9F42C 68 5C4CFFFF PUSH FFFF4C5C
08C9F431 68 10617800 PUSH cPT__.00786110
08C9F436 E8 B5FF78F7 CALL cPT__.0042F3F0
08C9F43B E8 3364ECFF CALL cPT__.08B65873
After changing the code you saved and repeat the process in game.exe
After that, connect the server and see if the ASE will be converted.
If so go play ^^ (it can happen to mistake (this happens when you put something on the map that the PT does not support, such as images. Jpg, or something in 3d.
http://img62.imageshack.us/img62/2997/36953915.jpg
http://img28.imageshack.us/img28/6426/14627445.jpg
Here's a link with all the files that I used in the tutorial.
MegaUpload
=> http://www.megaupload.com/?d=2LE7ULZ1
4shared
=> http://www.4shared.com/file/14605217...PT_online.html
Mediafire
=> http://www.mediafire.com/download.php?iffaamzdwcm
Easy-Share
=> http://www.easy-share.com/1908336067/PT.rar
Questions?
Original post created by me too
http://www.galeraonline.net/forum/in...c,15622.0.html
Good Use \o
This tutorial was translated by google, if it acts any errors please moderator, correct or tell me the mistake I will correct