Code
GeSHi (eventscripts):"14"
{
"name" "Ying Yang"
"author" "Damakex"
"shortdescription" "Find you balance."
"required_level" "180"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "0"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "3"
"numberoflevels" "8"
"skillnames" "Balance Of Dark|Balanace Of Light|Balance"
"skilldescr" "Blinds your enemy for one to three seconds depending on your skill level.|You provide your team whit 10-50 more health.|Use a small potion of health."
"skillcfg" "player_attacker|player_spawn|player_ultimate"
"skill1_setting" "es_xset wcs_time 1|es_xset wcs_time 1.2|es_xset wcs_time 1.4|es_xset wcs_time 1.6|es_xset wcs_time 1.8|es_xset wcs_time 2.2|es_xset wcs_time 2.5|es_xset wcs_time 3"
"racealias_yy1" "es est_Fade event_var(victim) 0 server_var(wcs_time) 5 2 0 0 220"
"skill1_cmd" "es es_xif (server_var(wcs_dice) <= 30) then racealias_yy1;es es_xif (server_var(wcs_dice) <= 30) then es_xtell event_var(attacker)#multi #greenBalance Of Dark God: You have blinded event_var(es_username) for server_var(wcs_time).;es es_xif (server_var(wcs_dice) <= 30) then es_xtell event_var(victim) #multi #lightgreenBalance Of Dark God: You have been blinded by event_var(es_attackername) for server_var(wcs_time)"
"skill1_sfx" "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es est_Effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 8 6 100 155 255 255;es est_effect 3 #a 0 sprites/halo01.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5 5 50 20 255 255;es est_Effect 3 #a 0 sprites/glow.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5 5 0 0 255 255;racealias_bod1"
"racealias_bod1" "es_xmath wcs_y1 + 50;es est_effect 3 #a 0 sprites/halo01.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5 5 50 20 255 255;es_xmath wcs_y1 - 100;es est_Effect 3 #a 0 sprites/glow.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 5 5 0 0 255 255;es est_playplayer event_var(userid) weapons/hegrenade/explode4.wav"
"skill2_setting" "es_xset wcs_teamhp 10;es_xset wcs_alpha 50|es_xset wcs_teamhp 20;es_xset wcs_alpha 60|es_xset wcs_teamhp 25;es_xset wcs_alpha 70|es_xset wcs_teamhp 30;es_xset wcs_alpha 80|es_xset wcs_teamhp 35;es_xset wcs_alpha 90|es_xset wcs_teamhp 40;es_xset wcs_alpha 100|es_xset wcs_teamhp 45;es_xset wcs_alpha 110|es_xset wcs_teamhp 50;es_xset wcs_alpha 120"
"skill2_cmd" "es es_xif (server_var(wcs_team) = 2) then es est_Healthadd #T!C server_var(wcs_teamhp);es es_xif (server_var(wcs_team) = 3) then es est_Healthadd #C!T server_var(wcs_teamhp); es_tell event_var(userid)#multi #LightgreenBalanace Of Light God: Your team gained #GreenHP"
"skill2_sfx" "es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 3 est_effect 11 #a 0 sprites/purpleglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1 3.5 150"
"skill3_setting" "es_xset wcs_hpmana 15|es_xset wcs_hpmana 17|es_xset wcs_hpmana 19|es_xset wcs_hpmana 21|es_xset wcs_hpmana 23|es_xset wcs_hpmana 25|es_xset wcs_hpmana 27|es_xset wcs_hpmana 29"
"skill3_cmd" "es es_xgetmoney wcs_money server_var(wcs_userid);es es_xif (server_var(wcs_money) >= 100) then est_cash server_var(wcs_userid) - 100;es es_xif (server_var(wcs_money) >= 100) then est_Health server_var(wcs_userid) + server_var(wcs_hpmana);es es_xif (server_var(wcs_money) >= 100) then es_tell server_var(wcs_userid)#multi #lightgreenBalance God: #greenYou get some healt but its cost."
"skill3_sfx" "es est_effect 4 #a 0 sprites/tp_beam001.vmt server_var(wcs_userid) 3 3 3 50 255 0 25 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 340;es est_effect 10 #a 0 models/effects/splodecard2_sheet.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 550 100 5 750 200 0 155 115 100 200 30"
"ultimate_cooldown" "25"
}
You can't blind someone with this race...
Any ideas?
I think this is the mistake: sprites/halo01.vmt
Isn't there something other for blind?






Germany
Logged
Brazil


Denmark

