Pets
-
- Sword Grand Master
- Posts: 502
- Joined: Sat Aug 09, 2003 2:56 am
- Location: House of the Triad
- Contact:
Pets
Mobs flagged with ACT_PET that are not in pet shops can be claimed by characters with the animal empathy skill.
For mobs IN pet shops:
WITH ACT_PET will go in the the pet field.
WITHOUT will go in the horse field.
Therefore only flag a mob ACT_PET if it is only in a pet shop and you want it to go into the pet field, or if you want characters to be able to claim it as a pet.
Tyr
For mobs IN pet shops:
WITH ACT_PET will go in the the pet field.
WITHOUT will go in the horse field.
Therefore only flag a mob ACT_PET if it is only in a pet shop and you want it to go into the pet field, or if you want characters to be able to claim it as a pet.
Tyr
-
- Sword Grand Master
- Posts: 4708
- Joined: Tue Jul 15, 2003 9:26 pm
- Location: House of Wonder, Waterdeep
Just to be sure I understood it. There are now 2 kinds of "companions", pets and mounts.
Mounts: can only be "bought" in pet shops. They should NOT have the ACT_PET flag. They can be ordered without the 'handle animal' skill.
Pets: can be "bought" from pet shops, or called with 'companion' or 'find familiar' . They should have the ACT_PET flag. You use the 'handle animal' skill to order them. People can claim mobs with the ACT_PET flag by using the 'animal empathy' skill.
A few questions...
- I guess that you cannot claim a mob that is someone else's pet.
- Does killing a pet and/or a mount still produce a log and require 'murder' instead of 'kill'?
- Do wizards have to use the 'handle animal' skill to order their familiar?
Mounts: can only be "bought" in pet shops. They should NOT have the ACT_PET flag. They can be ordered without the 'handle animal' skill.
Pets: can be "bought" from pet shops, or called with 'companion' or 'find familiar' . They should have the ACT_PET flag. You use the 'handle animal' skill to order them. People can claim mobs with the ACT_PET flag by using the 'animal empathy' skill.
A few questions...
- I guess that you cannot claim a mob that is someone else's pet.
- Does killing a pet and/or a mount still produce a log and require 'murder' instead of 'kill'?
- Do wizards have to use the 'handle animal' skill to order their familiar?
-
- Sword Grand Master
- Posts: 502
- Joined: Sat Aug 09, 2003 2:56 am
- Location: House of the Triad
- Contact:
Horses from the warhorse spell go into the horse field, not pet.Dalvyn wrote:Mounts: can only be "bought" in pet shops.
A few questions...
- I guess that you cannot claim a mob that is someone else's pet.
- Does killing a pet and/or a mount still produce a log and require 'murder' instead of 'kill'?
- Do wizards have to use the 'handle animal' skill to order their familiar?
You cannot claim someone elses pet.
Killing a pet works the same as before and horses work just like pets.
I will exempt familiars from handle animal, but to order any other pet or horse will require the skill.
ACT_MOUNT has no relation at all to ACT_PET. You can have ACT_MOUNT mobs that are not pets or horses. If a mob is ACT_PET and ACT_MOUNT it can be claimed and ridden. RACE_HORSE mobs will be claimed as horses, anything else will be claimed as pets.
ACT_PET
I'm not sure I like this idea. Wouldn't it be better to have a 'tame' skill for rangers in which they could attempt to tame wild creatures ? That way we wouldn't need to add ACT_PET all over the place.
Marty
Marty
-
- Sword Grand Master
- Posts: 4708
- Joined: Tue Jul 15, 2003 9:26 pm
- Location: House of Wonder, Waterdeep
What about animal mobs that are used in quests? We certainly do not want them wandering around different areas (if they are not meant to) and following a character.
It's (nearly) impossible to distinguish between programs used in a quest an programs that have been added to make the mob more IC (rand_prog with echoes for example). So, you would have to make it so that mobs with at least 1 program cannot be affected by the skill.
Basically, the ACT_PET flag is a good idea to determine which mobs can be tamed (no matter what their programs are if they have any).
It's (nearly) impossible to distinguish between programs used in a quest an programs that have been added to make the mob more IC (rand_prog with echoes for example). So, you would have to make it so that mobs with at least 1 program cannot be affected by the skill.
Basically, the ACT_PET flag is a good idea to determine which mobs can be tamed (no matter what their programs are if they have any).
ACT_PET
Well, obviously if an animal was tamed all of it's programmes would be shut off, the same as we shut off the programmes on charmed mobiles.
My feeling is that we should try and avoid making you and Sharon wade through every mob in every area file, and having to think 'Could this mob be tamed?'.
Additionally, I'd be concerned about the usage of ACT_PET willy nilly, as it is checked for in a large range of places and it may cause problems if a mob has ACT_PET, but exists in the wild.
Marty
My feeling is that we should try and avoid making you and Sharon wade through every mob in every area file, and having to think 'Could this mob be tamed?'.
Additionally, I'd be concerned about the usage of ACT_PET willy nilly, as it is checked for in a large range of places and it may cause problems if a mob has ACT_PET, but exists in the wild.
Marty
-
- Sword Grand Master
- Posts: 502
- Joined: Sat Aug 09, 2003 2:56 am
- Location: House of the Triad
- Contact:
Re: ACT_PET
What I did before coding this was go through and check where ACT_PET was used. It was only a few places. I changed IS_PET to something like:Mask wrote:Additionally, I'd be concerned about the usage of ACT_PET willy nilly, as it is checked for in a large range of places and it may cause problems if a mob has ACT_PET, but exists in the wild.
ch->master and ch->master->pet == ch
The only place it was really used besides determing if a mob was a pet is in shops to determine if a mob should be sold, and the way pet shops are designed ALL mobs in the room are there to be sold anyway so it was redundant.
Greg
No. Attempting to claim a mob belonging to someone else for your own will be a crime - theft of property.Err... so if I accidently order the wrong mob (when there's several horses in the same room it sometimes takes a few tries to figure out which is which), my character will be accused of a crime?
Attempting to order a pet/mount which does not belong to you should fail as it does now.
(Disclaimer - this is my interpretation of how it works, i may be wrong )
So, if I have programs to summon a mob and make it the pc's pet, instead of being bought in a shop, what part of the following needs to change?:
I want this mob to be a mount and go in the appropriate field. So it won't have ACT_PET.
Code: Select all
if haspet($n)
mpechoat $n You already have a pet.
else
mpmload 16975
mpforce m16975 follow $n
mpforce m16975 mpmset self master $n
mpecho {80}a skeletal horse appears in a a black fog!!
mpforce m16975 look $n
mpforce m16975 emote walks over to $n's side.
A goblin, a trickster, a warrior? A nameless terrible thing, soaked in the blood of a billion galaxies. A most feared being in all the cosmos. Nothing could stop, hold, or reason with it. One day it would just drop out of the sky and tear down your world.
What flag(s) need to be set on a unique horse mob to make it behave like a stallion/warhorse, as opposed to a riding horse/pony? eg, it will fight along with its rider, instead of nofight or fleeing if not mounted.
"There is no safety for honest men except by believing all possible evil of evil men."
Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki
Kregor - Ranger of Tangled Trees
Rozor - Lady Luck's Duelist
Tygen - Ranger-Bard of Mielikki