Trouble achieving total darkness

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Trouble achieving total darkness

Post by CaptainPoopface »

I need pitch-black darkness, where nothing is visible outside of a flashlight beam. I've used Uberlightmap Tool to make the lightmap as dark as possible; I've swapped in a dark sky. It's still not nearly dark enough.

I am making a map out of custom blocs. It's a self-contained secret haven of privacy where no outside light can filter in. I experience some weird lighting behavior - when I spawn inside my bloc fortress, the biped has a strange default lighting. If I step outside and make contact with the BSP, then I become much darker. But still not dark enough, and it's very easy to see everything else.

Before BSP contact:
Image

After BSP contact:
Image

Still not dark enough. Sucks.
Image


It's the death of a couple of cool mod ideas if I can't get complete darkness. Are there values in the mode, bloc, or scnr tag that determine how much light an object reflects? If the blocs would act like the BSP with the lightmap, I think I'd be fine.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
foxfanatic23I7




Stylist Advisor Coroner Connoisseur

Posts: 1343
Joined: Mon Jul 24, 2006 1:38 pm
Location: Canada bishes
Contact:

Post by foxfanatic23I7 »

Here, use this tutorial, and edit your lightmap in photoshop. http://forums.halomods.com/viewtopic.ph ... 32&t=56311
Image
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

That tutorial is difficult to understand without the pictures, but from what I gather, it's a way to specifically edit each palette in the lightmap instead of editing them all at once with Uberlightmap Tool.

I don't think it's a ltmp problem. The lightmap seems to apply to the BSP and things in contact with it (it looks perfect when I'm on the BSP). I think there is some default setting about blocs or models that determines how they reflect light or light up the things in contact with them.

For example, here I am not touching the blue base gate.
Image

Now touching the blue base gate. It gives the biped a bluish light, independent of the lightmap.
Image


Image

I think this is the key. It's the cause of the old green mach problems, these reflexives with pointers that don't point to anything when you build the mach into another map. The blue and red base gates have settings to indicate that they give off a blue or red glow to objects that touch them. I need to figure out how to adjust what color the light is, and put those chunks on my bloc models.

I think neodos is the only active researcher who can figure it out though...


EDIT:
How did T Beezie get this yellow lighting effect from the gondolas? This was almost 2 years ago.
Image

His lightmap looks really funky, too:
Image
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

If I recall correctly the yellow was just the way it happened and he kept it cause it looked good...

The pointers and chunk counts your looking at only appear as numbers because of the special plugin I wrote for the fixing green machs tut by neodos. Its actually 2 Reflexives...
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

And you can setup lightning proprieties on that, but you should also check the mach tag there's a bitmask- flag about if the mach uses lightmap, if you still have a prob try changing the shader or get an older plugin of mode tag which includes the lightning reflexives on mode tag.
User avatar
Argon





Posts: 167
Joined: Sat Jun 28, 2008 6:05 pm

Post by Argon »

There is a darkness value in the sky tag that will help you darken it alot more.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

xzodia wrote:If I recall correctly the yellow was just the way it happened and he kept it cause it looked good...
Yeah, from reading something xHeadshotmastax wrote, the cable_room BSP gives off a gold/yellow glow, and that seems to be the one T Beezie used.
Argon wrote:There is a darkness value in the sky tag that will help you darken it alot more.
I don't have the darkness value labeled in my plugin, and I think it's XZodia's latest. Can you post a screenshot, or post your sky plugin?
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
Argon





Posts: 167
Joined: Sat Jun 28, 2008 6:05 pm

Post by Argon »

When I get home, yes.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

CaptainPoopface wrote:
xzodia wrote:If I recall correctly the yellow was just the way it happened and he kept it cause it looked good...
Yeah, from reading something xHeadshotmastax wrote, the cable_room BSP gives off a gold/yellow glow, and that seems to be the one T Beezie used.
As i said these 2 model reflexives give self illumination to the models, get an older plugin that has it.
User avatar
Argon





Posts: 167
Joined: Sat Jun 28, 2008 6:05 pm

Post by Argon »

Its called Bloom Overide Gamma Power. Any value over 1 will make it darker.
It also effects HUD.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

Bloom Override Gamma Power does some odd things, including making the entire screen very dark. But it's more like putting a blanket over the TV than making the map dark. :wink: And it gets bypassed completely in multiplayer. The effect I'm after is a very dark room - all the shader detail is there to be seen when a beam of light hits it.

I've tried changing the lightmap-related boxes in the bitmask for the blocs, but they either make the blocs invisible or freeze the map. I also don't see any difference in the bitmasks between the containment base gate or gondola, and other blocs/machs that don't seem to have self-illumination.

I've checked all my versions of Entity, from Alpha to 1.6 UE, and none of the mode plugins have lighting reflexives labeled. Where would I get one of these old plugins? Are you sure these reflexives were identified? It seems like people would have solved the green mach problem sooner if the lighting reflexives were known.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
TroyMac1ure





Posts: 29
Joined: Sun Feb 10, 2008 10:39 am

Lighting

Post by TroyMac1ure »

I've done the same idea with Warlock. I still have some light, but if no flashlight is on it's *extremely* difficult to see someone. I notice that I can see across the map, but not near me. I think it's a light given off by fog. You can try checking that as well.

I've been playing with the lighting stuff for the past few weeks and starting to understand it a little better. I'll look at Warlock again and see if I can tell what I did. I just kept darkening stuff until it was pretty much black :wink: Then added light grenades, BR flashlight & a bright red glowing oddball (bright enough to see when it pulsates on).

I don't post alot, but play around quite a bit. If I figure out how to post my map, I'll do that.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

It's easy to make darkness on any BSP. The problem here is making it work in a map made entirely of custom blocs and machs. For some reason, the biped maintains some kind of default lighting. The lightmap seems to be applied only when the biped is in direct contact with the BSP.

I have used Warlock as well, with the weapons from my Lab Raiders mod. It's a great map for a fight in the dark. I also cannot figure out how to get rid of the sky fog though. I've swapped the sky, nulled the weather, and nulled all BSP shaders with "fog" in them. The sky is still too light. But it works well enough.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
TheArrogantWorms





Posts: 38
Joined: Tue Jul 15, 2008 4:29 pm
Contact:

Post by TheArrogantWorms »

ah

i know now

its global lighting gldf? tag

anyways if you ever null a lightmap you will notice there are still shadows and crap

this is because there is a "global" lighting througout the map wich casts light on everything and generates basic shadowing (does not cast shadows but instead makes the planes on the bsp darker lighter) that's why lightmaps are used, to create shadows cast from the bsp itself.

so basically once you jump off the bsp, it's no longer sampling from the bsp lightmap and is using the global lighting

look into the global lighting tag and I am confident you will find your answer.
Image
thx dr cox for the sig
Post Reply