Light ambient: Difference between revisions

From Unofficial EFPSE wiki Extended
Jump to navigation Jump to search
(Added individual entry for the light ambient command)
 
No edit summary
Line 15: Line 15:


</pre>
</pre>
==== Example project ====
This is an example project that lets you change the ambient light from red to green to purple and influence the alpha.
{{#ev:youtube|2BBDzwAyyg0}}
<br>
[https://github.com/BoxOfCereal/test-light_ambient/raw/main/test-light_ambient.zip prebuilt demo] -
[https://github.com/BoxOfCereal/test-light%20ambient source]
====== Added ======
====== Added ======
[https://github.com/CG8516/DumpingGround/raw/main/EFPSE_DEVBUILDS/EasyFPSEditor_CE_DEV_2024-05-28_1605.exe EasyFPSEditor_CE_DEV_2024-05-28_1605 : (1.11 alpha test 1)]
[https://github.com/CG8516/DumpingGround/raw/main/EFPSE_DEVBUILDS/EasyFPSEditor_CE_DEV_2024-05-28_1605.exe EasyFPSEditor_CE_DEV_2024-05-28_1605 : (1.11 alpha test 1)]

Revision as of 17:39, 17 June 2024

Changes the [r]ed [g]reen [b]lue [a]lpha of the ambient light of the current map where [r], [g], [b] are values between [0-255] and [a] is [0.0-1.0].


Syntax

light ambient [r] [g] [b] [a]

Examples

📜 turnLightGreenTerminal.script

//light ambient [r] [g] [b] [a]
text "Setting up ambient light to green"

light ambient 0 255 0 1
map return

Example project

This is an example project that lets you change the ambient light from red to green to purple and influence the alpha.


prebuilt demo - source


Added

EasyFPSEditor_CE_DEV_2024-05-28_1605 : (1.11 alpha test 1)