![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-13-09, 02:58 AM
|
#1 |
|
Navy Seal
![]() Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,373
Downloads: 53
Uploads: 10
|
[REQ] help getting things moving.
Ahoy,
A while back I slapped together a basic mod that added a colored filter to the obs scope. Basic in that it just replaces a single file. A limitation to that approach is that you can only use 1 color at a time; switching color requires quitting the game and switching to a different version of the mod. Ideally, you would be able to switch on the fly to adapt to different lighting conditions. Hitman mentioned using movable overlays, which would be a brilliant solution. I've been giving it a go, but I'm stumbling around in the dark: 1. Does the file used for the filter need to have any special properties (specific size or something)? 2. I can't make sense of the "Menu_1024_768.ini"; [G2B I150] Name=Filter_green Type=1030;Static bmp ; I imagine this is important but don't know what type-setting to use ItemID=0x2B140003 ; just needs to be unique? ParentID=0x2B000000 ; wouldn't know what the parent is to this overlay Pos=0,0,0,0 ; why 4, especially on 2D screen? Zone=0 0 541 265 0 1 0x32000000 0.5 0 0x3200000f 0 0 0 0 ;not a clue Color=0xFFFFFFFF Materials=1 ; number of resources/files? Display=2;Linear ;? Mat 0=data/menu/gui/layout/Filter_green.dds MatFlags=0x9 ;? TexFmt=0x0 ;? 3. Another problem is getting the overlay on top of everything else, so you don't accidentally hide it behind the mask. Any help with this would be greatly appreciated. If I bang my head against the wall any more it might result in brain damage... I somehow doubt that would help.
__________________
Contritium praecedit superbia. |
|
|
|
|
