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
Well 
I placed a range of secret doors, that were all working independed. When I couldn't make them work on one side without the backside, I placed them all on one trigger_once. So that could be reason.

I can play the whole map (116 ent), untill the last stage, where an overload starts.
The reason is a Launcher_Touch that is in use with one of the baddies. If I delete the monster, another one complains again about its Laser_Touch.

Here are a screenshot and log.
overload
log 
Error 
Thanks for posting the log madfox, it turns out that the efrags message is just a warning. The real error which ends your map is "Stack overflow". The rest of the error message shows that the stack overflow is happening inside a chain of triggers.

The simplest way this can happen is that you build a really long chain of triggers which target each other (without any delay):

trigger1 ---targets---> trigger2
trigger2 ---targets---> trigger3
trigger3 ---targets---> trigger4
...

If you have 10 or more triggers connected in a row the game runs out of space on the stack, and you get a stack overflow error. Add a delay somewhere and it should be fixed

In practice most people don't have ten triggers in a row, it gets too complex to be useful. The other way that it can happen is you create a loop. If you have two triggers that target each other, they go into a loop

trigger1 ---targets---> trigger2
trigger2 ---targets---> trigger1
trigger1 ---targets---> trigger2
trigger2 ---targets---> trigger1
...

This loop never ends, so you hit the limit of 10 and the error appears. Check your triggers to see if any of them are targeting themselves, or if they are creating a loop of targets. 
Creating Quake 2 Cinematics 
Anyone have any experience with this?

I've successfully created a couple that work fine in KmQuake2 but in other engines they don't render correctly.

Any useful links, tips or suggestions would be appreciated. 
Thanks Preach! 
The map had a teleporter with a loose target.
Still I'm a bit confused, because the WARNING: couldn't nudge light in solid at seems strange as there are no lights at that point. 
Nudge Light 
If you are using light from surfaces, the light tool generates light entities just off of the surface. Could be you have a func_ with a light texture butting against a wall. 
 
It's safe to ignore that warning. Glad you got the stack overflow fixed! 
Stack Overflow... 
I recently made a map hack using a 'clock', trigger_relays targeting each other but with delay so they would give a trigger output every 2 seconds. I used this, so moving parts of my level would light correctly. 
I Didn't Have Any Errors 
 
Clarification For Brassbite 
The issue is when triggers target themselves with no delay key set. If you have a delay set them there is no risk of overflow. 
Custom Models Without AD Or Quoth 
Hi everyone!

I found out that Preach has some pretty cool map object models at his website, and I thought about using them as prefabs in my map. I've never stepped into custom model territory before, so I'm a complete newb here; please be understanding. T_T

Ericw told in his post (#18366) that you can use AD's misc_model and Quoth's mapobject_custom to add custom models to your map. But if I want to go vanilla so to speak, is my only option to overcome the model precaching dilemma by going to some QuakeC editing to add the necessary precaching lines?

(I guess it means that then it would technically no longer be considered vanilla anymore, huh?) xD 
Afraid So 
It's not possible to get the necessary models precached without a bit of QuakeC. The good news is that it's basically the perfect "my first mod" exercise.

Download the source code, and open up misc.qc. Add the following lines:

void() misc_model = //we are defining a function
{
// precache whatever model the mapper stored
// in the "model" key
precache_model(self.model);

// apply this model to ourself
setmodel(self, self.model);
}

Download fteqcc.exe and save a copy in the source code directory. Run it and it will compile the mod into a progs.dat file. Add that progs into your mod directory.

How do you use this entity? You add an entity to your map with the classname "misc_model". Notice this is the same as the name we gave our function. When the game loads a map, each time it creates an entity it looks at the classname of that entity. It then lets that entity runs the function in the QuakeC with the same name, which lets the function prepare the entity for use. 
 
fte and qss both implement misc_model engineside should the mod (like vanilla) fail to support it. 
How To Move Brushes In-game? 
I am talking about things like lowering walls to reveal traps, or lowering pilars that previously blocked the player. Do I use func_plat for this? Or something else? 
Func_door Mostly, Func_plat For Elevators 
 
#19000 
plats tend to be a special-case thing. if you want to trigger something then func_doors generally work better. set the angle to -1 or -2 to have them 'open' upwards or downwards. you can have them toggle too. 
Saving The Environment... 
Hey, trying to make some tree textures here:

So I want to make a tree texture used as a func_illusionary, just like the spider web textures from Daikatana that 'skip' over all of the texture except the web. How do I do this?

I have drawn a tree over a pinkish background and named it {tree this appears to be the same convention as these web textures. How does the compiler interpret the texture and skip the background? I must have missed something because so far the tree is drawn along with the pink wall. Any ideas here?

Thanks. 
 
The transparent parts need to use palette index 255 (bottom right of http://www.celephais.net/stuff/palette.gif
And Start The Name With { 
 
Clear Parts 
Transparent textures in sprites works the same way,
with the pink lower colour in the quake.pal.
So a small sprite for a fagot would look like this
In game it would appear like this, if the progs is changed.

A small and good viewer for editing sprites is Fimg.
I just added to quaketastic, as I couldn't find it there.

FirmG 
Got It! 
Its working now, I also forgot to enable fullbrights in TexMex and it was screwing with indexed colour. It looks ok now, as far as a tree made out of func_illusionaries looks... Hopefully this will be ready for December. 
Couldn't Exec Autoexec.cfg/ Couldn't Spawn Server Maps/test.bsp 
Hey guys i'm new to quake mapping and new to quake in general. I started mapping because i'm really sick atm having a crohn's flare up and tendinitis in my left shoulder. Now I was using this guide http://steamcommunity.com/sharedfiles/filedetails/?id=805664376
to get into mapping and downloaded trench broom/tryUtils/ne_q1spCompilingGui/quake.wad to start making levels.

well i made a level in trench broom and everytime i try to compile i get the error message "couldn't exec autoexec.cfg" then it says "couldn't spawn server maps/test.bsp" and "3 demo(s) in loop" I really want to get into mapping because i have nothing else to do really in the hospital I heard this is the place to go for help i'd really appreciate it if you guys could help me with this. 
Couldn't Exec Autoexec.cfg/ Couldn't Spawn Server Maps/test.bsp 
Hey guys i'm new to quake mapping and new to quake in general. I started mapping because i'm really sick atm having a crohn's flare up and tendinitis in my left shoulder. Now I was using this guide http://steamcommunity.com/sharedfiles/filedetails/?id=805664376
to get into mapping and downloaded trench broom/tryUtils/ne_q1spCompilingGui/quake.wad to start making levels.

well i made a level in trench broom and everytime i try to compile i get the error message "couldn't exec autoexec.cfg" then it says "couldn't spawn server maps/test.bsp" and "3 demo(s) in loop" I really want to get into mapping because i have nothing else to do really in the hospital I heard this is the place to go for help i'd really appreciate it if you guys could help me with this. 
 
Compiled maps (.bsp files) need to go in "quake\id1\maps".
That guide seems to have you place the .map file into "quake\id1\" which is werid. I would just save your .map file in "quake\id1\maps", then after compiling, you should have "mymap.bsp" in "quake\id1\maps". 
Autoexec.cfg 
Is not needed. That's only if you want to run your own console commands when the game starts (like -developer 1 if you are coding) 
Autoexec.cfg Even More Trouble 
okay so I figured out a bit more of the issue it isn't that quakespasm isn't reading my maps bsp or that the bsp is going into the wrong folder, the issue is that my map is having an issue compiling a bsp.

so I was looking at the n_q2spcompilinggui and it has an option for you to pause after compiling and i did that and noticed that it wasn't even compiling the bsp. This is the error that pops up on the command prompt.
------------qbsp-------------
C:\Program is not recognized as an internal or external command, operable program or batch file
the system cannot find the file specifified (it repeats this 3 times and then says press any key to continue)

so the issue is with the bsp tool do you guys know how to fix it? 
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.