Files
gta-v-chaos-mod-custom-scripts/Weather/WeatherTrueSnow.lua
nathan 8bd8c2c2fa Modified Effects:
Modified the Snow Storm Effect
Create the pizza time effect
2025-09-22 23:02:14 +01:00

32 lines
846 B
Lua

EffectInfo = {
Name = "Snow Storm",
EffectId = "weather_snowstorm",
TimedType = "Normal",
EffectGroup = "_group_weatherchange",
EffectCategory = "Shader"
}
function OnStart()
REQUEST_CLIP_SET("move_f@injured")
end
function OnStop()
SetSnowState(false)
SET_TIMECYCLE_MODIFIER_STRENGTH(1.0) -- reset the timecycle strength for any effects that require it but do not modify the strength by themselves.
CLEAR_TIMECYCLE_MODIFIER()
SET_WEATHER_TYPE_NOW("CLEAR")
end
function OnTick()
SetSnowState(true)
SET_WEATHER_TYPE_NOW("BLIZZARD")
SET_TIMECYCLE_MODIFIER("prologue_ending_fog")
SET_TIMECYCLE_MODIFIER_STRENGTH(0.6)
for _, ped in ipairs(GetAllPeds()) do
if ped ~= PLAYER_PED_ID() then
SET_PED_MOVEMENT_CLIPSET(ped, "move_f@injured", 1.0);
end
end
end