![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
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 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 41
|
10x .. you're the best .. works 100%
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
You're on a Sharing Spree!
:P Thx! What's next?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2005
Posts: 599
|
OMG sombody stop demon
)) very good sharing....
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
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 |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
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
L70
call_super
handler_end
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 475
|
push_const 2 <=== anim type
push_const 3000 <==== ???? push_const 10000 <=====??? anyone know? |
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Mar 2005
Posts: 442
|
Quote:
Oso |
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
Quote:
yes it was but WRONG this is correct |
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
Thx, works good.
Can u add fuction: turn to player (as off)? |
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
i do in my server
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
Can u share it?
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
nope :|
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 41
|
Quote:
|
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Jun 2005
Posts: 285
|
push_const 2 <=== anim type
push_const 3000 <==== time push_const 10000 <=====desire |
|
|
|
|
#16 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
Quote:
And btw it wasnt wrong. |
|
|
|
|
|
#17 | ||
|
Архивный участник
Join Date: May 2005
Posts: 367
|
Quote:
Happy NOW ?? |
||
|
|
|
|
#18 | |||
|
Архивный участник
Join Date: Nov 2005
Posts: 403
|
Quote:
nothing to say more. |
|||
|
|
|
|
#19 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
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 |
|
|
|
|
#20 |
|
Архивный участник
Join Date: Mar 2006
Posts: 33
|
perfect job, ty ty
|
|
|
|
|
#21 | |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
Quote:
we'll let you win next euro np dont cry now |
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Jan 2006
Posts: 584
|
Sheesh.. guys.. please stop the bitchfights! :P
//Offtopic Demon, you'll only win next Euro if Scolari isn't booted... |
|
|
|
|
#23 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
:P see ya in eurovision :P
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
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 |
|
|
|
|
#25 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
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. |
|
|
|
|