New advanced map editor for Quake engines: TrenchBroom

Ask questions about mapping in general, and show off your in-progress work.
User avatar
seana11
Tyrant
Posts: 430
Joined: Tue Jun 19, 2012 2:00 pm UTC
Location: Well, the sign says "You Are Here"...

Re: New advanced map editor for Quake engines: TrenchBroom

Post by seana11 »

StalKermit wrote:

Radiant. Never GTK.

He has a point...

Image
Image
Image

User avatar
velociostrich
Dragoon
Posts: 318
Joined: Thu Mar 08, 2012 6:24 pm UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by velociostrich »

StalKermit wrote:

Radiant. Never GTK.

...? Radiant uses the Gtk toolkit. I think he was expressing his disdain for that.

EDIT:

Viech wrote:

It's not like we don't have other tasks on our todo-list. :p

True, but I consider having good tools a high priority as that can save time in the future.

Viech wrote:

If you want to port an editor to our engine I'd propose you fork an idTech4 one, not idTech1.

Why? We'd gain nothing from forking an idTech4 editor, as they all use the same-old, same-old means of editing brushes (afaik; please correct me if I'm wrong). The entire reason for forking TrenchBroom would be to gain its unique user interface, specifically the means by which it allows you to edit brushes. Also, it would appear to be more portable than Radiant et al.: I haven't actually looked at the code or seen it written anywhere, but I would guess that it does not use Gtk, which is not so fun to get set up on non-open-source Unix operating systems (namely, Mac and Windows). I'd guess its using wxWidgets as the interface looks more or less native in every screenshot, and wxWidgets is built on top of native GUI toolkits.

SleepwalkR
Posts: 2
Joined: Mon Mar 04, 2013 9:09 am UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by SleepwalkR »

I'm the developer of TrenchBroom. I don't know what Tech Unvanquished uses, but if it idTech 3 or some derivative, I would like to let you know that support for Quake 2 and Quake 3 are on my todo list, so we could cooperate on that. Otherwise, if you want to fork TB and adapt it for your engine, I'd be ready to answer questions, as the source is not very well documented.

velociostrich wrote:

I haven't actually looked at the code or seen it written anywhere, but I would guess that it does not use Gtk, which is not so fun to get set up on non-open-source Unix operating systems (namely, Mac and Windows). I'd guess its using wxWidgets as the interface looks more or less native in every screenshot, and wxWidgets is built on top of native GUI toolkits.

You are correct - TrenchBroom is built on top of wxWidgets 2.9.4. I thought this would be the best fit for my needs, and so far, I have not been disappointed.

In any case, if you fork the editor and run into trouble, get in touch with me and I'll do my best to help out.

User avatar
poVoq
Mantis
Posts: 67
Joined: Tue Oct 09, 2012 5:01 pm UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by poVoq »

Unvanquish uses a mix of ioQuake3, Xreal and the open-source Wolf:ET engine, so adding q3 maps support and options for real time lights and shader based textures would probably be sufficient.

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: New advanced map editor for Quake engines: TrenchBroom

Post by kharnov »

Oh hey, cool, nice to see you here SleepwalkR. Some sort of collaboration on adding Quake 3 support would be nice. Try bringing it up with Ishq, he's the one heading programming.

User avatar
velociostrich
Dragoon
Posts: 318
Joined: Thu Mar 08, 2012 6:24 pm UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by velociostrich »

SleepwalkR wrote:

I don't know what Tech Unvanquished uses...

We've inherited from ET:XreaL, which is a derivative of XreaL (which is a derivative of ioQuake3, which is a derivative of Quake 3 (as you're well aware)) and Wolf:ET (which is also a derivative of Quake 3), with bits from other Q3 derivatives glued into place as well as lots of our own stuff.

(tl;dr, yep, standard Q3 .map format. If there are any exceptions to this, I am not aware of them.)

SleepwalkR wrote:

Otherwise, if you want to fork TB and adapt it for your engine, I'd be ready to answer questions, as the source is not very well documented.

[...]

In any case, if you fork the editor and run into trouble, get in touch with me and I'll do my best to help out.

Awesome, thanks!

User avatar
Weed
Posts: 20
Joined: Sun Mar 03, 2013 6:06 pm UTC
Location: Belgium

Re: New advanced map editor for Quake engines: TrenchBroom

Post by Weed »

nice will try it soon :)

User avatar
StalKermit
Dragoon
Posts: 260
Joined: Wed Mar 07, 2012 6:05 am UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by StalKermit »

poVoq wrote:

modern workflow

What does that even mean?

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: New advanced map editor for Quake engines: TrenchBroom

Post by Anomalous »

You may want to ensure compatibility with wxWidgets 2.8; for example, neither Debian nor Ubuntu have 2.9. (Not that it matters to me much, though, since I normally have no use for map editors. But that doesn't necessarily mean no .debs.)

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
illwieckz
Project Head
Posts: 717
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Re: New advanced map editor for Quake engines: TrenchBroom

Post by illwieckz »

If I'm not mistaken, we can schematize the history of Unvanquished in that way:

Image

Also, when I look at the screenshots,
Image

it reminds me of Sauerbraten (editing is done in game).
Image
(sorry I have not found a better screenshot about Sauerbraten editing)

Post Reply