![]() |
[SHARE] NPC ANIMATION GREET, WAVE ETC
its simple
In AI.OBJ into CLASS default_npc adding handlers: [php:1:eafcdb47f6] handler 3 // TALKED variable_begin "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_event // myself push_const 28 add fetch_i // sm push_const 2400 add fetch_i push_const 1 push_const 3000 push_const 10000 func_call 13 // func[AddEffectActionDesire] shift_sp -4 shift_sp -1 handler_end handler 5 // SEE_CREATURE variable_begin "creature" "i0" "myself" "_choiceN" "_code" "_from_choice" variable_end shift_sp 1 push_const 4 func_call 55 // func[Rand] shift_sp -1 push_const 0 equal branch_false L74001 L74000 shift_sp 1 push_event // myself push_const 28 add fetch_i // sm push_const 2400 add fetch_i push_const 2 push_const 3000 push_const 10000 func_call 13 // func[AddEffectActionDesire] shift_sp -4 shift_sp -1 L74001 handler_end [/php:1:eafcdb47f6] check for duplicate L branches In all children classes (for all NPC) find "handler 3 // TALKED" and before string "handler_end" in this handler insert "call_super" if u make it correct ALL vendors will start cocial move greetings etc its perfect for demo make an account to my server hehe :P |
10x .. you're the best .. works 100%
|
You're on a Sharing Spree!
:P Thx! What's next? :o |
OMG sombody stop demon :))) very good sharing....
|
been shared already
https://postpacific.mmorpg-game.onli...985&highlight= and more then once on other posts as well that i can't find Also its a mistake to add it to default_npc |
Thanks a lot Demon, tested 100% and works
In case anyone has the same doubt I have you have to put the 'call_super' just before the 'handler_end' no matter if it's like this Code:
shift s -2 |
push_const 2 <=== anim type
push_const 3000 <==== ???? push_const 10000 <=====??? anyone know? |
Quote:
Oso |
Quote:
yes it was but WRONG this is correct |
Thx, works good.
Can u add fuction: turn to player (as off)? |
i do in my server :)
|
Can u share it? :)
|
nope :|
|
Quote:
|
push_const 2 <=== anim type
push_const 3000 <==== time push_const 10000 <=====desire |
Quote:
And btw it wasnt wrong. |
Quote:
Happy NOW ?? |
Quote:
nothing to say more. |
How is it incomplete? Its only incomplete if ur a completle morron and can't add the code to ur own AI. It's the reason why most ppl dont learn stuff, others do all the work for them. What was posted was MORE then enough.
Btw i would still like to see that |
perfect job, ty ty
|
Quote:
we'll let you win next euro np dont cry now |
Sheesh.. guys.. please stop the bitchfights! :P
//Offtopic Demon, you'll only win next Euro if Scolari isn't booted... |
:P see ya in eurovision :P
|
Dude what the fuck has my nationality have anything to do with this?
Secondly what exactly did i say that was bullshit? Third and last, fuck off! Oh and im still waiting to see that |
Metalmurphy, why u're comming to mod section for ?
i saw in search that your favorite section is game help, there you have 18 from your 20 threads..asking us for help. So next time someone posts something for the general good try not to be rude BECAUSE U NEVER SHARED A SHIT except that stupid multisell for duals which is copy paste without brain usage.. Someone close threat plz. thx. |
Nice attitude Metalmurphy....
//Off topic and in Portuguese. Pá, fdx.. vê lá se moderas a tua atitude.. acho que o caralho do arrogante norueguês, ou dinamarquês te anda a fazer mal.. depois não te queixes. |
+1
|
Excuse me?? All my threads on help section im asking for information. yes thats right, INFO ONLY! You dont see me begging for files or for ppl to do my dirty work.
You should search ur topics as well, at least i dont make any "OMG PLX HELP THX!!!" threads oO |
Go on plz :lol
http://img205.imageshack.us/img205/6...fe780518gw.gif |
Oh and as for the mutilsells i used, i know theres no brain usage, but there was alot of research on retail for it. And seeing the ammount of downloads most ppl on this forum are probably using it.
As for this post, theres no brain usage either, and it was shared already, more then twice. There's nothing to go on about Aspire. Just lock/delete this thread. |
yes u're right
this forum have lots of brainless ppl like u make shares for them np :) |
Sheesh.. can you two "kids" stop it? You're ruining the topic?
|
good share demon
no more fight pliz //close topic (coño metal si tienes una opinion negativa no la espreses estamos para ayudarnos) jojo :evil: |
Ready who can lay out?
|
hmmm....if i understand all right, i shoul add Demon cod to default_npc class, and add call_super to all children npc(default_npc) to handler 3 //talked in the end of this handler, before handler_end
Like this: Call_super Handler_end if i made all right? why i have a lot of errors in my NPC server? plz help me, if you can! |
which all npcs are children npcs ?
its for example class citizen : default_npc ? |
No. All Demon's code must be in the end of default_npc class.
This ai working on every npc\monsters. |
its really cool and nice :-) ... but why elf woman have same voice as human woman?
|
'cause they are humans with strange ears? :D
|
hehe this can be used on monsters too? I added it to citizens only.. what about using on c3 summon (blue horse)? its default npc too.. ;-D
|
| All times are GMT. The time now is 23:37. |