creating own pet
PostPosted: Sat Mar 23, 2013 11:09 am
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?
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?