Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] Monster to pet without collision

Elite Diviner
Joined
Sep 14, 2006
Messages
429
Reaction score
273
Exisiting monster without collision (*.gb file)

For what we need monster without collision?
For example: If you want to use existing monster as pet – collision makes monster clickable so while you luring/attacking/running/etc monster as pet with collision will cause a lot of troubles. Without collision there’s no way to click monster.

What we need:


  • KalOnline 3ds max importer, exporter
  • Some time (guess for first time only).

1. Select monster which you want to make non clickable. I’ve chosen M681.

Q: I know monster name only! How I can find files of this monster?!
A: Here’s one of many ways to find this info:

First of all you have to unpack your config.pk (no poop Sherlock!). After that open message-e.dat and find lines by using monster name, for example we’re looking for Goblin soldier – search and fine similar line like this:
Code:
[COLOR=#0000ff][U]( monstername 681 "Goblin solider")[/U][/COLOR]
As you can see there’s number 681 (owrly?! xD). Now open macro.dat and search for:
Code:
[COLOR=#0000ff][B][U]key 681[/U][/B][/COLOR]
If you'll find something like this (remember: 1[SUP]ST[/SUP] word in line should be monsterinfo):
Code:
[COLOR=#0000ff][U]( [B]monsterinfo[/B] [B]( key 681 [/B]) ( [B]bone 163 [/B]) (level 80) ( scale 1.0 5) ( motion "BBBBBBBBBB" ) (mspeed 1600 600) (attheight 15))[/U][/COLOR]
Congratulations – that’s the correct line. Now we know everything about our monster.
Key 681 means that monster file name is M681_b1
Bone 163 means that monster bone/animation file name is T163_bone (animations: T163_A_XX_01).

Another (easiest) way: USE ROAM! –
/set editeffect (F5) -> Model View -> Kind: Monster -> Bone - for example: 681 Goblin soldier Bone(163) and now you’re able to see bone/mesh number of selected monster.
dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums

2. Open 3ds max and select File -> Import (*.gb), find Motion folder (client/data/monster/motion) and select any gb file (it doesn’t matter now which one, seriously).

3. Check the Bones box, click Select Bonefile button and find the correct bone file (
TXXX_bone, in my case: T163_bone).

4. Check the Mesh 1 box, click Select Meshfile, skip to Clothes folder (client/data/monster/clothes) and find correct mesh part (MXXX_b1; in my case: M681_b1). If there’s more than one part (for example: NXXX_b1, NXXX_b2)repeat this step.

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


5. Monster is successfully imported into 3DS Max. Wow!

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


6. Now we’ve to find correct textures. Open Clothes folder (client/data/monster/clothes), find .gb files of your already loaded into 3ds max monster (in my case: M681_xx).

7. Run HxD, in Clothes folder select all files of monster model (in my case: M681_b1 M681_b2 M681_b3) and drag/drop these files into HxD.

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


8. In every file go to the last line and you'll find names with .dds extension.

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


9. Run genetix converter and select textures that you found by following step 8 (location: client/data/monster/clothes/tex).

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


10. Open folder with converted textures and by trial and error method drag/drop texture on mesh.

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums

Want to see dds thumbnails in your Windows? Download (in installer select DDS support only).

11. For some reason weapon has bugged weights. Don’t worry – usually weapon need only one bone in Skin which means it’s easy to fix. Sometimes 3ds max 8 is crashing while you edit envelopes/skin – so I suggest you to delete and create new skin.

12. Click File -> Export… and write M + your unique number + b1 (for example: M1212_b1) and select extension: KalOnline 3DSMax8 Export (*. GT).

13. In export type selection check: Mesh, in Export filetype selection check: .gb and click ADD.

14. In Edit filename delete mesh filename (I’ve deleted M1212_b1.GT) and write name of bone file: T + your unique number + _bone.GT – for example: T990_bone.GT. In export type selection check box: Bones only; filetype - .gb, click ADD and EXPORT.

dagets - [Tutorial] Monster to pet without collision - RaGEZONE Forums


15. Now it’s time to re-export animation files. Reset scene, Select File -> Import, go to Motion folder (
client/data/monster/motion) and select any gb file and click ok. Now in importer window check Bone, click select bonefile and find your bone file (in my case: T163_bone), check Animation, click select Animation, find the right animation file of your selected monster (in my case: T163_0_A_01 – same number as bone has) and click Import.


Because we want to make pet without collision – we need idle/run animation only.


Name


Action
TXX_0_A_01
Idle
TXX_1_A_01
Walk
TXX_2_A_01
Run
TXX_3_A_01
Dead (no behead)
TXX_4_A_01
Dead (behead)
TXX_7_A_01
Skill
TXX_8_A_01
Attack
TXX_9_A_01
Dead loop (waiting for behead)


16. Click File -> Export… write name of animation: T + your bonefile number + A + number of action + 01 (for example: T990_0_A_01 – idle animation) SAME NUMBER AS YOU USE IN BONE FILE (step 14) click save and now in Exporter select Animation and type - .gb click Add and Export. Repeat step 15, 16, 17 for running animation (TXXX_2_A_01).

Client side: Monster/bone info example (config.pk->macro.dat):
( monsterinfo ( key 1212 ) ( bone 990 ) (level 99 ) ( scale 1.0 3 ) ( motion "AAAAAAAAAA" ) ( mspeed 1500 500 ) ( framerate 1.0 1.0 ) ( attheight 16 ) )
( monsterbone ( key 990 ) ( bone 0 5 5 0 0 0 0 0 ) ( target 1.0 1.0 1.0 3 ) ( motion 1 1 1 1 0 0 0 ) (part 1 0) ( damage 40 30 20 0 ) )
Server side: Monster info example (InitMonster.txt):
(monster (name 666) (index 1212) (country 2) (race 0) (level 99) (ai 2) (range 20) (sight 360 380) (exp 1) (itemgroup 1 1)
(str 1) (hth 1) (int 1) (wis 1) (dex 1) (hp 1) (mp 1) (aspeed 1100) (hit 155) (dodge 95)
(attack 0 1 5) (magic 0 0) (defense 210 168) (absorb 32) (mspeed 1500 500) (resist 42 42 42 55 55)
(quest ))
That’s all.

Created for KalOnline section @RaGEZONE.:marchmellow:
 
Last edited:
Elite Diviner
Joined
Sep 14, 2006
Messages
429
Reaction score
273
ho29 said:
dagets first say thanks for it ,but if you make video for this ,better then :p
lol dont work ,we need addon to make monster as pet ,...
When I see every post made by you, no offense but...


Did you tried to read first lines of my tutorial? We're talking about .gb file and monster model collision ;_;
 
Junior Spellweaver
Joined
Dec 24, 2013
Messages
129
Reaction score
116
Well, thanks for the TuT ! Had to laugh couple times. :d We got it working now after some fail try's. 3DS max is kinda weird ... if you run it as Admin you cant drag and drop dds files as example, was kinda confused about that at the beginning. Also not all monsters are working properly if you export them like this. But ye finally a TuT about how to use 3DS max with Matys in/exporter. ( its very basic but if you dont know how to export things right other stuff isn't worth anything )

MEH LIKE !
 
Elite Diviner
Joined
Sep 14, 2006
Messages
429
Reaction score
273
Well, thanks for the TuT ! Had to laugh couple times. :d We got it working now after some fail try's. 3DS max is kinda weird ... if you run it as Admin you cant drag and drop dds files as example, was kinda confused about that at the beginning. Also not all monsters are working properly if you export them like this. But ye finally a TuT about how to use 3DS max with Matys in/exporter. ( its very basic but if you dont know how to export things right other stuff isn't worth anything )

MEH LIKE !

As far as I remember, I had to run 3ds max as admin only once (after installation only, dunno why now it's working fine without admin rights xD) and yeah, you're right - drag/drop doesn't work when you run any kind of app as admin. About bugged monsters e.g. some mesh have no weights - well the problem/bug is inside the plugin, as Matynator said his importer isn't finished and some models won't work.
 
Initiate Mage
Joined
Nov 28, 2014
Messages
1
Reaction score
0
thanks for sharing this ^_^
can you reupload those :
kalonline 3ds max importer ,
kalonline 3ds max exporter.?
 
Junior Spellweaver
Joined
Dec 17, 2011
Messages
167
Reaction score
36
hello dagets , after i had done all these tips , i'm going to use the new number i had done for example 1212 , or i'm going to use the old number?



thanks for sharing this ^_^
can you reupload those :
kalonline 3ds max importer ,
kalonline 3ds max exporter.?

https://mega.co.nz/#!nFdRmAZK!cidS7B0_LKSikCkvtoZOgevfcvTbwoR0OQGIrjwEOFw
 
Elite Diviner
Joined
Sep 14, 2006
Messages
429
Reaction score
273
Ofc the new one :fisheye: strange question, rly. You can copy/paste config (monsterinfo/bone) of selected monster and change keys only - mesh/bone number, for example "Xill" monster:
Code:
( monsterinfo ([B] key 1212 [/B]) ( [B]bone 990[/B] ) (level 99 ) ( scale 1.0  3 ) ( motion "AAAAAAAAAA" ) ( mspeed 1500  500 ) ( framerate 1.0 1.0 ) ( attheight 16 ) ) 
( monsterbone ( [B]key 990[/B] ) ( bone 0 5 5 0 0 0 0 0 ) ( target 1.0 1.0 1.0 3 )  ( motion 1 1 1 1 0 0 0 ) [B](part 1 0) [/B]( damage 40 30 20 0 ) )
 
Last edited:
Junior Spellweaver
Joined
Dec 17, 2011
Messages
167
Reaction score
36
yea i know that mr dagets , may you check my thread at help section? i had done everything right but something is weird in game as if bone had smth wrong
 
Back
Top