News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: http://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
I Can't Add 
20/40 shells * 24dmg/shell = 480/960 DP per box 
 
also quad damage placement 
Glad To See I'm Not The Only One 
Right there with you buddy. I once made a mod that outputs my health, shells, nails, etc to the console once per minute. Then I graphed it for my favorite levels. Made sort of an S type curve and tends to plateau with plentiful supplies of ammo towards the end but health still only hovered around 40 to 75. 
BUT 
I always come back to this: to heck with the numbers, make it fun. 
Of Course 
I cannot caveat enough that such measurements are of little exact use. It's good for ballparking it and discovering "oh shit I'm way off" and don't trust it more than that. 
Quake 3 Patch 
Hello! Does anybody know if there is a special utillity for converting .obj to quake 3 patch? Also, where can I find any documentation about q3 patches? 
-- 
Or use a model! 
Help? One Teleport To Much. 
Hi!
Have a problem with my map that I don't know how to fix.
After finnishing all and testing, in the first room, a black rectangle appears on the floor with the sound of a teleport. I can't remember that I made one and even can't find it in the editor.
Is there a way to search for things in trenchbroom or other ways? 
GunSgt 
I would go to the spot in the map in TB and "drill down" to see if there's a brush embedded in that spot in the map. IIRC you hold control + mouse scroll wheel to drill down your brush selections. Of you can hide the floor brush to see if anything is below it. 
@dumptruck_ds 
I haqve deleted the floor and theres nothing. I've also been going downward if theres something below. Also nothing. I have no clue? A bug? I've posted the map on screenshots and betas. 
 
in game:

"r_showbboxes" will draw white outlines around all entities, this will confirm there is an entity there. (NOTE: i don't think this shows static entities)

(alternate: set "r_drawentities" to 0 which will stop drawing all entities, including static entities -- another way to confirm this is an entity)

"edicts" command will list all entities in the console, problem with this is that brush entities all have the origin of 0,0,0 so you need to look at absmin/absmax or something to figure out which one is the one you are looking for. (hint: condump this to a file since it's easier to read in a text editor.) 
@Dumptruck_ds 
THANKS!

With r_shobboxes 1 I found a brush that moved somewhere and made me trobles ago. Deleted it and that was it. Bohh! Thank you so much!!!
Hope you're doing fine and find some time to play my map.

Best wishes!

GunSgtHighway 
Thanks Metlslime 
:) 
@Dumptruck_ds 
Haha! :D Thanks for assistence! :D 
Func_insidevolume And Func_pushable 
Is there any documentation on these two AD entities? I can't find them in the ad_v1_70P1_documentation.txt, and I can't get the func_insidevolume to detect the pushable and send an output to a func_door, even though I have the "pushable" flag checked. 
IIRC.. 
These were added/modified very close to release. Probably why no information.

Did you open the "test_pushable" map to see how to set it up? 
For A Simple Setup It Goes Like This: 
1)Create a brush then --> tie to entity > func_pushable, no other parameters needed.

2)Create second brush then --> tie to entity > func_door, then give the door a name Ex: "PushableOpens".

3)Create your last brush and --> tie to entity > func_insidevolume, give it a Target(fully inside) of: "PushableOpens". Uncheck all flags but Pushable.

Tada!

Now I don't remember the specific conversation with sock but there was concern for this: "Name of target(s) to trigger when something is FULLY INSIDE the volume (fires every 0.1s)."

Namely, the constant firing. I think that's why there's more complex setups for these. But you could select "Only ONCE" for "wait", for the func_insidevolume if that will work for you?

hth's 
 
Or if it does do constant firing, just target a trigger_relay set to once. Only have the trigger_relay target the actual door.

My guess is it has to do with needing the pushable fully inside rather than just touching like a trigger. 
@19956 And @19957 
Thanks! You hit the nail right on the head - I did not know the pushable had to be completely inside for it to work. Did a few more tests and it worked exactly as it should.
I'm a bit annoyed that pushables, that doesn't move, don't block gasshooters but this allows me to do a workaround for that. 
@Spipper 
You could use Target2 also, which is when a pushable is "partially inside" the volume ;)

Also, I'm a bit confused on the pushables that "don't move" comment? Maybe you mean when you are not pushing them? 
@Spipper Nvrmnd 
I tested it. Yeah, pushables are not solid to the gasshooter at all.

Seems an isolated case, versus the other trap types I tested('nades, spikes etc). Prolly not that hard to "fix". 
Messages In Quake 
Hi. Do someone know if there's a way to create longer messages than one line? and maybe change its colour? 
Reply To GunSgtHighway 
Yes, you can just move to another line by adding \n.
Just like this. “Hello, this is my message \n how do you like it?”
In game it will be seemed like this:
Hello, this is my message
how do you like it? 
@ Reyond 
Thank you very mutch! 
Message Color 
Color is possible in Darkplaces but you only use normal white or orange (bold) in all other engines like this:
\bImportant Message!\b\nNotice, thank you for noticing\n this notice.

For Darkplaces or QuakeLive engines:
The color codes are as follows:
^1 = Red
^2 = Green
^3 = Yellow
^4 = Blue
^5 = Light Blue
^6 = Magenta
^7 = White

E.g:

^4BLUE TEXTBOOK\n^7Normal white message. 
Skies 
Does anyone know where to find some good sky textures? I looked through most of the wads on Quaddicted's wads section but only found a few skies, none of which matched what I was looking for. 
Enjoy 
Skyboxes 
 
Thanks OTP. And GunSgtHighway, although I should've clarified I was looking for old-school style sky textures rather than skyboxes. 
Buttons, Info_notnull And Spawnflags 
Hi!

I'm getting crazy on this.
Is there a way to turn for example lights on and of or turn it on with two buttons and turn it off again? Thought I can handle this with trigger_relays or an info_notnull but I have no coding practise. Is there a tutorial or a manual for coding, spawnflags,...? 
 
turn lights on and off -- give light(s) a targetname, give button that matching target, make sure the button has a wait that is not -1.

same lights with two buttons -- if you want either button to do it, just give both buttons the same target value.

same light with two buttons, where you have to press both -- both buttons have wait = -1, they both target a trigger_counter, which triggers the light. This setup is not repeatable.

two buttons that you have to press both and then the light turns off and then you press them both again and it turns on -- a complicated setup with logic gates probably. 
@GunSgtHighway, Metlslime 
Not sure if this exactly what Sgt wanted, but here's a light that requires pressing two buttons (order doesn't matter) to be turned on or off. The buttons stay depressed until the other is pressed at which point the light toggles and they both reset. Demonstration here, bsp and map here. As metlslime suggested, it's done with some logic gates, a setup that could be cleaned up a lot by someone more skilled with gate optimization who doesn't rely on babby-mode spike shooters like I do, or just using a custom progs set, not to mention fixing up the timing on the button and trigger resets a bit. 
@metlslime And Spud 
Thanks for answers.

What I want to do is to put a little more riddles in my maps.
Means I made three buttons. Two of them have to be pushed for activating something, the other on sets them and the activating thing back to zero and you can push them again.

I don't know if quake supports this logic things with IF and THEN. But hopefully there might be a way. @Spud I'm hoping to find time today or tommorow to check your map out. Big thanks anyway! 
A Non-Gated Community 
Quake doesn't support that kind of logic internally (at least, not in terms of what one can normally use in the map, other than predefined setups i.e. "open door if player has key, else don't open door"), but you can use the various entities to make physical logic gates including if, then, all sorts of and, nand, and so on, and combine them all to do all sorts of tricksy logic stuff that you'd never expect to be possible. Some of them involve other types of map hacks (info_notnulls and InitTriggers and so on), but the most basic form just needs a spike shooter trap, a door, and a button- a simple if gate. From there everything spirals outwards, and you can even save a couple entities/edicts by using further hacks in the gate itself.

There's some great reading material to be found around, including the QuakeWiki entity pages and the QuakeC source, but here's a couple offhand:
New Logic Gate Design (2013) and part two of the same article,, along with Logic Gates for 2017, all hosted at the Tome of Preach, a most excellent site run by Preach that's absolutely chock-full of crazy map hacks. Those articles primarily focus on gates themselves; there's a number of other pages on the site that go into detail about specific hacks, some of which require gates, others that don't.

Not coincidentally, the last page above also links to a relatively ancient example of the aforementioned trap-shooter logic gate in Quake 2, penned by metlslime, whose post is a couple paragraphs up, and whose thread we're posting in, not to mention whose board we're posting on. Maximum respect to the old guard for figuring this stuff out years ago so us noobs don't have to.

The Teaching Old Progs.dat New Tricks thread is an enormous and fantastic source of information and hacks for the vanilla (id1) codebase, many of which aren't collected anywhere else and some of which are only discussed in the thread in throwing-science-at-the-wall form, but would be refined and used by mappers months or even years later. Ctrl+f is your friend, and sometimes stuff shows up in other threads like this one instead; if that thread doesn't have it, I find just Googling "topic or hack you're looking for here" site:celephais.net often works very well.

Lastly, dumptruck_ds (whose videos relating to Trenchbroom you've likely seen once or a dozen times) created and runs a Quake mapping help/discussion Discord channel along with a number of long-time or experienced mappers, if you're into the instant-response* type of help. You can't say how fucking awesome someone's newest screenshot or mod might be, though, because apparently we aren't all consenting adults there.

*instant response may be less than instant depending on time of day and interest level of whoever's online 
@Spud 
Wow! That helps!Thanks!
It's realy hard to get into that stuff no matter what you find in the web as long as you find the links between informations and understand how to use it.
Thank you very much!

PS.: No instant reponse guy. Have a Job to do too. :) 
@Spud Twobuttons.map 
Thanks for the map. Checked it.
Thats a lot to learn. :)

Best wishes. 
Similar Hack 
Here's a similar hack which is specifically about toggling lights. There are five different lights in the example, so it's a bit more complex that what you were after. But there are some useful things to bear in mind here.

https://tomeofpreach.wordpress.com/2018/02/22/five-statues-challenge/

I should also mention that I wouldn't treat the 2013 logic gates as an alternative to the 2017 article - the 2017 method is better all round because it fixes a bug, is easier to integrate using copy-paste, and supports an unlimited number of output on a single gate. Upgrade your map today! 
@Preach 
Thanks!. Thats an good to read tutorial!

Think I got it slowly.
So I have to transfer my If/Then-diagram to a gate model where every gate simulates an 0-1 status that will be activated by a target_shooter pointing on an info_notnull that does the action? 
Trenchbroom Help 
it's been a pretty long while since I've started on a new map in trenchbroom, but when I run the compiler it looks like there's no .bsp for the map. I've had this problem before but I don't remember what to do.

here's what it says:

#### Executing 'C:\Program Files (x86)\Steam\steamapps\common\Quake\bin\light.exe coldwiz.bsp'
---- light / TyrUtils v0.15 ----
running with 4 threads
************ ERROR ************
Error opening coldwiz.bsp: No such file or directory 
Skizzle 
Many times this is an issue with spaces in the path names. I see you are using TyrUtils so that could be it. ericw tools are the next "gen" of TyrUtils. I highly recommend you use them. https://ericwa.github.io/ericw-tools/

And in general just check all the paths in your compiling configs. 99% of the time that's is the issue. 
Triggering Console Variables At Runtime 
Hi, deving a map for AD mod with rusty hands.

How do you trigger console commands (or change cvars) within a map at runtime? Triggers, timers, etc.
In this case I want to alter the worldspawn "_gamma" value.

Searched various boards but couldn't find or understand how. Is it possible without altering .qc?

Thanks in advance. 
Look In The Manual 
For stuffcmd. Not sure AD has this but probably does.

People are wary of abuse so be careful. 
Stuffcmd 
What's the nastiest, most malicious thing a jolly japester can do with this? I'm genuinely intrigued.

Sounds like a good Jam idea: "break someone's PC with stuffcmd lol". 
Well 
Allegedly this used to be a thing:

apparently the Quake engine lets you overwrite the game data with savegames should you be enough of a moron to call your save “pak0.pak”, a bug that seems to hail all the way from the original release eighteen years ago

But I can't reproduce it in QuakeSpasm... maybe for the best. 
Trololol 
Well that's a good one. 
Not Down That Road.. 
..yeah, better stick to fog triggers. 
The Road To Hell Is Paved With\nsave Pak0.sav 
Fitzquake-derived ports (at least QS and Mark V) are smart enough to add a .sav extension to the end of whatever filename you enter, even if it already includes a different one, so it won't let you overwrite any files other than existing save files. Other ports and versions do not do that, however, meaning that you can indeed overwrite .pak files with savegames in Winquake... and Darkplaces. Oh yes.

I actually fiddled with this on my own a little while back to see what exactly can be done in that vein with vanilla console commands, and the answer turns out to be "not much." Most cvars that allow you to stuffcmd (map, save, load, etc) will either interpret directory-modifying characters as part of the normal folder or filepath or are intentionally set to ignore such commands, e.g.
save foo/bar.sav (a subfolder) will spit out
ERROR: couldn't open.
and
save ..foo.sav (a parent directory) will throw up
Relative pathnames are not allowed.
and
save ./foo.sav (the same directory) will expel
Saving game to <Quake directory>/./foo.sav... but will write the save file to the normal directory, making the ./ showing up misleading.
game, which isn't present in the original engines, will auto-reject anything that isn't a single directory name, not a path.

So you can overwrite .pak files in your game's base directory and not much else and that's only if you're using a outdated or shitty engine, but what about loading files? Again, nearly everything is locked down- map will load maps from subfolders, but not in parent ones. Everything else will give the same errors (primarily the relative pathnames one) except the exec command, which does allow directory changes in every port I've tried. Not especially interesting, but it does allow it, e.g.
exec ../quoth/config.cfg while playing in id1 will function and return
execing ../quoth/config.cfg
This (obviously) also works for the quake.rc stored within vanilla or mod .pak files. All the above limitations still apply to whatever's written in those config files, though. You can also string multiple ../ segments to navigate to two, three, and so on folders up.

So, food for thought: someone more malicious and skilled than myself can probably find some nasty way to write to system files outside of the Quake directory, and Darkplaces sucks. I didn't test the various extra console stuff in AD and similar mods, but I doubt they left any serious holes open. 
SM189 - Doom 
Sorry for likely asking a repeated question, but in regards to SM189 being:

"Progs: id1, because I feel it's too soon for another modded pack after the last speedmap/halloween jam/xmas jam."

Obviously Id1 .dat entities etc., yet are these vanilla jams intended to run w/out mod engines?

In this case I'd want to use alphas textures, eg. window/crossbar alphas contained in the various doomtex wads. Is there a restriction on the added functionality these mod engines provide? (alpha, fog, increased limits..)

..also, where the HELL should it be submitted?? 
Hi. 
Obviously Id1 .dat entities etc., yet are these vanilla jams intended to run w/out mod engines?

Yes, but almost everybody uses QuakeSpasm, so it's fine to consider a target engine.

..also, where the HELL should it be submitted??

Package the .bsp and the .lit if it exists in a zip file, upload to your file sharing service of choice cough and post in the speedmapping thread.

Alternatively catch me on the Quake Mapping Discord
Thanks A Bunch! 
"Hmm, not enough ash.." *stirs mortar 
Info_player_start Ambience 
I'm new to trenchbroom, been messing around with it after watching some tutorials just to get a handle on working with the software, and the entity info_player_start seems to be emitting that teleporter ambience. how do I get rid of this? 
@shrotus 
If you have a monster spawning in using the point entity method set the spawnflag to 2 for silent. That will solve this issue.

When I made the entity tutorial I was unaware that that hack caused the teleport sound to play at origin 0.0.0

Hopefully this is the cause of your issue. 
@shrotus 
If you have a monster spawning in using the point entity method set the spawnflag to 2 for silent. That will solve this issue.

When I made the entity tutorial I was unaware that that hack caused the teleport sound to play at origin 0.0.0

Hopefully this is the cause of your issue. 
@dumptruck 
That did the trick. great tutorials! 
Need Help 
Greetings everyone! I'm pretty new at Quake mapping and mapping in general for that matter and need help.

I'm trying to build a map for Quake Rally. It is a rough recreation of Bowser Castle 1 from Mario Kart. When compiling the map it seems to do fine but when it runs Quake (I use Qrack by the way) it plays my pc's error sound and closes Qrack. I can fix this by changing the sky brush to a different texture and getting rid of the lava. This allows the map to compile and launch. Once I get in the game though it spawns me in one of the outer walls instead of where the info_player_start is. I can walk out of the wall and fall to the floor. Once i'm on the floor I am able to walk around the bottom of the map until i hit an invisible wall or the game window turns black. I've tried all I can think of and can't get it to work properly, any help would be greatly appreciated. Thanks. 
 
What are the coordinates of your info_player_start? Likely the entire map needs to be shifted to be inside +/-4096. 
 
The info_player_start is at -1440 8832 360 
Standard BSP Limit 
Yep that's it. Select all and move to center everything over the world's 0 0 0. Make sure you have Texture Lock on when you move it or everthing will get off.

Quake has a max positive or negative position of 4096 in any direction. I believe you can still have stuff past 4096, like distant towers or some such, it just won't be reachable. <side note> certain engines allow for larger maps if you compile with -bsp2 but I don't recommend it for beginners unless your map is truly that gobsmackingly huge. 
No Option To Add A Wad File 
https://speeed.ga/pic/none.jpg



I have the wad place in

quakedev/wads

Thanks 
Jaeon 
You need to set (or reset) your Quake directory in Preferences. 
Follow Up 
Merry Christmas ! I see that you are the author of the top notch youtube tutorials. I did not want to be more specific in my initial post. What I am attempting is to add a generic game, namely Kingpin. I again followed your setup tutorial. I was able to add a def file(which initially did not provide for a worldspawn) but by cutting and pasting other def or fgd files I overcame that problem. That does not mean the I solved the problem. I was also able to get the textures in Trenchbroom though I can't be specific as to how.

Maybe this log will help. By no means do I expect you to solve this but any suggestions would be great

---- qbsp / ericw-tools v0.18.1 ----
Input file: k1.map
Output file: k1.bsp

---- LoadMapFile ----
*** WARNING 06: No info_player_deathmatch entities in level
36 faces
6 brushes
3 entities
1 unique texnames
3 texinfo

*** WARNING 00: No wad or _wad key exists in the worldmodel
Processing hull 0...
---- Brush_LoadEntity ----
6 brushes
12 planes
---- CSGFaces ----
36 brushfaces
24 csgfaces
12 mergedfaces
---- SolidBSP ----
24 split nodes
6 solid leafs
19 empty leafs
0 water leafs
0 detail leafs
0 detail illusionary leafs
0 detail fence leafs
0 illusionary visblocker leafs
33 leaffaces
33 nodefaces
---- Portalize ----
19 vis leafs
19 vis clusters
48 vis portals
---- FillOutside ----
18 outleafs
---- MergeAll ----
6 mergefaces
---- SolidBSP ----
6 split nodes
6 solid leafs
1 empty leafs
0 water leafs
0 detail leafs
0 detail illusionary leafs
0 detail fence leafs
0 illusionary visblocker leafs
6 leaffaces
6 nodefaces
---- Portalize ----
1 vis leafs
1 vis clusters
0 vis portals
---- Tjunc ----
12 world edges
24 edge points
0 edges added by tjunctions
0 faces added by tjunctions
---- MakeFaceEdges ----
---- GrowRegions ----
Processing hull 1...
Processing hull 2...
*** WARNING 16: Texture b_cp_v18 not found
---- WriteBSPFile ----
Wrote k1.bsp
17 planes 340
8 vertexes 96
6 nodes 144
3 texinfo 120
6 faces 120
12 clipnodes 96
2 leafs 56
6 marksurfaces 12
24 surfedges 96
13 edges 52
1 textures 8
lightdata 0
visdata 0
entdata 401

0.031 seconds elapsed
Peak memory usage: 168816 (164.9k) 
Vis Murderation. 
0....1....2....3....4....5\
WARNING: RecursiveLeafFlow: recursion on leaf 550


Help please.

Yes I have googled and searched through this thread and see leafs mentioned a lot but don't understand what is going on nor how to fix it.

Yes I have used a LOT of func_detail_walls and func_detail_illusionaries

Yes my map does have a lot of botched rotated stuff tho.

Ta
 
Yes my map does have a lot of botched rotated stuff tho

Live by the sword.... 
Thanks Kinn. 
Any idea how to fix or reduce the Leaf Recursion error?

Incidentally, I didn't get this error when I did a fullvis a week or two ago, when I already had almost all of the rotated stuff in place. 
I Unno 
I assume the warning message doesn't indicate the area of the map where the problem is?

Is what you've posted all the info that you have? 
Wired Lmscale Behavior 
trying to compile map with options (using ericw-tools 0.18.1):
light.exe -lmscale 4

And here results on different sourceports (latest available versions):
FTE https://imgur.com/a/6mLY1mM
QS https://imgur.com/a/GyzozC8
QSS https://imgur.com/a/jE0nvBA

For FTE all working well. According to http://www.celephais.net/board/view_thread.php?id=4&start=19267&end=19267#19267 this feature supported by QSS, but actually not, or im doing something wrong? Maybe i need some additional parameters or config tweaks for QSS? And is this feature supported by QS?

And one more question about ericw-light. When im using options:
light.exe -extra4 -lmscale 4
it reports error:
C:\projects\ericw-tools\light\trace_embree.cc:696: Q_assert(rayindex <= 32767) failed.

Anyone know any workarounds for this particular options combination? 
 
Hey, I downloaded gtkradiant, made a test map, and found the bsp menu empty, so I cant compile. I then found a link to netradiant, made a testmap and tried to compile. it makes a testmap.bak file. I need a bsp file right? the hell do i do? 
@-StrickNine 
That's because GtKRadiant is an editor, not a compiler.
For god compiler files search for ericw compiler

I tried a long time to get the compiler running under Radiant.
Then I decided to use the editor for maps,
and save the map to a different file with the compiler tools.
Works fine now. 
 
thanks for the reply madfox. I see now in radiant when i use the compile options it writes it to qe3bsp.bat, but the syntax is all wrong so it doesnt work. I downloaded the ericw tools and did it manually. The level loads, but the textures don't. Any idea why? 
@strickNine 
Check for spaces in the pathnames to your wad. Compilers can chock on those. I recommend using Necros' Compiling GUI to simplify the process. https://shoresofnis.wordpress.com/utilities/ne_q1spcompilinggui/ 
#20009 (@KLIMaka) 
I don't know why you're getting different results in qss from either of the other two engines.
what I can say, however, is that you should be using the _lmscale worldspawn/entity key instead of the -lmscale commandline arg - this will fix QuakeSpasm/others (by providing multiple sets of lightmap data in a backwards-compatible way, allowing for opportunistic upgrades). (This also allows different lightmap scales per func_detail etc, unlike the commandline arg.) 
Wad File 
When the wad file doesn't load it means the path is unclear.

You can open the *.map file with TexPad and at the beginning you see something like:

"classname" "worldspawn"
"message" "MyMap"
"worldtype" "0"
"sounds" "4"
"wad" "C:/Quake/ID1/Quake101.wad"


It is the wad path you should look at and make sure the wad files are in C:\Quake|ID1\... 
#20014 (@Spike) 
Thanks! I tried it before, but just now figured out that
_lmscale == 1/-lmscale 
Trigger_teleport, Info_teleport_destination And Trigger_once 
Hello, I am teleporting monsters into my map. I have made two functioning examples. They work fine. The third teleports the monster to 0, 0, 0 no matter what I try. I know the third example is set correctly because when I make a map just to test it no problems occur. Any thoughts? 
Jaeon 
There's a problem with the teleport destination. Check if the targetname is correct, if the (skill) spawnflags are correct, and if it's placed correctly (enough space, not inside geometry). 
Figured It Out 
The first teleport combo was set wrong but none the less it worked. The second was a copy and paste of the first with target and targetnames changed and it worked as well. The third one was a new build with the same target and targetname scheme used previous with minor changes to indicate new events. Initially I was transported to 0, 0, 0. I saw an error and fixed it then the monster went to 0,0,0. I spent a couple hours trying various things but none of that was fruitful so I began asking for help and rereading the docs. I interpreted them differently and fixed my scheme. It now works. The reason my third scheme worked in a map with no other schemes seems to verify that one or two mistakes can be forgiven but as in life if you keep making the same mistake over and over you will pay. Thanks for the reply negke 
Coloured Light ~ Switch On/off 
I have a room with two lights.
One is coloured, the other one not.
When I add a button I can switch the white one on/off,
if I switch the coloured one nothing happens.
Is this preordered? 
 
Can't output centerprint message if activator is not "player" in standart progs.dat (trigger_relay or other). Is there any way to do this? 
 
Set an enemy | 1 key/value field on the trigger sending the message. In singleplayer, the player is always edict number 1 (worldspawn being 0), and the entity being activated should still consider the player its enemy, thus sending the message properly- at least in my experience. Note that this only works in singleplayer, as MP will have different edict numbers for different players. 
@Spud 
I understand your idea, it is interesting, but it does not work for me. The event sends a monster. I added him the property "enemy" "1". He is killed by a Vore's shell. But the message is not displayed.

I looked at the source code.

void () monster_death_use =
{
...  
if (! self.target)     return;  

activator = self.enemy;  
SUB_UseTargets ();
};

Only a number is assigned here. But elsewhere the entity is verified.    

if (activator.classname == "player" && (self.spawnflags & SPAWNFLAG_NOMESSAGE) == 0)

How can this work? 
 
And I have another problem. If I set "enemy" "1" for a monster, then his stops seeing me 
Suggestion For Digs 
Hi Digs,

I think you can use the following hack to get your message to display:
https://tomeofpreach.wordpress.com/2012/11/18/mid-map-entity-spawning/
Use this hack to create a trigger with your message, which gets spawned when the Vore dies. You'll need to make sure that the trigger is so big that the player will hit it straight away - why not make it the size of the whole map! 
@Preach 
Thank you very much! This is a very interesting decision. I will try to use it in the future when the opportunity arises. But I already sent the map for which it was necessary. Therefore, now only the next time. Thanks again 
Anyone Using Linux To Map ? 
And would point me in the right direction for tools of the trade, wanted to start making maps for a long time, just lurked around for almost a year... 
@vossk 
Trenchbroom is available for linux:
https://github.com/kduske/TrenchBroom/releases
As well as EricW's compilers:
https://ericwa.github.io/ericw-tools/

I don't use Linux, but this is what I'm using currently for mapping and am pretty happy with it. 
Unreal Engine Question 
Does anyone have a pipeline going from Trenchbroom to unreal engine 4? Or failing that, is there a good way to “map” in unreal engine 4 in a vaguely “quakey” manner? 
Starbuck 
Don't have any experience with it myself, but you might want to check out HammUEr:

https://nte.itch.io/hammuer 
 
HammUEr will be your best bet, me thinks. I havent used it personally but it very much seems to be worth the money. 
HammEUr 
That’s a terrible name for something that looks really good. Thanks! Will look into it. 
How To Change A Q2 Map's Gravity By Hitting An Ingame Button / Trigger 
Is there any resource that could help me find a way to change gravity in Quake2 midmap? Either a tutorial on how to create such a custom entity, a way to alter the existing trigger_gravity in order to affect players as well, or some other way?

Thanks 
TrenchBroom For CTF Maps? 
I'm trying to make a Threewave map. Does anyone know where to find the FGD/DEF files for use with TrenchBroom or another Level Editor? They don't seem to be anywhere. 
Open A Door Using A Key 
How would I create a door that rises upwards when activated by a key? I am using Trenchbroom 2. 
Thoth: 
Good question about CTF.

As far as I know, back in the day CTF mappers would just edit their own copy of the fgd to define a few more entities, because there weren't that many new entities to add & they didn't have many interesting keys to set on them.

(Or even manually edit the map file to add the entities.)

You have item_flag_team1 and item_flag_team2 for the red/blue flags. Then info_player_team1 and info_player_team2 for the initial spawns. The spawn entities could have the angle key set to determine their facing. That's about it.

For respawns after the initial team spawns, that just used normal info_player_deathmatch entities. 
What About Runes? 
Are they just the normal quake runes? Or is there a different info? 
 
Runes will automatically spawn at randomly selected info_player_deathmatch locations. 
Failing To Understand Func_wall 
Hello folks,

My goal: Have an explosive box blow a hole in a wall. Simply deleting a brush is all I'm looking for.

The following image shows what I've got:
https://i.imgur.com/fN5jwAk.jpg

I've tried to directly "target" and "killtarget" the func_wall from the misc_explobox, and I've tried throwing a trigger_relay in the middle because some Quake wiki mentioned it. Tried a short delay and I can't really justify why, just throwing things at the func_wall and hoping something sticks. I'm considering using a silent, instantaneous func_plat to "disappear", but there must be a more elegant solution.

Thanks for reading my post 
Tez 
Create a func_door, choose the appropriate spawnflag for the key color you want and then give the value -1 for the angle key. (If you want the door to go down, give the value -2.) 
TheNewFlesh. 
I have no idea, logic looks sensible to me. But the first thing I'd do is troubleshoot the explodobox, replace it with a button and see if that works. If it does and there's an issue with explodoboxes targetting stuff, then put an invisible shootable button beneath the explodobox and have that killtarget the func wall? 
@NewFlesh, Shambler 
Exploboxes won't trigger or killtarget entities when they explode because on death they run the barrel_explode function, which just goes kablooey and deletes itself and is missing the SUB_UseTargets function that allows an entity to trigger and killtarget things. However, with the dark majyyks of map hacks, it's possible to rig up a setup to do what NewFlesh wants, with only one extra entity and thankfully no usual fussing with any info_notnulls.

Normally, you could just manually set the explosive box to killtarget something by sticking SUB_UseTargets someplace in its key/value fields, but just about every field is already taken- th_die is already filled with barrel_explode. th_pain works, but only activates if the barrel isn't blown up in one shot, and then you have the wall already missing and the barrel still clearly not blown up. If your name is Preach and you're a member of Mensa, maybe you could juryrig something with SUB_CalcMoveDone, but it's five in the morning and none of us have time for that crap. The one big field that we want that a boom-box doesn't use by default is use, but how do you use a barrel o' boom? Make a trigger_once around it with a reasonable amount of health (both sizes of explodebox have 20 health, for reference) and make it just big enough to overlap the funbox. Have the trigger_once target both the explodebox and a relay that killtargets the wall- this is necessary because in id1 progs, you can't have one relay both target and killtarget things at once. Then add a use | barrel_explode key/value pair to the explodebox- this will make it go boom like normal when called upon by the trigger_once. In short:

classname | barrel_explode
origin | (wherever the box is placed)

targetname | splodebox <- add this line, change name if desired
use | barrel_explode <- add this line

classname | trigger_once
target |
splodebox <- make it match the targetname above
health |
20 <- this is the default explodebox health

classname | trigger_relay
origin | (doesn't matter)
targetname |
splodebox <- share a targetname with the actual explosive box so both are hit by the trigger_once
killtarget | splodewall <- use whatever name fits your normal entity naming schemes

classname | func_wall
targetname |
splodewall <- this is the wall you want to be 'destroyed,' so link it appropriately

Double check to make sure everything's wired up right and it should work just fine. Note that this really works with anything you want instead of an actual misc_explobox, but by using an actual box (even if the box itself isn't actually shot by the player) you don't have to worry about spoofing a model or including extra textures or anything. Or, you could just add a tiny invisible button like Shambler suggested... if you're a weenie. 
20051, Continued 
The bit that says
classname | barrel_explode
should actually be
classname | misc_explobox or misc_explobox2
depending on which size box you want to use. I slacked off in proofreading and now I'm the weenie. 
So Basically. 
Use the shootable button method. 
 
I hope you stub your toe on your dumb button. 
Yup. 
Then it will trigger the relay and remove the func wall. Unlike your essay of code, god knows what all that does, maybe someone else can read it and summarise for me. 
From The Quakelab - Exploding Walls 
Here's a file passed the BBS -
Exploding Walls v1.0 from The QuakeLab
6 okt 1996.
It is a nice example of exploding walls.

exploding walls

Have Fun With It! 
Func_wall Suggestions 
Thank you kindly for the suggestions, folks! I'll sink my teeth into it ASAP and I'll be sure to upload a version for testing when it shapes up a little more. 
@spud 
Why not a trigger once under a false floor (beneath the explosion) with health set instead of all that? 
 
No real reason other than autism, I guess. Or that trigger_onces don't take damage from explobox explosions. There's a thousand ways to accomplish the same thing, I just went with the trigger setup out of lack of knowledge for what triggers and buttons would do when in floors, behind geometry, inside the button, etc. 
Heh 
trigger_onces don't take damage from explobox explosions

duh me 
Spud You're Scaring The Children 
A trigger_once inside the explodobox will suffice 
Hide The Children. 
Trigger_once doesn't take damage from the explodobox. Keep up, man. 
Kept Up 
Quick test shows it working here 
 
You got a copy of the .map you can upload? I tried it multiple ways and no matter what, the trigger wasn't hurt and required being shot by the player separately, even when it's buried inside the box itself and should be at ground zero of the explosion. 
I Tested Earlier Also... 
I had same results as Spud. As he and others posted, explodbox did no damage to the trigger. 
Map+bsp 
 
Strange, I'm using what should by all means be the exact same setup and it doesn't work. I thought maybe it was related to entity order but my test has the explobox listed before the trigger_once, just like you do. 
Very Strange 
You can compile the map I uploaded and it works? 
How Do I Make Movers In Quake (Darkplaces)? 
The only id Tech-based game I've ever mapped for is Prey. I like its way to manage movers from its scripting system, where triggers call a scripted function that specifies which movers will have to move, in which direction, how long the movement must take, how many degrees they must rotate...

With the recent news of 3DRealms releasing a Darkplaces-based FPS soon, I started using GTKRadiant to map for Darkplaces. While the process of building the architecture for a level is quite similar to Preditor (because Preditor was based on GTKRadiant), there is no func_mover to select. So how do I add moving brushes in Darkplaces levels? 
@ww 
Yeah, compiled it using ericw's tools and it worked just fine, player_start health buffer and all. 
Devil Master 
This will be specific to the Wrath gamecode, not the DP engine code. For now, just mackle up placeholder movers using the vanilla Quake progs, using func_door, func_train or whatever, and then when 3DR release a dev kit for their game you'll have to convert your placeholder movers over to whatever system they are using. 
Movers In Darkplaces 
Oh. Then, I imagine there's no guarantee it's even gonna be possible to use something similar to Prey's movers, because 3DRealms had made a big deal about making everything with QuakeC, for authenticity's sake.
Which leads me to ask another question: is it possible to use QuakeC to move around models (e.g. .md3 models) instead? 
Explode Box Damages 
my trigger_once - no problems.. I set the health to 2, put the trigger inside (and outside) the box... works fine. 
Func_wall Question Closure 
Ladies and Gentlemen, you've truly gone above and beyond to satisfy my question, and I appreciate it very much.

TL;DR - So far, so good!

I tried trigger_once outside of my explobox, mostly satisfied, but in 1% of my playtests, a monster would trigger it and the wall sequence would fail.

My .map currently has a shootbutton underneath the explobox and it has triggered as intended in 100% of playtests so far. Today, I realized the button is making the typical button sound, and I'd rather not have that.

I'll try the trigger_once INSIDE the explobox, thanks again for the stream of suggestions. If I can't get it to work, I'll fall back to the button and accept the additional sound effect.

I just noticed there was further discussion about my question, so I felt the need to chime in. I do intend to post my map eventually, but it's my first "complete" map. I don't want to spam your board with numerous iterations of this cornball, amateur, mess of polygons. 
@-newflash 
#20058: closed wall that explodes, no matter how many monsters walk aside.
Just reset the path_corners somewhere behind the surface, or they will z-brush. 
Texture Problem? Any Ideas? 
Mostly empty map in which I test new textures. And it seems that some of them are causing problems, 'cause when I fill the level with standard texture, it compiles. One texture at a time it also compiles. But when there are many (no more than 10, actually), it doesn't. Is there a way to pin point the problem (without hours of combinations checking)? I would guess it's something to do with the name, but names are pretty standarad, like: snowed_rock and burned_wood.

line 6: Unrecognised string escape - \S
line 6: Unrecognised string escape - \s
line 6: Unrecognised string escape - \c
line 6: Unrecognised string escape - \Q
line 6: Unrecognised string escape - \I
line 6: Unrecognised string escape - \q
line 6: Unrecognised string escape - \И
line 6: Unrecognised string escape - \T
line 6: Unrecognised string escape - \G
line 6: Unrecognised string escape - \B
line 6: Unrecognised string escape - \S
line 6: Unrecognised string escape - \s
line 6: Unrecognised string escape - \c
line 6: Unrecognised string escape - \Q
line 6: Unrecognised string escape - \I
line 6: Unrecognised string escape - \s
line 6: Unrecognised string escape - \S
line 6: Unrecognised string escape - \s
line 6: Unrecognised string escape - \c
line 6: Unrecognised string escape - \Q
line 6: Unrecognised string escape - \I
line 6: Unrecognised string escape - \f

BTW, what would happen if I'd had textures with the same name? I'm asking, 'cause 2 my of wads have different textures named dry_wood.

---

Texture screen: https://drive.google.com/open?id=1mDFK8cLOlgiFY5CqVha5hmsoY_FGeh-i (they are mostly from Tomb Raider xD) 
The Solution? 
eh, I just copied parts of the map into the new file and it works... >_> 
Hi I Need Some Mapping Help. 
I have looked in here but....couldn't get a conclusion.

[19:36] Shambler: can you give me the top ten causes and top ten cures for massive greyscale in quakespasm in this day and age?

[19:36] Shambler: i get a fuck off big lump of it in one area of a map i am working on

[19:37] Shambler: the map is sealed and vises, the other areas are fine, this area is not looking towards an excessively detailed / open view

[19:37] Shambler: there's a lot of func_detail, backed up with worldspawn where it needs sealing

[19:39] Shambler: it occured during testing but not after tinkering with this area in particular (well i was tinkering with a gameplay element but not changing architecture there)
 
Hi 
[21:18] madfox : When I first entered this board in 1999 I was afraid Shambler was really developper of the monster in Quake.
[21:20] madfox : Later on I realized it was just a nickname.
[21:22] madfox: Maybe it's because I'm a foreigner who has to register to post.


Not sure who's Shambler anymore.., 
0.125 
Shambler.map is like madfox.mdl. The two of you should team up... or maybe you've been one and the same all this time! 
Fine. Sending The .map File To You To Fix. 
 
Shambler 
Any screenshots? Also have you tried older versions of ericw's tool to see if there's a difference? 
Hopefully A Dumb Question 
Is there any reason why when I walk down a long hallway, suddenly the nearby geometry goes invisible and I can see through to the other side of the map? Compiled with and without vis, same result.

I've uploaded a clip:
https://gfycat.com/ThatInnocentCrayfish 
 
Your map goes out of bounds, so to speak. Nothing can go beyond the -4096 and +4096 coordinates on each axis. 
@Dumptruck 
Shots from discord:

Before moving into greyflash area:
https://cdn.discordapp.com/attachments/292236297173467138/558959023597289495/spasm0005.png

After moving:
https://cdn.discordapp.com/attachments/292236297173467138/558959051493605377/spasm0006.png

Greyflash area from other side:
https://cdn.discordapp.com/attachments/292236297173467138/558959083273584640/spasm0004.png

I've tried compiling with a new dev build ericw linked me, same issue.

BUT...


[10:24] Shambler: now i just checked and when i delete my big prefab-filled box, it works fine
[10:24] Shambler: prefab box is sealed with func_group (for easy access obvz), not worldspawn
[10:25] Shambler: but that should still stop it being drawn?
[10:25] Shambler: n.b. in image 2, that pillar is func_group or worldspawn now, not func_detail - i changed it cus there is a corridor behind and i was worried about line of sight....makes no difference ofc


It seems to be, in the words of Kinn "the engine hitting the limit of the number of faces it is allowed to draw"??

Obvz I will remove prefab box before release, and I can trim down some designs....but I've got plenty more detail to add....if there is other stuff I can do with func_whatevers....that is useful. 
 
the engine hitting the limit of the number of faces it is allowed to draw

This was always an issue in WinQuake (had to stick beefed up r_maxedges and r_maxsurfs in the config file).

...but, I would have expected QuakeSpasm has this pretty damn high (as in: "you'll never need to worry about it" high) by default??

Do these faces flicker on and off if you move around, shums? 
 
Thank you #20088, there is clearly some fat I can trim from that level 
 
Hello. I want to try to make some maps for Quake. Well, wanted since long ago, but never got far. Now I saw AD and discovered Trenchbroom and had my interest in Q mapping renewed. So I've read Trenchbroom manual, and tried some things, and got some questions.

1. Is there a way to create geometry by drawing it with vertexes from scratch and extruding or smth? In any Q editor?
What are standard ways to shape geometry in Trenchbroom? Vertex tool and Brush tool feel kind of awkward, probably because I dunno how to use them properly lol.
By far I've had most success with cuboids and CSG substract - made a kind of hall with rooms on sides to test various blnking lights in each room.

2. I've finally found out that stuff like doors is done with brush entities and their keys/values, after downloading Quake source maps from Romero's site and looking at them. Wasn't mentioned in manual much (not the brush entities themselves, but making various things :). Should I just continue to look up stuff in id maps and look up entity parameters in editor/the quake wiki entity guide or there exist some good tutorials on the subject? Seems to be better documented for id Tech 1 :)) 
 
Trenchbroom is a multi-game editor, so by design its manual doesn't talk much about the specifics of mapping for a particular game.

Have a look at:

https://quakewiki.org/wiki/Getting_Started_Mapping

https://www.youtube.com/watch?v=gONePWocbqA&list=PLgDKRPte5Y0AZ_K_PZbWbgBAEt5xf74aE 
@BlueSkullKey 
Doom and Quake mapping are very different beasts as you can see. Your best best is to learn to think and map in 3d. Especially with TrenchBroom as your tool of choice.

Now that being said, there is the "brush tool" (default is B) that you can use to "click" out vertices and then extrude. But I would not recommend making maps entirely this way. It's very limited in that it can only be used on an existing surface and only in 3d mode. It's also a bit clunky. Not many ppl use it AFAIK.

Your best bet is to watch my early tutorials on each of the tools and start creating brushes. For the most part, you will need to abandon most of what you have learned from Doom editing. Quake is true 3d and TB makes creating levels more of a 3d process than before.

The good news there are tons of resources here and elsewhere.

Bal's mapping streams are good to watch - although he's very fast.
https://www.twitch.tv/videos/370358937

Good luck! 
2 Post 
regarding the link above.... his mapping starts about 35 minutes into that video. 
 
Thanks for replies. I'll look through links/videos a little later.
I wasn't going to make maps using the brush tool only or such. I'm just trying to figure out what is the usual workflow for creating more complexly shaped things than a corridor or box room, before starting to make a finished map.
Seems that it is mostly adding up sloped/cut/rotated cuboid brushes?
I guess there's also nothing like subdividing faces to get more vertices. 
Freecs FTE Textures Trouble 
Hello, I have some troubles with textures on my map in FTE engine:

My map has low-quality textures and here is how it looks in darkplaces engine:
https://pp.userapi.com/c852036/v852036050/f069d/0_mPVRJq0RI.jpg

In darkplaces I added high quality textures in "textures" folder (each hd texture name corresponds to each lq texture name). I also use normal maps and gloss. Here is how it looks after that:
https://pp.userapi.com/c852036/v852036050/f068b/vqyePzRkKEg.jpg

I tried to do the same in FTE engine. So I have a map with low quality textures and I have some hd textures with normal maps and gloss in "textures" folder. Hd textures are loaded too:
https://pp.userapi.com/c856016/v856016024/17d19/O76Ncfgg5nQ.jpg

After that i decided to run this map in "Freecs" for FTE quake. The problem is that now hd textures are not loaded from "textures" folder. Only normal maps and gloss can be loaded. Screenshot:
https://pp.userapi.com/c852036/v852036050/f0664/6TWdO2Y4pPo.jpg

I replaced all the cfg files in freecs for cfg files from my mod. The graphics changed but my hd textures are still can not be loaded. I also tried to use different formats - tga and jpg for textures in "textures" folder but still no result. Map is in quake 3 format.

Does anyone know how to solve this issue?
(sorry if I made any mistakes, my English is still poor) 
 
try gl_load24bit 1 
Reply To Spike 
This variable is already set to 1 on those screenshots. I tried to change its value to 0 and return to 1 but still nothing changed. 
 
I have path with 3 path_corner ("wait" "-1"). I made 2 trigger_once for start func_train. But only one works. How to make to move to the next path_corner only in the event? 
Digs 
You can't... wait -1 stops the train permanently. 
 
rubicon 2 source has this feature ... every time it's triggered it starts moving again. 
 
I took a look at your source a while back, I'll add it to progs_dump for the next final release. It keeps coming up so ppl want it. 
Quick Question. 
I have seen in some maps glass that is transparent and I couldnt find any help on how to do this.
Can anyone tell me how to do something like this? 
Nolcoz 
"alpha" key on brush entities, from 0 (invisible) to 1 (opaque). 
Thanks! 
 
Water Fullbright/minlight 
Is there any way to make it so water is not a set brightness? I'm using waterfall textures from ikwhite that fall into a vanilla water texture. I need either a way to set the water texture to not be fullbright/minlight or a better texture set for a waterfall into a body of standing water. Thanks for any help. 
^^^^ 
I have not tried this but you try a func illusionary brush above the liquid with a black texture and set alpha between 0 and 1 (i.e. 0.5) to darken the brush underneath.

Good luck! 
@dumptruck_ds 
Thanks. I'll give that a try. 
Different Music Tracks In One Map? 
Hi!
I'm still trying to get more atmosphere to different sections in my map.
Does anybody know if there's a mod or something to play different music tracks in a map, activated by a trigger? 
#20122 AD(Arcane Dimensions) 
Has "trigger_cdtrack"

I'm sure you could look at the QC and use that in your own progs.dat if you did not want to use the whole Mod. 
@_GunStHighway 
Short tutorial from Inside3D.
Quake1 Background Sounds 
@damage_inc And Madfox 
Thanks. I'm testing this and tell you if it works.

Best wishes
Gunny 
Noob Question About Removing Limits 
Hi. I am new to mapping, and working on my first quake map, for AD mod. I am using the latest Quakespasm and Trenchbroom 2.
I am about about halfway done with the map, and seem to have hit the limits. When I compile, no lights and everything is dark.
From scouring the net, I understand I need to use BSP2 and sv_protocol 999 ?
How do I do this ? Where do I change these things ? 
 
From scouring the net, I understand I need to use BSP2 and sv_protocol 999 ?

You 100% do not. 
 
No lights and pitch black map does not sound like something related to hitting any BSP limits, you probably broke something else.
To test bsp2, just put -bsp2 in your qbsp.exe params. 
Compile With Light 
Try running LIGHT.exe when you compile. Tends to brighten things up sometimes. 
@Strydom 
Come over to Quake Mapping Discord for real time help. https://discordapp.com/invite/j5xh8QT

Sounds like you are running light but may not have enough (any?) in your map. If you didn't run LIGHT the map would be full brightness. 
@Strydom 
AND come over to Terrafusion Discord for real time banter and casual on-topic and off-topic chat.
https://discord.gg/d5mytUj 
29 posts not shown on this page because they were spam
First | Previous | Next | Last
Post A Reply:
Name:
Title:
Body:
message
question
exclamation
idea
flame
noflame
error
skull
beer
moon
pent
rocket
sheep
pacman
pig
cheese
worldcraft
gauntlet
crate
pitfall
pimp
smile
cool
sad
frown
oi
yay
tongue
evil
wink
neutral
q1
q2
q3
ut
hl
cs
doom
dkt
serious
cube
Website copyright © 2002-2019 John Fitzgibbons. All posts are copyright their respective authors.