![]() |
[SHARE]Anti train ai
Code:
class stock_teleport : warriorLeachers, please don't change something and write here that code doesn't work :D |
really sorry but whats "anti train"? :P
|
omg if this really works is a great add !! testing it , ill get back to you once i finish test.
thanks for the share =) |
yes awesome
got to test that |
omg very nice :D
in test... |
Quote:
|
а можно исходничек поглядеть?
post please sources... i wont to see how its work :P |
it must be added after warrior : default_npc ?
|
what exactly does it do
what exactly does it do?
|
Hm, 100% work?)
|
please share sources...
|
<rus> да не стоит заморачиваться, косячит данный фикс не по детски, без него даж лучше. В лучшем случае портнет только моба которого атакуешь, да и то если очень не повезет, у меня при тесте уткнувшись в стену не портнуло ни разу, уткнувшись в забор периодически портило, но например за то время пока моб соображал портнуться, он врядли бы выжил.<rus>
|
<rus>Ну может можно доработать скрипт, тока не по стековому варианту а по исходникам....<rus>
|
dar55, try to do same thing with mass magic.
<rus>Короче можно сделать так чтобы к лучникам телепортились. Тока тогда они будут ещё и не во время паровоза телепортиться.</rus> If you can make better - just do it. |
<rus>А что бы под стенами не стояли и не тупили можно ?</rus>
|
<rus> можно, есть даже такой вариант, но вроде говорят немного не доделан<rus>
|
Tnx for share, mate. Btw is this Russian forum :?
|
thanks for sharing. How can I use it?
|
You must set this ai to mobs.
Example: replace class gremlin : warrior_passive with class gremlin : stock_teleport |
Quote:
Also.. if the same AI is used for all mobs, they will no longer be agressive.. or they will all be aggressive...? |
No. If you need agressive mob made it class xxx : warrior_aggressive.
|
But that just negates the need for the anti-train function. So only non-aggressive mobs will be affected by the anti-train function? Pointless in my honest opinion.
|
You just need to use your brain to make it really usable. :)
|
what is the effect on users then?
|
Quote:
|
hmmm so if the shared ai is for passive monsters, then compare the code to warrior_passive and then replace that section or sections with the warrior_aggressive coding and wa-la.
|
very works, or I dunno how you russians spell that
|
one of the most confirmed scripts here on PP; have tried even with the c3 and _screw, _cloud spells
|
cool_santino
Вот искодник. Делать нефиг было переписал. |
Quote:
Делись декомпилером :):) |
I guess that mobs with attack skills cannot use them, and they will only use melee attack. is that right?
|
Tested but no effect at all...
|
Quote:
|
Quote:
|
dit know whats wrong :/
http://img311.imageshack.us/img311/491/shot000368be.jpg all these npc has stack_teleporter ai Code:
npc_begin warrior 198 [neer_crawler_frak] level=29 exp=3949754.5 acquire_exp_rate=3.66 undying=0 can_be_attacked=1 acquire_sp=165 race=undead sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_soft_bones;@s_unholy} magic_list={} max_item=50 item_make_list={} corpse_make_list={{[advanced_antidote];1;1;90};{[advanced_antidote];1;1;90}} additional_make_list={} additional_make_multi_list={{{{[adena];444;879;100}};90};{{{[elven_tunic];1;1;0.9308};{[white_tunic];1;1;0.9308};{[white_tunic_pattern];1;1;xx.xx66};{[mage's_tunic];1;1;0.9308};{[elven_hose];1;1;1.4878};{[dark_hose];1;1;1.4878};{[dark_hose_fabric];1;1;xx.xx77};{[mage's_hose];1;1;1.4877}};4.4364};{{{[charcoal];1;1;xx.xx96};{[thread];1;1;xx.xx91};{[cord];1;1;xx.xx13}};xx.xx84}} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=40 base_damage_range={0;0;80;120} base_rand_dam=30 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=10 mp_increase=3 org_hp_regen=3.5 org_mp_regen=1.5 ground_low={50;0;10} ground_high={90;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1000 org_hp=5xx.xx9167019678 org_mp=3xx.xx base_defend=1xx.xx597751854 base_magic_attack=xx.xx36709389587 base_magic_defend=xx.xx63831718592 base_physical_attack=xx.xx2021797265 physical_hit_modify=4.75 physical_avoid_modify=0 base_attack_speed=253 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-841 collision_radius=14 collision_height=22 category={} clan={@neer_crawler_clan} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[stock_teleport]} corpse_time=7 no_sleep_mode=0 npc_endthey react in buffs too, So : it's not working o i just done somethig wrong |
add skill prominece for npc =))))
hehe |
Quote:
|
Somebody complete anti-train solution?
|
Sure ;)
|
Quote:
|
| All times are GMT. The time now is 16:23. |