Map Building On Linux
#9607 posted by [Jimbo] on 2010/03/29 22:41:32
Hi Guys,
I think this has been asked before but atm I can't find the answer...
Are there Quake Map Build tools that can be run on Linux?
Thanks,
jimbo
#9608 posted by negke on 2010/03/30 21:40:02
Editors: Quest, Gtkradiant
Compilers: Bengt Jardrup's tools work fine on Wine. gb ported some of them to Linux once, but I don't have a link at hand.
As Mentioned
#9609 posted by necros on 2010/03/30 22:57:28
here's the compiler gui i was talking about...
instructions to use it are on this page:
http://shoresofnis.wordpress.com/2010/03/30/ne_q1spcompilinggui/
most of the stuff should be fairly obvious, but the 'instructions' are lengthy and pretty verbose. ask if anything explodes though.
Looks Nice
#9610 posted by rj on 2010/03/31 00:31:37
two things though..
the vis option should be 'level 4', not 'level4', get an error with the latter
'+map whatever' should just be added automatically behind the scenes rather than requiring to be typed in. if you've selected the 'run quake' option you probably aren't going to want to load a different map to the one you're compiling :)
and it needs an icon ;)
Hrm
#9611 posted by rj on 2010/03/31 01:01:03
thinking about it, that second thing should probably account for more than just mapname, and figure out the gamedir/path as well, based on what is set as the output folder. is that something that would be easy to do?
say if i keep my created bsps in id1/maps/other, it would do '+map other/[mapname]'
yet if someone decided to put them in quoth/maps/other, it could work out that '-game quoth +map other/[mapname]' would need to be entered...
Making Hlwad's
#9612 posted by roblot on 2010/03/31 01:42:23
This works for me
1. Make a "logs" folder inside the
wordcraft\textures folder.
2. Create a new .txt document in same folder,
and copy the following:
wadconv.exe -wad2hl mywad.wad>logs\mywad.log
exit
3. Rename the .txt document to:
mywad.bat
4. Rename any .wad your converting to:
mywad.wad
5. Then rename it zerstorer.wad or whatever it is.
Don't know about Win7 though.
#9613 posted by Zwiffle on 2010/03/31 01:45:02
You can (should be able to) do all the renaming stuff in the .bat too, using parameters and whatnot so you don't have to do so many manual renamings.
Thank You
#9614 posted by GibFest on 2010/03/31 01:55:28
That worked great.
Err
#9615 posted by roblot on 2010/03/31 02:21:37
Step 5 should be...
5. Double click mywad.bat
6. Then rename it zerstorer.hlwad or whatever
it is.
Rj
#9616 posted by necros on 2010/03/31 03:15:56
regarding +map, you're right, it should probably just do that automatically.
but for things like -game or whatever, i don't want to add any automation because each engine does it differently.
say if i keep my created bsps in id1/maps/other, it would do '+map other/[mapname]'
yet if someone decided to put them in quoth/maps/other, it could work out that '-game quoth +map other/[mapname]' would need to be entered...
but say for example, i wanted to run a mod folder outside of quoth (so you can make your own pak files), fitzquake has -quoth, but darkplaces uses multiple -game
so if you were running a mod folder of quoth, you'd do:
fq -quoth -game mod +map map
dp -game quoth -game mod +map map
also, the output folder wouldn't be a quoth folder, so there's no way for the program to tell if it's a quoth map or just a normal mod map.
as for the problem with vis -level 4 vs level4, i just put those in quick. you can edit any of those buttons by right clicking them and choosing 'edit', so the gui should work with all compilers.
#9617 posted by rj on 2010/03/31 13:02:46
as for the problem with vis -level 4 vs level4, i just put those in quick. you can edit any of those buttons by right clicking them and choosing 'edit', so the gui should work with all compilers.
ah right, missed that bit 8)
fair comments on the mod folders i guess. quoth was just the first example that came to mind but forgot you could use external directories with it. i'd still love the folder within 'maps' to be picked up though as well as the name as i keep all of my own maps in '/other'
Linux Map Build Tools
#9618 posted by [Jimbo] on 2010/03/31 21:56:37
Thanks negke
I managed to find this site: http://tldp.org/HOWTO/html_single/Quake-HOWTO/
which has the port of bjptools you mentioned.
Doing good with that so far.
Have you tried running hammer in wine?
Ne_q1spCompilingGui V1.0.1
#9619 posted by necros on 2010/03/31 22:10:37
http://necros.quaddicted.com/downloads/ne_q1spCompilingGui101.zip
updated it so it launches the map automatically for you when running quake. it can figure out if your maps are in /maps or /maps/other or even /maps/any/number/of/folders.
<3
#9620 posted by rj on 2010/03/31 23:38:42
What To Do
#9621 posted by Orl on 2010/04/01 03:30:05
I'm sure the answer to what I'm about to ask is very obvious, but I need clarification. Consider the following scenario:
� Player walks into a room with only 1 entrance. There is an object in the room.
� The player can walk anywhere in the room and freely enter and exit the room as many times as they wish, as long as they do not grab the object.
� The player grabs the object in the room. Nothing happens.
� The player proceeds to exit the room after having grabbed the object, but when the player is a few feet away from the exit, a door will slam shut blocking the exit. The door will eventually open again either after a certain amount of time, or after the player completes a specific task.
How can I go about creating something similar to this?
#9622 posted by necros on 2010/04/01 04:07:00
i believe you can use the trigger spawning hack (find it in the teaching progs.dat new tricks thread).
essentially, you make a brush entity called info_notnull and give it a use of "trigger_once" or something like that so that when the notnull is triggered it becomes a trigger.
you use that spawned trigger to close the door and start whatever event you want.
#9623 posted by Drew on 2010/04/01 04:11:53
I was gonna say the spike shooter thing, but yeah. that's much simpler.
Metl
#9624 posted by Drew on 2010/04/01 04:13:24
I was just looking at the read me for contract revoked, and Kell thanks you for "drawing [Kell's] attention to the 'powers of 2'"
What are the 'powers of 2'?
Thank You Necros
#9625 posted by Orl on 2010/04/01 04:19:45
Much appreciated :)
Drew:
#9626 posted by metlslime on 2010/04/01 08:19:58
I'm not really sure since it's been so long, but maybe I had told him about how non-power-of-two textures get resampled by gl-based engines and how bad it looks compared to power of two textures.
Hmm
#9627 posted by nonentity on 2010/04/01 12:31:17
That or brush sizes relating to compile times
Power Of 2
#9628 posted by ijed on 2010/04/01 12:43:33
As a rule of thumb everything in games should be a power of two, if not a multiple of.
Off-grid is non multiple of. Textures that aren't a power of two get resized at the whim of the graphics card (stretched or squashed up/down left/right) like metl says.
#9629 posted by Spirit on 2010/04/01 13:17:49
Unless the engine prevents that. Good engines (Fitz, DP, jdhack's) do. :-)
I have a half-written post about that.
#9630 posted by Spirit on 2010/04/01 13:41:17
Huh.
#9631 posted by Drew on 2010/04/01 22:35:51
makes sense!
|