![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Sep 2005
Posts: 150
|
Hello,
I've made some mod for the ruin coliseum to make it work like aden coliseum. It seems to work : when the doors is close, I can't get close to the door; when I open it, I can get trough the door but I see it still closed. I think it's staticobject issues ? Since when I get my mouse on the door, it doesn't "shine". I've tried to use C4 staticobject but it don't seems to work. Any idea ? Kind Regard. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 150
|
Since it was going to be my first "share" (It isnt my very own works like you'll see).
Based on melco off aden coliseum : https://postpacific.loc-online.com/f...light=coliseum Server Side : aeradata.txt Code:
//Dark Coliseum Aera data shared by Krapno
area_begin name=[darkelven_pvp_battle] type=battle_zone range = {{-21880;-21829;-2992;-2484};{-19771;-21829;-2992;-2484};{-19771;-20296;-2992;-2484};{-21880;-20296;-2992;-2484}} area_end
area_begin name=[darkelven_pvp_peace1] type=peace_zone range = {{-22550;-22503;-2992;-2484};{-21881;-22503;-2992;-2484};{-21881;-19695;-2992;-2484};{-22550;-19695;-2992;-2484}} area_end
area_begin name=[darkelven_pvp_peace2] type=peace_zone range = {{-19770;-22503;-2992;-2484};{-19059;-22503;-2992;-2484};{-19059;-19695;-2992;-2484};{-19770;-19695;-2992;-2484}} area_end
area_begin name=[darkelven_pvp_peace3] type=peace_zone range = {{-21880;-22503;-2992;-2484};{-19771;-22503;-2992;-2484};{-19771;-21829;-2992;-2484};{-21880;-21829;-2992;-2484}} area_end
area_begin name=[darkelven_pvp_peace4] type=peace_zone range = {{-21880;-20296;-2992;-2484};{-19771;-20296;-2992;-2484};{-19771;-19695;-2992;-2484};{-21880;-19695;-2992;-2484}} area_end
Code:
class dark_coliseum_director : citizen
parameter_define_begin
float UseSkill_DecayRatio 660xx.xx0000
float UseSkill_BoostValue 1000xx.xx0000
string door1 "de_ruins_coliseum_outter01"
string door2 "de_ruins_coliseum_outter02"
string door3 "de_ruins_coliseum_inner01"
string door4 "de_ruins_coliseum_inner02"
parameter_define_end
handler 13 // CREATED
variable_begin
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8899. "de_ruins_coliseum_outter01"
push_string S8899
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8900. "de_ruins_coliseum_outter02"
push_string S8900
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8901. "de_ruins_coliseum_inner01"
push_string S8901
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8902. "de_ruins_coliseum_inner02"
push_string S8902
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
handler 32 // MENU_SELECTED
variable_begin
"talker"
"ask"
"reply"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41934
push_event // reply
push_const 104
add
fetch_i
push_const 0
equal
and
L41934
branch_false L41938
L41935
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 100
greater_equal
branch_false L41937
L41936
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 57
push_const 100
func_call 80 // func[DeleteItem1]
shift_sp -3
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1121281
push_const 0
push_const 0
push_const 1000000
func_call 10 // func[AddUseSkillDesire]
shift_sp -5
shift_sp -1
L41937
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
jump L41942
L41938
push_event // ask
push_const 100
add
fetch_i
push_const 1
negate
equal
push_reg_sp
fetch_i
branch_false L41939
push_event // reply
push_const 104
add
fetch_i
push_const 1
equal
and
L41939
branch_false L41941
L41940
shift_sp 1
push_parameter door1
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door2
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door3
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_parameter door4
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_parameter fnHi
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
L41941
L41942
handler_end
handler 5 // SEE_CREATURE
variable_begin
"creature"
"myself"
"_choiceN"
"_code"
"_from_choice"
variable_end
shift_sp 1
S8903. "de_ruins_coliseum_outter01"
push_string S8903
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8904. "de_ruins_coliseum_outter02"
push_string S8904
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8905. "de_ruins_coliseum_inner01"
push_string S8905
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
shift_sp 1
S8906. "de_ruins_coliseum_inner02"
push_string S8906
push_const 0
func_call 125 // func[Castle_GateOpenClose2]
shift_sp -2
shift_sp -1
handler_end
class_end
Code:
<html><head><body>Dark Arena Director: Play the game according to the rules! The loser should be silent! What? Unfair? Then, why don't you hold your tongue and give it another try! <a action="bypass -h menu_select?ask=-1&reply=0"> HP Recovery: consumption of 100 adena</a> <a action="bypass -h menu_select?ask=-1&reply=1">Open door</a> </body></head></html Code:
// 19_17 Dark Elvel Ruins Coliseum shared by HF
door_begin [de_ruins_coliseum_outter01] type=normal_type static_object_id=19170001 open_method=by_npc pos={-23265;-21025;-2692} range={{-23295;-21125;-2992};{-23235;-21125;-2992};{-23235;-20925;-2992};{-23295;-20925;-2992}} height=300 hp=316500 physical_defence=644 magical_defence=518 door_end
door_begin [de_ruins_coliseum_inner01] type=normal_type static_object_id=19170002 open_method=by_npc pos={-22540;-21025;-2692} range={{-22570;-21125;-2992};{-22510;-21125;-2992};{-22510;-20925;-2992};{-22570;-20925;-2992}} height=300 hp=316500 physical_defence=644 magical_defence=518 door_end
door_begin [de_ruins_coliseum_inner02] type=normal_type static_object_id=19170003 open_method=by_npc pos={-19130;-21025;-2692} range={{-19160;-21125;-2992};{-19100;-21125;-2992};{-19100;-20925;-2992};{-19160;-20925;-2992}} height=300 hp=316500 physical_defence=644 magical_defence=518 door_end
door_begin [de_ruins_coliseum_outter02] type=normal_type static_object_id=19170004 open_method=by_npc pos={-18400;-21025;-2692} range={{-18430;-21125;-2992};{-18370;-21125;-2992};{-18370;-20925;-2992};{-18430;-20925;-2992}} height=300 hp=316500 physical_defence=644 magical_defence=518 door_end
Code:
npc_begin citizen 60020 [dark_coliseum_director] level=70 exp=4296345xx.xx5 acquire_exp_rate=0.1 undying=1 can_be_attacked=0 acquire_sp=10 race=human 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=23.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={[dark_coliseum_director];{[fnHi]=[dark_coliseum_director.htm]}} corpse_time=7 no_sleep_mode=0 npc_end
Code:
territory_begin [dark_coliseum_director1] {{-22637;-21937;-3000;-2985};{-22637;-21937;-3000;-2985};{-22637;-21937;-3000;-2985};{-22637;-21937;-3000;-2985}} territory_end
npcmaker_begin [dark_coliseum_director1] initial_spawn=all maximum_npc=1
npc_begin [dark_coliseum_director] pos={-22637;-21937;-3000;32768} total=1 respawn=1min npc_end
npcmaker_end
territory_begin [dark_coliseum_director2] {{-19047;-21113;-3000;-2985};{-19047;-21113;-3000;-2985};{-19047;-21113;-3000;-2985};{-19047;-21113;-3000;-2985}} territory_end
npcmaker_begin [dark_coliseum_director2] initial_spawn=all maximum_npc=1
npc_begin [dark_coliseum_director] pos={-19047;-21113;-2992;0} total=1 respawn=1min npc_end
npcmaker_end
Code:
point_begin
point_name=[dark_coliseum]
point={-21880;-21829;-2992}
point={-19771;-21829;-2992}
point={-19771;-20296;-2992}
point={-21880;-20296;-2992}
chao_point={-21880;-21829;-2992}
chao_point={-19771;-21829;-2992}
chao_point={-19771;-20296;-2992}
chao_point={-21880;-20296;-2992}
map={19;17}
banned_race={}
point_end
Code:
skill_begin skill_name = [s_healnpc] /* [?] */ skill_id = 4380 level = 1 operate_type = A1 magic_level = 70 effect = {{i_heal;5000}} is_magic = 1 mp_consume2 = 0 cast_range = 600 effective_range = 1000 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = target affect_scope = single next_action = none skill_end
Code:
[s_healnpc] = 1121281 Code:
1121281 600 0 0 1 0 29 -1 0 0 0 1 -12345 npcname-e.dat Code:
npc_begin id=60020 nickcolor=default nick=[] name=[Juigo] npc_end Code:
npc_begin npc_id=60020 npc_name=[] npc_speed=1 class_name=[LineageNPC.a_fighterguild_teacher_MHuman] mesh_name=[LineageNPCs.a_fighterguild_teacher_MHuman_m00] texture_name={[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b00];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_b01];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_f];[LineageNPCsTex.a_fighterguild_teacher_MHuman_m00_t00_h]} texture_name_second={[]} collision_radius=N/A collision_height=N/A attack_sound1={[ItemSound.fist_1];[ItemSound.fist_2];[ItemSound.fist_3]} defense_sound1={[ItemSound.armor_leather_2];[ItemSound.armor_leather_4];[ItemSound.armor_leather_5];[ItemSound.armor_leather_6];[IteamSound.armor_leather_7]} damage_sound={[ChrSound.MNpc_Fighter_Dmg_1];[ChrSound.MNpc_Fighter_Dmg_2];[ChrSound.MNpc_Fighter_Dmg_3]} sound_vol=250 sound_radius=50 sound_random=70 attack_effect=[LineageEffect.p_u002_a] quest_be=0 level_limit={0;0} class_limit={} silhouette={[]} property_list={0} social=1 c3attr=0 npc_end
Code:
staticobject_begin id=19170001 name=[Ruin Coliseum Door] staticobject_end staticobject_begin id=19170002 name=[Ruin Coliseum Door] staticobject_end staticobject_begin id=19170003 name=[Ruin Coliseum Door] staticobject_end staticobject_begin id=19170004 name=[Ruin Coliseum Door] staticobject_end |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|