Difference between revisions of "Talk:BGLOB.DAT"

From UFOpaedia
Jump to navigation Jump to search
m
Line 1: Line 1:
 
Would it be fair to say that of the two values, the first is the "minimum" darkness level of any otherwise unlit or uncovered tile, and the second is the "maximum" darkness level of a tile that has light blocked from it?  
 
Would it be fair to say that of the two values, the first is the "minimum" darkness level of any otherwise unlit or uncovered tile, and the second is the "maximum" darkness level of a tile that has light blocked from it?  
  
That is to say, all unlit tiles are at least bglob[0], but no more then bglob[1], dark. - [[User:Bomb Bloke|Bomb Bloke]] 22:05, 12 September 2006 (PDT)
+
That is to say, all unlit tiles are at least bglob[0], but no more then bglob[1], dark.  
 +
 
 +
- [[User:Bomb Bloke|Bomb Bloke]] 22:05, 12 September 2006 (PDT)
  
 
----
 
----
Line 7: Line 9:
 
I don't think I get what you mean. When TERMP is calculated, it checks (apropriate for this tile) value from BGLOB and won't make a tile darker than this.
 
I don't think I get what you mean. When TERMP is calculated, it checks (apropriate for this tile) value from BGLOB and won't make a tile darker than this.
 
Without additional light sources you won't get shadow value other than those two.
 
Without additional light sources you won't get shadow value other than those two.
--Quantifier 22:54, 12 September 2006 (PDT)
+
 
 +
- Quantifier 22:54, 12 September 2006 (PDT)
 +
 
 +
----
 +
 
 +
... Yeah, ok. I'll ready to admit it now. That confused me a bit. >_>
 +
 
 +
What these values will be depend on offsets 74-76 in [[MISSION.DAT]]. Because offset 76 indexes into [[LOC.DAT]], that likely means different mission types (eg. alien bases vs landed UFOs) use different lighting methods.
 +
 
 +
- [[User:Bomb Bloke|Bomb Bloke]] 01:39, 31 January 2008 (PST)

Revision as of 09:39, 31 January 2008

Would it be fair to say that of the two values, the first is the "minimum" darkness level of any otherwise unlit or uncovered tile, and the second is the "maximum" darkness level of a tile that has light blocked from it?

That is to say, all unlit tiles are at least bglob[0], but no more then bglob[1], dark.

- Bomb Bloke 22:05, 12 September 2006 (PDT)


I don't think I get what you mean. When TERMP is calculated, it checks (apropriate for this tile) value from BGLOB and won't make a tile darker than this. Without additional light sources you won't get shadow value other than those two.

- Quantifier 22:54, 12 September 2006 (PDT)


... Yeah, ok. I'll ready to admit it now. That confused me a bit. >_>

What these values will be depend on offsets 74-76 in MISSION.DAT. Because offset 76 indexes into LOC.DAT, that likely means different mission types (eg. alien bases vs landed UFOs) use different lighting methods.

- Bomb Bloke 01:39, 31 January 2008 (PST)