Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 17.09.2006, 07:47   #1
roxaz
Архивный участник
 
Join Date: May 2006
Posts: 55
Default [Request]Npcpos explanation

We have line:
territory_begin [aden05agit_2517_01] {{176703;-19240;-2708;-708};{179909;-19251;-2708;-708};{179914;-14442;-2708;-708};{176719;-14454;-2708;-708}} territory_end

There we see {{176703;-19240;-2708;-708};{179909;-19251;-2708;-708};{179914;-14442;-2708;-708};{176719;-14454;-2708;-708}}

What a hell mean these coords? I gues its like this {{x;y;z;??};... I dont know what menas 4th number. What is this?

Also in line
npc_begin [doom_archer_agit] pos={178222;-14944;-2200;16384} total=1 respawn=2hour dbname=[devastated_001] dbsaving={death_time;parameters;pos} npc_end
we have pos={178222;-14944;-2200;16384}, its position of the mob, but what means 4th number of position? I gues same as in territory_begin line.

And what exactly domains does?
domain_begin [gludio_1621_001] domain_id=1 {{-121528;98344;-5036;964};{-98372;98344;-5036;964};{-98340;131032;-5036;964};{-122216;131420;-5036;964}} domain_end

Thank you.
roxaz is offline  
Old 17.09.2006, 08:23   #2
zaferk
Архивный участник
 
Join Date: Apr 2006
Posts: 92
Default

the 4th number is the direction the npc spawns in i belive.
zaferk is offline  
Old 17.09.2006, 09:40   #3
roxaz
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

i thought about that...
roxaz is offline  
Old 17.09.2006, 11:11   #4
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

In territory -> {x;y;zMIN;zMAX}

In npc_begin -> {x;y;z;direction}
FidoW is offline  
Old 18.09.2006, 11:55   #5
wlifter
Архивный участник
 
Join Date: Feb 2006
Posts: 4
Default

Quote:
Originally Posted by roxaz View Post
Also in line
npc_begin [doom_archer_agit] pos={178222;-14944;-2200;16384} total=1 respawn=2hour dbname=[devastated_001] dbsaving={death_time;parameters;pos} npc_end
we have pos={178222;-14944;-2200;16384}, its position of the mob, but what means 4th number of position? I gues same as in territory_begin line.
As fidow said the 4th number is npc direction. Just divie this number whith 182 (the exaclty value is 65536/360 which is about 182) to convert it from 0 to 360 degrees. So at this line we have 16384/182= 90. Tha means tha npc looks west.

Quote:
And what exactly domains does?
domain_begin [gludio_1621_001] domain_id=1 {{-121528;98344;-5036;964};{-98372;98344;-5036;964};{-98340;131032;-5036;964};{-122216;131420;-5036;964}} domain_end
Thank you.
The lineage map is divided in domains. So this are tha points of the border of the domain.
p1-----p2
---------
p4-----p3
wlifter is offline  
Old 18.09.2006, 20:27   #6
roxaz
Архивный участник
 
Join Date: May 2006
Posts: 55
Default

thank you
roxaz 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 16:16.