#Basic support to add a pet

1 messages · Page 1 of 1 (latest)

open crater
#

Hello. In order for me to add a basic pet what is needed?

#

I put it in model engine, that’s all I have done what’s the next step?

wide wren
#

Please check wiki

#

You need to create MM file and McPets

open crater
#

Thank you I’ll look into that. Is there a template config I can use to create the Mm file and mcpets?

wide wren
open crater
#

It has mm file as well?

wide wren
#

Its working pet

open crater
#

Ah ok I’ll give it a try

open crater
#

If I want a pet to fly is that in the mcpets config or MM?

open crater
#

Yml thingy I mean

wide wren
#

change walking to flying

open crater
#

like in general does there have to be anything in the skill yml to make it able to fly

wide wren
open crater
#

ok i see thx

#

i can already like ride the pet and move it so ill just change it to fly then

open crater
open crater
#

It does have a mount bone and i have already added it to the pets yml in mcpets

wide wren
#

did you add driver=true

#

to MM

open crater
#

is it this one i need to add - mountmodel{driver=false;mode=force;pbone=seat1,seat2,seat3,seat4;dmg=true} @PIR{r=5} ~onDamaged

#

or this - mountmodel{mode=flying} @trigger ~onInteract

#

Skills:
- model{mid=appa;mount=true} @self ~onSpawn
Options:
MaxCombatDistance: 25
Despawn: false
PreventOtherDrops: true
Silent: true
MovementSpeed: 0.4

I would put it under skills?

wide wren
#

right here

open crater
#

so - model{mid=appa;driver=true} @self ~onSpawn ?

open crater
#

Hm i did that and still could not mount him. Ill send the mcpets yml i have of the pet

#

does anything look wrong here?

wide wren
#

do you have this perm?

open crater
#

yes

wide wren
#

did you do MM reload when changing skill?

#

and re-spawn the pet

open crater
#

yes i did

#

yeah

wide wren
#

can you do mcpets debug

#

and then see if you get any error messages

open crater
#

dont see any

#

the mount is right?

wide wren
#

looks good

open crater
#

Is it because the skill file and the mob file in MM are the same?

wide wren
#

can I see the MM

#

file?

open crater
#

ok

#

So MM > mobs > appa.yml is the one im sending

#

its the same in MM > skills > appa.ymml

wide wren
#

can you send the file

#

not copy text

open crater
#

ah sure

#

wrong one actually

wide wren
#

do mm reload

#

and mcpets reload

open crater
#

ok

open crater
wide wren
#

sorry this one

open crater
#

alr

wide wren
#

this one goes to MM/Mobs

open crater
#

ok

open crater
wide wren
#

you didnt put drive=true

open crater
#

ah ok i put it in the MM > skills > appa.yml but not in the mobs folder mb

wide wren
#

No worries

#

as long as you got it how it works then its good