SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Red Mask Changing! (https://www.subsim.com/radioroom/showthread.php?t=156831)

Rapt0r56 10-01-09 06:45 PM

Red Mask Changing!
 
Does anyone know how to change the Color from the Redmask file (the dimm from the Periscopes at Night)?
I need a blue one, for my new little Mod I'm creating. :ping:

Here's a little Preview, i will change the OHV2 Lightning to the one's from "Das Boot"
Remember the Mod is in Progress, so don't take these Screens too Real, i must decrease some lamps, and change the Fog rim... ;)

http://i658.photobucket.com/albums/u..._15458_140.jpghttp://i658.photobucket.com/albums/u..._15526_125.jpghttp://i658.photobucket.com/albums/u..._15534_531.jpg

Hitman 10-02-09 07:13 AM

Yes you must edit the line that refers to color and give it the hex-reference for blue in all entries for the mask. Sadly I don't know which one that is, but the entries in the menu.ini file are in attack and observation scope right after the redlight entry (Which is I11). You must change I12 to I19 colours, in this line:

[G26 I12]
Name=BottomRight
Type=1030;Static bmp
ItemID=0x26120005
ParentID=0x26120000
Pos=365,-342,295,295
Color=0x96000050
Materials=1
Display=2;Linear
Mat 0=data/menu/gui/redmask.tga
Crop 0=1,1,-1,-1
MatFlags=0x9
TexFmt=0x29


The number in this example is red, but changing it you can get any colour, I have made it green to allow my new reticle to be visible in the dark as the original one does :up:

Uber Gruber 10-02-09 07:41 AM

Why oh why do devs use such silly variable names?!! I could understand if they were coding for a Commodore PET with 8K of RAM but there has been no need for abreviated variable names sinice early 90s.

Oh well.....

Rapt0r56 10-02-09 08:30 AM

Thanks, i will try this later and give feedback. :yep:

Rapt0r56 10-02-09 09:09 AM

Iv'e tryded some Hex codes for the blue mask, but all i'm getting is everytime this:
http://i658.photobucket.com/albums/u...155551_737.jpg
so i think, it's needed a special code for it, the normal red one is 0x96000050, so it needed a 0x........ and not my tested html hex codes.

Picture: look at the TDC slide out controls, there you've seen the "Black" redmask.:DL
Black is not bad because it is neutral, the best would of course be blue, I continued to search.

@ Hitman does you still know where you've got the code for the green one?:06:

[EDIT] I'm only need the Blue one 's for my Customized Attack Scope, the Ob's stayes red, becuase i will have blue dimmed lights in the Conning Tower. :up:

evan82 10-02-09 10:15 AM

This is interesting. Some time ago I also made a blue bulbs in the CT, but I never founded blue color for mask.:hmmm:

Commander Gizmo 10-02-09 01:15 PM

On first glance, that definitely looks like RGBA using hex values. It should be trivial to figure out if the devs used any symbolance of sense. Just move the over to get 0x00009650 and you should get blue if it is RGBA.

If 0xFFFFFF00 gives you a solid white mask, then it must be 4 sets of hex values as Red, Green/Blue, Green/Blue, Alpha.

Another thing to look at is that the mask TGA doesn't filter any of the RGB channels. Perhaps it is set to only use the Red channel?

Rapt0r56 10-02-09 01:41 PM

Thanks Gizmo!:yeah:
your code works:
http://i658.photobucket.com/albums/u..._20303_143.jpg
http://i658.photobucket.com/albums/u..._20307_565.jpg

I give you credits in my Readme. :sunny:
Now i have the Redmask, and continue work on the bulbs, white and redlight needes some fine-tuning :D
[Edit] Blue is already finished, preview is the first screen above ;)

Quote:

This is interesting. Some time ago I also made a blue bulbs in the CT, but I never founded blue color for mask.:hmmm:
Iv'e also wanted blue lamps in the radioroom but with OH it is unaviable, as you seen in "Das Boot" they often have blue bulps in the Radioroom at night. :hmmm:

It were nice eyecandy when you stand in the Central, and look in the RR and see all blue :)

Hitman 10-02-09 02:00 PM

Hey I'm glad you worked it out :up:

There are actually two masks, a soft black one -with the only purpose of making the red darker- and the actual red one. In your first attempt the black one became too evident, but now it's cool :|\\

Quote:

It were nice eyecandy when you stand in the Central, and look in the RR and see all blue
Yes, in Das Boot they used to signal silent running and/or repair status. Probably intended to be a low consumption light, but actually totally devoid from reality -where blue light was never used AFAIK-. I have heard that in the Das Boot DVD, the director admitted that it was used for dramatization purposes, as the crew looked even paler and frightened with it.

A very cool looking mod, anyway, which I would also love to use. Pity we can't rig for red in the dark and for blue in silent running :ping:

Rapt0r56 10-02-09 02:40 PM

Quote:

Yes, in Das Boot they used to signal silent running and/or repair status. Probably intended to be a low consumption light, but actually totally devoid from reality -where blue light was never used AFAIK-. I have heard that in the Das Boot DVD, the director admitted that it was used for dramatization purposes, as the crew looked even paler and frightened with it.
Here's the one when they sleep, (before any enemy contact). (This Screen is after the Scene: Morgen Herr Obermachinist! - Morgen ist gut... 5 vor 12(voll) :DL
http://i658.photobucket.com/albums/u...nap-229843.png

[Edit]: I think they using Blue lights 'cause they are a bit darker than the red one, red is only switched on in the Centrale. Blue lamps are also used in Silent running and repair Status.:ping:

Quote:

A very cool looking mod, anyway, which I would also love to use. Pity we can't rig for red in the dark and for blue in silent running
yes it disturbed me too. :damn:
http://www.subsim.com/radioroom/Yes,...d%20with%20it.

makman94 10-02-09 04:08 PM

thats really nice Raptor ! well done ! :up:

Rapt0r56 10-02-09 07:05 PM

I've found a new little eyecandy that i can add... (I must changed the Mod's name in "Das Boot Enhanced Interior"):woot:

Have anyeone an Idea in what Tga. File i can find this, i'm now searching the whole Textures folder, and can't found it.:nope:

so this is it about: (I need the File Name of the after Bulkhead or the One's where it is involved.)
http://i658.photobucket.com/albums/u..._12816_127.jpg
As you seen i'm having a little accident, iv'e changed the whole wall to the New Textur I thought it was the Texture. :D

And her'es the new one i wanna add to the Bulk, so that at least it looks as if you could look through it:
http://i658.photobucket.com/albums/u...6/achtshot.jpg

evan82 10-03-09 02:17 AM

Quote:

Originally Posted by Rapt0r (Post 1182572)
Thanks Gizmo!:yeah:
your code works:
http://i658.photobucket.com/albums/u..._20303_143.jpg
http://i658.photobucket.com/albums/u..._20307_565.jpg

Iv'e also wanted blue lamps in the radioroom but with OH it is unaviable, as you seen in "Das Boot" they often have blue bulps in the Radioroom at night. :hmmm:

It were nice eyecandy when you stand in the Central, and look in the RR and see all blue :)

The RR in OH is buckle up into the CR structure. I know. Other color for the bulbs in OH is difficult for set:damn: But this blue mask is very nice :up: - very nice. I'd like to have something like this in my XXI CT:arrgh!:.
Great Job!:yeah:

Rapt0r56 10-03-09 01:19 PM

too bad i can't find the file for the bulkhead, i also used S3D, but nothing.
:damn::damn::damn:... so i continue work on the bulps.

Rapt0r56 10-03-09 09:33 PM

So, I'm done with my work as almost, I had much fun in modding the lamps and the redmask's. Still a little fine tuning needed, and I will upload them later or tomorrow. Here are a few Screens of the things that you get with my mod.

Hope you like it: :ping:
I'm comparing those with Screenies from Das Boot.

WHITE:
http://i658.photobucket.com/albums/u...snap-52586.png
http://i658.photobucket.com/albums/u...9_33822_78.jpg

RED: (i reduce some fog , and get the red Atmospheric light at night darker. Before releasing it.)
http://i658.photobucket.com/albums/u...snap-19709.png
http://i658.photobucket.com/albums/u..._33931_265.jpg

BLUE: (here also a little darker Atmospheric light.)
http://i658.photobucket.com/albums/u...snap-53339.png
http://i658.photobucket.com/albums/u..._33847_390.jpg

And here little Extras:
The Red one is not included, i just wanna show the Contrast to Blue:
http://i658.photobucket.com/albums/u..._41546_375.jpg
http://i658.photobucket.com/albums/u...9_41535_93.jpg


And atleast, an darker Redmask at the Map:
http://i658.photobucket.com/albums/u..._41426_484.jpg

Hope you like it, any feedback or Questions post here or PM. :up:



All times are GMT -5. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.