PDA

View Full Version : so i want to get into making races



callo
03-27-2010, 10:30 PM
and i seem to have no clue where to begin
ive googled a bit and so far i have found a few templates and just sorta made it tweaked them slightly. this is the purest of pure cookie cutter bs and im curious if im headed down teh right path if i ended up with notepad open and this inside.

ty for read and let me know if i am a complete moron.



"7"
{
"name" "Flash"
"author" "{tag}callo"
"required_level" "50"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "0"
"preloadcmd" "0"
"player_spawn_cmd" "0"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "1"
"numberoflevels" "5"
"skillnames" "Run fast"
"skilldescr" "Run faster"
"skillcfg" "player_spawn"

"skill1_setting" "es_xsetinfo wcs_speed 1.1;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.3;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.5;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.7;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.8;es_xsetinfo wcs_alpha 130"
"skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es es_xtell event_var(userid) #multi #greenMagic m3: #lightgreenYou're all buttered up!"
"skill1_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/smoke.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 60 1 4 2 0 255 100 0 255 0"

XxMastagunzxX
03-27-2010, 10:40 PM
You need to make a race called Mastagunz....because I fucking own.

callo
03-27-2010, 10:43 PM
once i get much better i will begin to take suggestions and possibly make races like that though they will most likely not be integrated into any server any time soon

acolyte_to_jippity
03-27-2010, 10:56 PM
probably not. we don't want our server filled to the brim w/ races. a (relatively) small group are all we want/need. though feel free to make some and submit them. a few of the best might get implemented, after balancing of course.

callo
03-27-2010, 10:58 PM
im gonna be making them for the fun of making them and if i ever get my own server i could use them there. im just here to see if anyone who knows anything about making races can tell me if im headed the right way or if i completely off base

ZERO
03-27-2010, 11:14 PM
You want to separate the config controller from the actual code and just use method calls to an external script. This is much easier to work with and also allows the ability for more complex programs. You also are not taking into consideration when to and not to use es_x commands. If you use them when you should not it will be extremely laggy. Also setinfo should NEVER be used unless you have no other choice as set is faster.

You got the syntax down but so far this is a good example of why the server is so buggy b/c your current knowledge is what a lot of people try to program with and it turns into a cluster fuck that I got to reprogram. The real issue is the use of es_x and other arguments in es. It is a really confusing language but if you learn the fastest commands you will be set. I can tell you from experience that if you do not code it to run quickly it will fuck things up.

Also I am sure there is a way to preform the logic of your speed operation after. Even the simplicity of the logic needs to be perfect or it will lag like a bitch. I am trying to understand what the code in the command is doing can you explain? NVM I see this is just taken from the flame pred, this is a good example of how many things cause lag in the server that I have had to fix.

ZERO
03-27-2010, 11:31 PM
Here take for example the code from my santa race simplified to be like yours:



"name" "Santa"
"author" "ZERO"
"required_level" "320"
"maximum_level" "0"
"allow_only" "0"
"teamlimit" "0"
"preloadcmd" "0"
"player_spawn_cmd" "es_doblock zero_race/Santa/Santa_Spawn"
"round_start_cmd" "0"
"round_end_cmd" "0"
"numberofskills" "4"
"numberoflevels" "4"
"skillnames" "Sleigh"
"skilldescr" "Fly around at increasing speed."
"skillcfg" "player_ultimate"

"skill1_setting" "es_set Santa_Speed 1.5|es_set Santa_Speed 2|es_set Santa_Speed 2.5|es_set Santa_Speed 3"
"skill1_cmd" "es_doblock zero_race/Santa/Fly"
"skill1_sfx" "0"
"ultimate_cooldown" "1"

From zero_race/es_Santa.txt (code for this effect was ripped off the dragon fly)


block Fly
{
es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(wcs_userid)
es_math wcs_z2 + 20
es est_effect 10 #a 0 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 10 10 0 255 0 0 255 1
es est_effect 10 #a 0.2 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 5 10 0 255 255 255 255 1
es_math wcs_z2 + 20
es est_effect 10 #a 0.4 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 10 10 0 255 0 0 255 1
es est_effect 10 #a 0.6 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 5 10 0 255 255 255 255 1
es_math wcs_z2 + 20
es est_effect 10 #a 0.8 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 10 10 0 255 0 0 255 1
es est_effect 10 #a 1 vgui/gfx/vgui/cs_logo.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 80 90 1.6 5 10 0 255 255 255 255 1
es es_xkeygetvalue Dragon_Flyer WCSuserdata server_var(wcs_userid) Dragon_Flyer
if (server_var(Dragon_Flyer) = 0) do
{
es est_playplayer server_var(wcs_userid) wcs/zero/santa/jingle_bells.wav
es es_xkeysetvalue WCSuserdata server_var(wcs_userid) Dragon_Flyer 1
es est_jetpack server_var(wcs_userid) 1
es est_speed server_var(wcs_userid) server_var(Santa_Speed)
es est_setplayercolor server_var(wcs_userid) 115 15 15 175 1
es_set entityCount 0
es_set dfly ""
es_formatv dfly "smoke_%1" entityCount
es_give server_var(wcs_userid) env_Smokestack
es est_SetEntName server_var(eventscripts_lastgive) server_var(dfly)
es_fire server_var(wcs_userid) server_var(dfly) addoutput "basespread 15"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "spreadspeed 100"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "speed 50"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "startsize 15"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "endsize 25"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "rate 200"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "jetlength 100"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "twist 5"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "SmokeMaterial particle\fire.vmt"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "angles 90 90 90"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "rendermode 18"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "renderamt 100"
es_fire server_var(wcs_userid) server_var(dfly) addoutput "rendercolor 255 255 255"
es_fire server_var(wcs_userid) server_var(dfly) setparent !activator
es_fire server_var(wcs_userid) server_var(dfly) turnon
es_math entityCount + 1
}
if (server_var(Dragon_Flyer) = 1) do
{
es es_xkeysetvalue WCSuserdata server_var(wcs_userid) Dragon_Flyer 0
es est_jetpack server_var(wcs_userid) 0
es est_speed server_var(wcs_userid) 1
es est_setplayercolor server_var(wcs_userid) 255 225 225 255 1
es_fire server_var(wcs_userid) server_var(dfly) kill
}
}

In this code you see an example of how the logic that you copy and pasted can be simplified even without making a method:


"skill2_setting" "es_set wcs_multiplier 1.2;es_set wcs_speed 1.1|es_set wcs_multiplier 1.3;es_set wcs_speed 1.2|es_set wcs_multiplier 1.4;es_set wcs_speed 1.2|es_set wcs_multiplier 1.5;es_set wcs_speed 1.2|es_set wcs_multiplier 1.6;es_set wcs_speed 1.2|es_set wcs_multiplier 1.8;es_set wcs_speed 1.3|es_set wcs_multiplier 2.4;es_set wcs_speed 1.3|es_set wcs_multiplier 2.6;es_set wcs_speed 1.4"
"skill2_cmd" "es es_keysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);es est_speed event_var(userid) server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es es_tell event_var(userid) #multi server_var(wcs_lng)"
"skill2_sfx" "es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 dev/ocean.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 60 70 3 30 100 0 255 100 100 255 10"


Note how there are few if statements or calls only data being set. The least amount of code possible always needs to be used. In fact I should probably go in the next few weeks and try to clean up and overhaul a lot of this bad code so that the lag is reduced.

callo
03-28-2010, 12:17 AM
thanks i will be able to use your coding as a great reference for flash

i will get to work on this all tomorrow tho since its 1 am where i am and ive been dead tired due to work since about 8.

callo
03-29-2010, 11:39 AM
Just a quick update on a bit ive worked on for this morning
lets see ive coded more of the passive run ability and ive begun working on an ability dash . lmk if you notice any obvious errors as being so new at this i am sure i will make some if not many.


"name" "Flash"
"author" "Callo"
"required_level" "210"
"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" "8"
"skillnames" "run|dash|"
"skilldescr" "passive speed bonus|quickly dash to another location||run

at blinding speeds"
"skillcfg" "player_spawn|player_ability|player_spawn|player_ul timate"

"skill1_setting" "es_set Flash_speed 1.3|es_set Flash_speed 1.4|es_set

Flash_speed 1.5|es_set Flash_Speed 1.6|es_set Flash_Speed 1.7|es_set

Flash_Speed 1.8|es_set Flash_Speed 1.9|es_set Flash_Speed 2"
"skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var

(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then

es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var

(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata

event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng

wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill1_cmd" "es wcs_setfx speed event_var(userid) = server_var

(wcs_speed)"
"skill1_sfx" "0"
"ultimate_cooldown" "1"

"skill2_setting" "es_xsetinfo wcs_range 1000 ;ability_cooldown

7|es_xsetinfo wcs_range 1000 :ability_cooldown 6|es_xsetinfo wcs_range 1000

:ability_cooldown 5|es_xsetinfo wcs_range 1000 :ability_cooldown

4|es_xsetinfo wcs_range 1000 :ability_cooldown 3|es_xsetinfo wcs_range 1000

:ability_cooldown 2|es_xsetinfo wcs_range 1000 :ability_cooldown

1|es_xsetinfo wcs_range 1000 :ability_cooldown 0"
"skill2_cmd" "es_ wcs_setfx range eventvar(userid) = server_var

(wcs_range)"
"skill1"sfx" "0"

"

acolyte_to_jippity
03-29-2010, 11:42 AM
hmmm, just a sudden thought. what if when you activated your ult (or make this an active ability) you flash anyone near you?

like setting off a flashbang at your feet whenever you use it.

callo
03-29-2010, 01:02 PM
hmm well did marvel comics flash have that ability?

the name scheme works well but if he didnt have any ability like that then id rather just keep it simple seeing as this is my 1st race T.T

think of him like a demo race for me to practice with

if i can though i want to make an animation of lightning between him and the point hes dashing too

acolyte_to_jippity
03-29-2010, 01:33 PM
...marvel comics flash?

he couldn't do shit. he could eat a shit-ton of food, and run fast.

that's fucking it.

you want someone w/ powers, you go for gambit

callo
03-29-2010, 01:41 PM
thats sorta the reason i picked flash. hes s simple character for my 1st time coding

callo
03-30-2010, 12:22 PM
here is what i have so far . all that is left is the ability
what the ability is gonna do is when activates it will knockback people close to you but your screen will be spinning rapidly. those seem simple enough with
something like es_xset wcs_radius 12;es_xset wcs_push 12 and then growing for each level and ofc i think a cd would be implemented


"name" "Flash"
"author" "Callo"
"required_level" "210"
"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" "8"
"skillnames" "run|dash|Flash Whirl|ultimate speed"
"skilldescr" "passive speed bonus|long jump|Flash spins very quickly

knocking people back|run at BLINDING speeds"
"skillcfg" "player_spawn|player_ability|player_spawn|player_ul timate"

"skill1_setting" "es_set Flash_speed 1.3|es_set Flash_speed 1.4|es_set

Flash_speed 1.5|es_set Flash_Speed 1.6|es_set Flash_Speed 1.7|es_set

Flash_Speed 1.8|es_set Flash_Speed 1.9|es_set Flash_Speed 2"
"skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var

(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then

es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var

(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata

event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng

wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill1_cmd" "es wcs_setfx speed event_var(userid) = server_var

(wcs_speed)"
"skill1_sfx" "0"
"ultimate_cooldown" "1"

"skill2_setting" "es_xset wcs_multiplier 1.2|es_xset wcs_multiplier

1.3|es_xset wcs_multiplier 1.4|es_xset wcs_multiplier 1.5|es_xset

wcs_multiplier 1.6|es_xset wcs_multiplier 1.7|es_xset wcs_multiplier

1.8|es_xset wcs_multiplier 2"
"skill2_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid)

longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng

wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1

server_var(wcs_userid);es est_effect 10 #a 0 dev/ocean.vmt server_var

(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 60 70 3 30 100 0 255 100 100

255 10"




"skill4_setting" "es_xset wcs_duration 5|es_xset wcs_duration 8|es_xset

wcs_duration 11|es_xset wcs_duration 14|es_xset wcs_duration 17|es_xset

wcs_duration 20|es_xset wcs_duration 23|es_xset wcs_duration 26"
"skill4_cmd" "es est_playplayer server_var(wcs_userid)

ambient\explosions\explode_7.wav;es_xtell server_var(userid) #multi

#lightgreen : Got a #green speed boost #lightgreen for #green(wcs_duration)

seconds.;es est_speed server_var(wcs_userid) 3.0;es es_xdelayed server_var

(wcs_duration) est_speed server_var(wcs_userid) 1.0;es_xmath wcs_duration -

1;es es_xdelayed server_var(wcs_duration) es_xtell server_var(wcs_userid)

#multi #lightgreen : becoming #green slow #lightgreen again

...;racealias_invspb4"
"skill4_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" "30"

"

callo
03-30-2010, 01:33 PM
almost finished , just need a cmd line for a skill3 and a coding to make your screen spin for a second or two

also want to test flash whirl since im not sure exactly how large 16-30 range is
i get the feeling there is something else im missing but i will look into it later as ive been working on it all morning and feel like taking a break



"name" "Flash"
"author" "Callo"
"required_level" "210"
"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" "8"
"skillnames" "run|dash|Flash Whirl|ultimate speed"
"skilldescr" "passive speed bonus(1.3 to 2)|long jump (1.2 to 2)|Flash

spins very quickly knocking people back(higher levels equal larger range and

longer knockback)|run at BLINDING speeds(higher levels increase duration)"
"skillcfg" "player_spawn|player_spawn|player_ability|player_ul timate"

"skill1_setting" "es_set Flash_speed 1.3|es_set Flash_speed 1.4|es_set

Flash_speed 1.5|es_set Flash_Speed 1.6|es_set Flash_Speed 1.7|es_set

Flash_Speed 1.8|es_set Flash_Speed 1.9|es_set Flash_Speed 2"
"skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var

(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then

es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var

(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata

event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng

wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill1_cmd" "es wcs_setfx speed event_var(userid) = server_var

(wcs_speed)"
"skill1_sfx" "0"
"ultimate_cooldown" "1"

"skill2_setting" "es_xset wcs_multiplier 1.2|es_xset wcs_multiplier

1.3|es_xset wcs_multiplier 1.4|es_xset wcs_multiplier 1.5|es_xset

wcs_multiplier 1.6|es_xset wcs_multiplier 1.7|es_xset wcs_multiplier

1.8|es_xset wcs_multiplier 2"
"skill2_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid)

longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng

wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1

server_var(wcs_userid);es est_effect 10 #a 0 dev/ocean.vmt server_var

(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 60 70 3 30 100 0 255 100 100

255 10"

"skill3_setting" "es_xset wcs_radius 16;es_xsetinfo kback 16|es_xset

wcs_radius 18;es_xsetinfo kback 18|es_xset wcs_radius 20;es_xsetinfo kback

20|es_xset wcs_radius 22;es_xsetinfo kback 22|es_xset wcs_radius

24;es_xsetinfo kback 24|es_xset wcs_radius 26;es_xsetinfo kback 26|es_xset

wcs_radius 28;es_xsetinfo kback 28|es_xset wcs_radius 30;es_xsetinfo kback

30"
"skill3_cmd" " ******************* "
"skill3_sfx" "0"
"ultimate_cooldown" "10"

StarsMine
03-30-2010, 01:38 PM
Someone should make a Spy class, Oh look its my team, Boom knife in the face.

acolyte_to_jippity
03-30-2010, 01:49 PM
Someone should make a Spy class, Oh look its my team, Boom knife in the face.

you mean back

callo
03-30-2010, 02:36 PM
http://www.halolz.com/wp-content/uploads/2010/01/halolz-dot-com-batman-whostheman-comic.jpg

callo
03-30-2010, 04:20 PM
alrite this should be the finished code, would like a a second opinion to see if i missed something that could cause an issue


"name" "Flash"
"author" "Callo"
"required_level" "210"
"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" "8"
"skillnames" "run|dash|Flash Whirl|ultimate speed"
"skilldescr" "passive speed bonus(1.3 to 2)|long jump (1.2 to 2)|Flash spins very quickly knocking people back(higher levels equal larger range and longer knockback)|run at blinding speeds(higher levels increase duration)"
"skillcfg" "player_spawn|player_spawn|player_ability|player_ul timate"
"skill1_setting" "es_set Flash_speed 1.3|es_set Flash_speed 1.4|es_set Flash_speed 1.5|es_set Flash_Speed 1.6|es_set Flash_Speed 1.7|es_set Flash_Speed 1.8|es_set Flash_Speed 1.9|es_set Flash_Speed 2"
"skill1_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);es es_xif (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill1_cmd" "es wcs_setfx speed event_var(userid) = server_var(Flash_speed)"
"skill1_sfx" "0"
"ultimate_cooldown" "1"
"skill2_setting" "es_xset wcs_multiplier 1.2|es_xset wcs_multiplier 1.3|es_xset wcs_multiplier 1.4|es_xset wcs_multiplier 1.5|es_xset wcs_multiplier 1.6|es_xset wcs_multiplier 1.7|es_xset wcs_multiplier 1.8|es_xset wcs_multiplier 2"
"skill2_cmd" "es es_xkeysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"
"skill2_sfx" "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 dev/ocean.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 60 70 3 30 100 0 255 100 100 255 10"
"skill3_setting" "es_xset wcs_radius 16;es_xsetinfo kback 16;es_cexec +left|es_xset wcs_radius 18;es_xsetinfo kback 18;es_cexec +left|es_xset wcs_radius 20;es_xsetinfo kback 20;es_cexec +left|es_xset wcs_radius 22;es_xsetinfo kback 22;es_cexec +left|es_xset wcs_radius 24;es_xsetinfo kback 24;es_cexec +left|es_xset wcs_radius 26;es_xsetinfo kback 26;es_cexec +left|es_xset wcs_radius 28;es_xsetinfo kback 28;es_cexec +left|es_xset wcs_radius 30;es_xsetinfo kback 30;es_cexec +left"
"skill3_cmd" "es_cexec +left;if (server_var(wcs_radius) >= server_var(wcs_radius)) then (kback)"
"skill3_sfx" "0"
"ability_cooldown" "10"
"skill4_setting" "es_xset wcs_duration 5|es_xset wcs_duration 8|es_xset wcs_duration 11|es_xset wcs_duration 14|es_xset wcs_duration 17|es_xset wcs_duration 20|es_xset wcs_duration 23|es_xset wcs_duration 26"
"skill4_cmd" "es est_playplayer server_var(wcs_userid) ambient\explosions\explode_7.wav;es_xtell server_var(userid) #multi #lightgreen : Got a #green speed boost #lightgreen for #green(wcs_duration) seconds.;es est_speed server_var(wcs_userid) 3.0;es es_xdelayed server_var(wcs_duration) est_speed server_var(wcs_userid) 1.0;es_xmath wcs_duration - 1;es es_xdelayed server_var(wcs_duration) es_xtell server_var(wcs_userid) #multi #lightgreen : becoming #green slow #lightgreen again ...;racealias_invspb4"
"skill4_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" "30"