![]() |
[HELP] Custom Pets
Was looking on PP, and didn't find much. I know the (basics) of how to add a new pet, and I assume I add the pet code to the AI somewhere (pet manager?). I guess if I had to I could make them new "summons" but pets would be preferred.
I was wondering if someone could explain it in detail. Also curious how it is possible to shrink a NPC to a smaller size, say Valakas, and make a mini Valakas pet. I'm not very familiar with this kind of script work, so some direction would be nice. Thanks in advance. |
use search, there are many in depth posts on how to make custom pets, all of it is fairly simple, the only work involved is hexing in the new summon id otherwise give pets items to players through AI. As for NPC's I only know how you can make some bigger with:
LineageMonster.mobname_100_bi LineageMonster.mobname_200_bi etc. I haven't thoroughly tested this yet, there is also a skill that makes mobs bigger but I have yet to find anything that will make them smaller. |
As far as shrinking goes thats all client side. You'd have to use the texture then set the size parameter in the npcgrup. You'll have to play with it alittle as there are alot of numbers after the call for the texture and sound effect etc.
So you should be able to just copy the npc's testure onto a new line, bind up the npcdata/npcpch/newly written ai and whatever else and there you go. I would think that adding in a new pet... you'd have to get the server to recognize it. So there prolly would be some code in there as well. I'm just guessing on this.. still haven't looked into it myself. |
I did use search. Didn't find any good examples. I looked in NPC GRP and I didn't understand which numbers controlled the NPC size.
Anyone got a good example for me :)? |
to create the pet by AI u should check the pet managers AI to exchange the items for baby pets.. i remember there was item id or pch and inpc id or pch (i dont remember) so maybe u can check around there.. ive tryed but since ive got just some plain knowledge in AI i couldnt do much.. oh also..
https://postpacific.loc-online.com/f...ghlight=wyvern check that post.. i think that there was some AI around there that made a wyvern in an item.. maybe u should check around there and change the item and npc.. |
Quote:
I was doing a bit of research and i found out some things.. <.< If you are still interested in it.. send me your msn or something by pm.. all the help is welcome xD |
Here is how to make custom pet
https://postpacific.loc-online.com/f...ead.php?t=5664 Grab that code + change npcdata of monster to pet + make info to pet files.. |
Thanks. Finally someone linked me to a thread that helps.
|
| All times are GMT. The time now is 15:27. |