Stupid load req...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
RED51
Jedi
Jedi
Posts: 1024
Joined: Sun Sep 07, 2008 6:25 pm
Games I'm Playing :: SWBFII

Stupid load req...

Post by RED51 »

Stupid req...my map is alreadly finished, but I want to add a load screen. However, it won't work! I keep getting this error in the munge log:

Code: Select all

ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:800x600x1): Must have power of two dimensions!
ERROR[PC_texturemunge loadscreen.tga]:TextureMunge(loadscreen:800x600x1): Must have power of two dimensions!
 [continuing]
   2 Errors    0 Warnings

ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--
ERROR[levelpack common.req]:Expecting bracket, but none was found.
File : munged\pc\loadscreen.texture.req(1)...

ucft <--

   2 Errors    0 Warnings

Also, how do I add rain to my map? I looked thorugh the FAQ to see if there are any guides to making rain, but no dice...
off topic: Where can I find this map?:
Image
Was it made for BF2 or BF1?
MasterFang1
Corporal
Corporal
Posts: 144
Joined: Sat Apr 05, 2008 4:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Stupid load req...

Post by MasterFang1 »

BF2, obviously, because that is SWBF2 loading screen.
User avatar
SBF_Dann_Boeing
Groove Walrus
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: Stupid load req...

Post by SBF_Dann_Boeing »

800x600 arn't powers of 2.

Make the dimensions 1024x768

Rain btw is controlled in the FX of your world1 folder. If an .fx file doesn't exist, create one and put this in it:

Code: Select all

Effect("Precipitation")
{
	Enable(1);
	Type("Streaks");
	Range(12.5);
	Color(216, 220, 228);
	VelocityRange(1.0);
	ParticleDensityRange(0.0);
	CameraCrossVelocityScale(0.2);
	CameraAxialVelocityScale(1.0);

	GroundEffect("com_sfx_rainsplash");
	GroundEffectSpread(8);

	PS2()
	{
		AlphaMinMax(0.8, 1.0);
		ParticleSize(0.06);
		ParticleDensity(80.0);
		Velocity(8.0);
		StreakLength(1.7);
		GroundEffectsPerSec(7);
	}
	XBOX()
	{
		AlphaMinMax(0.2, 0.3);
		ParticleSize(0.02);
		ParticleDensity(256.0);
		Velocity(9.0);
		StreakLength(1.0);
		GroundEffectsPerSec(15);
	}
	PC()
	{
		AlphaMinMax(0.3, 0.45);
		ParticleSize(0.02);
		ParticleDensity(256.0);
		Velocity(9.0);
		StreakLength(1.0);
		GroundEffectsPerSec(15);
	}
}
You should also add the groundeffect mentioned there from kamino assets (in assets/worlds/KAM/effects)
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Stupid load req...

Post by Frisbeetarian »

768 is not a power of 2 either.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Stupid load req...

Post by Teancum »

Here's what you do:

1- Make a 1024x1024 texture, fill it in with black
2- Resize your 800x600 pic to 1024x768
3- Pase it into your 1024x1024 texture and center it vertically
4- Save
User avatar
SBF_Dann_Boeing
Groove Walrus
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: Stupid load req...

Post by SBF_Dann_Boeing »

Oh yeah forgot it about that bit.
Post Reply