The thing I'm mainly wondering about is if the #T would work...
Code:
{
"name" "Team Player"
"author" "KaBoom!"
"shortdescription" "A very team-oriented race."
"required_level" "85"
"maximum_level" "0"
"allow_only" "0"
"team_limit" "1"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "6"
"skillnames" "Devotion Aura (Team)|Brilliance Aura|Personal Gain|Sacrifice for the Team"
"skilldescr" "Gives your team 5-30 HP at the start of each round.|Gives your team an extra $200-800 at the start of each round.|Gives you a 17-33% chance to gain helpful things when you hit an enemy|Sacrifice $500 to give your entire team 10-20 HP."
"skillcfg" "player_spawn|player_spawn|player_attacker|player_ultimate"
"skill1_setting" "es_xsetinfo wcs_teamhp 5|es_xsetinfo wcs_teamhp 10|es_xsetinfo wcs_teamhp 15|es_xsetinfo wcs_teamhp 20|es_xsetinfo wcs_teamhp 25|es_xsetinfo wcs_teamhp 30"
"skill1_cmd" "es es_xif (server_var(wcs_team) = 2) then es est_healthadd #T server_var(wcs_teamhp);es es_xif (server_var(wcs_team) = 3) then es est_healthadd #CT server_var(wcs_teamhp);es es_xtell event_var(userid) #multi #Lightgreen : Your team gained #Green server_var(wcs_teamhp) HP."
"skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 50;es es_xdelayed 0.1 est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255""
"skill2_setting" "es_xsetinfo wcs_teamcash 200|es_xsetinfo wcs_teamcash 300|es_xsetinfo wcs_teamcash 400|es_xsetinfo wcs_teamcash 500|es_xsetinfo wcs_teamcash 600|es_xsetinfo wcs_teamcash 800"
"skill2_cmd" "es es_xif (server_var(wcs_team) = 2) then es est_cashadd #T server_var(wcs_teamcash);es es_xif (server_var(wcs_team) = 3) then es est_cashadd #CT server_var(wcs_teamcash);es es_xtell event_var(userid) #multi #Lightgreen : Your team has gained #Green server_var(wcs_teamcash) dollars, thanks to you."
"skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 60 100 0.8 0 255 255 255 1"
"skill3_setting" "es_xsetinfo wcs_tphp 1;es_xrand wcs_tpxp 1 5;es_xrand wcs_tpcash 1 20;es_xsetinfo wcs_chance 17|es_xsetinfo wcs_tphp 2;es_xrand wcs_tpxp 5 10;es_xrand wcs_tpcash 20 40;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_tphp 3;es_xrand wcs_tpxp 10 15;es_xrand wcs_tpcash 40 60;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_tphp 4;es_xrand wcs_tpxp 15 20;es_xrand wcs_tpcash 60 80;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_tphp 5;es_xrand wcs_tpxp 20 25;es_xrand wcs_tpcash 80 100;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_tphp 5;es_xrand wcs_tpxp 25 30;es_xrand wcs_tpcash 90 100;es_xsetinfo wcs_chance 33"
"racealias_tp1" "es_est_healthadd event_var(attacker) server_var(wcs_tphp);es_est_cashadd event_var(attacker) server_var(wcs_tpcash);es wcs_givexp eventvar(attacker) server_var(wcs_tpxp) 0 0;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username) server_var(sucxp);es_xtell event_var(attacker) #multi #Lightgreen : You have gained #Green server_var(wcs_tpxp) XP, server_var(wcs_tphp) HP#Lightgreen, and#Green server_var(wcs_tpcash) $$.;es_xformat wcs_lng servervar(wcs_lng) event_var(attackername)"
"skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_tp1"
"skill3_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid); es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(z1) server_var(wcs_x2) server_var(wcs_y2) server_var(z2) 1 3 6 0 255 0 255"
"skill4_setting" "es_xsetinfo wcs_ultteamhp 10|es_xsetinfo wcs_ultteamhp 12|es_xsetinfo wcs_ultteamhp 14|es_xsetinfo wcs_ultteamhp 16|es_xsetinfo wcs_ultteamhp 18|es_xsetinfo wcs_ultteamhp 20"
"skill4_cmd" "es es_xgetmoney wcs_money server_var(wcs_userid);es es_xif (server_var(wcs_money) >= 500) then est_cash server_var(wcs_userid) - 500;es es_xif (server_var(wcs_money) >= 500) then es es_xif (server_var(wcs_team) = 2) then es est_healthadd #T server_var(wcs_ultteamhp);es es_xif (server_var(wcs_team) = 3) then es est_healthadd #CT server_var(wcs_ultteamhp);es es_xtell event_var(userid) #multi #Lightgreen : Your team gained #Green server_var(wcs_ultteamhp) HP because of your sacrifice."
"skill4_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 60 100 0.8 0 200 100 200 1"
"ultimate_cooldown" "25"
}
"name" "Team Player"
"author" "KaBoom!"
"shortdescription" "A very team-oriented race."
"required_level" "85"
"maximum_level" "0"
"allow_only" "0"
"team_limit" "1"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "6"
"skillnames" "Devotion Aura (Team)|Brilliance Aura|Personal Gain|Sacrifice for the Team"
"skilldescr" "Gives your team 5-30 HP at the start of each round.|Gives your team an extra $200-800 at the start of each round.|Gives you a 17-33% chance to gain helpful things when you hit an enemy|Sacrifice $500 to give your entire team 10-20 HP."
"skillcfg" "player_spawn|player_spawn|player_attacker|player_ultimate"
"skill1_setting" "es_xsetinfo wcs_teamhp 5|es_xsetinfo wcs_teamhp 10|es_xsetinfo wcs_teamhp 15|es_xsetinfo wcs_teamhp 20|es_xsetinfo wcs_teamhp 25|es_xsetinfo wcs_teamhp 30"
"skill1_cmd" "es es_xif (server_var(wcs_team) = 2) then es est_healthadd #T server_var(wcs_teamhp);es es_xif (server_var(wcs_team) = 3) then es est_healthadd #CT server_var(wcs_teamhp);es es_xtell event_var(userid) #multi #Lightgreen : Your team gained #Green server_var(wcs_teamhp) HP."
"skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 50;es es_xdelayed 0.1 est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 4 2 255""
"skill2_setting" "es_xsetinfo wcs_teamcash 200|es_xsetinfo wcs_teamcash 300|es_xsetinfo wcs_teamcash 400|es_xsetinfo wcs_teamcash 500|es_xsetinfo wcs_teamcash 600|es_xsetinfo wcs_teamcash 800"
"skill2_cmd" "es es_xif (server_var(wcs_team) = 2) then es est_cashadd #T server_var(wcs_teamcash);es es_xif (server_var(wcs_team) = 3) then es est_cashadd #CT server_var(wcs_teamcash);es es_xtell event_var(userid) #multi #Lightgreen : Your team has gained #Green server_var(wcs_teamcash) dollars, thanks to you."
"skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 60 100 0.8 0 255 255 255 1"
"skill3_setting" "es_xsetinfo wcs_tphp 1;es_xrand wcs_tpxp 1 5;es_xrand wcs_tpcash 1 20;es_xsetinfo wcs_chance 17|es_xsetinfo wcs_tphp 2;es_xrand wcs_tpxp 5 10;es_xrand wcs_tpcash 20 40;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_tphp 3;es_xrand wcs_tpxp 10 15;es_xrand wcs_tpcash 40 60;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_tphp 4;es_xrand wcs_tpxp 15 20;es_xrand wcs_tpcash 60 80;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_tphp 5;es_xrand wcs_tpxp 20 25;es_xrand wcs_tpcash 80 100;es_xsetinfo wcs_chance 25|es_xsetinfo wcs_tphp 5;es_xrand wcs_tpxp 25 30;es_xrand wcs_tpcash 90 100;es_xsetinfo wcs_chance 33"
"racealias_tp1" "es_est_healthadd event_var(attacker) server_var(wcs_tphp);es_est_cashadd event_var(attacker) server_var(wcs_tpcash);es wcs_givexp eventvar(attacker) server_var(wcs_tpxp) 0 0;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_username) server_var(sucxp);es_xtell event_var(attacker) #multi #Lightgreen : You have gained #Green server_var(wcs_tpxp) XP, server_var(wcs_tphp) HP#Lightgreen, and#Green server_var(wcs_tpcash) $$.;es_xformat wcs_lng servervar(wcs_lng) event_var(attackername)"
"skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_tp1"
"skill3_sfx" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid); es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(z1) server_var(wcs_x2) server_var(wcs_y2) server_var(z2) 1 3 6 0 255 0 255"
"skill4_setting" "es_xsetinfo wcs_ultteamhp 10|es_xsetinfo wcs_ultteamhp 12|es_xsetinfo wcs_ultteamhp 14|es_xsetinfo wcs_ultteamhp 16|es_xsetinfo wcs_ultteamhp 18|es_xsetinfo wcs_ultteamhp 20"
"skill4_cmd" "es es_xgetmoney wcs_money server_var(wcs_userid);es es_xif (server_var(wcs_money) >= 500) then est_cash server_var(wcs_userid) - 500;es es_xif (server_var(wcs_money) >= 500) then es es_xif (server_var(wcs_team) = 2) then es est_healthadd #T server_var(wcs_ultteamhp);es es_xif (server_var(wcs_team) = 3) then es est_healthadd #CT server_var(wcs_ultteamhp);es es_xtell event_var(userid) #multi #Lightgreen : Your team gained #Green server_var(wcs_ultteamhp) HP because of your sacrifice."
"skill4_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 60 100 0.8 0 200 100 200 1"
"ultimate_cooldown" "25"
}






United States
Logged
Denmark
