Garry's Mod

Garry's Mod

2,124 평점
Gmod Light / Environment Editor
7
2
2
6
6
3
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Scenic
파일 크기
게시일
업데이트일
333.761 KB
2022년 3월 15일 오전 8시 38분
2024년 5월 21일 오전 7시 16분
변경 사항 15개 ( 보기 )

다운로드 위해 구독하기
Gmod Light / Environment Editor

설명
- About This Addon -

To put it simply, this addon is meant to allow you to mess with the lighting of maps mid-game, while also reducing the negative side effects of doing so as much as possible.

If you need one, the first video on the workshop page is a quick tutorial on how to use this. (Though it is currently outdated, and a lot of things have been improved or added since then.)


- Extra Details -

This addon has the most functionality on maps with named light_environments, as this separates ambient light and sunlight (allowing you to adjust both separately). The rest of the addon works more-or-less the same with/without one, though you may need a different combination of work-arounds as the lighting behaves slightly differently in both contexts.

Since neither source nor gmod were designed to accommodate what this addon does, there's a lot of weird jank and a few unfixable issues. Nothing this addon does will persist beyond a restart. You may encounter entities that don't update their lighting with the ambient light slider. There's usually nothing that can be done about this, and there are a number of buttons to outright remove these for that reason. Wherever there are seemingly arbitrary limitations (e.g. the 1-26 range for light level) these are usually for technical reasons and can't be changed.

This addon may very rarely cause lamps/lights to not work properly at all, in which-case you can disable the lamp/light fixer to make them work normally again.

The "Skybox Texture" box directly changes sv_skyname, you can find the skybox names for most games by just searching for them on your preferred search engine; But to save you the trouble: Here's the list of skyboxes for half-life 2

- Console commands -

  • Environment_ambientLightLevel (1-26)
    - Controls light in shadows and from artificial sources, 12 is default, 1 is pitch black.

  • Environment_SunLightLevel (1-26)
    - Controls direct light from the sun, 12 is default, 1 is pitch black

  • Environment_ChangeLightStyle (0-1)
    - Whether or not the fix for lamps/lights is activated

  • Environment_ForceDisabledSkybox (0-1)
    - Sets r_3dky to 0 for all players

  • Environment_ForceDisabledCubemaps (0-1)
    - Sets mat_specular to 0 for all players

  • Environment_ForceRadiosityZero (0-1)
    - Sets r_radiosity to 0 for all players (which helps in outdoor areas and with static/dynamic props still being lit)

  • Environment_DarkenWater (0-1)
    - Darkens the colour of water fog based on the current value of Environment_ambientLightLevel to fix water sources appearing glow-y.

  • Environment_DarkenRopes (0-1)
    - Sets the colour of any ropes that were part of the map to black

(The commands in this table remove all of a certain entity type from the map)
Command
Target
Environment_Destroy_Beams
Lightbeams
Environment_Destroy_Soundscapes
Soundscapes
Environment_Destroy_AmbientGeneric
Sound Emitters
Environment_Destroy_Sprites
Sprites
Environment_Destroy_SmokeVolume
Smoke effects
  • Environment_stopSoundscape
    - Runs stopsound and stopsoundscape for all players. Requires sv_cheats 1 to work properly.

  • Environment_DisableStaticAmbientLighting
    - Uses black-magic to disable the map lighting on static props entirely. This will last until you start a new game/restart the server, so only use it if you're planning to keep the map pitch-black for the entire session.

  • Environment_DisableStaticSelfIllum
    - Disable self-illumination on all static props. This one can be toggled on/off. This is useful for any lamp props that are part of the map, as otherwise they'll be fully-bright/glowing.

    *Note: This edits the material rather than the static prop itself, so props with the same material as a static prop on the map will also have no self-illumination while this is turned on.

If you wish to contribute, a github repository for this is available here[github.com]
인기 토론 모두 보기(8)
2
2024년 5월 15일 오후 10시 29분
Saves with the editor in them will crash the game
BP's Strongest Lobbyist
11
2023년 12월 27일 오후 10시 10분
Petition to make zeta player use flash light in the lowest sunlight option (also ambient light)
JellyCat
11
2024년 2월 13일 오전 12시 11분
is this addon safe?
cleminite
댓글 237
luca1808 2024년 6월 17일 오전 9시 48분 
crashes gmod whenever Environment_ambientLightLevel is around 1
millermilano1 2024년 6월 9일 오후 11시 52분 
ig you dont wanna do consol commands just get stormfoz 2, reason why i like this mod is it makes me feel like a nerd or a hacker or smth like that
=R.S.M.F= JonahSoldier  [작성자] 2024년 6월 1일 오후 5시 40분 
In general or when you change a specific value? There are 2 options specifically there for disabling certain parts of props' lighting, but that shouldn't do anything unless you intentionally turn them on.
The Empire of BRISTIAN 2024년 6월 1일 오전 10시 04분 
for some reason this addon messes up the prop lighting
jo 2024년 5월 22일 오후 2시 32분 
shlawg is not mordecai hellor:steamhappy:
OMEGAVEZ 2024년 5월 18일 오전 3시 07분 
GOOD!!!:physgun:
JoeL The Khajiit Furry Cat/JTKFC 2024년 5월 17일 오전 11시 24분 
Thank you so much :D
Wolƒe Strider Shoσter 2024년 5월 13일 오전 11시 47분 
Thank you for fixing these bugs, much appreciated. fyi I opened up a couple more issues for some bugs I found.
=R.S.M.F= JonahSoldier  [작성자] 2024년 5월 12일 오후 11시 51분 
@7777 Tʜɛ Ӻ๑๛∂ß¡tξr I don't have any plans to integrate support for other addons directly, but (if it's actually possible to do so) there's nothing stopping someone else from doing it. All of the values in this addon can be set by console commands, so it'd be relatively easily to make another mod set them (and I think there's at least 1 or 2 that already do that).
=R.S.M.F= JonahSoldier  [작성자] 2024년 5월 12일 오후 11시 46분 
@Wolƒe Strider Shoσter Resolved 3 of them and left comments on the other 2. Sorry for the really slow response, I don't check this project often.