Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [Request]Npcpos explanation (https://postpacific.loc-online.com/showthread.php?t=5762)

roxaz 17.09.2006 07:47

[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.

zaferk 17.09.2006 08:23

the 4th number is the direction the npc spawns in i belive.

roxaz 17.09.2006 09:40

i thought about that...

FidoW 17.09.2006 11:11

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

In npc_begin -> {x;y;z;direction}

wlifter 18.09.2006 11:55

Quote:

Originally Posted by roxaz (Post 67594)
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

roxaz 18.09.2006 20:27

thank you :)


All times are GMT. The time now is 15:58.