Page 1 of 1

ERROR with my rep.req (solved)

Posted: Mon Jan 19, 2009 6:32 pm
by 666rulerofclones
i have a problem with my rep.req file, here is the error log;
Hidden/Spoiler:
ERROR[levelpack rep.req]:Expecting bracket, but none was found.
File : munged\pc\rep_inf_ep2_jettrooper.lvl.req(1)...

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

ucft <--

2 Errors 0 Warnings
here are my units files:
Hidden/Spoiler:
my episode 2 jet trooper .odf file:
[GameObjectClass]
ClassParent = "rep_inf_default_RC"

[Properties]
Label = "Arc Trooper"
UnitType = "trooper"
IconTexture = "rep_htrooper_icon"

GeometryName = "RC_inf"
GeometryLowRes = "rep_inf_ep3jettrooper_low1"
FirstPerson = "IMP\impdark;imp_1st_darktrooper"

my default file:

[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]
UnitType = "assault"

MaxShield = 400
AddShield = 5

PointsToUnlock = 12

//MaxSpeed = 6.0 // base forward speed
//MaxStrafeSpeed = 4.5 // base right/left speed

WEAPONSECTION = 1
WeaponName = "DC-17m_Blaster_RIfle"
WeaponAmmo = 5

WEAPONSECTION = 2
WeaponName = "DC-17m_Sniper_Rifle"
WeaponAmmo = 4

WEAPONSECTION = 3
WeaponName = "DC-17m_Anti-Armor"
WeaponAmmo = 4

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "all_weap_inf_crackgrenade"
WeaponAmmo = 5
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_fusioncutter"
WeaponAmmo = 2
WeaponChannel = 1

VOUnitType = 121

my rep.req file:

ucft
{
REQN
{
"lvl"
"rep_bldg_forwardcenter"
"rep_fly_anakinstarfighter_sc"
"rep_fly_arc170fighter_dome"
"rep_fly_arc170fighter_sc"
"rep_fly_assault_dome"
"rep_fly_cat_dome"
"rep_fly_gunship"
"kam_fly_ride_gunship"
"rep_fly_gunship_sc"
"rep_fly_gunship_dome"
"rep_fly_jedifighter_dome"
"rep_fly_jedifighter_sc"
"rep_fly_ride_gunship"
"rep_fly_vwing"
"rep_hero_aalya"
"rep_hero_anakin"
"rep_hero_cloakedanakin"
"rep_hero_kiyadimundi"
"rep_hero_macewindu"
"rep_hero_macewindu_obi"
"rep_hero_obiwan"
"rep_hero_yoda"
"rep_hover_fightertank"
"rep_hover_barcspeeder"
"rep_inf_ep2_engineer"
"rep_inf_ep2_jettrooper"
"rep_inf_ep2_jettrooper_training"
"rep_inf_ep2_jettrooper_rifleman"
"rep_inf_ep2_jettrooper_sniper"
"rep_inf_ep2_officer"
"rep_inf_ep2_officer_training"
"rep_inf_ep2_pilot"
"rep_inf_ep2_rifleman"
"rep_inf_ep2_rocketeer"
"rep_inf_ep2_rocketeer_chaingun"
"rep_inf_ep2_sniper"
"rep_inf_ep2_marine"
"rep_inf_ep3_engineer"
"rep_inf_ep3_jettrooper"
"rep_inf_ep3_officer"
"rep_inf_ep3_pilot"
"rep_inf_ep3_rifleman"
"rep_inf_ep3_marine"
"rep_inf_ep3_rocketeer"
"rep_inf_ep3_sniper"
"rep_inf_ep3_sniper_felucia"
"rep_walk_atte"
"rep_walk_atte_nospawn"
"rep_walk_oneman_atst"
"rep_veh_remote_terminal"
"uta1_prop_gunship"
"uta_fly_ride_gunship"
"uta_fly_ride_gunshipmyg"

}

REQN
{
"model"
"com_inv_mesh"
}

REQN
{
"config"
"extraweapons"
}

}

Re: ERROR with my rep.req

Posted: Mon Jan 19, 2009 7:19 pm
by Fiodis
Could you post your rep_inf_ep2jettrooper.req as well?

Re: ERROR with my rep.req

Posted: Mon Jan 19, 2009 10:12 pm
by [RDH]Zerted
Do a full, manual clean and re-munge. See if you get the same munge error.

Re: ERROR with my rep.req

Posted: Tue Jan 20, 2009 12:07 am
by 666rulerofclones
tried it, got the same error, heres my rep_inf_ep2_jettrooper.req file:
Hidden/Spoiler:
ucft
{
REQN
{
"class"
"rep_inf_ep2_jettrooper"
}
}

Re: ERROR with my rep.req

Posted: Tue Jan 20, 2009 10:01 am
by FragMe!
Looking at the odf you are obviously using a new (or altered) msh for the unit, what changes did you make to it. Also are you using an altered parent class, if so what did you change? I noticed you have 2 weaponsection 3s and 4s, it has been a while since I have added weapons (beyond the standard 4) so I can't really say if that is the correct way to do it or if they need to be 5 and 6

From experience the missing bracket error you are getting doesn't mean there is something wrong with the req but rather something failed in the munge process that won't allow VM to complete that part of the munge correctly, usually it is something with the model but could also be something in either odf.

Re: ERROR with my rep.req

Posted: Tue Jan 20, 2009 12:23 pm
by MercuryNoodles
Yeah, those weaponsections need to be in numerical order. The game does get quite picky about that. I'm not sure on the munge implications, though.

Re: ERROR with my rep.req

Posted: Tue Jan 20, 2009 7:33 pm
by 666rulerofclones
thanks guys, i didnt notice that, i fixed it and my mod is working again. lol i cant beleive i was that stupid! :oops:

STAFF: this can be locked now