|
There are 2 ways to find the ID:
• Find the ID of the mob via the game:
Select the mob, with packelogger check the packet [SEND] NCIF. In this case ncif 3 3213
The ID of the entity on the map is 3213, to know the ID of the mob you need to reload the map and check the packet [RECV] IN and look for the entity ID in the 3rd value.
In this case in 3 410 3213 170 90 0 100 100 1 0 0 -1 1 0 -1 - 0 -1 0 0 0 0 0 0 0 0.
The mob ID is the 2nd value, so 410.
• Find the mob ID via game files:
Open the file NSlangData_XX.NOS with Onex Explorer, export the file _code_xx_monster.dat
Open the file _code_xx_monster.dat with a text editor and search for the ZTS value by the name of the monster. In this case zts480e Drunk Ninja Dwarf
Open the file NSgtdData.NOS with Onex Explorer, export the file monster.dat.
Open the file monster.dat with a text editor and search for the ID of the mob using the ZTS value.
In this case
#================================================= =======
VNUM 410
NAME zts480e
LEVEL 45
RACE 3 0
[...]
#================================================= =======
The ID of the mob is the VNUM value, so 410.
Open the NSmnData.NOS file with Onex Explorer, export the entire NSmnData.NOS as a single JSON file.
Open the NSmnData.NOS.json file with a text editor and search for the “base” values with the keyword "monster": 410,
In this case:
{
"animation": 2,
"base": 4310,
"direction": 0,
"kit": 110,
"monster": 410,
[...]
}
{
"animation": 4,
"base": 4311,
"direction": 0,
"kit": 448,
"monster": 410,
[...]
}
{
"animation": 10,
"base": 4312,
"direction": 0,
"kit": 449,
"monster": 410,
[...]
}
The "base" values for the ID of mob 410 are 4310, 4311 and 4312.
To know which file to open, we need to calculate the HEX value following NSmpData.
The calculation is: Floor ( 4310 / 1024 ) * mod16 (to be converted into hexadecimal). In this case the result is 4. All three new values give 4 as the result.
Open the NSmpData04.NOS file with Onex Explorer and export all the sprites.
|