Loading screens refuse to load...

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
DarthFannel
Private Second Class
Posts: 60
Joined: Tue Jul 20, 2010 9:53 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City

Loading screens refuse to load...

Post by DarthFannel »

I came across this weird problem, following the loadscreen tutorial for one screenshot is ok, I make a common.req, plus I name the pic loadscreen.tga, I munge the stuff and call "dc:Load\\common.lvl" on my LUAs, the pic loads just fine.

Then I wanted to make the individual loadscreen method instead, my map only has conquest but I wanted to use two different pics for CW and GCW, so I made RV3c_con.req and .tga plus RV3g_con.req and tga, calling the respective files in them.

Example of REQ

Code: Select all

ucft
{	REQN
	{
		"texture"
		"RV3c_con"
	}
}
Example of LUA

Code: Select all

...
function ScriptInit()

ReadDataFile("dc:Load\\RV3c_con.lvl")
  
    ReadDataFile("ingame.lvl")
...       
Munged and copied the .lvl files to my mods LOAD folder... and then, nothing, the screens never show, unless I am missing something I am pretty sure I followed both tutorials and it should work.

Anyone have a clue?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Loading screens refuse to load...

Post by lucasfart »

In your .req file, the REQN should be on a seperate line before the first bracket. And another problem with your req is the fact is the name of your texture isn't RV3c_con, its loadscreen.

All in all, your .req should look like this:

Code: Select all

ucft
REQN
{	
	{
		"texture"
		"loadscreen/loadscreen.tga" --i'm not sure whether you need .tga on the end or not
	}
}
Also, your lua should be calling
ReadDataFile("dc:Load\\common.lvl").

Making seperate loadscreens for different era's doesn't mean changing the common.lvl in any way. To make multiple pictures, create more then 1 load folder(so make a load2 folder etc for however many you want, and then call the respective folders common.lvl depending on what pic you want.
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Loading screens refuse to load...

Post by Jendo7 »

I've got several loadscreens in my upcoming map, and I thought you have to name the .req files differently. I have a hunt one called BNE_hunt.lvl, and a seperate common.lvl, otherwise the different modes will reference the same loadscreen. Just munge them seperately as you have to reference loadscreen in the .req file like lucusfart shows, but without .tga at the end.

Actually it should look like this:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"texture"
"loadscreen"
}
}[/code]
and reference the .lvl file differently in each seperate era.lua, as in your case:

Code: Select all

ReadDataFile("dc:Load\\RV3c_con.lvl")

ReadDataFile("dc:Load\\RV3g_con.lvl")
This way you can put them all in the same load folder

lucasfarts way probably works also, I haven't tried that, though.
User avatar
DarthFannel
Private Second Class
Posts: 60
Joined: Tue Jul 20, 2010 9:53 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City

Re: Loading screens refuse to load...

Post by DarthFannel »

@Jendo7
I am using your method, that's the main problem, it doesn't show any screens; I'll try the other way around but it was supposed to work.
MrCrayon
Jedi Knight
Jedi Knight
Posts: 554
Joined: Sat Apr 17, 2010 8:15 pm
Projects :: Coruscant map Want to help PM me
Games I'm Playing :: Battlefront 3
Location: Buried in homework, but getting better

Re: Loading screens refuse to load...

Post by MrCrayon »

Hidden/Spoiler:
ucft
REQN
{
{
"texture"
"loadscreen/loadscreen.tga" --i'm not sure whether you need .tga on the end or not
}
}
You don't need tga unless it's name is tga.
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Loading screens refuse to load...

Post by Jendo7 »

DarthFannel, if you still can't get it to work you might need to do a manual clean of the load folder in the _BUILD directory, and just delete loadscreen.texture in the MUNGED/PC folder. That's what I did every time I added a new one, and it worked perfectly. Just remember to munge each loadscreen.tga seperately, so move the previous one and it's .req file to another folder on the desktop.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Loading screens refuse to load...

Post by lucasfart »

Jendo7 wrote:I've got several loadscreens in my upcoming map, and I thought you have to name the .req files differently. I have a hunt one called BNE_hunt.lvl, and a seperate common.lvl, otherwise the different modes will reference the same loadscreen. Just munge them seperately as you have to reference loadscreen in the .req file like lucusfart shows, but without .tga at the end.

Actually it should look like this:
Hidden/Spoiler:
[code]ucft
{
REQN
{
"texture"
"loadscreen"
}
}[/code]
and reference the .lvl file differently in each seperate era.lua, as in your case:

Code: Select all

ReadDataFile("dc:Load\\RV3c_con.lvl")

ReadDataFile("dc:Load\\RV3g_con.lvl")
This way you can put them all in the same load folder

lucasfarts way probably works also, I haven't tried that, though.
Really? I'll have to try your way, but i thought it HAD to be called common.lvl, doesn't it?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Loading screens refuse to load...

Post by AQT »

The name of the .lvl does not matter, it just needs to be in the Load folder.
User avatar
DarthFannel
Private Second Class
Posts: 60
Joined: Tue Jul 20, 2010 9:53 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City

Re: Loading screens refuse to load...

Post by DarthFannel »

@AQT
Still the images don't load from anything not called common.lvl, there must be something missing in the tutorial, some kind of .req or other file, I followed both tutorials to a T and still can't think what's wrong.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Loading screens refuse to load...

Post by AQT »

The name of the .lvl doesn't matter but the name of the TGA always has to be loadscreen. That's probably your problem. And don't forget to manual clean as Jendo mentioned everytime you want to munge a new loadscreen .lvl; VisualMunge is a little picky about that.
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Loading screens refuse to load...

Post by lucasfart »

Yeah, you'll need to delete/move the current loadscreen.tga out of your data_*** folder, and rename the next one to loadscreen.tga. Repeat this for all your loadscreens.
User avatar
DarthFannel
Private Second Class
Posts: 60
Joined: Tue Jul 20, 2010 9:53 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Mexico City

Re: Loading screens refuse to load...

Post by DarthFannel »

NOW that makes a lot more sense, thanks, I'll try that.
Post Reply