Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Fog and fadeing out [scripts]
Re: Fog and fadeing out [scripts] [message #183443 is a reply to message #183437] Fri, 23 December 2005 20:37 Go to previous messageGo to previous message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma:
Recruit
I think Commands->Set_Fog_Range(300,300,5); would work. That should make the fog move to 300m away over a period of 5 seconds. 300 meters is the view distance in Renegade, so anything beyond that shouldn't be visible to a player.

The first two parameters for Set_Fog_Range are the same as the "Start" and "End" in Level Edit's fog settings. "Start" being the distance at which the fog first becomes visible, and "End" being when it becomes too thick to see past. The third parameter is the time, in seconds, it takes to fade between existing fog settings and the new settings you're making with Set_Fog_Range.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond

[Updated on: Fri, 23 December 2005 20:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "Internal Application Error" (fixed - map info inside)
Next Topic: =bots=
Goto Forum:
  


Current Time: Mon Jan 20 04:21:13 MST 2025

Total time taken to generate the page: 0.00645 seconds