PDA

View Full Version : "Couldn't find any player classes for siege"



Kenshin
13-09-2008, 06:47
Yep, made a map. Added appropriate .siege file, .mbtc files, and .mbch files. names and stuff all match up but when i go to test it in game, it gives me

"Error: couldn't find any player classes for siege"


I've been digging through all the above mentioned files and can't think of anything to fix it. all my file names match up but i go to test them and they fail. the game doesn't say exactly where the error is so digging through 3 different types of files with no ideo of what i'm looking for hasn't worked. help?

Luk
13-09-2008, 12:54
its .siege files fault - my experience .

Kenshin
13-09-2008, 15:22
which part of the file though

dsk_duel.siege

Teams
{
team1 Jedi
team2 Sith
}

mapgraphic "gfx\mplevels\dsk\map"
missionname "DSK Duel"

roundbegin_target ""

Jedi
{
RequiredObjectives 1
Timed 300
UseTeam "DSKJedi"
TeamIcon "gfx/2d/logos/mb_naboo"
TeamColorOn "1 0 0 1"
TeamColorOff ".7 0 0 1"

Objective1
{
goalname "Make 'em dead!"
final 0
message_team1 ""
message_team2 ""
objdesc "PRIMARY GOAL:
Kill the baddies!"
objgfx "gfx/mplevels/dsk/objectiveb"
}



wonround "Kenshin'd!"
lostround "I ate paste wut??"
roundover_sound_wewon "sound/chars/protocol/misc/40MOM013.mp3"
roundover_sound_welost "sound/chars/protocol/misc/40MOM012.mp3"
roundover_target "siegeend"
attackers 1
briefing "Kill dem all!"
}

Sith
{
RequiredObjectives 1
UseTeam "DSKSith"
TeamIcon "gfx/2d/logos/mb_tradefederation"
TeamColorOn "0 0 1 1"
TeamColorOff "0 0 .7 1"

Objective1
{
goalname "Kill the Jedi!"
final -1
target ""
objdesc "PRIMARY GOAL:
I don't care if you die, please don't sit around and do nothing!"
objgfx "gfx/mplevels/dsk/objectivea"
}


wonround "Kenshin'd!"
lostround "I ate paste wut??"
roundover_sound_wewon "sound/chars/protocol/misc/40MOM011.mp3"
roundover_sound_welost "sound/chars/protocol/misc/40MOM012.mp3"
roundover_target "siegeend"
attackers 0

briefing "Duel foolz!"
}

i have DSKSith.mbtc and DSKJedi.mbtc files that match, they're almost identical except for class names:

DSKSith.mbtc

//Siege team definition file.

name "DSKSith"

ClassesAllowed 4
TimePeriod 3
EUAllowed 0

Classes
{
class1 "dsk_staff_sith"
class2 "dsk_duals_sith"
class3 "dsk_single_sith"
class4 "dsk_goof"
}

SubclassesForClass1
{
subclass1 "dsk_q3_staff_sith"
}

SubclassesForClass2
{
subclass1 "dsk_q3_duals_sith"
}

SubclassesForClass3
{
subclass1 "dsk_q3_single_sith"
}


and an example class:

dsk_q3_staff_sith.mbch

ClassInfo
{
name "dsk_q3_staff_sith"
weapons WP_SABER|WP_MELEE
saber1 dual_maul
sabercolor 0
saberstyle SS_STAFF
forcepowers FP_SABER_OFFENSE,3|FP_SABER_DEFENSE,3|FP_PULL,3|FP _SABERTHROW,3|FP_LEVITATION,3|FP_SEE,3
maxhealth 300
model "darkjedi"
skin "default"
uishader "models/players/darkjedi/mb2_icon_darkjedi"
extralives 5
MBClass MB_CLASS_JEDI
classflags CFL_HASQ3
}

description "Q3 Staff Duelist


Weaponry:
Lightsaber

Force Powers:
Saber Offense (3)
Saber Defense (3)
Sense (3)
Force Pull (3)
Force Jump (3)
Force Block (3)

Abilities:
Q3"

Tardismania
13-09-2008, 15:47
//This file should never exceed 16384 bytes.


Must have that in without spaces

Kenshin
13-09-2008, 16:00
changed it to this:


//This file should never exceed 16384 bytes.

Teams
{
team1 Jedi
team2 Sith
}

mapgraphic "gfx\mplevels\dsk\map"
missionname "DSK Duel"

roundbegin_target ""

Jedi
{
RequiredObjectives 1
Timed 300
UseTeam "DSKJedi"
TeamIcon "gfx/2d/logos/mb_naboo"
TeamColorOn "1 0 0 1"
TeamColorOff ".7 0 0 1"

Objective1
{
goalname "Make 'em dead!"
final 0
message_team1 ""
message_team2 ""
objdesc "PRIMARY GOAL:
Kill the baddies!"
objgfx "gfx/mplevels/dsk/objectiveb"
}



wonround "Kenshin'd!"
lostround "I ate paste wut??"
roundover_sound_wewon "sound/chars/protocol/misc/40MOM013.mp3"
roundover_sound_welost "sound/chars/protocol/misc/40MOM012.mp3"
roundover_target "siegeend"
attackers 1
briefing "Kill dem all!"
}

Sith
{
RequiredObjectives 1
UseTeam "DSKSith"
TeamIcon "gfx/2d/logos/mb_tradefederation"
TeamColorOn "0 0 1 1"
TeamColorOff "0 0 .7 1"

Objective1
{
goalname "Kill the Jedi!"
final -1
target ""
objdesc "PRIMARY GOAL:
I don't care if you die, please don't sit around and do nothing!"
objgfx "gfx/mplevels/dsk/objectivea"
}


wonround "Kenshin'd!"
lostround "I ate paste wut??"
roundover_sound_wewon "sound/chars/protocol/misc/40MOM011.mp3"
roundover_sound_welost "sound/chars/protocol/misc/40MOM012.mp3"
roundover_target "siegeend"
attackers 0

briefing "Duel foolz!"
}


now i get an


Error: Cannot find player team classes

in my mind though, a new error means the old one's been fixed! (i hope)

Kenshin
13-09-2008, 18:17
found it! i'm missing a bracket for team Jedi!

-.- back to the old error.... i also went through and replaced every space that wasn't in a comment with a tab...

prilladog
15-09-2008, 03:19
//This file should never exceed 16384 bytes.


Must have that in without spaces

You realise that // means its a comment yes?

You don't need comments there just there to tell you what to do.

Kenshin
15-09-2008, 04:07
that's what i told him but he said the devs said you need to have it in there. either way, it's still not working. still getting the player class error, and i'm not sure how the classses are related to the siege file -.-

prilladog
15-09-2008, 04:34
They are in the correct folders with correct names yes?

Dude just open up another duel map or w/e u go that from and basiclaly just paste the bits u wanted onto the working one so thus it should work, thats what I do.

Kenshin
15-09-2008, 05:46
i'm a retard, in the pk3 i had the class files under characters instead of character -.-