Garry's Mod

Garry's Mod

StormFox - Environment mod
 This topic has been pinned, so it's probably important
Nak  [developer] 14 Oct, 2017 @ 4:53pm
SF Map support and interactions
What entities do StormFox require?
For full support, SF requires these entities to be to be present on the map:
  • light_environment - Controls the map-light and supports smooth light transition.
  • env_fog_controller - Controls the fog on the map.
  • env_tonemap_controller - Controls the light-bloom on the map.
  • shadow_control - Controls the shadows on the map
  • AI nodegraphs - Used for better environment awareness and water puddles.

light_environment will delete itself by default
To stop the engine from deleting this useful entity, you need to set its targetname to something.
StormFox doesn’t mind what you set it to, but the community generally use “lightenv”.

FYI: This will make the map take longer to compile.

Lamps/Lights
List of names for light_spot’s that SF will turn on/off doing night/day:
  • <Unnamed>
  • “1”
  • “*night*”
  • “*day*”
If you don't want SF to interact with the light, you have to name it something that isn't on the list.

Logic Relays
SF also supports logic-relays with specific names, allowing the map-creator to trigger map-effects doing night and day.
  • 'day_events' or 'dawn' will be triggered in the day-time
  • 'night_events' or 'dusk' will be triggered in the night or doing dark weather-conditions.
You can read more about logic-relays here: https://developer.valvesoftware.com/wiki/Logic_relay

Comment section
This comment section is dedicated to map-creators who might have questions or suggestions on map-interactions.
Last edited by Nak; 19 Dec, 2018 @ 6:33pm
< >
Showing 1-15 of 32 comments
Ron Thunderr 30 Nov, 2017 @ 11:57am 
Is there a Recommended Lightning? Is Dark or Bright better?
Nak  [developer] 30 Nov, 2017 @ 12:38pm 
Recommended lightning would be between dark and bright.
interloper 11 Mar, 2018 @ 12:52am 
there is any big map that has full support? like any version of bigcity or else?
Nak  [developer] 18 Mar, 2018 @ 7:47pm 
Originally posted by guigadj:
there is any big map that has full support? like any version of bigcity or else?
This thread is for map-creators and questions relating to the creation maps.
Is there a defined height a skybox should be for weather effects?
Oitnemood 13 Jul, 2018 @ 9:41pm 
español

Soporte e interacciones de SF Map
¿Qué entidades requiere StormFox?
Para obtener soporte completo, SF requiere que estas entidades estén presentes en el mapa:
light_environment: controla la luz del mapa y admite una transición de luz uniforme.
env_fog_controller - Controla la niebla en el mapa.
env_tonemap_controller - Controla la luz-floración en el mapa.
shadow_control - Controla las sombras en el mapa

Lámparas / luces
Según el mapa actual, "oscurecimiento", SF activará / desactivará todos los light_spot sin nombre, aquellos con "1" o si tienen "noche" o "día" en su nombre.

Como creador de mapas, necesitarías nombrar todos los light_spot que deberían permanecer en algo que no sea "1" y no tenga "day" o "night" en su nombre.

Relés lógicos
SF también admite relés lógicos con nombres específicos, lo que permite que el creador del mapa active los efectos del mapa durante la noche y el día.
- 'day_events' o 'amanecer' se activarán durante el día
- 'night_events' o 'dusk' se activarán por la noche o en condiciones climáticas oscuras.
Puede leer más sobre los relés lógicos aquí: https://developer.valvesoftware.com/wiki/Logic_relay

Sección de comentarios
Esta sección de comentarios está dedicada a creadores de mapas que pueden tener preguntas o sugerencias sobre interacciones de mapas.
TheAntagonist 7 Nov, 2018 @ 10:58am 
Originally posted by TOTTALLY NOT WEEB:
there is any big map that has full support? like any version of bigcity or else?
gm_bigcity_improved might.
TheAntagonist 7 Nov, 2018 @ 10:59am 
Can you add an option where it follows Sattelite time?
Samdaman 20 Jan, 2019 @ 1:32pm 
isn't ph_resortmadness supposed to fully support this?
Fungle the Bungle 31 Jan, 2019 @ 8:15am 
What must be done for custom textures to change into snow versions?
Last edited by Fungle the Bungle; 31 Jan, 2019 @ 8:16am
Nak  [developer] 1 Feb, 2019 @ 9:40am 
Originally posted by Fungle the Bungle:
What must be done for custom textures to change into snow versions?
Currently there are no way for mappers to interact with the texture system.

However working on a huge overhaul in v1.6(56% done). It will have a few entities that would allow mappers to make their own texture-settings, among a few other things.

Stay updated as v1.6 would be out the end of the weekend, if I'm lucky.
ForgedDragon_ 25 Mar, 2019 @ 3:13pm 
light_environment entities do not have an option for giving a name, how do I give it one?
https://youtu.be/2OmttTWHW9o

here it shows the rain particles hitting the window and other certain things like the ground, the walls, etc and i dont know how to activate it or change it to do that can someone or Nak help me with this. and i do want to know the name of the map you were on in the video so i can test it out
Last edited by (SSC) shadow night; 10 Apr, 2019 @ 3:13pm
KiwontaTv 13 May, 2019 @ 10:26am 
Hey. My map supports all mapentitys except the .ain nodes. Ingame the most is fun. But there are no rain effects etc. Any ideas? http://prntscr.com/no1um2
(SSC) shadow night 13 May, 2019 @ 12:16pm 
it could be because you could have turn off the effects and other stuff or you set it to the lowest or it could that theres a error with the map so the effects show it has it but it doesnt or i just dont know
Last edited by (SSC) shadow night; 13 May, 2019 @ 12:16pm
< >
Showing 1-15 of 32 comments
Per page: 1530 50