What do these BFront2.log errors mean?

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
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

What do these BFront2.log errors mean?

Post 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
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: bfront2 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post by skelltor »

but i just looked in the data side bfx and cis.lvl was there where it normaly is
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: bfront2 errors

Post by sampip »

And did you put the dc: in your script?
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post by skelltor »

the what in where?? is that for side mods to??
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: bfront2 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post by skelltor »

i am not editing luas just the bfx sides
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: bfront2 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post 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
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: bfront2 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post 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
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: bfront2 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post 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.
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 errors

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: bfront2 errors

Post 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
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: What do these BFront2.log errors mean?

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: What do these BFront2.log errors mean?

Post 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!
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: What do these BFront2.log errors mean?

Post 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.
User avatar
skelltor
Sith
Sith
Posts: 1431
Joined: Fri Dec 11, 2009 6:24 pm
Projects :: BFSM
Games I'm Playing :: SWBFII
xbox live or psn: skelltor95
Location: minisnowta
Contact:

Re: What do these BFront2.log errors mean?

Post by skelltor »

ok thanks i got it to work
Post Reply