StartseiteKalenderFAQSuchenMitgliederNutzergruppenAnmeldenLogin

Teilen | 
 

 Race: Sorcerer

Vorheriges Thema anzeigen Nächstes Thema anzeigen Nach unten 
AutorNachricht
Maxi

avatar

Anzahl der Beiträge : 11
Anmeldedatum : 31.01.10

BeitragThema: Race: Sorcerer   So Feb 14, 2010 9:09 pm

Lustige Race mit infight starken Skills.

"name" "Sorcerer"
"author" "HOLLIDAY"
"required_level" "385"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "0"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "4"
"skillnames" "Sorcerer's Ward|Mirror Magic|Repel|Dove"
"skilldescr" "Bind a key to ability for Sorcerer's Ward|Switch places with the attacker and do mirror Damage|Repel The Enemy|Disguess your self as a dove and fly"
"skillcfg" "player_spawn|player_victim|player_attacker|player_ultimate"

"skill1_setting" "es_xsetinfo wcs_count 1;es_xsetinfo wcs_params 12_14_220|es_xsetinfo wcs_count 1;es_xsetinfo wcs_params 14_16_240|es_xsetinfo wcs_count 2;es_xsetinfo wcs_params 14_18_260|es_xsetinfo wcs_count 2;es_xsetinfo wcs_params 14_18_280"
"skill1_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid) ability sorcerer;es es_xkeysetvalue WCSuserdata event_var(userid) ability_count server_var(wcs_count);es es_xkeysetvalue WCSuserdata event_var(userid) ability_parameter server_var(wcs_params)"
"skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z2 + 100;es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 1 255;es est_effect 3 #a 0 sprites/bluelight1.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 4 4 175 175 255 255;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.1 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;racealias_sorcefx1"
"racealias_sorcefx1""es est_effect 10 #a 0.2 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.3 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.4 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 900 0 75 75 255 255 1;es est_effect 10 #a 0.6 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;racealias_sorcrfx1"
"racealias_sorcrfx1""es est_effect 10 #a 0.7 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.8 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.9 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1"

"skill2_setting" "es_xsetinfo wcs_chance 10;es_xsetinfo wcs_mirror 5|es_xsetinfo wcs_chance 20;es_xsetinfo wcs_mirror 8|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_mirror 15|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_mirror 20"
"skill2_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_sorcere1"
"racealias_sorcere1""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es est_teleport event_var(attacker) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es est_teleport event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es wcs_dealdamage event_var(userid) event_var(attacker) server_var(wcs_mirror);es es_xtell event_var(userid) #multi #lightgreen:You have done #green server_var(wcs_mirror) mirror damage;es es_xtell event_var(attacker) #multi #lightgreen:You got #green server_var(wcs_mirror) mirror damage;es es_delayed .1 est_setaim event_var(userid) event_var(attacker) +1;es es_delayed .1 est_setaim event_var(attacker) event_var(userid) +1;racealias_sorcesfx"
"racealias_sorcesfx""es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 1 255;es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 1 255;es est_effect 3 #a 0 sprites/bluelight1.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 4 4 175 175 255 255"
"skill2_sfx" "0"

"skill3_setting" "es_xsetinfo wcs_chance 10|es_xsetinfo wcs_chance 20|es_xsetinfo wcs_chance 30|es_xsetinfo wcs_chance 33"
"skill3_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_sorcer3"
"racealias_sorcer3" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 10;es es_delayed .1 est_pushto event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) -5;es es_xtell event_var(attacker) #multi #lightgreenYou have pushed your enemy;es es_xtell event_var(userid) #multi #lightgreenYou have been Pushed away by the #green Sorcerer's Magic;es est_playplayer event_var(attacker) weapons/shotgun/shotgun_dbl_fire7.wav;racealias_sorcsfx3"
"skill3_sfx" "0"
"racealias_sorcsfx3""es est_getviewcoord event_var(attacker) wcs_x2 wcs_y2 wcs_z2;es est_getviewcoord event_var(attacker) wcs_x1 wcs_y1 wcs_z1;es_xmath wcs_z1 + 80;es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 1 255;es est_effect 3 #a 0 sprites/bluelight1.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) 3 4 4 175 175 255 255;es est_effect 10 #a 0 glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 180 0.3 30 100 0.8 175 175 255 255 1"

"skill4_setting" "es_xsetinfo wcs_duration 3|es_xsetinfo wcs_duration 4|es_xsetinfo wcs_duration 5|es_xsetinfo wcs_duration 6"
"skill4_cmd" "es est_getprimary wcs_tmp server_var(wcs_userid);es est_getsecondary wcs_tmp1 server_var(wcs_userid);es est_speed server_var(wcs_userid) 2;es est_setgravity server_var(wcs_userid) 0.01;es est_stripplayer server_var(wcs_userid) 1;es est_setplayercolor server_var(wcs_userid) 0 0 0 0;es est_jetpack server_var(wcs_userid) 1;es es_delayed server_var(wcs_duration) est_speed server_var(wcs_userid) 1;es es_delayed server_var(wcs_duration) es est_setgravity server_var(wcs_userid) 0;es es_delayed server_var(wcs_duration) es est_jetpack server_var(wcs_userid) 0;racealias_newulti4"
"racealias_newulti4""es es_delayed server_var(wcs_duration) es est_give server_var(wcs_userid) server_var(wcs_tmp1);es es_delayed server_var(wcs_duration) es est_give server_var(wcs_userid) server_var(wcs_tmp);es es_xtell server_var(wcs_userid) #multi #lightgreenYou have disguesed your self From your Enemies"
"skill4_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid);es_xmath wcs_z2 + 100;es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 1 255;es est_effect 3 #a 0 sprites/bluelight1.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 4 4 175 175 255 255;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;es est_effect 10 #a 0.1 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 500 2 10 300 0 75 75 255 255 1;racealias_sorcefx1"
"ultimate_cooldown" "13"
}


es es_xif (server_var(wcs_tmp) in "sorcerer") do
{
es_xsetinfo wcs_ability_count 0
es es_xkeygetvalue wcs_ability_count WCSuserdata server_var(wcs_userid) ability_count
es es_xif (server_var(wcs_ability_count) > 0) do
{
es es_xif (server_var(wcs_tmp) = "sorcerer") do
{
es_xsetinfo wcs_params 0
es es_xkeygetvalue wcs_params WCSuserdata server_var(wcs_userid) "ability_parameter"
es es_xif (server_var(wcs_params) != "0") do
{
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid)
es_xsetinfo wcs_duration 0
es es_xtoken wcs_duration server_var(wcs_params) 1 "_"
es es_xif (server_var(wcs_graphicfx) = 1) do
{
es_xcopy wcs_x2 wcs_x1
es_xcopy wcs_y2 wcs_y1
es_xcopy wcs_z2 wcs_z1
es_xmath wcs_z2 + 120
es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(wcs_duration) 1 255
es est_effect 3 #a 0 sprites/bluelight1.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) server_var(wcs_duration) 4 4 175 175 255 255
//es_xmath wcs_z1 - 120
es es_xgetplayerteam wcs_team server_var(wcs_userid)
es es_xif (server_var(wcs_team) = 2) do
{
es_xsetinfo wcs_team_target 3
es_xsetinfo wcs_team_targetn "#ct"
}
es es_xif (server_var(wcs_team) = 3) do
{
es_xsetinfo wcs_team_target 2
es_xsetinfo wcs_team_targetn "#t"
}
es es_xtoken wcs_dmg server_var(wcs_params) 2 "_"
es es_xtoken wcs_radius server_var(wcs_params) 3 "_"
es wcs_sorcerer server_var(wcs_userid) server_var(wcs_duration) server_var(wcs_dmg) server_var(wcs_radius) server_var(wcs_team_target) server_var(wcs_team_targetn) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_roundcounter)
es es_xtell server_var(wcs_userid) #multi #greensorcerer
}
}
es_xmath wcs_ability_count - 1
es es_xkeysetvalue WCSuserdata server_var(wcs_userid) ability_count server_var(wcs_ability_count)
}
es_xelse do
{
wcs_getlanguage "wcs_lng" "wcs_lng_noability"
es es_xtell server_var(wcs_userid) #multi server_var(wcs_lng)
}
}
}



es_xexists wcs_exists command wcs_sorcerer
es es_xif (server_var(wcs_exists) = 0) then es_xregcmd wcs_sorcerer wcs/WCSultimates/wcs_sorcerer "sorcerer, explodes on nearby enemies"




block wcs_sorcerer
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_sorcerer start
es_xsetinfo wcs_uid 0
es_xsetinfo wcs_duration 0
es_xsetinfo wcs_dmg 0
es_xsetinfo wcs_radius 0
es_xsetinfo wcs_team_target 0
es_xsetinfo wcs_wardenround 0
es_xgetargv wcs_uid 1
es_xgetargv wcs_duration 2
es_xgetargv wcs_dmg 3
es_xgetargv wcs_radius 4
es_xgetargv wcs_team_target 5
es_xgetargv wcs_team_targetn 6
es_xgetargv wcs_x1 7
es_xgetargv wcs_y1 8
es_xgetargv wcs_z1 9
es_xgetargv wcs_wardenround 10
es es_xexists wcs_exists userid server_var(wcs_uid)
es es_xgetlivingplayercount wcs_alive server_var(wcs_team_target)
es es_xif (server_var(wcs_alive) < 1) then es_xsetinfo wcs_exists 0
es es_xif (server_var(wcs_wardenround) != server_var(wcs_roundcounter)) then es_xsetinfo wcs_duration 0
es es_xif (server_var(wcs_exists) = 1) do
{
es es_xif (server_var(wcs_duration) > 0) do
{
es es_xif (server_var(wcs_radius) != "0") do
{
es es_xif (server_var(wcs_team_targetn) != "0") do
{
//es_xmath wcs_z1 + 1
es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.1 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.2 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.3 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.4 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 900 0 75 75 255 255 1
es est_effect 10 #a 0.6 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.7 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.8 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es est_effect 10 #a 0.9 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 10 server_Var(wcs_radius) 2 10 300 0 75 75 255 255 1
es_xsetinfo wcs_wall "1"
alias wcs_run_sorcerer "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es est_getwallbetween wcs_wall server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es es_xif (server_var(wcs_wall) = 0) then wcs_run_sorcerer2"
alias wcs_run_sorcerer2 "es wcs_dealdamage server_var(wcs_uid) server_var(wcs_targetid) 5;es est_pushto server_var(wcs_targetid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5;es es_xtell server_var(wcs_targetid) #multi #greenYou have been hit by Sorcerer's Ward;es_xmath wcs_z2 + 40;es est_effect 3 #a 0 sprites/bluelight1.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 4 4 175 175 255 255;wcs_run_sorcerer3"
alias wcs_run_sorcerer3 "es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_targetid);es est_effect 11 #a 0 sprites/glow1.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 3 2 255"
es nearcoord wcs_targetid server_var(wcs_team_targetn) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_radius) server_var(wcs_radius) server_var(wcs_radius) "es es_xgetplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;es es_xif (server_var(wcs_dead) = 0) then wcs_run_sorcerer"
es_xmath wcs_duration - 1
es es_xdelayed 1 wcs_sorcerer server_var(wcs_uid) server_var(wcs_duration) server_var(wcs_dmg) server_var(wcs_radius) server_var(wcs_team_target) server_var(wcs_team_targetn) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_wardenround)
}
}
}
}
es es_xif (server_var(wcs_debug) = "1") then echo wcs_sorcerer end
}

MfG, Maxi
Nach oben Nach unten
Benutzerprofil anzeigen http://scheiterhaufen.info/index.php?site=profile&id=32
 
Race: Sorcerer
Vorheriges Thema anzeigen Nächstes Thema anzeigen Nach oben 
Seite 1 von 1
 Ähnliche Themen
-
» Volvo FH16 700 Globetrotter XL Ocean Race Limited Edition
» Race against the Time

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
 :: Ideen :: Ideen: Races-
Gehe zu: