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
.MAP And .WAD File Locations 
A user on my blog has come across something which I'm not 100% sure is a problem. What do you guys think?

He saved his maps and wads into another directory on his machine, seperate from Quake. When he went to compile it, ToeTag crashed on him and he couldn't re-open the map.

ToeTag, at this point, requires your MAP files to be in "id1/maps" and your WADs to be in "id1/gfx". Is that unreasonable? Do other editors allow you to keep files wherever you feel like on your hard drive? 
 
Oh, and of course you can use mods. Like if you're using Quoth, then "quoth/maps" and "quoth/gfx" work fine. 
Yeah That's Kinda Unreasonable In My Opinion 
Neither .maps nor .wads (map texture ones at least) are ever used by the engine so there is no need for them to be anywhere special. 
 
OK, fair enough. That's something I didn't consider when initially writing the editor since that's not how I personally work (I just use the maps and gfx directories).

Will fix for version 1.0! 
I Think 
you should require the string "toetag" in the editor path and "quake" in the compiler and "maps" in the map path just to be sure that ... that what?

But yeah, seriously, allow people to keep their wads and maps and bsp:s anywhere. Someone could make a map for a mod that is named start.bsp so it definitely needs to be in the right subdir to work. 
Anybody Would Consider... 
... to answer #6943? 
JPL 
1. Trigger a play_sound_triggered

2. Trigger a trigger_relay, which killtargets the play_sound_triggered after "delay" seconds

That's just guessing though, I didn't try it. 
JPL To #6943 
One way to do it
(starts a loop)
trigger_relay
target soundplayer
targetname soundplayer
delay # (slightly longer than the sound)

play_sound_triggered
targetname soundplayer
speed -1 (same volume everywhere in level)
noise misc/alarm.wav

trigger_once
killtarget soundplayer

I dont't see a way to toggle. Have to use another loop 
Gb / Mechtech 
I already tried to use a killtarget, but it did not stop the sound... also, if it would have worked, I doubt I would be able to restart the sound again, like a toggle...

I think there was a trick somewhere (except QC).. Anyway, thanks for the inputs...

Kell: is it something added in Quoth2 ? 
 
The trick is you need to make the entity play a different non-looping sound on the same channel.

How you do this in quoth I don't know. 
Err... 
...didn't Mr Woodham get togglable music happening in his last masterpiece (which used Quoth)? 
Distrans 
Was it based on Quoth, but with some QC modifications ? 
AFAIK 
It was its own thing, with Quoth included. Having said that I had this working in Quoth1 - warpb. The rune shrine has a looping sound activated when you enter (the chanting) which is kill targeted by the death of any one of the enforcers / defenders.

I can't remember how I did it but it is possible with standard Quoth1 entities - mess with the entity set for long enough and you'll get there. Or else you can download the source from shub-hub, the 7zip password is the name of the pack in lowercase, without a space. 
Play_sound_triggered 
spawnflag 1 = toggle 
That's The Bunny 
 
Whats The One 
for getting blood out of stones? 
Monster_silicon_vampire 
 
Toggling The Music... 
...was done as czg said - I simply played a nul.wav on the same channel if the user pushed the button. (It also re-set the music player queue to the same piece of music so that if the player pushed the button again, the music.wav played again and re-set the music queue to the nul.wav etc) 
Mike 
Thanks for the infos ! I'll try it ASAP. 
JPL 
Don't forget that I was doing this in my own FMB progs.dat, not Quoth and not the standard one.

If you want more details of my music_player module, let me know. 
Mike 
Oh... OK, I have to test it.. maybe it does not work with Quoth.. Let's experiment ;) 
The Forge? 
Anyone got a valid link to this site? It used to have some nice downloadable tutorials for setting up alot of the hipnotic entities. Specifically the Force Field ones, Id like to add these to a map I am working on and so far have not figured it out on my own.

Thanks, Fatty 
The Forge: The Legend Continues. 
The old link is dead. However I located an archived copy of the site. Enjoy http://web.archive.org/web/20000816012223/www.planetquake.com/worldcraft/ 
The Forge Is Still There 
at least for me, but PQ sites sometimes play hide and seek ... 
Fatboy 
http://shub-hub.com/files/tools/hipprogs_doc.zip
Docs and example maps for Hipnotic stuff. 
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.