Help! My unit is not showing up
Moderator: Moderators
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
Help! My unit is not showing up
In my CW lua of my map, I added a new unit. My unit is not showing up ingame. and yes I have a req.
Last edited by Commander_Cody771 on Tue Dec 25, 2007 3:50 pm, edited 1 time in total.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Help!
You should know by now that when you have a problem you should check your BFront2.log for errors and fix the ones that you can, check your LUA for spelling mistakes or errors, check your side's req files for spelling errors, make sure your side is set up properly and have all the files that are needed in the right folders.
Also, be more descriptive with your topic titles, it makes searching easier later on down the road.
Also, be more descriptive with your topic titles, it makes searching easier later on down the road.
- TheDarkMask
- Captain

- Posts: 499
- Joined: Sat Apr 07, 2007 4:26 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Germany-Bremen
- Contact:
Re: Help! My unit is not showing up
Post your cw lua and then we see perhaps the problem
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
Re: Help! My unit is not showing up
Hidden/Spoiler:
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Help! My unit is not showing up
You need to add your commando to the SetupTeams section.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Help! My unit is not showing up
He's got it as the hero right now. Is that what you want to do, Cody?
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
Re: Help! My unit is not showing up
I don't see "rep_inf_clone_commando" as part of any team. Is that the unit you are having problems with?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Help! My unit is not showing up
Commander_Cody771 wrote:It's the Clone Commando.
AceMastermind wrote:You need to add your commando to the SetupTeams section.
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
Re: Help! My unit is not showing up
I was just making sure that that was the correct unit.Teancum wrote:He's got it as the hero right now. Is that what you want to do, Cody?
-
Jediwannabe
Re: Help! My unit is not showing up
Change this:
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_ep3_jettrooper",1, 4},
},
To this:
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_clone_commando",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
Or replace any of the others with rep_inf_clone_commando
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_ep3_jettrooper",1, 4},
},
To this:
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_clone_commando",1, 4},
special = { "rep_inf_ep3_jettrooper",1, 4},
},
Or replace any of the others with rep_inf_clone_commando
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Help! My unit is not showing up
He's got his commando in there. It's just not named rep_inf_clone_commando. He calls it rep_hero_cc771.
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
Re: Help! My unit is not showing up
But then it wouldn't work. right? Also I'd remove that big gap in between the rep_inf_ep3jettrooper and rep_hover_fightertank.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Help! My unit is not showing up
Nah, if he changed his reqs you can name it anything.
-
EGG_GUTS
- Master Bounty Hunter

- Posts: 1626
- Joined: Thu Dec 07, 2006 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: CANADA!
Re: Help! My unit is not showing up
Wait, you have rep_hero_cc771 and rep_inf_clone_commando, well you don't even have rep_inf_clone_commando in the team setup...
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Help! My unit is not showing up
Lol I missed that. I didn't even see it in his ReadDataFile, so I figured the funny named one as the hero was it.
-
Caleb1117
- 2008 Most Original Avatar
- Posts: 3096
- Joined: Sun Aug 20, 2006 5:55 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: X-Fire: caleb1117 ಠ_ಠ
Re: Help! My unit is not showing up
Lol, Ace was right the whole time 
- Challenger33
- Lieutenant General

- Posts: 726
- Joined: Wed Aug 23, 2006 3:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a legion of papercraft models.
- Contact:
Re: Help! My unit is not showing up
So was ICaleb1117 wrote:Lol, Ace was right the whole time
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
Re: Help! My unit is not showing up
Thanks you all.
but how do add and not replace a unit?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Help! My unit is not showing up
Just insert this line under your "special" class in the SetUpTeams section, and change the numbers to what you want and the team it is part of if you need to.
AddUnitClass(REP,"rep_inf_clone_commando",1,1),
AddUnitClass(REP,"rep_inf_clone_commando",1,1),
-
Commander_Cody771
- Vader's Apprentice
- Posts: 1069
- Joined: Thu Jun 07, 2007 5:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Looking for a new CPU
- Contact:
Re: Help! My unit is not showing up
Ok, so I replaced the jet trooper with my guy and it still is not showing up. 
