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
 
I use tyranns light tools combined with necros compiling gui. I can't really see a reason to use anything else. 
Ok, I Tried It With TyrUtils 
which I finally figured out. So I recompiled using qbsp and then I ran light, like this: ./light mapname

Once again, all my light entities work, but there's no sunlight in the map (despite my using the exact values from post 14047), and areas where I put no light entities yet are surrounded by sky brushes, are pitch black.

What am I doing wrong? 
Question For Trenchbroom Users (especially 5th) 
What version of trenchbroom are you using? For me, snap to grid just reduces the grid size to pixel size. 
The Whole Skybrush Has To Be Textured With Sky Texture 
not just one face? 
Mfx 
That is the case; the entire brush is textured with sky texture. 
Total_newb 
if you're on windows then best just using this tool -
http://shoresofnis.wordpress.com/utilities/ne_q1spcompilinggui/

Here's a mapfile I made which has the sunlight set up. As long as you're using tyranns tools it should work right -

https://www.dropbox.com/s/afzmvlm0wvs3spt/sunlight.zip 
So How Are You Editing The Worldspawn, Total_newbie? 
In Worldcraft you just go Edit -> Map properies, then use the UI to change the values.

Check your .map file.

Here are the first few lines from my honey map jam map (with an example of sunlight):

{
"classname" "worldspawn"
"classname" "worldspawn"
"message" "Yellow Brick Grotto"
"_sunlight" "123"
"gravity" "800"
"sounds" "5"
"light" "12"
"_sunmangle" "40 -45 0"
"_sun_mangle" "45 -45 0"
"fog" "0.03 0.025 0.055 0.14"
"mapversion" "220"
"wad" "\program files\worldcraft\textures\skip.hlwad;\program files\worldcraft\textures\honey.hlwad"
{
( 496 0 -512 ) ( 368 0 -512 ) ( 304 -32 -512 ) CITY2_3 [ 1 0.......


Incidentally, I don't know why the worldspawn is declared twice, it just IS. Anyone? Is this an error?

Either way, if you .map file looks like that in your text editor, then something else is going on. If not, try making it like the above... 
It's Working! 
I checked my map file as you suggested, and it turns out I had made a mistake with the _sun_mangle values. Fixed it, and now sunlight finally works.

Thank you so much, FifthElephant and RickyT23!

In response to your question, RickyT23: in TrenchBroom, when you select a brush you can add and edit properties. By default if it is a regular, non-func brush, it only lists classname, spawnflag and wad (if it's textured). Everything else (e.g. "_sunlight") you can then add manually (if you know what it is called).

worldspawn is listed only once in my map file, by the way.

Re: 14057: Thanks, Fifth, but I am on Linux. 
And Thanks Very Much For The Map File, FifthElephant. 
Bizarrely, though, I cannot open it with TrenchBroom (although I can open it in a text editor). 
Oh Wait, No, I Can. 
It's just empty, right?

Sorry; with every consecutive post I must seem like more of an idiot. 
Shouldn't Be Empty 
It's a simple box room. 
Quadruple Derp 
Oh, right. Just needed to rotate the camera almost completely. Yes, it's all there.

Well, as I said, with every consecutive post I must seem like more of an idiot. 
 
it's probably because of where the geometry is. I can't leave what I was working on there, probably going to do something special for the next jam. 
Another TrenchBroom/mapping Question 
Not sure if it should go here or in the TrenchBroom thread ...

Is it possible to flip a brush/selection of brushes in TB so as to get an exact mirror image of it?

I know you can turn it around using alt + the arrow/PgUP/PgDn keys, but I guess all of that just turns the brush/selection in different directions as if it were a real 3D object. Or maybe I'm missing something and there's some magic sequence of twists and turns that produces a mirror image? 
Try Ctrl + F 
That flips it... is that what you mean? 
And 
ALT CTRL F flips it vertically. 
Yes 
That is exactly what I mean. You both rock! :) 
Necros Compiling GUI 
When using this, even though folder preferences are in order and the tools are actually there, I get this error:

'D:\Files\Design\Quake' is not recognized as an internal or external command, operable program or batch file. Press any key to continue.

What gives? 
 
I haven't used that tool but I'd guess you're trying to use a path that has a space in it, and the tool is cantankerous about that.

Possible solutions if so:
- Rename the folders in the path to remove spaces.
- Put double-quotes around the path in the place where you enter it in the tool; or if the tool uses a config file and saves the path there, try editing that to add the quotes.
- Use DOS-style shortnames in the path.

You can use "dir -x" in a command prompt to see shortnames. 
 
Oops sorry that would be "dir /x". 
 
D:\Files\

what could possibly be outside this folder 
 
D:\NullSet 
 
D:\DiskSpaceRemaining 
 
D:\AntiFiles 
 
it's like when a website url contains /site/ 
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.