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: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
 
(Make sure to delete them after)

Won't info_null remove itself before qbsp detects an entity outside hulls, though? 
 
@ericw nice tip! just did it on my map... turns out my map that big :-E at least in one direction lol :D 
 
Won't info_null remove itself before qbsp detects an entity outside hulls, though?
They're not deleted until QC spawns them, so they would still cause leaks. 
The Sky May Be 
I'm using Quoth (for fairly obvious purposes) and I've been trying to use info_command to switch from a skybox to the regular scrolling sky texture. This in theory should be accomplished by the sky "" command. However doing the following in info_command:

"message" "sky """

Makes for an invalid command, since it interprets the first quote as the closing quote. Technically it still works but it stuffs the "skybox not found" warnings to console which is unpleasant.

I have a workaround, which is to switch to a dummy skybox with one TGA file missing and put some ammo over the trigger to flush the error messages away, but I would prefer a cleaner approach.

Any ideas if this is doable? 
I Think.... 
There is a way to backslash in the quotes or maybe use single quotes around it.

Have you tried "sky "? 
Theres Supoosed To Be A Couple Spaces In There After Sky 
 
Quotes 
"message" "sky \"\"" would work fine in fte, but other engines will just get confused - they ONLY support \n.
Even DP will fuck up its own saved games when there's a saved string with a quote inside it.

if you can supply a default.cfg or something then you can include an alias, but of course quakespasm/etc can't cope with quotes there either. so yeah, you're screwed. 
The Sky Is The Limit 
Yeah, since there isn't a good way to bind this to a key, I'm not surprised it's hard.

In theory, we could add this as a future feature because sending two quotes from QC isn't nearly as tricky. There are already spawnflags on an info_command that determine how the command gets terminated, having an extra one which says "" gets inserted at the end would be a fix. Are there commands besides sky which might need the same thing? It might be a bit specialised if it's for one console command.

I think the cleanest way to do it in Quoth as it stands is to add a clearsky.cfg file with the following content:

sky ""
echo
echo
echo
echo

Because you're not trying to bind the troublesome command to an alias you get to have the double quotes. The idea then is to make your info_command send the string exec clearsky.cfg, and the 4 echos just spam whitespace to clear the notification that the cfg executed. 
 
Is there a way to increase the audible distance of an ambient sound in vanilla?
Some kind of key like "wait" ? 
No 
but you can use copies of them to approximate the same thing 
 
Duplicating an ambient sound emitter can give a noticeable 'echo' or layering effect that isn't always desirable, doesn't it? At least my bit of testing gave that effect. 
 
Yeah, duplicating isn't ideal, but might be the best solution for vanilla limits.

I'm fooling around with logic gates, also in vanilla, using trap_spikeshooters. I have a problem where the spikeshooter seems to trigger a button, but the button doesn't seem to trigger the relay connected to it.
If I go in and shoot the button myself, it triggers the relay, but not when the spikeshooter hits it. The button does seem to move backwards when its hit by the spikeshooter, just doesn't activate the relay.
Any idea what might be causing this?, or any advice on logic gates with messages for what needs to be done? Is it possible to use trigger_counters instead of logic gates a lot of the time?

Here's an image of what I'm trying to get working:
http://imgur.com/n0shMeg

The player hits a switch to open a door, but is told via message that x needs to be done first. once x is done, hitting the switch again will open the door. 
@HexenMapper 
Quake supports cooperative play.

1) If you shoot a rocket that opens the secret door, the owner of the rocket is you, so you get the message.
2) If player 2 shoots the secret door, he gets the message.
3) If some monster happens to shoot the secret door, it counts as "world". It would send the message, except there is no one to receive it.

Your relay is probably working as intended.

But players don't own the spikes the spikeshooter is shooting. It is a similar situation to a monster opening a secret door. No player is considered the one performing that action.

This is my guess. I don't think about QuakeC that often. 
Logic Gate Simplification 
Baker's correctly diagnosed the issue here, the relay is triggering but it doesn't know who to post the message to, so it goes undelivered.

If I understand what you want to do correctly, the change from "switch prints message" -> "switch opens door" is irreversible. You never want to go back to having the switch print a message again. In that case, all you need to do is connect the relay which outputs the message directly to the switch. Then when you toggle the logic gate, also killtarget the relay.

There are more complicated hacks which can be done if you need the button change to be reversible, but I doubt that's necessary today. 
Limit Range 
It has been an older subject, but what can I do to make my Terminator (867verts/1968tris) model load into Fitzquake085?
Quakespasm plays it fine.

It had something to do with the cache memory for models getting to the limits.
Should I just delete subjects from the base file? 
 
Does it do an error message? 
 
Great thanks guys, that should fix it :) 
 
Message : is there a way to do multiple lines in vanilla? longer messages get cut off. 
Yes! You Are In Luck. 
See screenies - self explanatory. \n == new line

http://imgur.com/E6O9swK

http://imgur.com/STCBU1G 
 
"message" "Hello,\nworld.\nAnd a third line." 
@-Baker 
The last time I had something similar was with another model.
What I can remember was, that if a model passes the 1000verts/2000tris, it won't be imported into Quake.
So I think I passed these limit again, although slightly. (817v/1968t)

When deleting parts, this count will lower. But it will also damage the solid statement. 
Amazing 
cheers, saved my bacon 
 
well I tried the \n but I'm still getting a clipped message and no new line...

http://imgur.com/1Gt5GAr 
@Hexnmapper 
...are you using TB2 RC4? According to ericw earlier versions had a problem with this. Also are you using Darkplaces? What compiler are you using? All of these thing could cause an issue.

Search for this post in Mapping Help and read on a few lines down: #18654 
@Hexnmapper 
...are you using TB2 RC4? According to ericw earlier versions had a problem with this. Also are you using Darkplaces? What compiler are you using? All of these thing could cause an issue.

Search for this post in Mapping Help and read on a few lines down: #18654 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.