Page 1 of 1

Stupid load req...

Posted: Sun Sep 14, 2008 10:23 pm
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?

Re: Stupid load req...

Posted: Mon Sep 15, 2008 12:52 am
by MasterFang1
BF2, obviously, because that is SWBF2 loading screen.

Re: Stupid load req...

Posted: Mon Sep 15, 2008 1:35 am
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)

Re: Stupid load req...

Posted: Mon Sep 15, 2008 1:44 pm
by Frisbeetarian
768 is not a power of 2 either.

Re: Stupid load req...

Posted: Mon Sep 15, 2008 2:05 pm
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

Re: Stupid load req...

Posted: Mon Sep 15, 2008 3:14 pm
by SBF_Dann_Boeing
Oh yeah forgot it about that bit.