Hey, I’m looking to see how I can stream the ‘weather.xml’ file.
My goal is to create something to allow to use the weather type ‘BLIZZARD’ simultaneously with ‘XMAS’.
This can be achieved by editing the ‘BLIZARD’ ground setting to VFX_SNOW_HEAVY_GROUND
however I have no way to stream this file on my server.
Anyone know?
1 Like
Jajar
December 10, 2021, 8:18am
2
You don’t need to stream them as ymap’s or ytyp’s etc. You just put it inside the resource and call it inside the fxmanifest Resource manifest - Cfx.re Docs , Data files - Cfx.re Docs , Resource manifest - Cfx.re Docs
What type of data file is it?
1 Like
Jajar
December 17, 2021, 8:35pm
4
Edit: its a timecycle file
Jajar
December 17, 2021, 8:36pm
5
looks something like this in fxmanifest.lua
fx_version 'cerulean'
games {'gta5'}
data_file 'TIMECYCLEMOD_FILE' 'timecycle_mods_4.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_blizzard.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_clear.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_clearing.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_clouds.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_extrasunny.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_foggy.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_neutral.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_overcast.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_rain.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_smog.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_snow.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_snowlight.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_thunder.xml'
data_file 'TIMECYCLEMOD_FILE' 'w_xmas.xml'
files {
'timecycle_mods_4.xml',
'w_blizzard.xml',
'w_clear.xml',
'w_clearing.xml',
'w_clouds.xml',
'w_extrasunny.xml',
'w_foggy.xml',
'w_neutral.xml',
'w_overcast.xml',
'w_rain.xml',
'w_smog.xml',
'w_snow.xml',
'w_snowlight.xml',
'w_thunder.xml',
'w_xmas.xml'
}
nta
December 17, 2021, 10:54pm
6
If you just want snow to show up unconditionally, there’s a special native for that here:
ForceSnowPass - Natives @ Cfx.re Docs (fivem.net)
1 Like
you325
September 7, 2022, 3:02am
7
hello in which fxmanifest.lua should i add this ? i am new to fivem , when i search for fxmanifest.lua it is in every folder like [Gameplay],[test] etc
can you please explain in steps thanks in advance !