Anakin's Trouble Thread

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

User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Anakin's Trouble Thread

Post by Anakin »

jep
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Anakin's Trouble Thread

Post by AQT »

Oh, so you were trying to get a custom load screen to work with a stock map via a custom era. It wasn't working because Mos Eisley doesn't use the stock load screen common.lvl file. Even if you rename your custom load screen .lvl to tat2, you won't be able to load a custom image inplace of the stock load screen images because 1) there are more than one of them, and 2) they aren't named loadscreen. The stock load screen .lvl files were munged using this different method, so you might want to check it in order to create a custom one of your own to load in place of the stock tat2.lvl file, similar to how you would with the stock load screen common.lvl file.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Anakin's Trouble Thread

Post by Anakin »

Thanks that was what i thought too. But i haven'T found an other Methode.

an other question. if i want a custom 1st perspectiv. do i need
FirstPerson ="dc:rep/rep;what_ever"?
or without the "dc:"?

2nd i made my custom Era Name and Icon. But after i finhished other maps don't have any more their names and icons. These are Dark Times II and Dev's Sidemod. BFx still works. I hope you can help me
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Anakin's Trouble Thread

Post by THEWULFMAN »

Anakin wrote:an other question. if i want a custom 1st perspectiv. do i need
FirstPerson ="dc:rep/rep;what_ever"?
or without the "dc:"?

All you need to know is right here. Please feel free to ask about anything if it is confusing.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Anakin's Trouble Thread

Post by Anakin »

the confusing is that it didn't work for me


==EDIT==

i need your help with this error log. it chrashes, but i don't know why. there is no message 3 or higher
I think it is an error with the CIS because the Rep sides work.

i uploaded the file here because it's too long



==EIDT==
http://www.gamefront.com/files/21883855/BFront2.log
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Anakin's Trouble Thread

Post by [RDH]Zerted »

First, please fill your memory pools. It isn't hard and it greatly reduces the error log. Second, it's best to have one topic per issue or only work on one issue at a time. If there are multiple things going on at the same time, it makes it harder to read through a topic.

For the load screen, there are a few possible issues I can think of. But first lets be clear on how you have your map setup. It looks like you have a mod map named RCM but your mission script is tat2r_con? I don't know if different map names will cause any issues or not. Also, the issue you're having is simply that the custom load screen image won't show up. Meaning you don't get an error in the error log saying it couldn't find your load screen lvl.

I think the load screen image in tat2.lvl is named "mos_1". Try that. If it doesn't work, replace the game's stock tat2.lvl (back it up first) with your tat2.lvl and see if normal map now uses your load screen (to make sure the lvl was built correctly). If it works, good. Restore your backup. Now try adjusting the AddDownloadableContent line to AddDownloadableContent("rcm","tat2r_con",4) and test again. If that doesn't work, undo the AddDownloadContent change. Now create a tat2 folder in the addme folder and move your map's files into there. See if that changes anything. If not, change your tat2.lvl back into common.lvl with "loadscreen" and test it one more time in the tat2 folder.

The next thing to try would be to rename your script to rcm2_con, adjust the addme.lua (especially the AddDownloadableContent() lines. And you'll need to add your RCM map instead of using AddNewGameModes()), and try loading your load screen normally. The script name doesn't need to match the level it's loading.

Another option is creating a custom load.cfg and trying to override some info in the game's load.lvl. Since I'm the only one who's done this when trying to figure out how to get load screens working and I no longer know where the notes on it are, I recommend trying the above options first. Of course, you're free to experiment on your own and try to figure out how everything works.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Anakin's Trouble Thread

Post by Anakin »

Thank your for your tips.

So there are a few things i allready tried.
[RDH]Zerted wrote:First, please fill your memory pools. It isn't hard and it greatly reduces the error log. Second, it's best to have one topic per issue or only work on one issue at a time. If there are multiple things going on at the same time, it makes it harder to read through a topic.
made this on i think near all maps

For the load screen, there are a few possible issues I can think of. But first lets be clear on how you have your map setup. It looks like you have a mod map named RCM but your mission script is tat2r_con?
that is right. my mod is called RCM and you'll get RCs for all stock maps. so i have more than the tat2r_con misson. they are all looking like that. cor1r_con.....
I don't know if different map names will cause any issues or not. Also, the issue you're having is simply that the custom load screen image won't show up. Meaning you don't get an error in the error log saying it couldn't find your load screen lvl.
correctly

I think the load screen image in tat2.lvl is named "mos_1". Try that.
will do that. if it works, do you knwo the image names of the other stock maps, too?
If it doesn't work, replace the game's stock tat2.lvl (back it up first) with your tat2.lvl and see if normal map now uses your load screen (to make sure the lvl was built correctly). If it works, good.
i'm not sure, if i made this. but i did something in this way. i may only replaced the common.lvl. For this no screen was shown. the screen was black for loading BFII, and all maps using the Loadscreen image from the common.lvl
Restore your backup. Now try adjusting the AddDownloadableContent line to AddDownloadableContent("rcm","tat2r_con",4) and test again. If that doesn't work, undo the AddDownloadContent change.
will test that
Now create a tat2 folder in the addme folder and move your map's files into there. See if that changes anything. If not, change your tat2.lvl back into common.lvl with "loadscreen" and test it one more time in the tat2 folder.
So you mean the addme folder in the source files? what files do you mean with map's files?
I have no tat2 folder.


The next thing to try would be to rename your script to rcm2_con, adjust the addme.lua (especially the AddDownloadableContent() lines. And you'll need to add your RCM map instead of using AddNewGameModes()), and try loading your load screen normally. The script name doesn't need to match the level it's loading.
So i think this is similar to adding a new custom map. i added some BFI maps, for example the Bespin maps, kashyyyk... and there the Loadscreen is shown up.

Another option is creating a custom load.cfg and trying to override some info in the game's load.lvl. Since I'm the only one who's done this when trying to figure out how to get load screens working and I no longer know where the notes on it are, I recommend trying the above options first. Of course, you're free to experiment on your own and try to figure out how everything works.
sounds complicated. i'll try your first options first
Post Reply