News | Forum | People | FAQ | Links | Search | Register | Log in
Tyrutils-ericw V0.15.1
Hey, I got around to setting up a website for my branch of tyrutils: (complete with lots of screenshots of different settings of AO, sunlight, etc!)
http://ericwa.github.io/tyrutils-ericw
and making an "official" release of it.

Nothing major changed compared with the last snapshot (may 1st), but a couple new things:

* .lux file support from Spike, for deluxemapping
* gamma control with -gamma flag and "_gamma" key
* rename -dirty flag to -dirt for consistency
* fence texture tracing is now opt-in only with the "-fence" flag.
* light should run a bit faster


This doesn't have lit2. Not sure what to do with that, tbh.

If there's a demand for it, I was thinking I could make a tool that upscales all textures in a wad by 2x or 4x, and adds a "-2x"/"-4x" suffix to the names. You could then manually get the higher-res lightmap on certain faces by applying the upscaled texture, and lowering the texture scale to 0.5 or 0.25 in your editor.

The only real disadvantage of this hacky method over lit2 is more face subdivision by qbsp. This isn't great, but it shouldn't be an issue if the hack is used sparingly (and bsp2 can be used if needed for higher face/vert limits.)

Anyway, enjoy, I hope this is pretty bug-free.
First | Previous | Next | Last
Hmm 
I'm not sure how to remove just those two entries from a single func_* entity def. The new solid entity parameters are all inside the base solid entity class. 
There More 
the minlight also doesnt work on them. The whole ModelLight thing can be left out. 
 
Haha, awesome! I think this marks the first time that I've EVER had actual models show up in Jackhammer.

This is now the greatest FGD of all time. OF ALL TIME! 
BETA 3 :) 
* Additional options removed from func_detail as they don't work
* Re-added func_illusionary as somehow I deleted it :P

https://dl.dropboxusercontent.com/u/33279452/quake4ericwTools.fgd

Ok, I think it's there! Let me know if you find anything else. 
 
]@PointClass = info_notnull : "info_notnull (spotlight target)"

This line is incorrect, the correct usage for info_notnull is for "teh hax". 
BETA 4 :D 
* Spotlight angle renamed to Spotlight direction
* Spotlight angle (sets spotlight cone in degrees)

https://dl.dropboxusercontent.com/u/33279452/quake4ericwTools.fgd

Sorry I had no idea I sucked so bad at this :P Hopefully this will be final version! 
 
Nah, you're a hero for making this thing. It'll make Jackhammer a lot more fun to use during this jam. You've got my vote, congressmen. 
 
Does the -lightmapscale command only work in the dev builds? 
Yeah 
that got cut, I guess. See the comment about lit2 in the top post. 
BETA 5 :) 
* Removed setting a default for Deviance as it actually forces the light to use deviance!

https://dl.dropboxusercontent.com/u/33279452/quake4ericwTools.fgd

This can bring your light compile to a slow crawl so be sure to update if you are using this fgd! 
Texture Surface Lighting Is A Pain In The Ass To Work With. 
Any advice on how to prevent it from creating too much light and containing it at a small fade scale? 
Yeah 
I need to put some examples on the website for doing lava surfaces.

Here's one that uses two surface lights on the lava: http://i.imgur.com/FAmAZlM.png

delay 2, light 20 for the fill light
delay 0, light 200 for the direct glow

If you use "delay 2" make sure to use low light values or you'll end up with a fullbright room. 
Pew Pew 
If you are using my fgd file, download the latest version of it as it causes a bug where all point lights will be deviance lights (each light is broken up into 16 lights!)

Make sure to remove any _samples key/values from any lights you have in your level, as they will be left over even after downloading the bug fixed fgd file.

If you haven't been using that fgd file, then can suggest some settings for your surface light for lava :

wait 3
delay 2
light 100

you can tweak "wait" to have the light be smaller/larger but I've found these settings to be quite nice. 
Mind Blown 
Never actually considered that you can use two lights on the same surface :O 
Other Stuff 
How the surface lighting works exactly: if you look at the BSP surfaces in-engine with "r_drawflat 1", each surface with a matching texture will get a light copied in the centre of the surface, 2 units above it. However, if a surface is larger than 128x128, it's subdivided into sections no larger than 128x128, and the lights are placed above those sections. So, you can think of the lights as being tiled roughly on a 128x128 grid.

My lava screenshot above is ugly, so if anyone comes up with a good example scene for lava settings that you want to put on the tool website, that would be welcome! 
Personally 
What I've found works best for lava: use really low surface lights just to fill areas (if you find it necessary), and then hand place a couple really bright lights that will do the heavy lifting and cast your major shadows in the area.

and be sure to set "_dirt" "-1" on the lava lights, you don't want dirty corners next to your lava! 
 
"Never actually considered that you can use two lights on the same surface :O "

!! Same. No idea ... neat! 
Oh Shit 
You could use a 2nd light with a high offset on the lava and make it a bounce fill light.

AWWWWW YYYYEAAAAHHHH 
 
hey DaZ, when I try to load your .fgd (Beta 5) in TrenchBroom I get the following error:

"Parse error at line 26, column 39: Expected token type closing bracket, or word but got colon"

Personally I'm guessing it's TB's parser, not your .fgd 
Hmm 
Looking at the row/col. It's the first line of added code in the file, so I'm guessing that the version of fgd the file is written in is incompatible with TB.

This fgd was written for Jackhammer / Valve Hammer and probably uses some things that are not compatible with Trenchbroom (the colour picker comes instantly to mind).

It's worth noting that you can still use all these new features that are exposed in this fgd, you just have to add the key/value pairs manually. 
It's A Bug 
TB doesn't like the comments after the second colon. This is an oversight by me, I didn't read the FGD spec carefully enough, and the FGD files I had used for TB didn't contain such comments. File a bug report and attach the file so that it gets fixed, please. 
 
So I guess a temp fix would be to just delete the comments. In case that wasn't obvious. :) 
But 
the comments are useful as they show up in jackhammer/hammer help screen. That's why I added them in the first place :D

But yes, you could remove all the comments and it should work. 
 
Right, I get that. But it's either wait for someone to fix Trenchbroom OR start using the FGD now. So ... choose your path, fair user. :) 
 
The fgd won't be useful in tb1 anyway, since tb1 doesn't display the key/values part of the fgd. Will be nice in tb2 though :-) 
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.