StartseiteKalenderFAQSuchenMitgliederNutzergruppenAnmeldenLogin

Teilen | 
 

 Race: Witch Doctor

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

avatar

Anzahl der Beiträge : 11
Anmeldedatum : 31.01.10

BeitragThema: Race: Witch Doctor   So Feb 14, 2010 9:08 pm

Eine verdammt lustige Race! Insgesamt eine meiner liebsten! Die Skills bringen keine großen Vorteile, machen aber verdammt viel Spaß!

"name" "Witch Doctor"
"author" "HOLLIDAY"
"required_level" "300"
"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" "5"
"skillnames" "Spell Points|Spell Damage and Healing|Flickering Cloak|Book of Spells"
"skilldescr" "Chance to Gain Spell Points when killing an enemy|Duration and Radius of your Spells|Gain Invisibility that Flickers when hit|Bind a key to spell,to cast a spell from your Book of Spells (learn new spells as you level)"
"skillcfg" "player_attacker|player_spawn|player_victim|player_ultimate"

"skill1_setting" "es_xset wcs_chance 12|es_xset wcs_chance 18|es_xset wcs_chance 22|es_xset wcs_chance 33|es_xset wcs_chance 38"
"skill1_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(health) = 0) then racealias_spellpt1"
"racealias_spellpt1""es es_xkeygetvalue wcs_ward_count WCSuserdata event_var(attacker) ward_count;es_xmath wcs_ward_count + 1;es_keysetvalue WCSuserdata event_var(attacker) ward_count server_var(wcs_ward_count);es es_xtell event_var(attacker) #multi #default~Book of Spells~ #lightgreen You have Gained #green 1 #lightgreenSpell Points"
"skill1_sfx" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock spells/smokey"

"skill2_setting" "es_xset wcs_count 1;es_xset wcs_params 5_10_80|es_xset wcs_count 2;es_xset wcs_params 8_20_120|es_xset wcs_count 3;es_xset wcs_params 12_30_130|es_xset wcs_count 4;es_xset wcs_params 15_40_140|es_xset wcs_count 5;es_xset wcs_params 30_50_150"
"skill2_cmd" "es_keysetvalue WCSuserdata event_var(userid) ward_count server_var(wcs_count);es_keysetvalue WCSuserdata event_var(userid) ward_parameter server_var(wcs_params);es_keysetvalue WCSuserdata event_var(userid) ward_cooldown 3"
"skill2_sfx" "es_xdoblock spells/witchdoctorsfx"

"skill3_setting" "es_xset wcs_chance 12|es_xset wcs_chance 18|es_xset wcs_chance 22|es_xset wcs_chance 33|es_xset wcs_chance 38"
"skill3_cmd" "if (server_var(wcs_dice) <= server_var(wcs_chance)) then if (event_var(health) = 0) then racealias_magisp33"
"racealias_magisp33""es ma_render_fx event_var(userid) 11;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(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) 2 17 2 35 0 .3 255 25 255 255 10"
"skill3_sfx" "0"

"skill4_setting" "es popup send spellbook1 server_var(wcs_userid)|es popup send spellbook1 server_var(wcs_userid)|es popup send spellbook2 server_var(wcs_userid)|es popup send spellbook2 server_var(wcs_userid)|es popup send spellbook3 server_var(wcs_userid)"
"skill4_cmd" "es es_xkeygetvalue wcs_ward_count WCSuserdata server_var(wcs_userid) ward_count;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) ward_count server_var(wcs_ward_count);es es_xtell server_var(wcs_userid) #multi #default~Book of Spells~ #lightgreen You have #green server_var(wcs_ward_count) #lightgreenSpell Points"
"skill4_sfx" "es_xdoblock spells/magic"
"ultimate_cooldown" "0"
}

////////////////////
http://es_Spells.txt
//Script by HOLLIDAY
//Book of Spells
//Sentry Ward
//Healing Ward
//Stasis Trap
///////////////////
block load
{
es_xset ax 0
es_xset ay 0
es_xset az 0
es_xset bx 0
es_xset by 0
es_xset bz 0
es_xset fa 0
es_xset fb 0
es_xset ga 0
es_xset gb 0
es_xset spx1 0
es_xset spy1 0
es_xset spz1 0
es_xset myindex 0
es_xset tempvar 0
es_xset origin 0
es_xset angle 0
es_xset setcam 0
es_xset camset 0
es_xset sentry 0
es_xset viewingcam 0
es_keygroupcreate cam
es popup create spellbook1
es popup create spellbook2
es popup create spellbook3
popup addline spellbook1 " ~Book of Spells~"
popup addline spellbook1 "~|~-------------------~|~"
popup addline spellbook1 "->1. -Sentry Ward-"
popup addline spellbook1 "~Provides vision in an area~"
popup addline spellbook1 "~|~-------------------~|~"
popup addline spellbook1 " ~Bind a Key to spell~"
popup addline spellbook2 " ~Book of Spells~"
popup addline spellbook2 "~|~-------------------~|~"
popup addline spellbook2 "->1. Sentry Ward"
popup addline spellbook2 "~Provides vision in an area~"
popup addline spellbook2 "->2. Stasis Trap"
popup addline spellbook2 "Stuns Nearby Enemy Units"
popup addline spellbook2 " ~Bind a Key to spell~"
popup addline spellbook3 " ~Book of Spells~"
popup addline spellbook3 "~|~-------------------~|~"
popup addline spellbook3 "->1. Sentry Ward"
popup addline spellbook3 "~Provides vision in an area~"
popup addline spellbook3 "->2. Stasis Trap"
popup addline spellbook3 "Stuns Nearby Enemy Units"
popup addline spellbook3 "->3. Healing Ward"
popup addline spellbook3 "Heals Nearby Friendly Units"
popup addline spellbook3 "~|~-------------------~|~"
popup addline spellbook3 " ~Bind a Key to spell~"
popup select spellbook1 1 spells/sentryward
popup select spellbook2 1 spells/sentryward
popup select spellbook2 2 spells/stasistrap
popup select spellbook3 1 spells/sentryward
popup select spellbook3 2 spells/stasistrap
popup select spellbook3 3 spells/healingward
es_xexists ex clientcommand spell
if (server_var(ex) = 0) then es_xregclientcmd spell spells/wcs_spell "Command to cast Spells"
es_xexists ex saycommand spell
if (server_var(ex) = 0) then es_xregsaycmd spell spells/wcs_spell "Command to cast Spells"
es_xexists ex command wcs_heal
if (server_var(ex) = 0) then es_xregcmd wcs_heal spells/wcs_heal "Healing Ward, Heals Nearby Friendly Units"
es_xexists ex command wcs_stasis
if (server_var(ex) = 0) then es_xregcmd wcs_stasis spells/wcs_stasis "Stsis Trap, Stuns Nearby Enemy Units"
}
//<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>//


block wcs_spell
{
if (server_var(wcs_debug) = 1) then profile begin ward
es_xgetargv wcs_userid 1
es_exists ex userid server_var(wcs_userid)
ifx false(ex) do
{
es_xgetcmduserid wcs_userid
es_exists ex userid server_var(wcs_userid)
}
es_getplayerprop wcs_dead server_var(wcs_userid) "CCSPlayer.baseclass.pl.deadflag"
if (server_var(wcs_dead) = 1) then es_xset ex 0
es_xcopy wcs_ulti_allow wcs_gamestarted
if (server_var(wcs_ulti_allow) != 1) then es_xset ex 0
if (server_var(ex) = 1) do
{
es_exists ex key WCSuserdata server_var(wcs_userid)
if (server_var(ex) = 1) do
{
es_keygetvalue wcs_tmp WCSuserdata server_var(wcs_userid) "ward"
if (server_var(wcs_tmp) in "heal") do
{
es_xset wcs_ward_count 0
es_keygetvalue wcs_ward_count WCSuserdata server_var(wcs_userid) ward_count
if (server_var(wcs_ward_count) = 0) then es_tell server_var(wcs_userid) #multi #lightgreenYou have no additional Spell points.
ifx parse("(wcs_ward_count > 0) or (wcs_ward_count == -1)") do
{
es_xevent initialize wcs_ward
es_event setint wcs_ward userid server_var(wcs_userid)
es_xevent fire wcs_ward
if (server_var(wcs_tmp) = "heal") do
{
es_xset wcs_params 0
es_keygetvalue wcs_params WCSuserdata server_var(wcs_userid) "ward_parameter"
if (server_var(wcs_params) != "0") do
{
es_getplayerteam wcs_team server_var(wcs_userid)
es_xset wcs_color "10 0 255"
ifx parse("wcs_team == 3") do
{
es_xset wcs_team_target 3
es_xset wcs_team_targetn "#ct"
es_xset wcs_color "25 0 255"
}
ifx parse("wcs_team == 2") do
{
es_xset wcs_team_target 2
es_xset wcs_team_targetn "#t"
es_xset wcs_color "215 0 35"
}
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid)
es_xset wcs_duration 0
es_token wcs_duration server_var(wcs_params) 1 "_"
ifx true(wcs_graphicfx) do
{
es_xcopy wcs_x2 wcs_x1
es_xcopy wcs_y2 wcs_y1
es_xcopy wcs_z2 wcs_z1
es_xmath wcs_z1 + 120
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2)
es est_effect_19 #a 0 server_var(vector1) server_var(vector2) 100
es est_effect_18 #a 0 server_var(vector1) 255 50 25 144 server_var(wcs_radius) 3 18
es_give server_var(wcs_userid) env_Smokestack
es_fire server_var(wcs_userid) env_Smokestack addoutput "classname smokey"
es_fire server_var(wcs_userid) smokey addoutput "basespread 15"
es_fire server_var(wcs_userid) smokey addoutput "spreadspeed 30"
es_fire server_var(wcs_userid) smokey addoutput "speed 60"
es_fire server_var(wcs_userid) smokey addoutput "startsize 5"
es_fire server_var(wcs_userid) smokey addoutput "endsize 1"
es_fire server_var(wcs_userid) smokey addoutput "rate 200"
es_fire server_var(wcs_userid) smokey addoutput "jetlength 175"
es_fire server_var(wcs_userid) smokey addoutput "twist 175"
es_fire server_var(wcs_userid) smokey addoutput "SmokeMaterial particle\fire.vmt"
es_fire server_var(wcs_userid) smokey addoutput "angles 0 0 0"
es_fire server_var(wcs_userid) smokey addoutput "renderamt 100"
es_fire server_var(wcs_userid) smokey addoutput "rendercolor 100 100 220"
es_fire server_var(wcs_userid) smokey turnon
es_delayed 8 es_fire server_var(wcs_userid) smokey kill
es_xmath wcs_z1 - 120
}
es_token wcs_dmg server_var(wcs_params) 2 "_"
es_token wcs_radius server_var(wcs_params) 3 "_"
es wcs_heal 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_healcounter)
es_tell server_var(wcs_userid) #multi #lightgreen You hvae Planted a #greenHealing Ward
}
}
es_xmath wcs_ward_count - 1
es_keysetvalue WCSuserdata server_var(wcs_userid) ward_count server_var(wcs_ward_count)
}
}
if (server_var(wcs_tmp) in "stasis") do
{
es_xset wcs_ward_count 0
es_keygetvalue wcs_ward_count WCSuserdata server_var(wcs_userid) ward_count
ifx parse("(wcs_ward_count > 0) or (wcs_ward_count == -1)") do
{
es_xevent initialize wcs_ward
es_event setint wcs_ward userid server_var(wcs_userid)
es_xevent fire wcs_ward
if (server_var(wcs_tmp) = "stasis") do
{
es_xset wcs_params 0
es_keygetvalue wcs_params WCSuserdata server_var(wcs_userid) "ward_parameter"
if (server_var(wcs_params) != "0") do
{
es_getplayerteam wcs_team server_var(wcs_userid)
es_xset wcs_color "10 0 255"
ifx parse("wcs_team == 2") do
{
es_xset wcs_team_target 3
es_xset wcs_team_targetn "#ct"
es_xset wcs_color "255 0 25"
}
ifx parse("wcs_team == 3") do
{
es_xset wcs_team_target 2
es_xset wcs_team_targetn "#t"
es_xset wcs_color "25 0 255"
}
es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid)
es_xset wcs_duration 0
es_token wcs_duration server_var(wcs_params) 1 "_"
ifx true(wcs_graphicfx) do
{
es_xcopy wcs_x2 wcs_x1
es_xcopy wcs_y2 wcs_y1
es_xcopy wcs_z2 wcs_z1
}
es_token wcs_dmg server_var(wcs_params) 2 "_"
es_token wcs_radius server_var(wcs_params) 3 "_"
es wcs_stasis 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_healcounter)
es_tell server_var(wcs_userid) #multi #lightgreen You hvae Planted a #greenStasis Trap
}
}
es_xmath wcs_ward_count - 1
es_keysetvalue WCSuserdata server_var(wcs_userid) ward_count server_var(wcs_ward_count)
es_tell server_var(wcs_userid) #multi #lightgreen You have server_var(wcs_ward_count) Spell Points
}
es_xelse do
{
es_tell server_var(wcs_userid) #multi #lightgreenYou have no additional Spell points.
}
}
if (server_var(wcs_tmp) in "sentry") do
{
es_xevent initialize wcs_ward
es_event setint wcs_ward userid server_var(wcs_userid)
es_xevent fire wcs_ward
if (server_var(wcs_tmp) = "sentry") do
{
es est_getviewcoord server_var(wcs_userid) spx1 spy1 spz1
es_getplayerprop fa server_var(wcs_userid) "CBaseEntity.m_vecOrigin"
es_splitvectorstring ax ay az server_var(fa)
es_math az + 64
es_createvectorstring fa server_var(ax) server_var(ay) server_var(az)
es_getplayerprop fb server_var(wcs_userid) "CBaseEntity.m_angRotation"
es_splitvectorstring bx by bz server_var(fb)
es_keygetvalue tempvar cam server_var(wcs_userid) viewindex
es est_remove server_var(tempvar)
es est_give server_var(wcs_userid) point_viewcontrol tempvar
es_keysetvalue cam server_var(wcs_userid) viewindex server_var(tempvar)
es_format origin "origin %1 %2 %3" server_var(ax) server_var(ay) server_var(az)
es_format angle "angles %1 %2 %3" server_var(bx) server_var(by) server_var(bz)
es_fire server_var(wcs_userid) point_viewcontrol addoutput server_var(origin)
es_fire server_var(wcs_userid) point_viewcontrol addoutput server_var(angle)
es_fire server_var(wcs_userid) point_viewcontrol addoutput "spawnflags 8"
es_fire server_var(wcs_userid) point_viewcontrol enable
es est_playplayer server_var(wcs_userid) npc/turret_floor/click1.wav
es est_getindex myindex server_var(wcs_userid)
es_delayed .2 es_setview server_var(wcs_userid) server_var(myindex)
es_tell server_var(wcs_userid) #multi #lightgreenYou have Placed a #greenSentry Ward #lightgreenPress the #greenspell #lightgreen Key again to view the Camera!
es_keysetvalue WCSuserdata server_var(wcs_userid) ward view
}
}
}
if (server_var(wcs_tmp) in "view") do
{
es_xevent initialize wcs_ward
es_event setint wcs_ward userid server_var(wcs_userid)
es_xevent fire wcs_ward
if (server_var(wcs_tmp) = "view") do
{
es_cexec server_var(wcs_userid) r_screenoverlay effects/combine_binocoverlay
es est_playplayer server_var(wcs_userid) npc/turret_floor/deploy.wav
es_delayed .2 es_setview server_var(wcs_userid) server_var(tempvar)
es_tell server_var(wcs_userid) #multi #lightgreenCam #greenon
es es_xkeysetvalue WCSuserdata server_var(wcs_userid) viewcam 0
es_keysetvalue WCSuserdata server_var(wcs_userid) cam set
es_keysetvalue WCSuserdata server_var(wcs_userid) ward noview
}
}
}
if (server_var(wcs_tmp) in "noview") do
{
es_xevent initialize wcs_ward
es_event setint wcs_ward userid server_var(wcs_userid)
es_xevent fire wcs_ward
if (server_var(wcs_tmp) = "noview") do
{
es_fire server_var(wcs_userid) point_viewcontrol disable
es es_xkeysetvalue WCSuserdata server_var(wcs_userid) viewcam 1
es_tell server_var(wcs_userid) #multi #lightgreenCam #greenOff
es_cexec server_var(wcs_userid) r_screenoverlay 0
es est_playplayer server_var(wcs_userid) npc/turret_floor/retract.wav
es_keysetvalue WCSuserdata server_var(wcs_userid) ward view
}
}
}


block wcs_heal
{
wcs_debuglog wcs_heal start
es_xset wcs_uid 0
es_xset wcs_duration 0
es_xset wcs_dmg 0
es_xset wcs_radius 0
es_xset wcs_team_target 0
es_xset wcs_healround 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_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_xgetargv wcs_healround 10
es_xset floodingchat 0
es_exists ex userid server_var(wcs_uid)
es_getlivingplayercount wcs_alive server_var(wcs_team_target)
ifx parse("(wcs_alive >= 1) and (wcs_healround == wcs_healcounter) and ex and (wcs_duration > 0) and (wcs_radius != 0) and (wcs_team_target != 0)") do
{
es wcs_debuglog heal deals damage round server_var(wcs_healround) duration server_var(wcs_duration)
es_xset wcs_sward_invul 0
es_xset wcs_sward_resist 0
esnq est_effect 10 #a 0.1 sprites\bluelaser1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 server_var(wcs_radius) 1 20 10 0 100 100 222 255 5
es_xmath wcs_z2 + 50
es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2)
es est_effect_18 #a 0 server_var(vector1) 255 50 25 144 server_var(wcs_radius) server_var(wcs_duration) 18
es_xset wcs_wall 1
alias wcs_run_heal "es_getplayerlocation 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_keygetvalue wcs_sward_invul WCSuserdata server_var(wcs_targetid) swardinvul;es_keygetvalue wcs_sward_resist WCSuserdata server_var(wcs_targetid) swardresist;if (server_var(wcs_sward_invul) = 1) then shopalias_asw1_off;if (server_var(wcs_wall) = 0) then es_xif (server_var(wcs_sward_invul) = 0) then wcs_run_heal2"
alias wcs_run_heal2 "es est_healthadd server_var(wcs_targetid) 1;es est_effect_19 #a 0 server_var(vector1) server_var(vector2) 100;wcs_run_heal3;es_keygetvalue floodingchat WCSuserdata server_var(wcs_targetid) floodingchat;if (server_var(floodingchat) = 0) then es_tell server_var(wcs_targetid) #multi #lightgreenYou have been Healed By a #greenHealing Ward;if (server_var(floodingchat) = 0) then es_delayed 1 es_keysetvalue WCSuserdata server_var(wcs_userid) floodingchat 1"
alias wcs_run_heal3 "es est_effect_18 #a 0 server_var(vector1) 25 50 255 300 server_var(wcs_radius) 3 108;es est_effect_19 #a 0 server_var(vector2) server_var(vector2) 100;esnq est_Effect_06 #a 0 sprites/lgtning.vmt server_var(vector1) server_var(vector2) 100 .3 15 1 10 10 server_var(wcs_color) 255 100;if (server_var(wcs_dice) <= 50) then es est_playplayer server_var(wcs_targetid) weapons/physcannon/energy_sing_flyby2.wav;if (server_var(wcs_dice) >= 50) then es est_playplayer server_var(wcs_targetid) weapons/physcannon/energy_sing_flyby2.wav;es_delayed server_var(wcs_duration) es_keysetvalue WCSuserdata server_var(wcs_userid) floodingchat 0"
es_keygetvalue wcs_sward_invul WCSuserdata server_var(wcs_targetid) swardinvul
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_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then wcs_run_heal"
es_xmath wcs_duration - 1
es_delayed .3 wcs_heal 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_healround)
}
}

block wcs_stasis
{
wcs_debuglog wcs_stasis start
es_xset wcs_uid 0
es_xset wcs_duration 0
es_xset wcs_dmg 0
es_xset wcs_radius 0
es_xset wcs_team_target 0
es_xset wcs_stasisround 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_xset vector1 0
es_xset vector2 0
es_xgetargv wcs_stasisround 10
es_xset floodingchat 0
es_exists ex userid server_var(wcs_uid)
es_getlivingplayercount wcs_alive server_var(wcs_team_target)
ifx parse("(wcs_alive >= 1) and (wcs_stasisround == wcs_stasiscounter) and ex and (wcs_duration > 0) and (wcs_radius != 0) and (wcs_team_target != 0)") do
{
es wcs_debuglog stasis deals damage round server_var(wcs_stasisround) duration server_var(wcs_duration)
es_xset wcs_sward_invul 0
es_xset wcs_sward_resist 0
es_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_xmath wcs_z2 + 50
es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2)
es_xset wcs_wall 1
alias wcs_run_stasis "es_getplayerlocation 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_keygetvalue wcs_sward_invul WCSuserdata server_var(wcs_targetid) swardinvul;es_keygetvalue wcs_sward_resist WCSuserdata server_var(wcs_targetid) swardresist;if (server_var(wcs_sward_invul) = 1) then shopalias_asw1_off;if (server_var(wcs_wall) = 0) then es_xif (server_var(wcs_sward_invul) = 0) then wcs_run_stasis2"
alias wcs_run_stasis2 "es est_speed server_var(wcs_targetid) 0.7;es es_xdelayed 2 wcs_removefx speed server_var(wcs_targetid);es est_effect_19 #a 0 server_var(vector1) server_var(vector2) 100;wcs_run_stasis3;es_keygetvalue floodingchat WCSuserdata server_var(wcs_targetid) floodingchat;if (server_var(floodingchat) = 0) then es_tell server_var(wcs_targetid) #multi #lightgreenYou have been hit by a #greenStasis Trap;es wcs_dealdamage server_var(wcs_uid) server_var(wcs_targetid) 2"
alias wcs_run_stasis3 "es est_effect_18 #a 0 server_var(vector1) 255 50 25 400 server_var(wcs_radius) 3 108;es est_effect_19 #a 0 server_var(vector2) server_var(vector2) 1000;esnq est_Effect_06 #a 0 sprites/lgtning.vmt server_var(vector1) server_var(vector2) 100 .3 15 1 10 10 server_var(wcs_color) 255 100;es est_playplayer server_var(wcs_targetid) weapons/physcannon/energy_sing_flyby1.wav"
es_keygetvalue wcs_sward_invul WCSuserdata server_var(wcs_targetid) swardinvul
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_getplayerprop wcs_dead server_var(wcs_targetid) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then wcs_run_stasis"
es_xmath wcs_duration - 1
es_delayed 1 wcs_stasis 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_stasisround)
}
}

block sentryward
{
es_keysetvalue WCSuserdata server_var(wcs_userid) ward sentry
es_keysetvalue WCSuserdata server_var(wcs_userid) cam set
es_tell server_var(wcs_userid) #multi #green Sentry Ward #lightgreen Bind a key to #green spell #lightgreento set a #greenCamera #lightgreenon the map,Bind #green viewcam #lightgreen to View the Camera
}

block stasistrap
{
es_keysetvalue WCSuserdata server_var(wcs_userid) ward stasis
es_tell server_var(wcs_userid) #multi #green Stasis Trap #lightgreen Bind a key to #green spell #lightgreento plant a #greenStasis Trap
}

block healingward
{
es_keysetvalue WCSuserdata server_var(wcs_userid) ward heal
es_tell server_var(wcs_userid) #multi #green Healing Ward #lightgreen Bind a key to #green spell #lightgreento plant a #greenHealing Ward
}


block witchdoctorsfx
{
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_xset vector1 wcs_z1
es_xset vector2 wcs_z2
es_xmath wcs_z2 + 1110
es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1)
es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2)
es est_Effect_06 #a 0.8 sprites/lgtning.vmt server_var(vector1) server_var(vector2) 100 3 1 1 10 10 255 255 255 255 100
es_delayed 2.2 est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed 2.2 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 2 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed 2 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 1.8 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 25 25 25 255 9
es_delayed 1.8 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 1.6 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed 1.6 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 1.4 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 25 25 25 255 9
es_delayed 1.4 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 1.2 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed 1.2 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed 1 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 25 25 25 255 9
es_delayed 1 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed .8 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed .8 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed .6 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 25 25 25 255 9
es_delayed .6 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed .4 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es_delayed .4 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es_delayed .2 es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 25 25 25 255 9
es_delayed .2 es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es_xmath wcs_z1 + 110
es est_effect 10 #a 0 sprites/tp_beam001.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 199 150 2 23 11 0 15 5 255 255 9
es est_Effect 3 #a 0 effects/blueblacklargebeam.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 20 15 255 255
es est_playplayer event_var(userid) ambient/atmosphere/hole_hit2.wav
}

block smokey
{
es_give event_var(attacker) env_Smokestack
es_fire event_var(attacker) env_Smokestack addoutput "classname snowey"
es_fire event_var(attacker) snowey addoutput "basespread 50"
es_fire event_var(attacker) snowey addoutput "spreadspeed 10"
es_fire event_var(attacker) snowey addoutput "initial 0"
es_fire event_var(attacker) snowey addoutput "speed 50"
es_fire event_var(attacker) snowey addoutput "startsize 5"
es_fire event_var(attacker) snowey addoutput "endsize 1"
es_fire event_var(attacker) snowey addoutput "rate 200"
es_fire event_var(attacker) snowey addoutput "jetlength 100"
es_fire event_var(attacker) snowey addoutput "twist 500"
es_fire event_var(attacker) snowey addoutput "SmokeMaterial particle\fire.vmt"
es_fire event_var(attacker) snowey addoutput "angles 0 0 0"
es_fire event_var(attacker) snowey addoutput "rendermode 18"
es_fire event_var(attacker) snowey addoutput "renderamt 100"
es_fire event_var(attacker) snowey addoutput "rendercolor 100 100 220"
es_fire event_var(attacker) snowey turnon
es_delayed 3 es_fire event_var(attacker) snowey turnoff
es_fire event_var(attacker) snowey setparent !activator
}

block magic
{
es_entcreate server_var(wcs_userid) env_smokestack
es_fire server_var(wcs_userid) env_smokestack addoutput "targetname magic"
es_fire server_var(wcs_userid) magic addoutput "BaseSpread 11"
es_fire server_var(wcs_userid) magic addoutput "SpreadSpeed 40"
es_fire server_var(wcs_userid) magic addoutput "Speed 60"
es_fire server_var(wcs_userid) magic addoutput "StartSize 16"
es_fire server_var(wcs_userid) magic addoutput "EndSize 1"
es_fire server_var(wcs_userid) magic addoutput "rate 50"
es_fire server_var(wcs_userid) magic addoutput "JetLength 150"
es_fire server_var(wcs_userid) magic addoutput "rendercolor 115 79 183"
es_fire server_var(wcs_userid) magic addoutput "twist 50"
es_fire server_var(wcs_userid) magic addoutput "renderamt 200"
es_fire server_var(wcs_userid) magic addoutput "SmokeMaterial effects/combinemuzzle2.vmt"
es_fire server_var(wcs_userid) magic setparent !activator
es_fire server_var(wcs_userid) magic turnon
es_delayed 8 es_fire server_var(wcs_userid) magic turnoff
es est_playplayer server_var(wcs_userid) ambient/wind/wind_snippet2.wav
}

event round_end
{
es_cexec event_var(userid) r_screenoverlay 0
es_keysetvalue WCSuserdata event_var(userid) ward 0
}

MfG, Maxi
Nach oben Nach unten
Benutzerprofil anzeigen http://scheiterhaufen.info/index.php?site=profile&id=32
 
Race: Witch Doctor
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: