SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF2 Modding => Topic started by: Ltin on January 03, 2017, 02:36:55 PM

Title: Unable to find level chunk + .req file not working? [solved]
Post by: Ltin on January 03, 2017, 02:36:55 PM
the game seems to be crashing because it is "missing level chunks". I dont know what this means, but the issue appears to be w/ every unit, including the ones i never even touched.

AND THEN
it also says the units dont even exist (it says to check the .req file).

here is the error log (only the parts that i think are relevant)
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_rifleman in data\_lvl_pc\SIDE\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_fly_droidfighter_DOME in data\_lvl_pc\SIDE\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\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\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\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\cis.lvl


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LoadUtil.cpp(829)
Unable to find level chunk cis_inf_B1 in data\_lvl_pc\SIDE\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\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\cis.lvl


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


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


Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_B1" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_rocketeer" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_sniper" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_engineer" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_rifleman" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_droideka" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(625)
Team missing class "cis_inf_commander" (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(1379)
Hero class "cis_hero_darthmaul" not found for team 1 (check the side's .req file)

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Team.cpp(658)
Team missing hero class "0xfa87c00" (check the side's .req file)


here is cis.req

ucft
{
    REQN
    {
        "lvl"
        "cis_fly_droidfighter_sc"
        "cis_fly_droidfighter_dome"
        "cis_fly_droidgunship"
        "cis_fly_fedlander_dome"
        "cis_fly_gunship_dome"
        "cis_fly_greviousfighter"
        "cis_fly_maf"
        "cis_fly_tridroidfighter"
        "cis_hero_countdooku"
        "cis_hero_darthmaul"
        "cis_hero_grievous"
        "cis_hero_jangofett"
        "cis_hover_aat"
        "cis_hover_stap"
        "cis_inf_droideka"
        "cis_inf_rifleman"
        "cis_inf_rocketeer"
        "cis_inf_sniper"
        "cis_inf_engineer"
        "cis_inf_officer"
        "cis_inf_officer_hunt"
        "cis_inf_pilot"
        "cis_inf_marine"
"cis_inf_B1"
        "cis_tread_hailfire"
        "cis_tread_snailtank"
        "cis_walk_spider"
        "cis_walk_spiderkas"
"cis_inf_commander"
    }
}


This isnt the fault of cis_inf_commander, as i get the issue even when that unit isnt called.
Title: Re: Unable to find level chunk + .req file not working?
Post by: Delta327 on January 03, 2017, 03:03:37 PM
Did you add custom units?
Title: Re: Unable to find level chunk + .req file not working?
Post by: Ltin on January 03, 2017, 03:05:21 PM
yes (referenced by cis_inf_commander), but the issue appears even when that unit is not called in the mission.
Title: Re: Unable to find level chunk + .req file not working?
Post by: Delta327 on January 03, 2017, 03:17:44 PM
Ive had this problem you might have to remove the unit or the commander droid class (the one you just added).
Title: Re: Unable to find level chunk + .req file not working?
Post by: Rayce on January 03, 2017, 10:50:06 PM
Quote from: Delta327 on January 03, 2017, 03:17:44 PM
Ive had this problem you might have to remove the unit or the commander droid class (the one you just added).
As he stated:
Quote from: Ltin on January 03, 2017, 02:36:55 PM
This isnt the fault of cis_inf_commander, as i get the issue even when that unit isnt called.

Have you tried cleaning cis and re-munging?
Title: Re: Unable to find level chunk + .req file not working?
Post by: Ltin on January 04, 2017, 11:10:55 AM
Quote from: Commander Awesome on January 03, 2017, 10:50:06 PM
As he stated:
Have you tried cleaning cis and re-munging?
i tried that and still had the issue.

edit: so i got it to work.
brb experimenting

edit2: right, so the part it didnt like was this

        "cis_walk_spiderkas"
"cis_inf_commander"
    }
}


evidently it needs a space or another line there or it dies.
just to be sure i did this, and it works.
ucft
{
    REQN
    {
        "lvl"
        "cis_fly_droidfighter_sc"
        "cis_fly_droidfighter_dome"
        "cis_fly_droidgunship"
        "cis_fly_fedlander_dome"
        "cis_fly_gunship_dome"
        "cis_fly_greviousfighter"
        "cis_fly_maf"
        "cis_fly_tridroidfighter"
        "cis_hero_countdooku"
        "cis_hero_darthmaul"
        "cis_hero_grievous"
        "cis_hero_jangofett"
        "cis_hover_aat"
        "cis_hover_stap"
        "cis_inf_droideka"
        "cis_inf_rifleman"
        "cis_inf_rocketeer"
        "cis_inf_sniper"
        "cis_inf_engineer"
        "cis_inf_officer"
        "cis_inf_officer_hunt"
        "cis_inf_pilot"
        "cis_inf_marine"
"cis_inf_B1"
        "cis_inf_commander"
        "cis_tread_hailfire"
        "cis_tread_snailtank"
        "cis_walk_spider"
        "cis_walk_spiderkas"

    }
}

edit3: ok maybe not
edit4: ok yea it works, bfbuilder is just being wonky
EhPortal 1.34 © 2024, WebDev