Clone Commando not showing up ingame [Solved]

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
Manny18Ply
Rebel Sergeant
Rebel Sergeant
Posts: 192
Joined: Fri Mar 20, 2009 7:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: CoD BlackOps
Contact:

Clone Commando not showing up ingame [Solved]

Post by Manny18Ply »

HI there again i have a prob w/ the clone commando and i went to LUA and replaced
rep_inf_ep3_jettrooper with rep_inf_clone_commando.
I munged it ran battlefront2 and it only showed the basic bf2 troops besides the jet trooper if any can help.. plz thank you
Heres part of my LUA:
Hidden/Spoiler:
[code] ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_clone_commando",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
officer = {"rep_inf_ep3_officer",1, 4},
special = { "rep_inf_clone_commando",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")[/code]
Commander_Keller
Master Sergeant
Master Sergeant
Posts: 171
Joined: Sun Apr 16, 2006 1:16 pm

Re: Clone Commando

Post by Commander_Keller »

did you add "rep_inf_clone_commando" to your side's req file?

for example my rep.req looks like this:
Hidden/Spoiler:
ucft
{

REQN
{
"model"
"com_inv_mesh"
}

REQN
{
"config"
"extraweapons"
}

REQN
{
"model"
"rep_1st_trooper"
}
REQN
{
"model"
"rep_1st_troopar"
}
REQN
{
"model"
"rep_1st_thire"
}
REQN
{
"model"
"rep_1st_troopr"
}
REQN
{
"model"
"rep_1st_pilt"
}
REQN
{
"model"
"rep_1st_commando"
}

REQN
{
"model"
"imp_1st_gunturret"
}

REQN
{
"model"
"rep_1st_cockpit_atrt"
}


REQN
{
"lvl"
"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_hero_aalya"
"rep_hero_anakin"
"rep_hero_macewindu"
"rep_hover_fightertank"
"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_inf_commando"
"rep_walk_oneman_atst"
"rep_veh_remote_terminal"
"uta1_prop_gunship"
"uta_fly_ride_gunship"
"uta_fly_ride_gunshipmyg"

}
}
now instaed of my "rep_inf_commando" you could add your "rep_inf_clone_commando". maybe that's the missing link. i don't know. good luck with that!
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: Clone Commando

Post by Fiodis »

Also make sure you have a separate .req file for him in the side's req folder.
User avatar
Manny18Ply
Rebel Sergeant
Rebel Sergeant
Posts: 192
Joined: Fri Mar 20, 2009 7:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: CoD BlackOps
Contact:

Re: Clone Commando

Post by Manny18Ply »

Sorry guys i solved it and i tried to lock the topic this morning but the website wouldn't let me in. So thanks for trying ti help i fixed it by "AddUnitClass" in the LUA and then it showed up. :funny2:
*Staff lock this topic. Thank You.
Post Reply