Skip to main content

Adding New Pets

Locations:
Client Side - Found in interfaces.pck, location: element\interfaces.pck.files\interfaces\script
Server Side - Found in /root/kdxy/gamed/config

Pets - Petbedge_interface.lua - This file needs to be edited both client and server (separately as it has specifics exclusive to both server and client side). Clone a pet in Seledit or Rody's Angelica Editor (much easier in this editor, but it's subscription based). 

We'll be using Pandapocalypse (Item ID: 34460) as an example for cloning. Basically we're going to copy everything with the ID 34460 for a new ID. 

Pet Speech (continue the sequence): 
If the last ending number were 2446, add 2447 and so on.

NOTE: ALL OF THE FOLLOWING IS FOR SERVER-SIDE AS THIS AS MORE SETTINGS TO BE CHANGED.

92427bcd38c9671eb6eb221063475f54.png

Unconfirmed as to what this edits, but we need to make sure to copy the format of #34460.
5adedfd43548a891bae370e47affee2e.png

This location is the actual pet stats (this option needs to be different for both server and client side).

Server Side (all you need to do is change the number to another item ID):
7652ce861d6d46e9b3eab42a58dcd720.png


Client Side (change the item ID, but the name must remain Chinese for this section to work or your game will crash):
CLIENT.png

Elements (shown in Rody's Angelica Editor):
-Game model is changed in the highlighted area to whatever you want the pet to look like
-Drop path: What the pet will look like if you drop it (default is an egg)
-Icon path (item appearance in inventory)
-File Icon Unidentify: what the pet looks like in inventory without mirror identification (suggested not to change)
-G1 Normal Icon - Usual icon
-G1 Mutated Icon - Usual icon
-File Head Icon - Uses egg icon (suggested not to change)

Example of values:

[34460] = {
        {"Мèսɱ",1,3,160000,20,1,512,4,1,1549,2,2,1,51,10,1,1,224,},
        { {144.837,32.6980499999999,6.36405000000001,44.3289000000001,6.36405000000001,0,.21945,.21945,.21945,.21945,.21945,0,.2,1.3,.2,1.3,90,1,}, {10.862775,2.452354,.477304,3.324668,.477304,0,.016459,.016459,.016459,.016459,.016459,0,.015,0,.015,0,6.75,.075,}, {8600,98.09415,19.09215,132.9867,19.09215,0,.72,.72,.693,.693,.756,0,.45,0,.45,0,270,3,}, {39.91064,4.00106666666667,1.00026666666667,4.5012,1.00026666666667,0,.250066666666667,.250066666666667,.250066666666667,.250066666666667,.250066666666667,0,2.27333333333333E-04,0,2.27333333333333E-04,0,0,0,}, {2.993298,.30008,.07502,.33759,.07502,0,.018755,.018755,.018755,.018755,.018755,0,.000017,0,.000017,0,0,0,}, {164,39.2,9.9,44.4,9.9,0,.36179,.36179,.36179,.36179,.396,0,.00066,0,.0006556,0,0,0,},},
        {.4,.4,.2,0,},
        {0,0,{1,2,3,4,5},{10,11,14,15,16,17,51,52,25,26,29,30,31,32,42,43,},},
    },


1549 would be the pet skill it naturally learns
512 would be the pet type (Demonix)



cbc569e88fa5a84f1f51e7b8e3402cc9.png