Page 1 of 1
BFront2 Error [Solved]
Posted: Sun Oct 12, 2008 5:14 pm
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!
Re: BFront2 Error
Posted: Sun Oct 12, 2008 7:03 pm
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"
Re: BFront2 Error
Posted: Sun Oct 12, 2008 7:04 pm
by woner11
Did you modify the req at all and do you get any errors in your pcmunge log?
Re: BFront2 Error
Posted: Mon Oct 13, 2008 1:01 pm
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.
Re: BFront2 Error
Posted: Tue Oct 14, 2008 2:10 pm
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
Re: BFront2 Error
Posted: Tue Oct 14, 2008 2:11 pm
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
Re: BFront2 Error
Posted: Tue Oct 14, 2008 2:49 pm
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.
Re: BFront2 Error
Posted: Tue Oct 14, 2008 3:03 pm
by Teancum
So ... solved?
Re: BFront2 Error
Posted: Tue Oct 14, 2008 3:06 pm
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.
Re: BFront2 Error
Posted: Tue Oct 14, 2008 3:23 pm
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.
Re: BFront2 Error
Posted: Tue Oct 14, 2008 3:29 pm
by bokkenblader56
Problem solved. Once again, thanks to all the people who helped the newbie.
