A mapeditor for Ragnarok Online
C C++ JavaScript Objective-C Makefile QMake Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets Fixed UTF8 rendering, added light texture to object window Feb 20, 2018
blib @ feb6bbc Fixed UTF8 rendering, added light texture to object window Feb 20, 2018
brolib Fixed borders when editing lightmaps May 12, 2018
browedit Fixed borders when editing lightmaps May 12, 2018
.gitignore Fixed help window Jun 27, 2017
browedit.pro.user Tweaked up qt creator build Aug 23, 2014
buildpackage.bat Added grid snapping for object rotation Sep 15, 2017


     ____                    ______    _ _ _
    |  _ \                  |  ____|  | (_) |
    | |_) |_ __ _____      _| |__   __| |_| |_
    |  _ <| '__/ _ \ \ /\ / /  __| / _` | | __|
    | |_) | | | (_) \ 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
G			shows/hides grids


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. 

G		grabs the object and moves in on the XZ plane
R		rotates the object
S		scales the object
F		makes objects stick to the floor when grabbing

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

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


		'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' :
			getObject(int id)
	'camera' : //camera controls
	'wm' : 																			//TODO
		showMessage(text),															//TODO

	float heights[4]
	int tiles[3]

	float texcoords[4][2]
	int texIndex
	int lightmapIndex
	float color[3]

	getPosition(), // [ x, y, z]
	getRotation(), // [ x, y, z]