![]() |
|
|
#1 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
i did this code for devil isle doors, but i have a problem, i put correct id, pos and range, but i cant target. Maybe is wrong the type and the open_method.
Code:
door_begin [pirate_isle_001] type=parent_type static_object_id=21240001 open_method=by_skill pos={41935;208337;-3720} range={{41859;208307;-3720};{41888;208285;-3720};{42001;208359;-3720};{41982;208384;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 door_end
door_begin [pirate_isle_002] type=parent_type static_object_id=21240002 open_method=by_skill pos={43745;212519;-3720} range={{43759;212594;-3720};{43732;212594;-3720};{43732;212447;-3720};{43759;212447;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 door_end
door_begin [pirate_isle_003] type=parent_type static_object_id=21240003 open_method=by_skill pos={42167;213285;-3720} range={{42237;213275;-3720};{42237;213295;-3720};{42095;213295;-3720};{42095;213275;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 door_end
door_begin [pirate_isle_004] type=parent_type static_object_id=21240004 open_method=by_skill pos={51261;206048;-3720} range={{51261;206048;-3720};{51261;206068;-3720};{51106;206068;-3720};{51106;206048;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 door_end
door_begin [pirate_isle_005] type=parent_type static_object_id=21240005 open_method=by_skill pos={52910;206721;-3720} range={{52919;206790;-3720};{52901;206790;-3720};{52901;206648;-3720};{52919;206648;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 door_end
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
Post child door data... Or you dont write it?
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
-pos need for child
-open method for parent |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
hahahah ^^, yea i wrote this code but i see now xD, i forgot the npc for open the gate, right ?, because i want to open with the skill :P.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
Can you post samle door opener npc? I whell try for end coliseum
|
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
Quote:
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
try write doors like in kruma. Must work. I senk it`s one efective method.
pos in chilt and open method in parent. If you want i can write but tomorow |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
Ok. give me 40min, i give you code
|
|
|
|
|
#9 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
Quote:
|
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
1 door or 2 door or 3... Its riteand for 5 doors
try this Code:
door_begin [pirate_isle_parent] type=parent_type open_method=by_skill close_time=600 hp=158250 physical_defence=644 magical_defence=518 level=3 door_end
door_begin [pirate_isle_001] type=child_type static_object_id=21240001 pos={41935;208337;-3720} range={{41859;208307;-3720};{41888;208285;-3720};{42001;208359;-3720};{41982;208384;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_002] type=child_type static_object_id=21240001 pos={43745;212519;-3720} range={{43759;212594;-3720};{43732;212594;-3720};{43732;212447;-3720};{43759;212447;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_003] type=child_type static_object_id=21240001 pos={42167;213285;-3720} range={{42237;213275;-3720};{42237;213295;-3720};{42095;213295;-3720};{42095;213275;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_004] type=child_type static_object_id=21240001 pos={51261;206048;-3720} range={{51261;206048;-3720};{51261;206068;-3720};{51106;206068;-3720};{51106;206048;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_005] type=child_type static_object_id=21240001 pos={52910;206721;-3720} range={{52919;206790;-3720};{52901;206790;-3720};{52901;206648;-3720};{52919;206648;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
Its open not all doors!!! Only one child!!! Why you write parent door if you dont have a child ?
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
you can change door level for quick test
|
|
|
|
|
#13 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
Quote:
|
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
If its open all doors you must only write parent door for every child... Its all...
|
|
|
|
|
#15 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
Quote:
|
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Jul 2005
Posts: 89
|
why in ai ? its code for doordata.txt
|
|
|
|
|
#17 | |
|
Архивный участник
Join Date: Feb 2005
Posts: 705
|
Quote:
|
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
there isnt any need to write anything ai
the doors are simple enough and as long as ur servertime works properly they'll all work fine. and yes... every child has to have a parent.
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Feb 2006
Posts: 4
|
Sorry, for up topic
door like this Code:
//Pirate Isle Doors
door_begin [pirate_isle_parent] type=parent_type open_method=by_skill close_time=600 hp=158250 physical_defence=644 magical_defence=518 level=3 door_end
door_begin [pirate_isle_001] type=child_type static_object_id=21240001 pos={41935;208337;-3720} range={{41859;208307;-3720};{41888;208285;-3720};{42001;208359;-3720};{41982;208384;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_002] type=child_type static_object_id=21240002 pos={43745;212519;-3720} range={{43759;212594;-3720};{43732;212594;-3720};{43732;212447;-3720};{43759;212447;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
door_begin [pirate_isle_003] type=child_type static_object_id=21240003 pos={42167;213285;-3720} range={{42237;213275;-3720};{42237;213295;-3720};{42095;213295;-3720};{42095;213275;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent] door_end
//Pirate Isle Doors2
door_begin [pirate_isle_parent2] type=parent_type open_method=by_skill close_time=600 hp=158250 physical_defence=644 magical_defence=518 level=3 door_end
door_begin [pirate_isle_004] type=child_type static_object_id=21240004 pos={51261;206048;-3720} range={{51261;206048;-3720};{51261;206068;-3720};{51106;206068;-3720};{51106;206048;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent2] door_end
door_begin [pirate_isle_005] type=child_type static_object_id=21240005 pos={52910;206721;-3720} range={{52919;206790;-3720};{52901;206790;-3720};{52901;206648;-3720};{52919;206648;-3720}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent2] door_end
door_begin [pirate_isle_006] type=child_type static_object_id=21240006 pos={52400;219105;-3209} range={{52380;219085;-3209};{52420;219085;-3209};{52420;219125;-3209};{52380;219125;-3209}} height=300 hp=158250 physical_defence=644 magical_defence=518 parent=[pirate_isle_parent2] door_end
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|