Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.04.2007, 05:28   #1
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default [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.
mcrabben7 is offline  
Old 11.04.2007, 07:06   #2
SlayerX
Архивный участник
 
Join Date: Dec 2005
Posts: 82
Default

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.
SlayerX is offline  
Old 11.04.2007, 09:45   #3
L2Requiem
Архивный участник
 
Join Date: Oct 2006
Posts: 64
Default

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.
L2Requiem is offline  
Old 11.04.2007, 12:13   #4
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

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 ?
mcrabben7 is offline  
Old 12.04.2007, 07:26   #5
nnightmare
Архивный участник
 
Join Date: Jun 2006
Posts: 153
Default

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..
nnightmare is offline  
Old 28.04.2007, 20:02   #6
Lord_Neo
Архивный участник
 
Join Date: Dec 2005
Posts: 55
Default

Quote:
Originally Posted by mcrabben7 View Post
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 ?
Dont know if you figured this out already cause the topic is kinda old but anyways.

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
Lord_Neo is offline  
Old 30.04.2007, 07:18   #7
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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..
rodier is offline  
Old 30.04.2007, 08:44   #8
mcrabben7
Архивный участник
 
Join Date: Apr 2006
Posts: 461
Default

Thanks. Finally someone linked me to a thread that helps.
mcrabben7 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:33.