Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.02.2006, 16:29   #1
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default [SHARE] C4 Pets

This if for you my friends - who use c4 client. BUT this pets dont work - when i dclick on flute - i summon nothing. Any help?

SORRY torune - you already share it but i share itemdata

Npcdata.txt
Code:
npc_begin	pet	12780	[baby_buffalo]	level=35	exp=85609xx.xx	acquire_exp_rate=0.1	undying=0	can_be_attacked=0	acquire_sp=1	race=humanoid	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={}	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=7	str=40	int=21	dex=30	wit=20	con=43	men=25	hp_increase=40	mp_increase=7	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={80;0;10}	ground_high={140;-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;10}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=3xx.xx9008624428	org_mp=339	base_defend=xx.xx23705788166	base_magic_attack=xx.xx87280708638	base_magic_defend=xx.xx31752994285	base_physical_attack=xx.xx22390732649	physical_hit_modify=3.75	physical_avoid_modify=0	base_attack_speed=257	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-484	collision_radius=12	collision_height=15	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[baby_buffalo]}	corpse_time=180	no_sleep_mode=0	npc_end
npc_begin	pet	12781	[baby_ostrich]	level=35	exp=85609xx.xx	acquire_exp_rate=0.1	undying=0	can_be_attacked=0	acquire_sp=1	race=humanoid	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={}	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=7	str=40	int=21	dex=30	wit=20	con=43	men=25	hp_increase=40	mp_increase=7	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={80;0;10}	ground_high={140;-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;10}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=3xx.xx9008624428	org_mp=339	base_defend=xx.xx23705788166	base_magic_attack=xx.xx87280708638	base_magic_defend=xx.xx31752994285	base_physical_attack=xx.xx22390732649	physical_hit_modify=3.75	physical_avoid_modify=0	base_attack_speed=257	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-484	collision_radius=7	collision_height=15	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[baby_ostrich]}	corpse_time=180	no_sleep_mode=0	npc_end
npc_begin	pet	12782	[baby_tiger]	level=35	exp=85609xx.xx	acquire_exp_rate=0.1	undying=0	can_be_attacked=0	acquire_sp=1	race=humanoid	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={}	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=7	str=40	int=21	dex=30	wit=20	con=43	men=25	hp_increase=40	mp_increase=7	org_hp_regen=4.5	org_mp_regen=1.8	ground_low={80;0;10}	ground_high={140;-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;10}	org_earshot=100	sight={0;0;2500;120;5}	agro_range=1000	org_hp=3xx.xx9008624428	org_mp=339	base_defend=xx.xx23705788166	base_magic_attack=xx.xx87280708638	base_magic_defend=xx.xx31752994285	base_physical_attack=xx.xx22390732649	physical_hit_modify=3.75	physical_avoid_modify=0	base_attack_speed=257	base_reuse_delay=0	base_critical=4	magic_use_speed_modify=0	status={normal}	align=-484	collision_radius=11	collision_height=15.7	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[baby_tiger]}	corpse_time=180	no_sleep_mode=0	npc_end
Npc_pch.txt
Code:
[baby_buffalo]	=	1012780
[baby_ostrich]	=	1012781
[baby_tiger] 	=	1012782
Itemdata.txt
Code:
item_begin	etcitem	6648	[baby_buffalo]	item_type=weapon	slot_bit_type={none}	armor_type=none	etcitem_type=pet_collar	blessed=0	weight=20	default_action=action_skill_maintain	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=0	spiritshot_count=0	immediate_effect=0	price=0	default_price=1000	item_skill=[s_wolf_collar]	critical_attack_skill=[none]	material_type=steel	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	damaged=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6649	[baby_kookaburra]	item_type=weapon	slot_bit_type={none}	armor_type=none	etcitem_type=pet_collar	blessed=0	weight=20	default_action=action_skill_maintain	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=0	spiritshot_count=0	immediate_effect=0	price=0	default_price=1000	item_skill=[s_wolf_collar]	critical_attack_skill=[none]	material_type=steel	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	damaged=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
item_begin	etcitem	6650	[Baby_Cougar]	item_type=weapon	slot_bit_type={none}	armor_type=none	etcitem_type=pet_collar	blessed=0	weight=20	default_action=action_skill_maintain	consume_type=consume_type_normal	initial_count=1	maximum_count=1	soulshot_count=0	spiritshot_count=0	immediate_effect=0	price=0	default_price=1000	item_skill=[s_wolf_collar]	critical_attack_skill=[none]	material_type=steel	crystal_type=none	crystal_count=0	is_trade=1	is_drop=1	is_destruct=1	physical_damage=0	random_damage=0	weapon_type=none	can_penetrate=0	critical=0	hit_modify=0	avoid_modify=0	dual_fhit_rate=0	shield_defense=0	shield_defense_rate=0	attack_range=0	effective_range=0	damage_range={}	attack_speed=0	reuse_delay=0	mp_consume=0	magical_damage=0	durability=0	damaged=0	physical_defense=0	magical_defense=0	mp_bonus=0	category={}	enchanted=0	html=[item_default.htm]	equip_pet={0}	magic_weapon=0	item_end
Item_pch.txt
Code:
[baby_buffalo]	=	6648
[baby_kookaburra]	=	6649
[Baby_Cougar]	=	6650
ai.obj
Code:
class baby_buffalo : pet_physicalattack 
class_end

class baby_ostrich : pet_physicalattack 
class_end

class baby_tiger : pet_physicalattack 
class_end

This is c4 pets only small - a have big one and ill share it late.
Domzelan is offline  
Old 12.02.2006, 16:51   #2
Sdw
Архивный участник
 
Join Date: Sep 2005
Posts: 150
Default

Just make a NPC that give you the flute. Here is what I've made, the whole thing, cause I don't have the time to check your id.

Begin with the pet:

npcdata
Code:
npc_begin   pet   12780   [baby_buffalo]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=12   collision_height=15   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[baby_buffalo]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12781   [baby_ostrich]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=7   collision_height=15   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[baby_ostrich]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12782   [baby_tiger]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=11   collision_height=15.7   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[baby_tiger]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12783   [pet_ostrich_a]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=21   collision_height=31.5   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[pet_ostrich]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12784   [pet_ostrich_b]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=21   collision_height=31.5   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[pet_ostrich]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12785   [pet_buffalo_a]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=10   collision_height=33   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[pet_buffalo]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12786   [pet_buffalo_b]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=10   collision_height=33   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[pet_buffalo]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12787   [saber_toothed_tiger_a]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=20   collision_height=22.5   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[saber_toothed_tiger]}   corpse_time=180   no_sleep_mode=0   npc_end
npc_begin   pet   12788   [saber_toothed_tiger_b]   level=35   exp=4370195   acquire_exp_rate=0.1   undying=0   can_be_attacked=0   acquire_sp=1   race=humanoid   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={}   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=7   str=40   int=21   dex=30   wit=20   con=43   men=25   hp_increase=40   mp_increase=7   org_hp_regen=4.5   org_mp_regen=1.8   ground_low={80;0;10}   ground_high={140;-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;10}   org_earshot=100   sight={0;0;2500;120;5}   agro_range=1000   org_hp=3xx.xx9008624428   org_mp=339   base_defend=xx.xx23705788166   base_magic_attack=xx.xx87280708638   base_magic_defend=xx.xx31752994285   base_physical_attack=xx.xx22390732649   physical_hit_modify=3.75   physical_avoid_modify=0   base_attack_speed=257   base_reuse_delay=0   base_critical=4   magic_use_speed_modify=0   status={normal}   align=-484   collision_radius=20   collision_height=22.5   category={}   clan={}   clan_help_range=300   guild={}   pledge={}   pledge_leader=0   alliance={}   alliance_leader=0   ignore_clan_list={}   ruler=0   ruling_domain={}   npc_ai={[saber_toothed_tiger]}   corpse_time=180   no_sleep_mode=0   npc_end
AI
Code:
class baby_buffalo : pet_physicalattack
class_end
class baby_ostrich : pet_physicalattack
class_end
class baby_tiger : pet_physicalattack
class_end
class pet_ostrich : pet_physicalattack
class_end
class pet_buffalo : pet_physicalattack
class_end
class saber_toothed_tiger : pet_physicalattack
class_end
npcpch
Code:
[baby_buffalo]   =   1012780
[baby_ostrich]   =   1012781
[baby_tiger]   =   1012782
[pet_ostrich_a]   =   1012783
[pet_ostrich_b]   =   1012784
[pet_buffalo_a]   =   1012785
[pet_buffalo_b]   =   1012786
[saber_toothed_tiger_a]   =   1012787
[saber_toothed_tiger_b]   =   1012788
Make petdata on your own, forum don't like it :?
Sdw is offline  
Old 12.02.2006, 16:52   #3
Sdw
Архивный участник
 
Join Date: Sep 2005
Posts: 150
Default

Damn error -_-

Now the npc :

AI
Code:
class pet_dude : citizen
handler 32   //  MENU_SELECTED
   variable_begin
      "ask"
      "reply"
      "talker"
      "myself"
      "_choiceN"
      "_code"
      "_from_choice"
   variable_end
   push_event   //  ask
   push_const 100
   add
   fetch_i
   push_const 1
   equal
   branch_false L50000
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 0
   equal
   branch_false L50000
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6648
   push_const 1012780
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50000
L50000
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 1
   equal
   branch_false L50001
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6648
   push_const 1012781
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50001
L50001
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 2
   equal
   branch_false L50002
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6649
   push_const 1012782
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50002
L50002
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 3
   equal
   branch_false L50003
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6649
   push_const 1012786
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50003
L50003
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 4
   equal
   branch_false L50004
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6650
   push_const 1012787
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50004
L50004
   push_event   //  reply
   push_const 104
   add
   fetch_i
   push_const 5
   equal
   branch_false L50005
   shift_sp 1
   push_event   //  talker
   push_const 32
   add
   fetch_i
   push_const 6650
   push_const 1012788
   func_call 196   //  func[CreatePet]
   shift_sp -3
   shift_sp -1
   jump L50005
L50005
   call_super
handler_end

class_end
npcdata, well I'm using Taurin since wh don't work on C4 anyway & I just wanted to see them for fun. Just use the npc you want. Just need to replace AI.
Code:
npc_begin	warehouse_keeper	7086	[taurin]	level=70	exp=4296345xx.xx5	acquire_exp_rate=0.3	undying=1	can_be_attacked=0	acquire_sp=30	race=dwarf	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=80	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	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=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-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=24xx.xx818899627	org_mp=1345.8	base_defend=2xx.xx597408024	base_magic_attack=4xx.xx4627426724	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx3725587608	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=-4900	collision_radius=8	collision_height=17	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[pet_dude];{[fnHi] = [petdude.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end

itemdata
Code:
item_begin   etcitem   6648   [ostrich_flute_a]   item_type=etcitem   slot_bit_type={none}   armor_type=none   etcitem_type=pet_collar   blessed=0   weight=20   default_action=action_skill_maintain   consume_type=consume_type_normal   initial_count=1   maximum_count=1   soulshot_count=0   spiritshot_count=0   immediate_effect=0   price=0   default_price=1000   item_skill=[s_wolf_collar]   critical_attack_skill=[none]   material_type=steel   crystal_type=none   crystal_count=0   is_trade=1   is_drop=1   is_destruct=1   physical_damage=0   random_damage=0   weapon_type=none   can_penetrate=0   critical=0   hit_modify=0   avoid_modify=0   dual_fhit_rate=0   shield_defense=0   shield_defense_rate=0   attack_range=0   effective_range=0   damage_range={}   attack_speed=0   reuse_delay=0   mp_consume=0   magical_damage=0   durability=0   damaged=0   physical_defense=0   magical_defense=0   mp_bonus=0   category={}   enchanted=0   html=[item_default.htm]   equip_pet={0}   magic_weapon=0   item_end
item_begin   etcitem   6649   [buffalo_flute_a]   item_type=etcitem   slot_bit_type={none}   armor_type=none   etcitem_type=pet_collar   blessed=0   weight=20   default_action=action_skill_maintain   consume_type=consume_type_normal   initial_count=1   maximum_count=1   soulshot_count=0   spiritshot_count=0   immediate_effect=0   price=0   default_price=1000   item_skill=[s_wolf_collar]   critical_attack_skill=[none]   material_type=steel   crystal_type=none   crystal_count=0   is_trade=1   is_drop=1   is_destruct=1   physical_damage=0   random_damage=0   weapon_type=none   can_penetrate=0   critical=0   hit_modify=0   avoid_modify=0   dual_fhit_rate=0   shield_defense=0   shield_defense_rate=0   attack_range=0   effective_range=0   damage_range={}   attack_speed=0   reuse_delay=0   mp_consume=0   magical_damage=0   durability=0   damaged=0   physical_defense=0   magical_defense=0   mp_bonus=0   category={}   enchanted=0   html=[item_default.htm]   equip_pet={0}   magic_weapon=0   item_end
item_begin   etcitem   6650   [saber_toothed_tiger_flute_a]   item_type=etcitem   slot_bit_type={none}   armor_type=none   etcitem_type=pet_collar   blessed=0   weight=20   default_action=action_skill_maintain   consume_type=consume_type_normal   initial_count=1   maximum_count=1   soulshot_count=0   spiritshot_count=0   immediate_effect=0   price=0   default_price=1000   item_skill=[s_wolf_collar]   critical_attack_skill=[none]   material_type=steel   crystal_type=none   crystal_count=0   is_trade=1   is_drop=1   is_destruct=1   physical_damage=0   random_damage=0   weapon_type=none   can_penetrate=0   critical=0   hit_modify=0   avoid_modify=0   dual_fhit_rate=0   shield_defense=0   shield_defense_rate=0   attack_range=0   effective_range=0   damage_range={}   attack_speed=0   reuse_delay=0   mp_consume=0   magical_damage=0   durability=0   damaged=0   physical_defense=0   magical_defense=0   mp_bonus=0   category={}   enchanted=0   html=[item_default.htm]   equip_pet={0}   magic_weapon=0   item_end
itempch
Code:
[ostrich_flute_a] = 6648
[buffalo_flute_a] = 6649
[saber_toothed_tiger_flute_a] = 6650
petdude.htm
Code:
<html>
<head>
<body>
I'm selling some C4 pet, here you go.

<a action="bypass -h menu_select?ask=1&reply=0">Baby Ostrich</a>

<a action="bypass -h menu_select?ask=1&reply=1">Ostrich</a>

<a action="bypass -h menu_select?ask=1&reply=2">Baby Buffalo</a>

<a action="bypass -h menu_select?ask=1&reply=3">Buffalo</a>

<a action="bypass -h menu_select?ask=1&reply=4">Baby Cougar</a>

<a action="bypass -h menu_select?ask=1&reply=5">Cougar</a>

</body>
</html>
Hope I don't forget anything.
Sdw is offline  
Old 12.02.2006, 17:57   #4
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

He thx - now i understand all i need
Domzelan is offline  
Old 12.02.2006, 18:08   #5
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

Thanks
kepler001 is offline  
Old 14.02.2006, 01:43   #6
Kirikups
Архивный участник
 
Join Date: Oct 2005
Posts: 175
Default

we need to add create_pet 9,10,11 ... by hexing now, right ?
Kirikups is offline  
Old 14.02.2006, 07:48   #7
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

Yes - you need hex
Domzelan is offline  
Old 09.05.2006, 19:38   #8
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

and the food ??
kepler001 is offline  
Old 10.05.2006, 01:41   #9
Eanae
Архивный участник
 
Join Date: Jun 2005
Posts: 262
Default

Quote:
Originally Posted by kepler001
and the food ??
Use the hatcling food as an example... it's not very hard...
Eanae is offline  
Old 10.05.2006, 02:06   #10
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

7582 baby spice
kepler001 is offline  
Old 10.05.2006, 12:44   #11
Mattho
Архивный участник
 
Join Date: Jan 2006
Posts: 188
Default

Eanae > but from where i can get the numbers for food? Or it's just ammount?
Mattho is offline  
Old 10.05.2006, 16:41   #12
Amanda
Архивный участник
 
Join Date: May 2006
Posts: 13
Default

nice share thk (+^_^+)
Amanda is offline  
Old 10.05.2006, 18:41   #13
Zeran
Архивный участник
 
Join Date: Mar 2006
Posts: 97
Default

ty man!
testing testing
2Amanda: nice avatar...
Zeran is offline  
Old 10.05.2006, 21:13   #14
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Tnx for the share !!! :wink:

OFFTOPIC : Zeran i like your avatar more :lol:
TheOrder is offline  
Old 11.05.2006, 06:15   #15
mantrastic
Архивный участник
 
Join Date: Apr 2006
Posts: 338
Default

Thanks for the share! good work :P
mantrastic is offline  
Old 11.05.2006, 11:52   #16
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

like good ol times
[php:1:b9633eb095]
class default_npc {}

class baby_pet : default_npc
{
parameter:
int MeatReuse = 1000;
int MeatAmount = 1;
int Meat = @food_for_baby;

int SkillReuse = 100000;
int HealMagic = @s_pet_playful_heal1;

handler:
EventHandler CREATED()
{
AddPetDefaultDesire_Follow(200.0);
AddTimerEx(100070, MeatReuse); //Auto food
AddTimerEx(100079, SkillReuse); //AUto -random- skill
}
EventHandler NO_DESIRE()
{
AddPetDefaultDesire_Follow(200.0);
AddTimerEx(100070, MeatReuse);
AddTimerEx(100079, SkillReuse);
}
EventHandler TIMER_FIRED_EX(myself, timer_id)
{
if (timer_id == 100070)
{
if (myself.master.alive == 0)
{
Despawn();
}//CHANGE MAX HP TO myself.sm.m_MaxMeal and replace constant 1000 to push_const 1724
if ((myself.sm.m_Meal <= ((myself.sm.max_hp*55)/100)) && (OwnItemCount(myself.sm.master, Meat) > 0))
{
myself.sm.m_Meal = (myself.sm.m_Meal+100);
DeleteItem1(myself.sm.master, Meat, 1);
AddEffectActionDesire(myself.master, 3, 3000, 10000);
}
AddTimerEx(100070, MeatReuse);
}
if (timer_id == 100079)
{
if (myself.master.alive == 0)
{
Despawn();
}
if(Skill_GetConsumeMP(HealMagic) < myself.sm.mp && Skill_GetConsumeHP(HealMagic) < myself.sm.hp && Rand(100) < 40)
{
AddUseSkillDesire(myself.master, HealMagic, 1, 1, 1000000);
AddEffectActionDesire(myself.master, 4, 3000, 10000);
AddTimerEx(100079, SkillReuse);
}
}
}
EventHandler MASTER_ATTACK(target)
{
if (target != myself.sm)
AddAttackDesire(target, @AMT_MOVE_TO_TARGET, 100);
}
EventHandler TALKED(talker)
{
AddEffectActionDesire(talker, 1, 3000, 10000);
}
EventHandler SEE_CREATURE(creature, i0)
{
i0 = Rand(100);
if (DistFromMe(creature) < 300 && i0 > 80)
AddEffectActionDesire(creature, 2, 3000, 10000);
}
EventHandler MY_DYING(myself)
{
ShowSystemMessage(myself.master, 1520);
}
EventHandler MENU_SELECTED(talker, ask ,reply, i0, c0)
{
if(ask == 1)
{
i0 = myself.master.target_index;
if (i0 <= 0) return;
c0 = GetCreatureFromIndex(i0);
if (c0)
{
if(Skill_GetConsumeMP(HealMagic) < myself.sm.mp && Skill_GetConsumeHP(HealMagic) < myself.sm.hp)
AddUseSkillDesire(myself.master, HealMagic, 1, 1, 1000000);
AddEffectActionDesire(myself.master, 4, 3000, 10000);
}
}
if(ask == 1 && reply == 1) //CTRL+MOVETO = Move to master target
{
i0 = myself.master.target_index;
if (i0 <= 0) return;
c0 = GetCreatureFromIndex(i0);
AddMoveToDesire(FloatToInt(c0.x), FloatToInt(c0.y), FloatToInt(c0.z), 1000);
}
if(ask == 0 && reply == 0) //ALT+DESPAWN = Despawn
{
ShowSystemMessage(myself.master, 1520);
Despawn();
}
}
}


class baby_bufalo : baby_pet
{
}

class baby_ostrich : baby_pet
{
}

class baby_cougar : baby_pet
{
}
[/php:1:b9633eb095]
hamidouch is offline  
Old 12.05.2006, 02:38   #17
GamesX
Архивный участник
 
Join Date: Apr 2006
Posts: 52
Default

Hello!

We are going for part

Guiding for this post began to work to implant Pets of C4;

The part of NPC was everything certain, see the pictures:


As for the petdude.html had a problem, I put the AI.OBJ and HTML in NPC to I lower more when I try to catch C4Pet looks the mistake:



NPC that is:

Code:
npc_begin	warehouse_keeper	7318	[__tess_grayrock]	level=70	exp=4296345xx.xx5	acquire_exp_rate=2.1	undying=1	can_be_attacked=0	acquire_sp=840	race=dwarf	sex=male	temper=100	safe_height=100	org_jump=15	skill_list={@s_full_magic_defence}	magic_list={}	max_item=50	item_make_list={}	corpse_make_list={}	additional_make_list={}	additional_make_multi_list={}	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=40	mp_increase=7	org_hp_regen=7.5	org_mp_regen=2.7	ground_low={80;0;10}	ground_high={120;-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=24xx.xx043718861	org_mp=1345.8	base_defend=2xx.xx5970408024	base_magic_attack=4xx.xx4095517361	base_magic_defend=2xx.xx8467292763	base_physical_attack=6xx.xx5273519793	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=-4900	collision_radius=8	collision_height=17	category={}	clan={}	clan_help_range=300	guild={}	pledge={}	pledge_leader=0	alliance={}	alliance_leader=0	ignore_clan_list={}	ruler=0	ruling_domain={}	npc_ai={[pet_dude];{[fnHi] = [petdude.htm]}}	corpse_time=7	no_sleep_mode=0	npc_end
I also tried summon using the more Flutes didn't have success!


Obs: Use the AI.OBJ of Sdw

I am thinking that this AI.OBJ is not correct, because I made everything step the step and did I still revise vary times, did anybody really get to implant C4Pet or all post alone Flame were?

In case somebody has an idea, I am attentive
GamesX is offline  
Old 13.05.2006, 14:37   #18
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

petdata for baby pets
kepler001 is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:29.