Ссылка на Сообщение
#1
17.2.2010, 17:07
LOTR: Ent
More characters from Lord of the Rings movie!
(Need ultimate script!)
More characters from Lord of the Rings movie!
(Need ultimate script!)
CODE
"6"
{
"name" "Ent"
"author" "Jiggis"
"shortdescription" "Lord of the Rings"
"required_level" "70"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "1"
"restrict_shop" "0"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "3"
"numberoflevels" "8"
"skillnames" "Ent Strenght|Natural Healing|Ent Smash"
"skilldescr" "Damage|Healing|Earth Quake"
"skillcfg" "player_attacker|player_spawn|player_ultimate"
"skill1_setting" "es_xsetinfo wcs_damage 3;es_xsetinfo wcs_chance 13|es_xsetinfo wcs_damage 7;es_xsetinfo wcs_chance 18|es_xsetinfo wcs_damage 9;es_xsetinfo wcs_chance 22|es_xsetinfo wcs_damage 13;es_xsetinfo wcs_chance 33|es_xsetinfo wcs_damage 15;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_damage 13;es_xsetinfo wcs_chance 23|es_xsetinfo wcs_damage 18;es_xsetinfo wcs_chance 30|es_xsetinfo wcs_damage 25;es_xsetinfo wcs_chance 20"
"racealias_deathsd2""es est_playplayer event_var(userid) ambient\explosions\explode_9.wav;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es est_csay event_var(attacker) server_var(wcs_damage);es est_csay event_var(userid) server_var(wcs_damage) additional damage;racealias_voidsh22"
"racealias_voidsh22""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_toptext event_var(attacker) 1 #pink Effects by HOLLIDAY;es est_effect 10 #a 0 sprites/scanner.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2"
"skill1_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_deathsd2"
"skill1_sfx" "0"
"skill2_setting" "es_xsetinfo wcs_hp 4;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 14;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 7;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 220|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 14;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 20;es_xsetinfo wcs_time 5;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250"
"skill2_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid) regeneration 1;es es_xkeysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 server_var(wcs_waves) server_var(wcs_radius)"
"skill2_sfx" "0"
"skill3_setting" "es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 800"
"skill3_cmd" "es_xdoblock wcs/WCSultimates/wcs_ulti_quake"
"skill3_sfx" "0"
"ultimate_cooldown" "5"
}
//Ultimate script, put this in your "es_WCSultimates.txt"
block wcs_ulti_quake
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_quake start
es_xsetinfo wcs_team_target 0
es es_xgetplayerteam wcs_team server_var(wcs_userid)
// check teams (T=2, CT=3)
es es_xif (server_var(wcs_team) = 2) do
{
es_xsetinfo wcs_team_target 3
es_xsetinfo wcs_team_targetn "#c!d"
}
es es_xif (server_var(wcs_team) = 3) do
{
es_xsetinfo wcs_team_target 2
es_xsetinfo wcs_team_targetn "#t!d"
}
es es_xif (server_var(wcs_team_target) != "0") do
{
es_xsetinfo wcs_pcount 0
es es_xgetlivingplayercount wcs_pcount server_var(wcs_team_target)
es es_xif (server_var(wcs_pcount) > 0) do
{
es_xsetinfo wcs_wall "1"
alias wcs_run_ulti_quake1 "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_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_ulti_quake2"
alias wcs_run_ulti_quake2 "es_xsetinfo wcs_immunity 0;es es_xkeygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_quake3;es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v);es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_quake4"
alias wcs_run_ulti_quake4 "es_toptext server_var(wcs_userid) 1 #pink Effects by HOLLIDAY;es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 1.8 175 175 255 255 1;es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 3.8 255 75 25 255 5;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 30 50 3 50 100 2 255 75 25 255 2"
alias wcs_run_ulti_quake3 "es_xmath wcs_counter + 1;es es_xif (server_var(wcs_graphicfx) = 1) then es est_effect 3 #a 2.5 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 13 16 255 75 25 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_physpush server_var(wcs_userid) 0 0 500;es es_delayed 1 est_pushto server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1;wcs_run_ulti_quake5"
alias wcs_run_ulti_quake5 "es es_delayed 1.2 est_shake server_var(wcs_targetid) 3 5 7;es es_delayed 1.2 est_shake server_var(wcs_userid) 3 5 7;es es_delayed 1.3 wcs_dealdamage server_var(wcs_userid) server_var(wcs_targetid) 10;es es_delayed 1.2 est_playplayer server_var(wcs_userid) weapons/hegrenade/explode4.wav;es es_delayed 1.2 est_playplayer server_var(wcs_targetid) weapons/hegrenade/explode4.wav"
es_xsetinfo wcs_counter 0
es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es es_xexists wcs_exists userid server_var(wcs_targetid);es es_xif (server_var(wcs_exists) = 1) then es_xif (server_var(wcs_counter) < server_var(wcs_maxtargets)) then wcs_run_ulti_quake1"
es es_xif (server_var(wcs_counter) > 0) do
{
esnq est_csay server_var(wcs_userid) Earth Quake hit server_var(wcs_counter) players!
}
es_xelse do
{
es_xsetinfo wcs_ultinotexec 1
}
}
es_xelse do
{
es_xsetinfo wcs_ultinotexec 1
}
}
es es_xif (server_var(wcs_ultinotexec) = 1) then es_xtell server_var(wcs_userid) #multi #greenEarth Quake #lightgreenfailed because no enemies were close
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_quake end
}
{
"name" "Ent"
"author" "Jiggis"
"shortdescription" "Lord of the Rings"
"required_level" "70"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "1"
"restrict_shop" "0"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "3"
"numberoflevels" "8"
"skillnames" "Ent Strenght|Natural Healing|Ent Smash"
"skilldescr" "Damage|Healing|Earth Quake"
"skillcfg" "player_attacker|player_spawn|player_ultimate"
"skill1_setting" "es_xsetinfo wcs_damage 3;es_xsetinfo wcs_chance 13|es_xsetinfo wcs_damage 7;es_xsetinfo wcs_chance 18|es_xsetinfo wcs_damage 9;es_xsetinfo wcs_chance 22|es_xsetinfo wcs_damage 13;es_xsetinfo wcs_chance 33|es_xsetinfo wcs_damage 15;es_xsetinfo wcs_chance 20|es_xsetinfo wcs_damage 13;es_xsetinfo wcs_chance 23|es_xsetinfo wcs_damage 18;es_xsetinfo wcs_chance 30|es_xsetinfo wcs_damage 25;es_xsetinfo wcs_chance 20"
"racealias_deathsd2""es est_playplayer event_var(userid) ambient\explosions\explode_9.wav;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es est_csay event_var(attacker) server_var(wcs_damage);es est_csay event_var(userid) server_var(wcs_damage) additional damage;racealias_voidsh22"
"racealias_voidsh22""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_toptext event_var(attacker) 1 #pink Effects by HOLLIDAY;es est_effect 10 #a 0 sprites/scanner.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 350 2 90 200 0 155 155 155 155 2"
"skill1_cmd" "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_deathsd2"
"skill1_sfx" "0"
"skill2_setting" "es_xsetinfo wcs_hp 4;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 14;es_xsetinfo wcs_radius 200|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 7;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 220|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 5;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 14;es_xsetinfo wcs_time 8;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250|es_xsetinfo wcs_hp 20;es_xsetinfo wcs_time 5;es_xsetinfo wcs_waves 12;es_xsetinfo wcs_radius 250"
"skill2_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid) regeneration 1;es es_xkeysetvalue WCSuserdata event_var(userid) regen_round server_var(wcs_roundcounter);es wcs_regeneration event_var(userid) server_var(wcs_hp) server_var(wcs_time) 150 server_var(wcs_waves) server_var(wcs_radius)"
"skill2_sfx" "0"
"skill3_setting" "es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 800"
"skill3_cmd" "es_xdoblock wcs/WCSultimates/wcs_ulti_quake"
"skill3_sfx" "0"
"ultimate_cooldown" "5"
}
//Ultimate script, put this in your "es_WCSultimates.txt"
block wcs_ulti_quake
{
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_quake start
es_xsetinfo wcs_team_target 0
es es_xgetplayerteam wcs_team server_var(wcs_userid)
// check teams (T=2, CT=3)
es es_xif (server_var(wcs_team) = 2) do
{
es_xsetinfo wcs_team_target 3
es_xsetinfo wcs_team_targetn "#c!d"
}
es es_xif (server_var(wcs_team) = 3) do
{
es_xsetinfo wcs_team_target 2
es_xsetinfo wcs_team_targetn "#t!d"
}
es es_xif (server_var(wcs_team_target) != "0") do
{
es_xsetinfo wcs_pcount 0
es es_xgetlivingplayercount wcs_pcount server_var(wcs_team_target)
es es_xif (server_var(wcs_pcount) > 0) do
{
es_xsetinfo wcs_wall "1"
alias wcs_run_ulti_quake1 "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_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_ulti_quake2"
alias wcs_run_ulti_quake2 "es_xsetinfo wcs_immunity 0;es es_xkeygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_quake3;es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);es es_xif (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v);es es_xif (server_var(wcs_immunity) = 0) then wcs_run_ulti_quake4"
alias wcs_run_ulti_quake4 "es_toptext server_var(wcs_userid) 1 #pink Effects by HOLLIDAY;es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 1.8 175 175 255 255 1;es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 5000 2 100 300 3.8 255 75 25 255 5;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es est_effect 10 #a 2.5 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 30 50 3 50 100 2 255 75 25 255 2"
alias wcs_run_ulti_quake3 "es_xmath wcs_counter + 1;es es_xif (server_var(wcs_graphicfx) = 1) then es est_effect 3 #a 2.5 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 13 16 255 75 25 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_physpush server_var(wcs_userid) 0 0 500;es es_delayed 1 est_pushto server_var(wcs_userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1;wcs_run_ulti_quake5"
alias wcs_run_ulti_quake5 "es es_delayed 1.2 est_shake server_var(wcs_targetid) 3 5 7;es es_delayed 1.2 est_shake server_var(wcs_userid) 3 5 7;es es_delayed 1.3 wcs_dealdamage server_var(wcs_userid) server_var(wcs_targetid) 10;es es_delayed 1.2 est_playplayer server_var(wcs_userid) weapons/hegrenade/explode4.wav;es es_delayed 1.2 est_playplayer server_var(wcs_targetid) weapons/hegrenade/explode4.wav"
es_xsetinfo wcs_counter 0
es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es es_xexists wcs_exists userid server_var(wcs_targetid);es es_xif (server_var(wcs_exists) = 1) then es_xif (server_var(wcs_counter) < server_var(wcs_maxtargets)) then wcs_run_ulti_quake1"
es es_xif (server_var(wcs_counter) > 0) do
{
esnq est_csay server_var(wcs_userid) Earth Quake hit server_var(wcs_counter) players!
}
es_xelse do
{
es_xsetinfo wcs_ultinotexec 1
}
}
es_xelse do
{
es_xsetinfo wcs_ultinotexec 1
}
}
es es_xif (server_var(wcs_ultinotexec) = 1) then es_xtell server_var(wcs_userid) #multi #greenEarth Quake #lightgreenfailed because no enemies were close
es es_xif (server_var(wcs_debug) = "1") then echo wcs_ulti_quake end
}