forked from kayeeqq/browedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
173 lines (125 loc) · 3.72 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
____ ______ _ _ _
| _ \ | ____| | (_) |
| |_) |_ __ _____ _| |__ __| |_| |_
| _ <| '__/ _ \ \ /\ / / __| / _` | | __|
| |_) | | | (_) \ V V /| |___| (_| | | |_
|____/|_| \___/ \_/\_/ |______\__,_|_|\__| 2.0
Browedit is used to edit maps for Ragnarok Online. This is a superbrief readme
Global Keys:
Space brings up the radial menu
O shows/hides objects
S shows/hides shadows
G shows/hides grids
Editmodes:
Texture Edit (F1)
-----------------
Used to edit textures.
First select a texture in the texturewindow by dragging the area you want to use
After selecting a texture (or part of it), you can click in the map to paste it somewhere
then there's the following things:
Numpad + Increase Texture Size
Numpad - Decrease Texture Size
H Flip texture horizontally
V Flip texture vertically
R Rotate texture
In the texture window is a little > button. Click it to expand this window. This will open the texture browser.
Click on the list of categories to browse through categories. In the window
Delete delete selected texture
doubleclick add selected texture
Object edit (F2)
----------------
In object edit mode you can edit models, sounds, effects and lights
Click on an object to select it, drag to select multiple, doubleclick on an object to view its properties
This editmode has different tools
Move (1)
Used to move selected objects. Drag to move the object. Shift+drag to move the object up and down
Scale (2)
Used to move scale objects. Drag to scale the object.
Rotate (3)
Used to move rotate objects. Drag to rotate the object.
Height Edit (F3)
----------------
Leftdrag select an area
ctrl+leftdrag select an area in a lassoshape
rightdrag move the selected area up and down
C connects tiles together
R adds a random value to the height of tiles
F flattens an area
menu:
use the heighttools/connect to connect the raised area to the surrounding area
Detailed height Edit (F4)
-------------------------
Gives you really precise control over vertices
with the heighttools/connect menu to select a single vertex or the 4 vertices on the corner of a quad
leftdrag moves currently highlighted vertex up or down
Wall edit (F5)
--------------
leftdrag add a wall
ctrl+leftdrag remove a wall
shift+leftclick paste selected texture on walls
left/right arrow scale selected texture output
H flip texture horizontally
V flip texture vertically
Gat Edit ()
-------------
not implemented yet
=============================================================
Plugin Interface
----------------
browedit :
{
version, //contains browedit version
'map' :
{
save(), //TODO
load(string filename), //TODO
getName();
'gnd' : // API related to the floor height, textures & shadows
{
getWidth(), /returns the width of the map
getHeight(), //returns the height of the map
getCell(int x, int y),
getTexture(int index),
setTexture(int index, std::string filename),
},
'rsw' : // API related to objects
{
'water' :
{
getHeight(),
getType(),
getAmplitude(),
getPhase(),
getSurfaceCurve(),
getAnimSpeed()
},
objectSize(),
getObject(int id)
}
},
'camera' : //camera controls
{
}
'wm' : //TODO
{
showMessage(text), //TODO
}
}
cell
{
float heights[4]
int tiles[3]
}
tile
{
float texcoords[4][2]
int texIndex
int lightmapIndex
float color[3]
}
object
{
getType(),
getPosition(), // [ x, y, z]
getRotation(), // [ x, y, z]
}