Posted: Tue Nov 13, 2007 4:16 pm Post subject:
Buildings and lightning
I've been building a map lately, and it's yellow lightning is causing most of the buildings in TS to adjust to the lightning too (getting a yellowish tint that is). However, I noticed that such buildings as CABHUT, GASPOT, #AWALL (where # is either N or G, depending on where it belongs to GDI or Nod) and none of the GDI and Nod structures adjust to the lightning, and even though I've set ExtraBlaBlaLightning=no on all objects, those structures still stand out of the lightning with their own, neutral lightning.
See the pictures I've attached to see the problem. Is there a way to fix it so the buildings mentioned before would act like all other TS buildings, considering the lightning?
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Tue Nov 13, 2007 5:38 pm Post subject:
That can't be solved. IIRC, it has something to do with the pallet the buidlings are created with. IE, nearly all civ buildings are created in isotem/isosnow.pal, while all other structures are created in unittem/unitsnow.pal
So to make all structures have their colours changed by lightning, you must do every structure in isotem/isosnow.pal, but then you lose the remap colours... QUICK_EDIT
Joined: 25 Sep 2006 Location: Teamblackistan Posts: Over 9000
Posted: Tue Nov 13, 2007 6:39 pm Post subject:
Well I've seen pics of where buildings were effected by those values..
I know Ion storm lighting changes both types of buildings.
Also remember if you do accomplish this, it makes the building remap into confusing colors, which is probably the reason why this effect was put into place. _________________ The Fall of Hammerfest - Epic Tiberian chain story
Tiberian Odyssey mapping department. Discord The Team Black Index QUICK_EDIT
Well I've seen pics of where buildings were effected by those values..
I know Ion storm lighting changes both types of buildings.
Also remember if you do accomplish this, it makes the building remap into confusing colors, which is probably the reason why this effect was put into place.
Never heard of that, but the Bridge Repair Hut should still be changed. It has no remap, after all. _________________
IIRC, the hut uses the unittem palette. Also, this leads me to believe that the map lighting is done by editing the palette in real-time. That means they mod the colors in the isotem palette to be a bit more yellow, and only things using that palette will be affected.
The game does NOT place a yellow layer over everything. It edits the palettes in RAM when it loads the map. _________________
how do you changed the overall lighting into yellow?
I know that even player buildings are affected by dark maps.
I don't know much about mapping, but maybe you've just changed the lighting at the wrong point. Try it there where you define the brightness of the map. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Light posts use an alpha image which is overlaid on anything that goes under them. It has nothing to do with the palettes.
Are you sure they use unittem? IIRC, walls get converted to overlay once built. Overlays use isotem. _________________ Last edited by IcySon55 on Fri Nov 16, 2007 2:18 pm; edited 1 time in total QUICK_EDIT
Joined: 25 Sep 2006 Location: Teamblackistan Posts: Over 9000
Posted: Wed Nov 14, 2007 8:29 pm Post subject:
Make the lighting more dramatic, so we can see the difference better.
Having reddish brown lighting over brown sandbags doesn't demonstrate the point clearly enough.. _________________ The Fall of Hammerfest - Epic Tiberian chain story
Tiberian Odyssey mapping department. Discord The Team Black Index QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum