Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   HDGE DOCs: working on [RUS]->[ENG] (https://postpacific.loc-online.com/showthread.php?t=3404)

humordwarf 19.02.2006 15:53

HDGE DOCs: working on [RUS]->[ENG]
 
пишу сумбурно всё в кучу =)

Каждая карта содержит в себе 256x256 ячеек, каждая из которых в свою очередь разделена на субячейки 8x8.
Каждая субячейка содержит в себе одну или несколько значений высоты. Каждое значение высоты сопровождается NSEW-данными.
Сервер во время работы в случае, если ячейка имеет несколько высот - использует высоту, которая "ближе" по оси Z к игроку, соответственно правила передвижения к соседним клеткам NSEW выбираются по тому же правилу.

HDGE предназначен в первую очередь для "правки" существующих геодат. HDGE не разрабатывался как генератор карт (хотя и имеет фишку для создания нулевого слоя из карты высот 256x256).
Основным предназначением HDGE можно назвать:
- возможность обмена данными с другими геомейкерами (как полностью картами (GEW) так и отдельными участками слоев (GEB))
- исправление мелких и крупных ошибок в картах высот
- добавление/удаление/воссоздание NSEW данных
- добавление/удаление (слоев)
- свободное рисование
- взаимодействие с координатами персонажа C3-клиента

Отдельная тема - взаимодействие клиентом
HDGE разработан для обычного C3 клиента (версия с 530м протоколом)
НЕ СПРАШИВАЙТЕ МЕНЯ О ПОДДЕРЖКЕ ДРУГИХ ВЕРСИЙ КЛИЕНТА
- постоянное считывание координат из памяти клиента
- автоматическая запись Z значений клиента в редактор
- слежение "по карте" за персонажем в игре =)
- RESPONSE=ON будет лишь в том случае, если персонаж находится в зоне редактируемой карты и клиент совместим
- телепорт персонажа в позицию курсора
- быстрый ввод некоторых команд в клиент (меню - commands)

если вы изменяете нулевой слой
рисуйте изменения на чистом слое (всегда удобно стереть, подчистить, "закрыть" слой)
в конце работы фрагмент слоя можно скопировать в память и вставить в нулевой слой, при этом "пустые" субячейки не перенесутся. НО после работы не забудьте удалить то, что нарисовали на верхнем слое, иначе при экспорте вы получите лишние данные в виде двух "слоев" на одной высоте
хотя ничего страшного в том, что слои "пересекаются", нет.

если вы добавляете новый слой
работайте как хотите =)
при экспорте, все данные со всех слоев упорядочатся, пустые субячейки будут пропущены.

если сервер вам мешает передвигаться (горы, невидимые стены) - создайте временную пустую карту с одним слоем L0, заполните весь этот слой нужным вам значением Z, экспортируйте его в папку Server\Geodata\ и перезапустите сервер
теперь можно более-менее бегать/лазать по горам =)

!!!будьте внимательны с NSEW
неаккуратное использование может привести к застреванию игроков!
сообразите: если вы поставили в клетку NSEW, где все стрелки красные, игрок при попадании в эту клетку не сможет из нее выбраться - сервер не выпустит, всегда должен быть выход в какую-либо сторону


фуф.. еще вопросы?

humordwarf 19.02.2006 16:05

translate, please, as you understand this

Niko 19.02.2006 16:15

humordwarf big thx for this guide

/ru похоже народ благодаря тебе и остальным скоро начнет русский учить чтобы понимать лучше Ж) /ru

Megatronpt 19.02.2006 16:30

At this time I would like to have learned Russin at school.. :|

humordwarf 19.02.2006 17:03

hint: to renew geodata inside client without restarting - teleport to another map.. then teleport back..
example:
you just exported new XX_XX_conv.dat into client\system\geodata folder

//abm mypoint {add bookmark (see gm commands)}
//teleport 0 0 {teleport to another map}
//tbm mypoint {back and see new geo (see gm command)}

better than restart client?
any better solution?

Nuclear 19.02.2006 17:37

Re: HDGE DOCs: working on [RUS]->[ENG]
 
Each map contains 256x256 cells, where each of such cells is devided into 8x8 subcells.
Each subcell contains one or several height values. Each height value is followed by NSEW-data.
Server, when it's working, in case if cell has several heights - uses height, which is "closer" by Z axis relatively to player, correspondingly movement rules to nearby cells are chosen by NSEW by the same rule.

HDGE first of all intended for "correcting" exsisting geodata. HDGE was not developed as a map generator (though it has an ability to create "zero" layer from 256x256 heights map).
Main features of HDGE:
- ability tu exchange data with other geomakers (for full maps (GEW) and for separate layer pieces (GEB))
- fixing minor and big height mistakes in maps
- add/delete/restore NSEW data
- add/delete (layers)
- you can easily draw
- interaction with c3 client player coordinates

Separate topic - HDGE interaction designed for normal c3 client
(protocol version 530)
DO NOT ASK ME FOR OTHER CLIENT VERSIONS SUPPORT
- continuos coordinates reading from clients memory
- auto writing of Z client values to editor
- client tracking "on map" during game =)
- RESPONSE=ON will be only when players is in the zone of edited map and client is compatible
- player teleport to cursor on map
- fast entry of some commands into client (menu - commands)

if you change "Zero" layer
draw changes on blank layer (always comfortable to delete, clear up, "close" layer)
after end of work layer fragment can be copied to memory and pasted to "zero" layer, during this empy "subvells" will not be transfered. BUT after work do not forget to remove that, what you draw on upper layer, otherwise during export you will receive unnecessary data (two layers on one height)
though there is nothing terrible that layers cross-over

if you add new layer
work as you prefer =)
during export, all data from all layers will be put in order, empty subcells will be skipped.

if server doesnt allow you to move (mountains, invisible walls) - create temporary empty map with one layer L0, fill all this layers with needed Z value Z, export it to Server\Geodata\ and restart server
now you can more or less run/climb on mountains =)

!!!be careful with NSEW
careless usage may lead to the fact, that players will stuck!
think: if you put NSEW into cell, where all arrow are red, if player will get in to such cell, he will not be able to get out - server will not allow it, there allways must be an exit at least on one side


fuf.. any questions?


p.s. if you notice any translation mistakes, please report them :) thank you

humordwarf 19.02.2006 17:42

Re: HDGE DOCs: working on [RUS]->[ENG]
 
Quote:

Originally Posted by Nuclear
thank you

thank YOU

johnsmith2 19.02.2006 17:45

the tool doesn't support layer number>20 or something if i am not mistaken

humordwarf 19.02.2006 17:47

HDGE limits:
- maximum possible layer is 16 (for now)

johnsmith2 19.02.2006 18:26

is there any chance to increase it to infinite amount of layers?

nucer 19.02.2006 18:36

Итак, что означают эти красные стрелки?... Запрещённое направление движения с квадрата?
Каким образом скопировать слой из одной геодаты и вставить его в другую? Это буффер не работает

johnsmith2 19.02.2006 18:52

//babelfish
So that indicate these red pointers?... Forbidden direction of motion from the square? How to copy layer of one geo-date and to put it into another? This buffer does not work

-----------
red pointer indicates direction your character cant not walk thru

nucer 19.02.2006 20:36

Char can't walk from square in this direction or char can't go into square from this direction?

johnsmith2 19.02.2006 20:39

if your direction is against the little red-triangle, you wont be able to walk to there

humordwarf 20.02.2006 04:05

Quote:

Originally Posted by nucer
Char can't walk from square in this direction or char can't go into square from this direction?

Dear Nucer, glad to see your interest and keen, but your question is too beginner. You should look inside existing geos, look why there somewhere that red/green arrows. And finally, what for all that stuff... to increase your experience here do experiments! always!

humordwarf 20.02.2006 04:08

Quote:

Originally Posted by johnsmith2
is there any chance to increase it to infinite amount of layers?

no
i think max supported by unreal.engine number of layers - 32
but in real conv.dat files from C1 - around 2-5.. rare 6-8

ANRDaemon 20.02.2006 06:54

Разобрался со всем интерфейсом редактирования, кроме нескольких функций.
http://img91.imageshack.us/my.php?im...t1final4xp.jpg
Секция Cursor
Что дает княпка [CT] ?
Секция Client Response
Как именно действует [Record Z] ?
Что дает кнопка [S] ?

Can You explain more about some functions?
In the "Cursor" section, what does [CT] button ?
In the "Client Response", how [Record Z] function works? And what [S] button does?

humordwarf 20.02.2006 07:21

[CT] - same as //teleport, but use ///c_teleport x= y= z= to teleport in client only (you may forget it for now, i do not see real help from it for now)

[Record Z] - when pushed down and you walk inside client - app Record Z values (same as [Follow], but writes Z into cells atomaticaly)
[S] - when pushed down - records solid cells.. once you step into cell - all 8x8 subcells of that cell will be filled with current Z value.

ANRDaemon 20.02.2006 07:23

Ok' thanx.

And last q - do you have WM account?

ANRDaemon 20.02.2006 07:40

Don't have $100, but have $10 from each of Your 100 friends ;)

humordwarf 20.02.2006 07:57

Quote:

Originally Posted by ANRDaemon
Ok' thanx.
And last q - do you have WM account?

https://postpacific.loc-online.com/f...?p=33835#33835

silent 20.02.2006 09:22

Isent Tower of Insolence 16 - 18 layers?

Megatronpt 20.02.2006 09:26

TOI has 14 layers.

From Layer 0(Floor 1) to Layer 13(floor 14)

HD, correct me if I'm wrong. ;)

----EDIT----

My How to, on how to remove invisible walls.

First I opened L2 and went to the invisible wall I wanted to remove.
- There I used the command "///geodata" to light up the cells
- I placed myself in 3 different places to try and make some markings of what I had to do... also using the HDGeoEditor
- As the invisible wall was a curve(following the rocky mountain near the first Bloody Queen on Dragon Valley), I placed myself:
1 - Where the wall began
2 - Where it ended
3 - And a middle point, mainly to try and make an union between the last two locations

After this and in HDGE, most work was done on L1.
- First I used only walkable areas to clean all non walkable and reduce the invisible wall area. I kept the "Z" pressed, as without it I would be drawing on the sky and not on the place I wanted to draw. HDGE recorded the Z coordinates from the client, which helped me do the floor.
- To draw, all we have to do is keep CTRL pressed and "paint" with the mouse, pretty simple. Basically we only need to pay attention to the Z values to avoid drawing somewhere else. ;)

After that.. EXPORT and wait a bit. My file reduced in size but it's working a lot better.

If anyone wants newbie(as I'm one) help, let me know and I'll try helping HD in replying to everyone I can reply.

Regards to everyone and happy "Geozizing"! ;)

humordwarf 20.02.2006 11:59

and.. also.. i think...

ALWAYS SAVE EACH YOUR IMPORTANT STEP AS DIFFERENT WORKSPACE FILE!!! :banghead: :banghead: :banghead:

ALWAYS SAVE EACH YOUR IMPORTANT STEP AS DIFFERENT WORKSPACE FILE!!! :salute:

ALWAYS SAVE EACH YOUR IMPORTANT STEP AS DIFFERENT WORKSPACE FILE!!! :shaking:

=)

Megatronpt 20.02.2006 12:01

Yes true.. I had to revert once to the old Geo.. because I messed up! ;)

humordwarf 20.02.2006 14:19

https://postpacific.loc-online.com/f...?p=33597#33597

humordwarf 20.02.2006 14:35

please, translate it as easily understood as possible:

GEW - Geodata Workspace - сохраненный в файл дамп всех рабочих слоев, и рабочих переменных (иными словами сброс всей рабочей памяти в файл). На диске этот дамп занимает немного места, так как используется сжатие этих данных при записи (bzip2)

GEB - Geodata Buffer - прямоугольная область одного из слоев, сохраненная в памяти или на диске. Может быть использована как для копирования прямоугольников внутри, между слоями, так и для обмена между геомейкерами (как вариант - обмен между двумя запущенными HDGE)

_conv.dat - геодата в конечном варианте, в формате сервера. Автор крайне не рекомендует (даже запрещает =), используйте для этого GEW) хранить в этим формате промежуточные результаты работ, так как при экспорте в этот формат все ячейки всех слоев упорядовачиваются и сдвигаются "вниз" на свободный слой, т.е. при последующем импорте этого файла вы можете увидеть совсем другую "картинку", хотя функционально геодата не изменится.

Nuclear 20.02.2006 16:46

Quote:

Originally Posted by humordwarf
GEW - Geodata Workspace - dump of all working layers saved into a file, and working variables (in other words: dump of all working memory into a file). On hard disk this dump takes little space, because of a data compression during writing (bzip2)

GEB - Geodata Buffer - rectangular area of one of layers, saved in memory on a disk. Can be used as for copying rectangulars inside, between the layers, and as for exchanging between geomakers (etc. - exchange between two running HDGE)

_conv.dat - geodata "in the end", in server format. Author strictly doesn't allow =) to use this format for storing intermediate work results (use GEW), because when to eporting into this format all cells of all layers are put in order and shifted "down" on a free layer, meaning, during the next import of this file you might see a completely different "picture", though functioning of geodata will not be changed.


Validator 20.02.2006 20:42

Спасибо большое, будем пробовать.

ANRDaemon 21.02.2006 13:52

Quote:

Originally Posted by humordwarf
при экспорте ... все ячейки всех слоев упорядовачиваются и сдвигаются "вниз" на свободный слой, т.е. при последующем импорте этого файла вы можете увидеть совсем другую "картинку", хотя функционально геодата не изменится.

Одним из вариантов предотвращения подобного произвола ;) редактора является заполнение нижележащих слоев "непроходимыми" ячейками в тех местах, где на данном слое нет геодаты, но вышележащие слои имеют проходимые участки.
Я не уверен, но возможно, это так же упростит работу серверу.

//Please translate

ANRDaemon 21.02.2006 14:45

http://project.dyndns.org/L2/HDGE/ru/editor.html
Translations & questions please.

Stupid questions also! Please!

johnna 22.02.2006 01:23

translation of the first post
 
I write confused everything into the heap =) Each map includes 256x256 cells, each of which is in turn divided into sub-cells 8x8. Each sub-cell includes one or several values of height. Each value of height is accompanied NSEW- given. Server during the work if cell has several heights - uses the height, which "is nearer" along z axis to the player, respectively the rules of movement to the adjacent cells NSEW are selected according to the same rule. HDGE is intended first of all for "correcting" of the existing geos-date. HDGE was not developed as the generator of maps (although it has a chip for creating the zero layer from the map of heights 256x256). The basic destination HDGE it is possible to name: - the possibility of the exchange of data with another geomeykerami (both completely by the maps (GEW) and by individual sections it is layer (GEB)) - the correction of minor and large errors in the maps of the heights - dobavleniye/udaleniye/vossozdaniye NSEW of the data - dobavleniye/udaleniye (it is layer) - the free drawing - interaction with the coordinates of character C3- client Separate theme - interaction client HDGE developed for the usual C3 client (version with 530m protocol) DO NOT ASK ME about THE SUPPORT OF OTHER VERSIONS OF THE CLIENT - a constant readout of coordinates from the memory of the client - the automatic recording Z of the values of client in the editor - tracking "on the map" of the character in the game =) - RESPONSE=.ON will be only in such a case, when character is situated in the zone of the edited map and client is compatible - the tele-port of character into the position of the cursor - the rapid introduction of some commands into client (menu - commands) if you change zero layer sketch changes on the clean layer (to always convenient erase, to clean, "to shut" layer) at the end of the work the fragment of layer can be copied into the memory and put into the zero layer, in this case "empty" sub-cells will not be transferred. BUT after work do not forget to remove that the fact that they drew on the upper layer, otherwise with the export you will obtain excess two given in the form "it is layer" at one height although nothing terrible in the fact that the layers "intersect", no. if you add new layer work as you want =) with the export, all given from all it is layer they will be regulated, empty sub-cells will be passed. if server you prevents from being moved (mountain, invisible walls) - create temporary I be empty map with one layer L0, you will fill this entire layer with the necessary to you value Z, export it into folder Server\.Geodata \ and you perezapustite server now it is possible more- less to begat'/lazat' on the mountains =) !!!bud'te attentive with NSEW careless use it is possible to lead to sticking of players! you will consider: if you placed in cell NSEW, where all pointers red, player with the entry into this cell will not be able from it to be selected - server will not let out, always must be output to any side

Susanin 23.02.2006 21:04

Может лучше сделать смещения в памяти клиента относительно читаемой DLL а то у половины народу смещение другое

al1en 24.02.2006 11:45

У меня вопрос, а как из игры редактировать? Я так и не понял, как эти кубики в игре сделать :))) Подробнее пожалуйста.

HULK 24.02.2006 11:59

да и мне пожалуста обьесните как эту прогу в игре запустить я чет тоже не догнал !!!

djedai 24.02.2006 12:05

//rus//
Копируите в клиентскую папку вашу геодату
./system/goedata/*_conv.dat
Далие запускаите клиента и логинитесь тока Логин клиента должен бытьт не ниже 5 лвл Билда тоесть 1-2-3-4-5 но никак не 6 лвл билда.
ПОсле того как вы залогинелись Билдером запускаите HD GeoEditor в едиторе открываите нужную вам мапу. Открываем клиента телепортимся в ту мапу которую мы открыли редактором и набираите в консоле ///geodata
О Боже у нас получилось :lol:
З.Ы. Ктота переведите это на Энглишь.
//rus//
//engl//
Sory but I nto have translate :(
//engl//

ANRDaemon 24.02.2006 13:31

You need Builder[8] (tested!) to see geo in client.
You need Builder[6] to teleport inside client.
If You don't see geo at first run, simply reload client...

Susanin 24.02.2006 16:47

какиt знаечния должны находится по офсетам (дефолтовые). я на 530 протоколе, но программа пришет Active NO

nvidia 21.03.2006 08:37

А где простите сама прога ???


All times are GMT. The time now is 16:23.