Page 1 of 1

creating own pet

PostPosted: Sat Mar 23, 2013 11:09 am
by Mikhal
hi all^^

wanted to create a own player pet as a support for single player or small group like the mercenarys on storm or the pets on the D2 server...i created a new spell and added it to an object for summoning the pet...gave the spell the same parameters as the other pet summoning spells have only a new spellID,other clienteffect and iconID... under spellType there stands normally summonSimulacrum or summonUnderhill..if i put this into my spell a simulacrum or underhill would be called? tested it with simulacrum and the amber simulacrum came..then i tought this would be through the pet script of each pet class..so copied one script and named it after the pet i wanted to call-> put this new summonXXX under the spellType of my new spell and it works so far that i can summon my pet but its again the amber simulacrum... looked at it with /mob info and there stand "mob loaded from script and NPCTemp: 6 amber simulacrum"..but couldnt find out how i connect my own NPCTemp with my spell that my own pet is loaded:(..how its done with all the other ones?
easiest way would be to change existing NPCTemps for the pet in the way i wanted to have them but would like to keep the original pets as they are.

do i need a own script for such things?

Re: creating own pet

PostPosted: Sat Mar 23, 2013 9:01 pm
by stephenxpimentel
your summon spell LifedrainReturn = your NPCtemplate ID, hope this helps!

Re: creating own pet

PostPosted: Tue Mar 26, 2013 6:29 am
by Mikhal
yeah this works^^ thanks a lot :mrgreen: ...are there only certain spells mobs can use? tried with eg speed or pbt (both are only for the group) and there i didnt noticed anything.... cele cast works but only for the pet..also casts heals on me or dmg on the mob.

Re: creating own pet

PostPosted: Tue Mar 26, 2013 11:57 am
by stephenxpimentel
i think only summon spells won't work. the spell is set up properly? make sure it has a frequency and duration!

Re: creating own pet

PostPosted: Tue Mar 26, 2013 3:30 pm
by Mikhal
for testing i took the some group speed without instrument, pbt from the rm, cele from healer, breath of leviathan... the cele was cast by him every sec (but only for him, not shown in my buffs) and the others spells i didnt noticed that they work...styles and abilities working well...all spells wich didnt work are shown as group spells and i dont know if this works when pet is casting them or only spells for realm members