Page 1 of 1

What do these BFront2.log errors mean?

Posted: Wed Feb 03, 2010 3:05 pm
by skelltor
what do these meen?
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_rifleman in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_rocketeer in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_engineer in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_officer in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_sniper in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_recon in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_droideka in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_magnaguard in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_commander in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_hero_ventress in data\_lvl_pc\SIDE\BFX\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(1019)
Unable to find level chunk in SIDE\BFX\cis.lvl

uf_updateClassIndex(): Added class: rep_inf_mar_rifleman
uf_updateClassIndex(): Added class: rep_inf_mar_rocketeer
uf_updateClassIndex(): Added class: rep_inf_ep3_sniper
uf_updateClassIndex(): Added class: rep_inf_mar_engineer
uf_updateClassIndex(): Added class: rep_inf_mar_officer
uf_updateClassIndex(): Added class: rep_inf_ep3_jettrooper
uf_updateClassIndex(): Added class: cis_inf_rifleman

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:12 pm
by sampip
You are missing the bfx cis.lvl. You haven't got it in your script (putting the dc:) or you didn't put the cis.lvl in the right place.

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:14 pm
by skelltor
but i just looked in the data side bfx and cis.lvl was there where it normaly is

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:24 pm
by sampip
And did you put the dc: in your script?

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:25 pm
by skelltor
the what in where?? is that for side mods to??

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:32 pm
by sampip
Post your .lua? You put the dc: here:
Hidden/Spoiler:
ReadDataFile("dc:SIDE\\cis.lvl",
Read the documentation for more info on setting up sides.

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:38 pm
by skelltor
i am not editing luas just the bfx sides

Re: bfront2 errors

Posted: Wed Feb 03, 2010 3:41 pm
by sampip
You have to edit the lua in order to put them ingame correctly, that is, providing you are making a mod. It would help if you told us exactly what you were trying to do/run.

Re: bfront2 errors

Posted: Wed Feb 03, 2010 4:03 pm
by skelltor
well they were working fine and i never had to edit luas b4 here is what i changed i wanted to try some experamental wepons out i wanted the recon droid to be a battle droid so i changed its odf to say that the battle droid was it ord. i changed the power up dispenser to dispens droids the same way and i gave a droid a self distruct

Re: bfront2 errors

Posted: Wed Feb 03, 2010 4:37 pm
by sampip
So you actually changed the cis side manually - through editing it in the sides folder? You would have had to edit the .lua then in order to get those units ingame. Post your .lua please.

Re: bfront2 errors

Posted: Wed Feb 03, 2010 5:05 pm
by skelltor
but i never changed the lua i alway go thru the side folder i dont reall think the lua would help cuz i play them on a lot of maps but if you think an lua would help i can post it

edit btw i was not making new unit or skins just editing the bfx and stock ones

Re: bfront2 errors

Posted: Wed Feb 03, 2010 6:54 pm
by Fiodis
I think he is trying to make a side mod rather than a new map, and has thus far faced no need to edit .lua files because he kept the naming conventions the same. It would help to avoid confusion if you typed using punctuation marks and correct spelling.
"But I don't speak English" is really a lame excuse on a predominantly English-speaking forum. Use a translator, at least.

The problem is that you are having a dispensable unit with animations. It's possible (Mav has done it, I know I've done it, and others probably have as well) but there are several bugs associated with that, so it's generally agreed to be best left alone unless really desired.

Re: bfront2 errors

Posted: Wed Feb 03, 2010 7:35 pm
by skelltor
Oh ok so will the battle droid recon droid not work either? cuz in bf1 i got it to work untill it died then it crashed. And i wanted to try it in bf2 with the error log.

Re: bfront2 errors

Posted: Thu Feb 04, 2010 12:43 am
by [RDH]Zerted
skelltor wrote:...uf_updateClassIndex(): Added class: rep_inf_mar_rifleman
uf_updateClassIndex(): Added class: rep_inf_mar_rocketeer
uf_updateClassIndex(): Added class: rep_inf_ep3_sniper
uf_updateClassIndex(): Added class: rep_inf_mar_engineer
uf_updateClassIndex(): Added class: rep_inf_mar_officer
uf_updateClassIndex(): Added class: rep_inf_ep3_jettrooper
uf_updateClassIndex(): Added class: cis_inf_rifleman
Those are from the v1.3 patch. It is tracking all the units that are being added to teams so that the FakeConsole commands will work on them.

Re: bfront2 errors

Posted: Thu Feb 04, 2010 1:45 am
by skelltor
what dose this error meen and how do i get it to work??

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponRemote.cpp(118)
Dispensed entity must be controllable and remote pilot type

it happened when i changed the recon droids ord to a assassine droid so that the recon droid looked and acted like the assassine droid

Re: What do these BFront2.log errors mean?

Posted: Thu Feb 04, 2010 4:09 pm
by Fiodis
It means exactly what it says: it must be a Controllable and Remote Pilot (though it does work without remote pilot). The Assassin droid has a ClassLabel of "soldier" (from com_inf_default). You can't just dispense soldiers (there is a topic on spawning AI-controlled units in the FAQ).

What you need to do is, instead of changing one single odf line, actually go into the stock recon droid odf and make multiple changes while keeping the ClassLabel and some other necessary designations. Keep in mind that you need to add lines referencing the unit's animations; if you don't, it will come out in-game as a Thing (there's no other way to describe it :wink:).

Also, that CTD-in-death bug is one of the errors surrounding this sort of thing. In BF2, if you spawn another unit before the body of the first one has faded, you get a CTD. This can be solved by giving the unit a 100% chance of an on-death explosion (getting rid of the body immediately). However, I don't know about Mav, but I've never tested it online. There may be some MP crashes I'm not aware of.

Re: What do these BFront2.log errors mean?

Posted: Wed Feb 10, 2010 8:24 pm
by skelltor
what dose this mean

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(11385)
EntitySoldierClass::Build 'imp_inf_recon' with no high res geometry!

Re: What do these BFront2.log errors mean?

Posted: Wed Feb 10, 2010 10:02 pm
by Darth_Spiderpig
That means your unit don't have a first person model (arms)
Make sure you have the msh and skin you have in your odf in your sides/msh folder.

Re: What do these BFront2.log errors mean?

Posted: Wed Feb 10, 2010 10:26 pm
by skelltor
ok thanks i got it to work