Game_team_master
Avvatar
Join Date: 2003-10-26 Member: 21970Members, Constellation
<div class="IPBDescription">they're giving me hell</div> I've read all I can find dealing with game_team_masters and I'm still at a complete loss as to why this isn't working.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->{
"origin" "624 -144 240"
"weapon_pistol" "1"
"weapon_knife" "1"
"targetname" "knife"
"master" "team_1"
"classname" "game_player_equip"
}
{
"origin" "624 -176 240"
"targetname" "strip"
"classname" "player_weaponstrip"
}
{
"origin" "624 -208 240"
"knife" "0.5"
"strip" "0"
"targetname" "game_playerspawn"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -144 240"
"weapon_spikegun" "1"
"targetname" "spike"
"master" "team_2"
"classname" "game_player_equip"
}
{
"origin" "624 -208 240"
"spike" "0.5"
"strip" "0"
"targetname" "game_playerspawn"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -208 240"
"spray" "0.1"
"targetname" "game_playerkill"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -144 240"
"weapon_healingspray" "1"
"targetname" "spray"
"master" "team_2"
"classname" "game_player_equip"
}
{
"origin" "-1032 -2440 224"
"teamindex" "1"
"targetname" "team_1"
"classname" "game_team_master"
}
{
"origin" "-224 1768 224"
"teamindex" "2"
"targetname" "team_2"
"classname" "game_team_master"
}<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
It was intended to equip marines with a knife and a pistol, and aliens with the spikegun until they got a kill, then also give them healspray. Instead it's giving all those weapons to all players. It doesn't matter terribly much, considering that marines can't use the alien weapons they're given and aliens can't use the marine weapons.. but it's still bugging me.
And yes, it's just another crappy co_ conversion, but at least -I- thought spikes vs pistols would be fun <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Any help anyone can give me would be appreciated.
<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->{
"origin" "624 -144 240"
"weapon_pistol" "1"
"weapon_knife" "1"
"targetname" "knife"
"master" "team_1"
"classname" "game_player_equip"
}
{
"origin" "624 -176 240"
"targetname" "strip"
"classname" "player_weaponstrip"
}
{
"origin" "624 -208 240"
"knife" "0.5"
"strip" "0"
"targetname" "game_playerspawn"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -144 240"
"weapon_spikegun" "1"
"targetname" "spike"
"master" "team_2"
"classname" "game_player_equip"
}
{
"origin" "624 -208 240"
"spike" "0.5"
"strip" "0"
"targetname" "game_playerspawn"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -208 240"
"spray" "0.1"
"targetname" "game_playerkill"
"spawnflags" "1"
"classname" "multi_manager"
}
{
"origin" "624 -144 240"
"weapon_healingspray" "1"
"targetname" "spray"
"master" "team_2"
"classname" "game_player_equip"
}
{
"origin" "-1032 -2440 224"
"teamindex" "1"
"targetname" "team_1"
"classname" "game_team_master"
}
{
"origin" "-224 1768 224"
"teamindex" "2"
"targetname" "team_2"
"classname" "game_team_master"
}<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
It was intended to equip marines with a knife and a pistol, and aliens with the spikegun until they got a kill, then also give them healspray. Instead it's giving all those weapons to all players. It doesn't matter terribly much, considering that marines can't use the alien weapons they're given and aliens can't use the marine weapons.. but it's still bugging me.
And yes, it's just another crappy co_ conversion, but at least -I- thought spikes vs pistols would be fun <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
Any help anyone can give me would be appreciated.