Im trying to implement the taming.
my first question is about use of the npcdesc in :brainai:?
2. i will need define all tamableAt, for example?
Thx. Hickstein
Animal Taming / implementing
Moderator: POL Developer
didnt understand your question hehe.
but to tame you can just ask for target, begin to send the messages, apply the time and make a skill test, you'll need a dificult for each mob or type of mob, you'll need also functions to make the animal attack the tammer depending on the tamming skills of the tammer, like a guy with 2.0 of tamming trying to tame a dragon hehe.
you'll need functions to transfer the animal to the tammer if the tamming was succesfully.
i'd advise you to make your scripts of tamming independent of AI distro script.
but you'll need functions to make the tammed animal attack, stay stoped, wander, etc, those actions that tammers do, and MAYBE you'll need to check the AI distro script, but my advise is to not try to modify it.
or checking it carefully before modifying it.
this is not just for AI, but for every script.
check http://docs.polserver.com/pol097/fullfu ... file=npcem
you'll find the most functions you need, do some tests with an test npc using those functions and see what happens, then you can make some small independent (from AI distro script) functions to walk, attack, etc.
but i believe there is something already done in disto, i dont use it, so i cant help you with that.
but to tame you can just ask for target, begin to send the messages, apply the time and make a skill test, you'll need a dificult for each mob or type of mob, you'll need also functions to make the animal attack the tammer depending on the tamming skills of the tammer, like a guy with 2.0 of tamming trying to tame a dragon hehe.
you'll need functions to transfer the animal to the tammer if the tamming was succesfully.
i'd advise you to make your scripts of tamming independent of AI distro script.
but you'll need functions to make the tammed animal attack, stay stoped, wander, etc, those actions that tammers do, and MAYBE you'll need to check the AI distro script, but my advise is to not try to modify it.
or checking it carefully before modifying it.
this is not just for AI, but for every script.
check http://docs.polserver.com/pol097/fullfu ... file=npcem
you'll find the most functions you need, do some tests with an test npc using those functions and see what happens, then you can make some small independent (from AI distro script) functions to walk, attack, etc.
but i believe there is something already done in disto, i dont use it, so i cant help you with that.
-
- New User
- Posts: 6
- Joined: Sat Feb 09, 2008 4:12 pm