How do I make it snow? (FAQ)
Moderator: Moderators
- SBF_Dann_Boeing
- Groove Walrus
- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
How do I make it snow? (FAQ)
Ok how do I make it snow? There isn't anything about sky files or precipitation in the "Everything You Need" thread.
-
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Adding snow to your map
You need to insert some code into your ABC.fx (environment effects) file located in your world1 folder, if you don't have an fx file then create one or copy one from the assets.
Insert this code into ABC.fx (replace ABC with your 3 letter modID):
You can safely omit the XBOX and PS2 blocks from the code above.
Insert this code into ABC.fx (replace ABC with your 3 letter modID):
Code: Select all
Effect("Precipitation")
{
Enable(1);
Type("Quads");
Texture("fx_snow");
ParticleSize(0.015);
Color(255, 255, 255);
Range(15.0);
Velocity(2.0);
VelocityRange(0.8);
PS2()
{
ParticleDensity(80.0);
}
XBOX()
{
ParticleDensity(100.0);
}
PC()
{
ParticleDensity(100.0);
}
ParticleDensityRange(0.0);
CameraCrossVelocityScale(1.0);
CameraAxialVelocityScale(1.0);
AlphaMinMax(0.3, 0.45);
RotationRange(2.0);
}
- SBF_Dann_Boeing
- Groove Walrus
- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: Let it Snow
Then the map crashes with this error:
Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(30)
PblConfig: invalid config; 'DATA' chunk expected
chunk.GetId() == _ID( 'D', 'A', 'T', 'A' )
Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(35)
PblConfig: invalid config; 'DATA' chunk with invalid string table
m_uiNumArgs*4 + uiStringTableLen <= CONFIG_MAX_DATA_ARGS*4
-
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Let it Snow
._OSBF_Dann_Boeing wrote:Then the map crashes with this error:
Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(30)
PblConfig: invalid config; 'DATA' chunk expected
chunk.GetId() == _ID( 'D', 'A', 'T', 'A' )
Message Severity: 3
c:\battlefront2\main\pebblefl\common\PblConfig.h(35)
PblConfig: invalid config; 'DATA' chunk with invalid string table
m_uiNumArgs*4 + uiStringTableLen <= CONFIG_MAX_DATA_ARGS*4
WTH?
Ok, I have no clue how that happened, should have worked flawlessly.
Never ever seen an error like that eather.
- SBF_Dann_Boeing
- Groove Walrus
- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: Let it Snow
here's my sky file
Note that I have done absolutely nothing but edit this file and munge for this map
Hidden/Spoiler:
-
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Let it Snow
OOOOOOOh
You should put that bit I gave you in the ABC.fx file, not sky.
You should put that bit I gave you in the ABC.fx file, not sky.
- SBF_Dann_Boeing
- Groove Walrus
- Posts: 1529
- Joined: Wed Aug 31, 2005 11:33 pm
- xbox live or psn: No gamertag set
- Location: An Igloo High Upon a Mountain Top
Re: Let it Snow
OOOOOOh
that's what i get for not reading carefully
EDIT
ok thx it works now
that's what i get for not reading carefully
EDIT
ok thx it works now
-
- Recruit Womprat Killer
- Posts: 9
- Joined: Wed Apr 12, 2017 5:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How do I make it snow? (FAQ)
I did as you said and here is my FX file, but there is no snow is this for only battlefront one or am I missing something here?
Hidden/Spoiler:
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: How do I make it snow? (FAQ)
Did you copy over fx_snow.tga (from Hoth or another world with snow) to your world1 folder?
-
- Recruit Womprat Killer
- Posts: 9
- Joined: Wed Apr 12, 2017 5:57 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How do I make it snow? (FAQ)
No but I will give it try, I'm not finding the fx_snow.tga in the hoth folder unless its the snow_1 in the msh folder in the assetsMarth8880 wrote:Did you copy over fx_snow.tga (from Hoth or another world with snow) to your world1 folder?
EDIT: Nvm found it but it still doesn't show when its in the world1 folder