PDA

View Full Version : Doordata devil isle, a little help to finish


SoaPy
31.07.2005, 22:27
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.

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

anrysys
31.07.2005, 22:38
Post child door data... Or you dont write it?

anrysys
31.07.2005, 22:40
-pos need for child
-open method for parent

SoaPy
31.07.2005, 22:43
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.

anrysys
31.07.2005, 22:49
Can you post samle door opener npc? I whell try for end coliseum

SoaPy
31.07.2005, 22:52
Can you post samle door opener npc? I whell try for end coliseum

i didnt wrote the code yet for npc ^^. Because i want to open from another way, but maybe cant. If i dont have the right open_method or type, i cant target ?

anrysys
31.07.2005, 23:02
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

anrysys
31.07.2005, 23:03
Ok. give me 40min, i give you code

SoaPy
31.07.2005, 23:08
Ok. give me 40min, i give you code

^^ tnx for the help, i didnt use a method like kruma because, pirate isle are single doors, and kruma is a door divided in 3 parts. Maybe we can use a method like kruma, and with one npc, located in entrance of devil isle, open all doors of devile isle if u have some item, something like that. Is a good idea for implement a method for open all doors.

anrysys
31.07.2005, 23:22
1 door or 2 door or 3... Its riteand for 5 doors

try this

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

anrysys
31.07.2005, 23:24
Its open not all doors!!! Only one child!!! Why you write parent door if you dont have a child ? ;)

anrysys
31.07.2005, 23:27
you can change door level for quick test

SoaPy
31.07.2005, 23:29
Its open not all doors!!! Only one child!!! Why you write parent door if you dont have a child ? ;)

was an error ^^

anrysys
31.07.2005, 23:32
If its open all doors you must only write parent door for every child... Its all...

SoaPy
31.07.2005, 23:40
If its open all doors you must only write parent door for every child... Its all...

yeah tnx so much anrysys, i will goint to write the code in ai.

anrysys
31.07.2005, 23:48
why in ai ? its code for doordata.txt :)

SoaPy
31.07.2005, 23:52
why in ai ? its code for doordata.txt :)

:O, i was thinking that i need a code for the door npc xD, you are right :P

Digital
01.08.2005, 05:47
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. :)

Tear
15.02.2006, 23:12
Sorry, for up topic
door like this

//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