PDA

View Full Version : Green Cabin Lighting



lewis11777
August 28th, 2011, 20:33
Here is some green cabin lighting as opposed to the red lighting that was developed for the ETO install (I think).

Aircraft.XPD

<Effect Type="Track" EffectName="ac_Light_cabin_green_small" PosX="0.0" PosZ="3.9" PosY="0.8" MinVel="-0.01" MaxVel="80"/>

Effects.xml

<ac_Light_cabin_green_small ClassName="Lighting" LightType="Point" Lifetime="10" InitialDelay="0" FadeInTime=".1" FadeOutTime=".5" StrobeInterval="3600" StrobeRitm="1" PosX="0" PosY="0.0" PosZ="0.0" RotY="0" RotX="0.0" Diffuse0="100 600 100" Diffuse1="100 600 100" Specular0="0 0 0" Specular1="0 0 0" Ambient0="0 0 0" Ambient1="0 0 0" Range=".36" FallOff="0" Attenuation0="1" Attenuation1=".01" Attenuation2="0" Theta="10" Phi="30"/>


4699746996

NachtPiloten
August 29th, 2011, 07:21
Changing the cabin lights can also be done and I did it using an xml file, just can't remember, I think it is in the viewui file. Mine are green and I did not use the xpd fix....

greycap.raf
August 29th, 2011, 09:15
Changing the cabin lights can also be done and I did it using an xml file, just can't remember, I think it is in the viewui file.

Correct. In the application data folder's ViewUI.xml there's a section quite early in the file that says LightColor="255 50 50" - normal RGB rules apply. As a matter of fact I used to have dimmer red lights which I'm going to recreate right now.

lewis11777
August 29th, 2011, 11:02
Please post for everyones benefit! I did it this way because I wanted a separate effect for my modern fighters. I kind of like the red in the older fighters.

greycap.raf
August 29th, 2011, 11:24
It's certainly a preference thing, I now have LightColor="96 0 0" (96/256th of red, 0/256th of green and 0/256th of blue) which gives a dull red light enough to light the gauges and gunsight but not enough to make the cockpit interior shine like a Christmas tree. LightColor="0 64 0" produces reasonably subtle green lighting and LightColor="48 24 36" gives an "UV-ish" shade for example. Experimenting works wonders here, the downside of this approach is that it affects the universal lighting for all aircraft and different cockpits react to the light in different ways.

NachtPiloten
August 29th, 2011, 11:33
Really need to use those reading glasses.

<Settings>
<ViewUI>
<VirtualCockpitView FovScale="1.0" RotationRate="0.9" TranslationRate="0.5" VerticalLimit="0.3" LateralLimit="0.3" LightColor="48 24 36" DrawCockpit="true"/>
<SpotView ViewDist="20.0" ViewVerticalOffset="0.0" NominalAngles_x="3.0" NominalAngles_y="29.9999453584882" VerticalDelta="80.0" LateralDelta="80.0" ZoomDelta="10.0"/>
<ChaseView ViewDist="20.0" ViewVerticalOffset="0.0" NominalAngles_x="3.0" NominalAngles_y="5.0" VerticalDelta="80.0" LateralDelta="80.0" ZoomDelta="10.0"/>
<FloatView ViewDist="5" ViewVerticalOffset="2.0" MaxTrackingOffset="30.0" HistoryTargetOffset="24" HistoryCameraOffset="48"/>
<FlybyView StartViewDist="400.0" StopViewDist="400.0" ViewOffsetVert="15.0" ViewOffsetHoriz="15.0"/>
<ObserverUI ForwardSpeed="600.0" LateralSpeed="600.0" VerticalSpeed="100.0" PitchSpeed="20.0" YawSpeed="20.0" JoyForwardScale="5.0" JoyLateralScale="5.0" JoyYawScale="5.0"/>
<PlayerTargetView OffsetDist="25.0" OffsetHeight="2.5" ZoomVal="0.8" ZoomRate="1.0" ZoomMin="0.1" ZoomMax="10.0"/>
<WeaponView ViewDist="20.0" ViewVerticalOffset="0.0" NominalAngles_x="3.0" NominalAngles_y="29.9999453584882" VerticalDelta="80.0" LateralDelta="80.0" ZoomDelta="10.0"/>
</ViewUI>

lewis11777
August 30th, 2011, 03:58
Rene or Ted do either of you guys have that CFS3 color code reference spread sheet that someone posted a long time ago?

NachtPiloten
August 30th, 2011, 04:49
http://cloford.com/resources/colours/500col.htm

lewis11777
August 30th, 2011, 05:18
Thanks Ted!