Quote:
|
Originally Posted by Mirror
First of all good work and thanks.
|
Thanks for you too.
Quote:
|
Originally Posted by Mirror
1 in demon's version for animation there was an additional handler ( handler 5 as far as i rememeber ), any difference ?
|
Yes, the difference is. He uses handler SEE_CREATURE, I - on the timer. His variant has not approached me, as this handler works once on the player, up to his following entrance in radius of visibility npc (and it big). For servers with small amount of players there is a high probability, that players almost will not see animation: (
Quote:
|
Originally Posted by Mirror
2 testing the ai you posted ( not guild members, only the 2 first classes ), some npcs animate, but most don't.
|
It occurs because animation is incorporated in a base class "citizen" and only at its successors accordingly she will be. At present a plenty of classes in AI.obj are successors of a class defaul_npc, and it has no animation.
Quote:
|
Originally Posted by Mirror
3 i have complaints that some npcs wich animate, do not accept quest items or don't give skills. dunno whats wrong. i will check myself later, but i can't find in ai code what's wrong.
|
It is quite possible, as from a base class "default_npc" it is removed handler TALKED. For fast correction 2 variants are possible: 1) To add this handler in default_npc as it was earlier; 2) In those npc which have problems to replace a parental class on citizen (here it is necessary to be very cautious)
Quote:
|
Originally Posted by Mirror
4 maybe it would be better to provde ai in source ( nasc C syntax ) for many reasons : a.) anti-leech b.) safety c.) possible collaborative work d.) less bugs since more ppl will be able to check it.
|
Can be later... Having laid out a code there will be other questions such as " And at me it is not compiled.... At me a mistake... ". As at rewriting a code I use Items, skills, NPC's name from the server (I try to give them names as in the client) and they in do not converge with PP-release many. About command development I not against, but yet do not see it...