From The Mana World
(opened tutorial on mob changes to skull room)
 
m (Text replacement - "git://" to "https://")
 
Line 11: Line 11:
3.b) In Cygwin, enter: mkdir /cygdrive/c/tmwdata/ this makes a directory to put tmwdata in.
3.b) In Cygwin, enter: mkdir /cygdrive/c/tmwdata/ this makes a directory to put tmwdata in.
3.c) Enter: cd /cygdrive/c/tmwdata/ to make sure you are in the directory
3.c) Enter: cd /cygdrive/c/tmwdata/ to make sure you are in the directory
3.d) Enter: git clone git://gitorious.org/tmwdata/mainline.git this will download tmwdata
3.d) Enter: git clone https://gitorious.org/tmwdata/mainline.git this will download tmwdata


4.a) Goto: /eathena/npc/013-3_Cave/_mobs.txt Here you will alter the mobs on the server side.
4.a) Goto: /eathena/npc/013-3_Cave/_mobs.txt Here you will alter the mobs on the server side.

Latest revision as of 01:10, 13 June 2022

This is a short tutorial for changing mobs on an existing eAthena map.

Introduction This tutorial is based on a proposal I made to map 013-3. I wanted to make it more difficult to "one square camp" in what is commonly referred to as "the Skull Room" or "the Barrier Room". So I broke up Fire Skull and Poison Skull mobs, which were 2 spawning points that had a max_being of 3 to 6 spawning points with a max_being of 1. The spawning was broken down to a top, middle and bottom. While I have yet to see how this will impact the strategy of players, on initial server tests it seemed to make the room more dynamic. In order to make the changes, I used: an eAthena Server, tmwdata and Tiled, a map editor. I also am using Windows Vista OS, Notepad++ and Cygwin. This tutorial is for making the changes, testing the changes on a private server and submitting a change proposal to TMW development team.

1.) Download Notepad++, Cygwin and an eAthena server. See Setting up eAthena on Windows

2.) Download Tiled.

3.a) Open Cygwin. You are now downloading tmwdata 3.b) In Cygwin, enter: mkdir /cygdrive/c/tmwdata/ this makes a directory to put tmwdata in. 3.c) Enter: cd /cygdrive/c/tmwdata/ to make sure you are in the directory 3.d) Enter: git clone https://gitorious.org/tmwdata/mainline.git this will download tmwdata

4.a) Goto: /eathena/npc/013-3_Cave/_mobs.txt Here you will alter the mobs on the server side. 4.b) Change

013-3.gat,61,22,2,2 monster Fire Skull 1023,3,120000,60000,Mob013-3::On1023 013-3.gat,81,22,2,2 monster Poison Skull 1024,3,120000,60000,Mob013-3::On1024

to

013-3.gat,61,22,2,2 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1023 013-3.gat,78,35,2,2 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1026 013-3.gat,67,46,2,2 monster Fire Skull 1023,1,120000,60000,Mob013-3::On1027 013-3.gat,81,22,2,2 monster Poison Skull 1024,1,120000,60000,Mob013-3::On1024 013-3.gat,62,35,2,2 monster Poison Skull 1025,1,120000,60000,Mob013-3::On1025 013-3.gat,75,46,2,2 monster Poison Skull 1025,1,120000,60000,Mob013-3::On1028

4.c) Change

On1023: set @mobID, 1023; callfunc "MobPoints"; break;

On1024: set @mobID, 1024; callfunc "MobPoints"; break;

end; }

to

On1025: set @mobID, 1025; callfunc "MobPoints"; break;

On1026: set @mobID, 1026; callfunc "MobPoints"; break;

On1027: set @mobID, 1027; callfunc "MobPoints"; break;

On1028; set @mobID, 1028; callfunc "MobPoints"; break;

end; }

4.d) Save. This will make the server side changes to the mobs so you can test them. Pay attention to the differences and what was added for future alterations to spawns. To test, open your server and observe the changes to see if they are appropriate.

5.a) Open Tiled and open /tmwdata/mainline/maps/013-3.tmx 5.b) Goto View and check: Show Grid, Highlight Cursor and Show Coordinates 5.c) Right click the Fire Skull, change max_beings to 1. Right Click Poison Skull, change max_beings to 1. Notice how both spawning areas take up a 3x3 area. While the new spawning won't take up the same space, I used a 2x3 in the middle and a 1x3 at the bottom. 5.d) Use the X,Y coordinates offered in the changes. Click and drag to make the appropriate area for your "Object" at those points. Other than the difference in coordinates and area, mimic the information for each spawn point where appropriate, Fire Skull spawn information matching Fire Skull spawn information, ditto Poison Skull to Poison Skull information. Save. 6.) Report the change on mantis with a brief description of the change. 7.) Pain in the ass Git stuff, to be detailed later. See also Crash Course