Adding/Removing Species
Adding a New Pet Species
1) Add the Species to config.lua
config.luahen = {
DisplayName = "Hen",
Model = "A_C_Hen",
Type = "Flying",
Item = "battlepet_caged_hen",
AbilitySet = {
{ Level = 1, Id = "peck" },
{ Level = 2, Id = "squawk" },
{ Level = 4, Id = "egg_barrage" },
{ Level = 10, Id = "slicing_wind" },
{ Level = 15, Id = "adrenaline_rush" },
{ Level = 20, Id = "flock" },
},
DefaultActives = { "peck", "squawk", "egg_barrage" },
BaseStates = { [18] = 0, [19] = 0, [20] = 0 },
Icon = "pets/hen.png",
},2) Add the Pet Icons (UI)
3) Link Animations for the Model
Notes on Animations
Animation Keys
Carrying Anim Settings
4) Add the Caged Pet Item
QB-Core Pet Item
ox_inventory Pet Item
Testing Your New Species
Removing a Species
Last updated