Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-02-19 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 19, 2009, 04:07:18 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame - Designer
Must Visit it
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: [L4D] Boomer  (Read 26 times)
WCA | Maxxi [NL]
Level 7 Expert
*****
Online Online

Netherlands Netherlands

Posts: 839



WWW
16maxpayne16

myServer 81.26.221.156:27015
(Warning: click connects through Steam)
« on: February 17, 2009, 04:21:00 PM »

Boomer


Skills:
Boomer Barf: Blind enemy
Boomer Health: Lower hp but 1-2 respawns
Boomer Explode: push enemys away and blind them

this is what im gonna make but i want another skill and i have no clue what i want for it so any idea is welcome Tongue

this is for in the es_WCSracefile_db.txt
Code:
""
{
"name" "[L4D]Boomer"
"author" "Mitchel"
"required_level" "0"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "1"
"preloadcmd" "0"
"player_spawn_cmd" "es est_health event_var(userid) 70;es_tell event_var(userid) #multi #greenYou spawned with 70% health"
"round_start_cmd" "es_keysetvalue WCSuserdata event_var(userid) boomer_max 0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "4"
"skillnames"        "Boomer Barf|Boomer Health|Boomer Explode"
"skilldescr"        "Blind enemy for 2-4 seconds. 10-20% chance|You have lower hp but you can respawn faster. Max respawns 1-2|Explode. Blind and Push awat enemy's" 
"skillcfg" "player_attacker|player_death|player_death"

"skill1_setting" "es_xset wcs_chance 10;es_xset wcs_blind 120;es_xset wcs_duration 2|es_xset wcs_chance 13;es_xset wcs_blind 140;es_xset wcs_duration 2|es_xset wcs_chance 16;es_xset wcs_blind 160;es_xset wcs_duration 3|es_xset wcs_chance 20;es_xset wcs_blind 180;es_xset wcs_duration 4"
"skill1_cmd" "es est_fade event_var(userid) 0 5 server_var(wcs_duration) 50 255 50 server_var(wcs_blind);es_tell event_var(userid) #multi #greenYou are now blinded for #lightgreen server_var(wcs_duration) #greenseconds.;es_tell event_var(attacker) #multi #greenYou have blinded your enemy for #lightgreen server_var(wcs_duration) #greenseconds."
"skill1_sfx" "0"

"skill2_setting" "es_xset wcs_max 1|es_xset wcs_max 1|es_xset wcs_max 2|es_xset wcs_max 2"
"racealias_boh0" "es_xmath boomer_max + 1;sses_keysetvalue WCSuserdata event_var(userid) boomer_max server_var(boomer_max);es_delay 2.5 est_spawn server_var(userid);es_tell event_var(userid) #multi #greenYou have respawned with 70% of your health"
"skill2_cmd" "es_xset boomer_max 0;es_keygetvalue boomer_maxif WCSuserdata event_var(userid) boomer_max;if (server_var(boomer_max) <= server_var(wcs_max)) then racealias_boh0"
"skill2_sfx" "0"

"skill3_setting"    "es_xset wcs_chance 40;es_xset wcs_blind 170;es_xset wcs_radius 180|es_xset wcs_chance 50;es_xset wcs_blind 190;es_xset wcs_radius 200|es_xset wcs_chance 60;es_xset wcs_blind 210;es_xset wcs_radius 240|es_xset wcs_chance 70;es_xset wcs_blind 230;es_xset wcs_radius 260"
"skill3_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/WCSultimates/boomer_explode"
"skill3_sfx"        "0"
}

and this is for the es_WCSultimates.txt
Code:
block boomer_explode
{
es_xset wcs_team_target 0
es_getplayerteam wcs_team server_var(wcs_userid)
ifx parse("wcs_team == 2") do
{
es_xset wcs_team_target 1
es_xset wcs_team_targetn "#c!d"
}
ifx parse("wcs_team == 3") do
{
es_xset wcs_team_target 1
es_xset wcs_team_targetn "#t!d"
}
ifx true(wcs_team_target) do
{
es_xset wcs_pcount 0
es_getlivingplayercount wcs_pcount server_var(wcs_team_target)
ifx parse("wcs_pcount > 0") do
{
alias boomer_explode0 "es_xset wcs_immunity 0;es_keygetvalue wcs_immunity WCSuserdata server_var(wcs_targetid) ulti_immunity;if (server_var(wcs_immunity) = 0) then boomer_explode1;if (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng_ulti_immunity_a);if (server_var(wcs_immunity) != 0) then es_xtell server_var(wcs_targetid) #multi server_var(wcs_lng_ulti_immunity_v)"
alias boomer_explode1 "es_xmath wcs_counter + 1;es est_fade server_var(wcs_targetid) 0 5 5 50 255 50 server_var(wcs_blind);es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_targetid);es_xmath wcs_x1 - 50;es est_pushto server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2;es_tell server_var(wcs_targetid) #multi #greenBoomer Explode hit you and you are blinded and pushed away."
es_xset wcs_counter 0
es est_Near wcs_targetid server_var(wcs_team_targetn) server_var(wcs_radius) server_var(wcs_userid) "es_exists ex userid server_var(wcs_targetid);if (server_var(ex) = 1) then boomer_explode0"
}
ifx parse("wcs_counter > 0") do
{
es_tell server_var(wcs_userid) #multi #greenBoomer Explode hit #lightgreen server_var(wcs_counter) #greenplayers!
}
}
}

its not yet finished but i need a bit of inspiration Wink

enjoy and tell meif you found any bugs
« Last Edit: February 18, 2009, 11:43:58 AM by WCA | Maxxi [NL] » Logged

Server = work in progress Smiley


Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:12:49 PM
berett' get in the kitchen!
Today at 12:05:45 PM
samurai get on steam Cheesy
February 18, 2009, 10:19:23 PM
Cheesy
February 18, 2009, 10:18:58 PM
MITCHEL GET ON MSN
February 18, 2009, 09:00:41 PM
oh lol namo
you feared us Tongue
which then would be:
oh lol namo
you scared us:P
February 18, 2009, 08:39:17 PM
is there an wcs_ultimates file with nearly all ultimate blocks?!
cuz there is a bug in my file and i don't want to search every ulti block for the races =/
February 18, 2009, 08:33:54 PM
omfg Cheesy
thanks for it Smiley
Recent
[Today at 04:05:41 PM]

[Today at 03:18:58 PM]

[Today at 03:18:52 PM]

[Today at 02:53:21 PM]

by Hiro
[Today at 02:49:23 PM]

[Today at 02:43:55 PM]

[Today at 02:23:39 PM]

[Today at 11:45:21 AM]

[Today at 10:49:15 AM]

[Today at 10:46:58 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.039 seconds with 26 queries.