Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.02.2006, 15:53   #1
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default 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 is offline  
Old 19.02.2006, 16:05   #2
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

translate, please, as you understand this
humordwarf is offline  
Old 19.02.2006, 16:15   #3
Niko
Архивный участник
 
Join Date: Jan 2006
Posts: 11
Default

humordwarf big thx for this guide

/ru похоже народ благодаря тебе и остальным скоро начнет русский учить чтобы понимать лучше Ж) /ru
Niko is offline  
Old 19.02.2006, 16:30   #4
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

At this time I would like to have learned Russin at school.. :|
Megatronpt is offline  
Old 19.02.2006, 17:03   #5
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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?
humordwarf is offline  
Old 19.02.2006, 17:37   #6
Nuclear
Архивный участник
 
Join Date: Feb 2006
Posts: 3
Default 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
Nuclear is offline  
Old 19.02.2006, 17:42   #7
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default Re: HDGE DOCs: working on [RUS]->[ENG]

Quote:
Originally Posted by Nuclear
thank you
thank YOU
humordwarf is offline  
Old 19.02.2006, 17:45   #8
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

the tool doesn't support layer number>20 or something if i am not mistaken
johnsmith2 is offline  
Old 19.02.2006, 17:47   #9
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

HDGE limits:
- maximum possible layer is 16 (for now)
humordwarf is offline  
Old 19.02.2006, 18:26   #10
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

is there any chance to increase it to infinite amount of layers?
johnsmith2 is offline  
Old 19.02.2006, 18:36   #11
nucer
Архивный участник
 
Join Date: May 2005
Posts: 117
Default

Итак, что означают эти красные стрелки?... Запрещённое направление движения с квадрата?
Каким образом скопировать слой из одной геодаты и вставить его в другую? Это буффер не работает
nucer is offline  
Old 19.02.2006, 18:52   #12
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

//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
johnsmith2 is offline  
Old 19.02.2006, 20:36   #13
nucer
Архивный участник
 
Join Date: May 2005
Posts: 117
Default

Char can't walk from square in this direction or char can't go into square from this direction?
nucer is offline  
Old 19.02.2006, 20:39   #14
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

if your direction is against the little red-triangle, you wont be able to walk to there
johnsmith2 is offline  
Old 20.02.2006, 04:05   #15
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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 is offline  
Old 20.02.2006, 04:08   #16
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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
humordwarf is offline  
Old 20.02.2006, 06:54   #17
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Разобрался со всем интерфейсом редактирования, кроме нескольких функций.
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?
ANRDaemon is offline  
Old 20.02.2006, 07:21   #18
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

[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.
humordwarf is offline  
Old 20.02.2006, 07:23   #19
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Ok' thanx.

And last q - do you have WM account?
ANRDaemon is offline  
Old 20.02.2006, 07:40   #20
ANRDaemon
Архивный участник
 
Join Date: Feb 2006
Posts: 158
Default

Don't have $100, but have $10 from each of Your 100 friends
ANRDaemon is offline  
Old 20.02.2006, 07:57   #21
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

Quote:
Originally Posted by ANRDaemon
Ok' thanx.
And last q - do you have WM account?
https://postpacific.loc-online.com/f...?p=33835#33835
humordwarf is offline  
Old 20.02.2006, 09:22   #22
silent
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

Isent Tower of Insolence 16 - 18 layers?
silent is offline  
Old 20.02.2006, 09:26   #23
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

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"!
Megatronpt is offline  
Old 20.02.2006, 11:59   #24
humordwarf
Архивный участник
 
Join Date: Feb 2006
Posts: 453
Default

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:

=)
humordwarf is offline  
Old 20.02.2006, 12:01   #25
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Yes true.. I had to revert once to the old Geo.. because I messed up!
Megatronpt 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 21:01.