I'm Setting Up This Side Wrong

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
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

I'm Setting Up This Side Wrong

Post by SilvaDalek »

What I believe is causing the crash:

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

Side's req:
Hidden/Spoiler:
ucft
{
REQN
{
"lvl"
"cnp_inf_test"
}
}
Unit's req:
Hidden/Spoiler:
ucft
{
REQN
{
"class"
"cnp_inf_test"
}
}
Unit's odf:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_inf_default"

[Properties]

UnitType = "support"

AnimationName = "cnptest"

WEAPONSECTION = 1
WeaponName = "cnp_weap_inf_pistol"
WeaponAmmo = 5
Thanks for any and all help!
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: I'm Setting Up This Side Wrong

Post by 501st_commander »

Try a clean
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: I'm Setting Up This Side Wrong

Post by ArkAngel »

also, no geometry?
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "com_inf_default"

[Properties]

GeometryName = "______"
GeometryLowRes = "________"

UnitType = "support"

AnimationName = "cnptest"

WEAPONSECTION = 1
WeaponName = "cnp_weap_inf_pistol"
WeaponAmmo = 5
in the blanks insert the respective .msh files names
Last edited by ArkAngel on Tue Aug 03, 2010 6:47 pm, edited 1 time in total.
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

Re: I'm Setting Up This Side Wrong

Post by SilvaDalek »

I got this after cleaning and munging, but it looks to me like I have all the needed brackets.
Hidden/Spoiler:
WARNING[PC_modelmunge msh\cnp_inf_test.msh]:cnp_inf_test has 1110 vertices and NO COLLISION GEOMETRY (WILL BE SLOW)!
0 Errors 1 Warnings

ERROR[levelpack req\cnp_inf_test.req]:Could not open munged\pc\cnptest.anims for input. DOS reports:
No such file or directory
ERROR[levelpack req\cnp_inf_test.req]:Could not open munged\pc\cnptest.anims for input. DOS reports:
No such file or directory
[continuing]
2 Errors 0 Warnings

ERROR[levelpack cnp.req]:Expecting bracket, but none was found.
File : munged\pc\cnp_inf_test.lvl.req(1)...

ucft <--
ERROR[levelpack cnp.req]:Expecting bracket, but none was found.
File : munged\pc\cnp_inf_test.lvl.req(1)...

ucft <--

2 Errors 0 Warnings
EDIT: FA get on xfire
User avatar
sim-al2
2nd Lieutenant
2nd Lieutenant
Posts: 412
Joined: Mon Jul 06, 2009 10:26 pm
Projects :: Mapping on occasion
Games I'm Playing :: SWBFII + MW4 + SC4
Location: In the cockpit of some vehicle...

Re: I'm Setting Up This Side Wrong

Post by sim-al2 »

Do you have cnptest.anims, cnptest.zaabin, and cnptest.zafbin in your munged folder? What kind of unit do you have anyway? Did you scale up any animations or have custom ones?
Last edited by sim-al2 on Tue Aug 03, 2010 7:09 pm, edited 1 time in total.
User avatar
PilotX
Private
Posts: 35
Joined: Thu Jun 17, 2010 10:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: California

Re: I'm Setting Up This Side Wrong

Post by PilotX »

Did you make a CNS folder with the appropriate .bat files in CNS/Build_/Sides?
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

Re: I'm Setting Up This Side Wrong

Post by SilvaDalek »

sim-al2 wrote:Do you have cnptest.anims, cnptest.zaabin, and cnptest.zafbin in your munged folder? What kind of unit do you have anyway? Did you scale up any animations or have custom ones?
Yeah, and stock animations that I just renamed.
PilotX wrote:Did you make a CNS folder with the appropriate .bat files in CNS/Build_/Sides?
Yeah.

The game really doesn't like the class or side req.
Post Reply