BFront2 Error [Solved]

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
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 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: South Carolina
Contact:

BFront2 Error [Solved]

Post by bokkenblader56 »

I have a strange kind of error, and I have no idea what's wrong. As far as I can see, I haven't done anything wrong. However, judging from the few posts I've actually made, I could've done anything. Here it is:

Code: Select all

Message Severity: 3
.\Source\LuaCallbacks_Mission.cpp(866)
Lua ReadDataFile: Could not open dc:SIDE\imp.lvl
Any help is appreciated. Thanks in advance!
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: BFront2 Error

Post by [RDH]Zerted »

It can't open that file. Are you trying to make a custom side? If not, remove the dc: in your lua script where you find ReadDataFile("dc:SIDE\imp.lvl"
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 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: The lost world of pickels
Contact:

Re: BFront2 Error

Post by woner11 »

Did you modify the req at all and do you get any errors in your pcmunge log?
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 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: South Carolina
Contact:

Re: BFront2 Error

Post by bokkenblader56 »

[RDH]Zerted wrote:It can't open that file. Are you trying to make a custom side? If not, remove the dc: in your lua script where you find ReadDataFile("dc:SIDE\imp.lvl"
Yes, I'm trying to add a custom unit to the side.
woner11 wrote:Did you modify the req at all and do you get any errors in your pcmunge log?

Yes, I got these. Didn't modify req.

Code: Select all

WARNING[PC_modelmunge msh\imp_1st_bobafett.msh]:imp_1st_bobafett has 1102 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
WARNING[PC_modelmunge msh\imp_inf_bobafett.msh]:imp_inf_bobafett has 2765 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
   0 Errors    2 Warnings
EDIT
Okay, I solved that error, but now I have another problem. My unit only has four weapons. I want six. I've added the appropriate lines in the ODF file, but it still doesn't work.

Also, how can I cause any changes I make to the common odf files such as "com_weap_inf_sniper_rifle" transfer into the game?

*EDIT* Sorry for the double post, I should've just edited the previous one.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: BFront2 Error

Post by DarthD.U.C.K. »

first: post your units odf

second: just make a child odf of the common, "readjust" the lines that linked to the common odf to the new odf and write the changes into the new odf, everything thats not mentioned in the new odf will be taken from the parent (common) odf

third: delet your last post and copy and paste its conted to your post before
Last edited by DarthD.U.C.K. on Tue Oct 14, 2008 2:11 pm, edited 1 time in total.
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: BFront2 Error

Post by Teancum »

bokkenblader56 wrote:Okay, I solved that error, but now I have another problem. My unit only has four weapons. I want six. I've added the appropriate lines in the ODF file, but it still doesn't work.

Also, how can I cause any changes I make to the common odf files such as "com_weap_inf_sniper_rifle" transfer into the game?

*EDIT* Sorry for the double post, I should've just edited the previous one.
I'm not sure if this is what you're asking, but you can only have 8 weapons total: 4 primary and 4 secondary
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 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: South Carolina
Contact:

Re: BFront2 Error

Post by bokkenblader56 »

I should've made that clearer; it sounded a bit...foggy. I want 3 primary weapons and 3 secondary weapons (no, I still haven't given up on that unit). Here's the weapons section of the ODF

Code: Select all

WEAPONSECTION = 1
WeaponName1         = "imp_weap_inf_sniper_rifle"
WeaponAmmo1         = 0

WEAPONSECTION = 2
WeaponName2         = "imp_weap_hero_flamethrower"
WeaponAmmo2         = 0

WEAPONSECTION 		= 3
WeaponName3   		= "imp_weap_hero_bobarifle"
WeaponAmmo3			= 0

WEAPONSECTION		= 4
WeaponName4			= "imp_weap_inf_invisibility"
WeaponAmmo4			= 0
WeaponChannel4		= 1

WEAPONSECTION		= 5
WeaponName5			= "imp_weap_inf_wrist_rocket"
WeaponAmmo5			= 0
WeaponChannel5		= 1

WEAPONSECTION		= 6
WeaponName6			= "imp_weap_inf_thermaldetonator"
Weaponammo6			= 0
WeaponChannel6		= 1
And thanks to Darth D.U.C.K. I was able to change the weapons I do have in-game to what I wanted. Thanks again.
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: BFront2 Error

Post by Teancum »

So ... solved?
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 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: South Carolina
Contact:

Re: BFront2 Error

Post by bokkenblader56 »

Nope. Those last two secondary weapons aren't showing up in-game for some reason. I have absolutely no idea why since everything int he ODF file seems to be present and correct.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: BFront2 Error

Post by Maveritchell »

Weapon***5 and Weapon***6 have no meaning (Only Weapon***1-4 do). Don't add a number on to those WeaponName/Ammo/Channels, otherwise it won't add them.
bokkenblader56
Private First Class
Posts: 85
Joined: Mon Aug 04, 2008 7:20 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: South Carolina
Contact:

Re: BFront2 Error

Post by bokkenblader56 »

Problem solved. Once again, thanks to all the people who helped the newbie.

:bowdown:
Post Reply