Hey guys so I recently saw someone trying to sell this and it was super easy to do, so I decided to make a little snippet for the people that don't know how to do this and may end up buying it from someone when it literally takes 5 minutes per pet. So lets get started!
Things you will need:
A fucking source with cache
Frosty cache editor (Link below)
[Only registered and activated users can see links. ]
So what we are going to do is open up frost cache editor. If you do not know how to do this... You should be spooked by a popup like this
What you want to do is click on file (top left), Load cache, and then find your cache location and load it. In most cases your cache is in your data folder of your source.
After you load your cache you want to then select your editor. We will start off with the npc so click on NPCs, then submit. You should be spooked for a second time by this
One you see this you will want to find the boss pet you want to make. For this snippet i will be doing Commander Zilyana. (NPCID = 6247).We first want to find a id that is not being used by anything or is completely useless. I will be using npc # 4000. Once you find a code you want to turn into the pet, delete it so that it will not interfere with the pet being added as that code. Once we find id 6247 on the npc editor on the bottom left of your popup you will see something that says duplicate. For me I will be duplicating it on npc # 4000 (like i said before). Once you click okay you will be spooked by a third popup like this
Follow these numbers exactly because messing up may make the pet buggy.
This is from top to bottom on the General Page:
Name:Commander Miniana
Combat Level: 596 (some people prefer level 1)
Npc Size: 1
Visible on Map: Uncheck
Height: 60 (may be different on yours)
I put 60 for this snippet because 45 was way to small. You will see on end product
Width: 60 (may be different on yours)
Walk Mask: 0
Respawn Direction: 0
Render Animation: 544
Now we are done with the general. Now we move on to options. You will see something that says
Attack;Talk-to;null;null;null;
Change it to:
Pick-up;Talk-to;null;null;null;
After that click on file then save. YOU ARE NOW DONE WITH THE NPC PART! You can exit the npc selection as well. Next we want to select on items on the frost cache editor. You should be spooked for a fourth time by this
Once here we must find an item Id we are going to use for the pet zilyana. I will be using an egg because I do not have the models for the actually npc pets in the inventory.(A code for an egg is 12494) If you are using the egg like i am we will need to find an npc id to duplicate the egg onto. For me i am using 29989. We need to first delete item 29989 so it does not cause any issues with the egg. As before you will be spooked by this
All you have to do is edit the name of the egg to Commander Miniana or baby sara egg or whatever you want it to be called and then save it. We are done with the frosty cache editor part.
Server sided-
Open up your source and search for pets.java
Scroll a bit down till you see the pet configurations should look like this
Looks like your pets are taking more than one tile for their one tile size.
Because he's done them incorrectly, lol.
Only did this last year. Also linked to a better guide in the same [Only registered and activated users can see links. ].
[Only registered and activated users can see links. ] [Only registered and activated users can see links. ]
The fact that someone would sell 'pets' is just silly. This can be easily learned by oneself simply by knowing how a server works. I'm not stating that i'm a master coder or anything like that. People should share stuff like this not sell it. Nice snippet man, lot's of people will love to be able to have their own pets.
RANDOM HELP: as for that size thing simply just reduce the NPC width and height. 30x30 is generally a good size. Also make sure the size is set to 1.
I know its taking more then one size. When i figure out why ill edit it. But this is just to show how easy it is to add pets into your server. I hate the fact people are selling this
when I first got my own custom pet working, following me around, My heart sank and tears rolled down my eyes. People should share not sell.
OT: How would you go about removing the level? As i personally believe it would make the pet look better. Just wondering as i've never figured it out myself.