![]() |
[Sharing] Baium using 4 skills !
well i think that its time to share this with the rest of the community, dont flame, spam, and all that shit please, just took the code and done, if you want edit the drop list and done, is working without bugs, and use the npcpos posted by BG.
Npcdata.txt Code:
npc_begin warrior 12372 [baium] level=85 exp=602565565 acquire_exp_rate=1.8 undying=0 can_be_attacked=1 acquire_sp=10000 race=dragon sex=male temper=100 safe_height=100 org_jump=15 skill_list={} magic_list={} max_item=50 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={{{{[adena];20000000;30000000;100}};100};{{{[heavy_war_axe];1;1;25};{[rp_hazard_bow_i];1;1;12};{[dark_elven_long_bow];1;1;25};{[rp_sword_of_damascus_i];1;1;19};{[rp_shrnoen's_leather_gaiters_i];1;1;19}};60};{{{[divine_hose];1;1;25};{[divine_tunic];1;1;15};{[blessed_gloves];1;1;30};{[divine_boots];1;1;30}};80};{{{[adamantite_earing];1;1;35};{[adamantite_ring];1;1;45};{[adamantite_necklace];1;1;20}};100};{{{[scroll_of_escape_to_castle];1;9;35};{[silver_arrow];100;500;40};{[blue_wolve's_breastplate_part];1;9;25}};100}} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=100 base_damage_range={0;0;80;300} base_rand_dam=12 str=60 int=60 dex=60 wit=60 con=60 men=60 hp_increase=200 mp_increase=150 org_hp_regen=12 org_mp_regen=12 ground_low={50;0;10} ground_high={186;-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=900 sight={0;0;2500;120;5} agro_range=2000 org_hp=1000000 org_mp=500000 base_defend=1200 base_magic_attack=900 base_magic_defend=1200 base_physical_attack=3000 physical_hit_modify=6 physical_avoid_modify=6 base_attack_speed=333 base_reuse_delay=0 base_critical=6 magic_use_speed_modify=0 status={normal} align=-1444 collision_radius=65 collision_height=174 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[baium];{[PhysicalSpecial]=@s_baium_normal_attack};{[HoldMagic]=@s_energy_wave};{[SelfRangeDDMagic]=@s_earth_quake};{[DeBuff]=@s_thunderbolt}} corpse_time=10 no_sleep_mode=1 npc_endCode:
[baium] = 1012372Code:
skill_begin skill_name = [s_baium_normal_attack] /* [????] */ skill_id = 4127 level = 1 operate_type = A1 magic_level = 80 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 100 effective_range = 150 skill_hit_time = 1.5 skill_cool_time = 0.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_endCode:
[s_baium_normal_attack] = 1056513Code:
1056513 100 0 0 3 -100 29 -1 0 2 -1 0 -12345Code:
class warrior_baium_physicalspecial : warrior |
Very nice! :)
Will give it a try in a bit. Thanks for the share! :D |
Nice :P
Will give you a report after I test it ^^ |
goooood^^
especially the ai stuff is interestin... |
awesome
thks btw i dont think u have to define skills their skill_list={@s_baium_normal_attack;@s_energy_wave; @s_earth_quake;@s_thunderbolt} its for passive skills |
Quote:
[Updated now] |
nice job...:)
thx |
/me bows down to SoaPy!
/me looks at SoaPy's sig /me bows down again |
Very good single work... I have a doubt since I make to go down to him a little the attack does so many skill that some do not do them. -
Sorry by my badly ingles |
I have checked this over and over, and I still get invalid skill_name_id errors for 1057281 and 1056769
Eh? |
check in skill_pch and you will see witch skill who use 1057281 & 1056769
1057281 should be [s_striking_of_thunderbolt] and 1056769 should be [s_energy_wave] |
This is what I got.
Code:
[s_baium_normal_attack] = 1056513Code:
territory_begin [toi_14] {{112935;14346;10072;40152};{116631;14671;10072;40152};{116142;17560;10072;40152};{112842;17651;10072;40152}} territory_end Code:
1056513 100 0 0 3 -100 29 -1 0 2 -1 0 -12345Code:
npc_begin warrior 12372 [baium] level=85 exp=602565565 acquire_exp_rate=1.8 undying=0 can_be_attacked=1 acquire_sp=10000 race=dragon sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_summon_magic_defence} magic_list={} max_item=50 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={{{{[adena];20000000;30000000;100}};100};{{{[heavy_war_axe];1;1;25};{[rp_hazard_bow_i];1;1;12};{[dark_elven_long_bow];1;1;25};{[rp_sword_of_damascus_i];1;1;19};{[rp_shrnoen's_leather_gaiters_i];1;1;19}};60};{{{[divine_hose];1;1;25};{[divine_tunic];1;1;15};{[blessed_gloves];1;1;30};{[divine_boots];1;1;30}};80};{{{[adamantite_earing];1;1;35};{[adamantite_ring];1;1;45};{[adamantite_necklace];1;1;20}};100};{{{[scroll_of_escape_to_castle];1;9;35};{[silver_arrow];100;500;40};{[blue_wolve's_breastplate_part];1;9;25}};100}} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=100 base_damage_range={0;0;80;300} base_rand_dam=12 str=60 int=40 dex=40 wit=40 con=40 men=40 hp_increase=200 mp_increase=150 org_hp_regen=12 org_mp_regen=12 ground_low={50;0;10} ground_high={186;-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=900 sight={0;0;2500;120;5} agro_range=2000 org_hp=1000000 org_mp=500000 base_defend=1200 base_magic_attack=900 base_magic_defend=1200 base_physical_attack=3000 physical_hit_modify=6 physical_avoid_modify=6 base_attack_speed=333 base_reuse_delay=0 base_critical=6 magic_use_speed_modify=0 status={normal} align=-1444 collision_radius=65 collision_height=174 category={} clan={} clan_help_range=300 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[baium];{[PhysicalSpecial]=@s_baium_normal_attack};{[HoldMagic]=@s_energy_wave};{[SelfRangeDDMagic]=@s_earth_quake};{[DeBuff]=@s_thunderbolt}} corpse_time=10 no_sleep_mode=1 npc_endCode:
skill_begin skill_name = [s_baium_normal_attack] /* [????] */ skill_id = 4127 level = 1 operate_type = A1 magic_level = 80 effect = {{i_p_attack_over_hit;22000}} is_magic = 0 mp_consume2 = 0 cast_range = 100 effective_range = 150 skill_hit_time = 1.5 skill_cool_time = 0.7 skill_hit_cancel_time = 0.5 reuse_delay = 0 attribute = attr_none effect_point = -100 target_type = enemy affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_end |
Keep up the good work m8's
|
Im working on making him start like a stone and when you hit him once then the stone will brake, we will stand up and then will start using his skills. sounds good huh?
|
wasnt such a baium released by botgod?
|
Quote:
|
huh?by who?I don't have an actually working code for that, I just tried to fix it. Do you have the code fully functional? :)
|
simple thing on npcpos on_die_summon=baium or something like that
|
I can make him appear like a stone but when I hit him once, he disappears and hits me out of nowhere. If I //summon him, he appears sitting down and he stands up. he is not a stone. I just need to combine those two :P
|
this baium ai used only 2 skills
the general attack and the wind attack :( same for every1? |
Nice soapy :)
|
Still looking for a solution on page one.
|
Correct me please!
As I understand, AI.OBJ parser in la2server, walk throught AI class tree and exec only this handlers, that redifined in children classes, so construction like i left at the bottom (get from this topic), cant work! class warrior_casting_baium_hold_magic : warrior_baium_physicalspecial parameter_define_begin int HoldMagic 1056769 parameter_define_end handler 1 // ATTACKED .... class_end class warrior_baium_casting_splash : warrior_casting_baium_hold_magic parameter_define_begin int SelfRangeDDMagic 1057025 parameter_define_end handler 1 // ATTACKED .... class_end I.E. every time should work only one ATTACKED handler in warrior_baium_casting_splash For right work, you mast create some like this class warrior_baium: warrior parameter_define_begin int HoldMagic 1056769 int SelfRangeDDMagic 1057025 etc... parameter_define_end handler 1 // ATTACKED AND THERE DESCRIPTION OF STEP BY STEP (or by expression) SKILL RUNNING .... class_end Am i right? |
| All times are GMT. The time now is 15:26. |