Side not working
Moderator: Moderators
- carfanaticphil
- Rebel Sergeant

- Posts: 219
- Joined: Thu Jul 24, 2008 10:58 am
Side not working
On my map, I have 7 classes in the rep side, but only 2 of them appear when i start, the trooper and the sniper. Why is that?
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Side not working
Go ahead and post your lua. Also run bf2_modtools and post your error log. No one can help you if you don't give us anything to work with besides "It's broken!"
- carfanaticphil
- Rebel Sergeant

- Posts: 219
- Joined: Thu Jul 24, 2008 10:58 am
Re: Side not working
I fixed everything in the error log
Relevant parts of the lua:
And if it helps, the setup_teams.lua (i think it helps, but i dont quite understand that yet):
Relevant parts of the lua:
Hidden/Spoiler:
Hidden/Spoiler:
- YTGTangerine
- Command Sergeant Major

- Posts: 270
- Joined: Sat Aug 16, 2008 7:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Aw man I can't think of anything creative...
Re: Side not working
Doesn't the trooper look a little out of place there?(in the lua) I don't know how this may cause your problem, but...
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Side not working
You've got a rocketeer, support, commando, and commander class, all of which have not been defined in your setup_teams.lua.
That should do it.
Code: Select all
-- list of types
local typeList = { "soldier", "pilot", "assault", "sniper", "marine", "engineer", "officer", "special", "rocketeer", "support", "commando", "commander" }- carfanaticphil
- Rebel Sergeant

- Posts: 219
- Joined: Thu Jul 24, 2008 10:58 am
Re: Side not working
thank you 
