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 2010-01-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 03, 2010, 09:03:35 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
Google  
  Home   Forum   Help Search Login Register   *
Poll
Question: Does the Race work without problems?  (Voting closed: December 13, 2009, 12:35:59 AM)
Yes! 0 (0%)
nope... 0 (0%)
Some skills doesnt work! 0 (0%)
Total Voters: 0

Pages: [1] 2   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Chev Chelious CRANK  (Read 175 times)
cheffi
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 4




chefkoch_1337
« on: December 06, 2009, 12:35:59 AM »

Code
GeSHi (eventscripts):
"name"              "Chev Chelious"
   "Author"            "cHeffi"
   "shortdescription"  "Fu** you Chev Chelious!"
   "required_level"    "???"
   "allow_only"        "1"
   "teamlimit"         "1"
   "preloadcmd"        "0"
   "player_spawn_cmd"  "es est_SetHealth event_var(userid) 400;es est_Speed event_var(userid) 1.5; es es_xdelayed 0.5 est_setclipammo event_var(userid) 1 999;es est_gamestarted wcs_tmp;es es_xif (server_var(wcs_tmp) = 0) then es_xkeysetvalue WCSuserdata event_var(userid) Second_Strike 1"
   "round_end_cmd"     "0"
   "numberofskills"    "5"
   "numberoflevels"    "5"
   "skillnames"        "Crank-DMG|Crank-Jumping Power|Crank-Weapons|The Time is gone...|Take some Epinephrin"
   "skilldescr"        "You're going enrage and make sick Damage|The Chinese-Poison makes you doing sick jumps|You'll need some Weapons for your revenge|Run Chevy... RUN!|The Epinephrin lets you run like a freak!"
   "skillcfg"          "player_attacker|player_spawn|player_spawn|player_spawn|player_ultimate"
 
"skill1_setting"    "es_xsetinfo wcs_chance 13;es_xsetinfo wcs_damage 4|es_xsetinfo wcs_chance 18;es_xsetinfo wcs_damage 5|es_xsetinfo wcs_chance 23;es_xsetinfo wcs_damage 6|es_xsetinfo wcs_chance 27;es_xsetinfo wcs_damage 8|es_xsetinfo wcs_chance 55;es_xsetinfo wcs_damage 11"
   "skill1_cmd"        "es est_gethealth wcs_tmp event_var(userid);es es_xif(event_var(health) < 20) then racealias_chevx;es est_gethealth wcs_tmp event_var(userid);es es_xif(event_var(health) > 20) then racealias_chevy;es est_gethealth wcs_tmp event_var(userid);es es_xif(event_var(health) < 5) then racealias_chevq"
   "racealias_chevq""es est_physpush event_var(userid) 0 0 900;es es_delayed 2.1 est_freeze event_var(userid) 1;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es est_playplayer event_var(userid) ambient/levels/citadel/weapon_disintegrate3.wav;es est_playplayer event_var(attacker) ambient/levels/citadel/weapon_disintegrate3.wav"
   "racealias_chev1""es_xdoblock wcs/WCSultimates/wcs_ulti_disintegrate"
   "racealias_chevx""es est_physpush event_var(userid) 0 0 300;es es_delayed 0.5 est_freeze event_var(userid) 1;es es_delayed 1.5 est_freeze event_var(userid) 0;es es_delayed 0.8 es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es es_delayed 1.3 es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 13;es est_effect 11 #a 3 sprites/glow07.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1.2 2 255;racealias_chev1"
   "racealias_chevy""es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_damage);es es_xtell event_var(attacker) #multi #lightgreen you caused #green server_var(wcs_damage) #lightgreen extra damage;es es_xtell event_var(userid) #multi #lightgreen you got #green server_var(wcs_damage) #lightgreen additional damage;racealias_chevz"
   "racealias_chevz""es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5 10 3 60 10 0 255 255 255 172 10;racealias_chevb"
   "racealias_chevb""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 + 40;es_xmath wcs_z2 + 40;es est_Effect 3 #a 0 sprites/purplelaser1.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) 1 0.5 0.5 255 255 255 255;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xmath wcs_y1 + 40;es_xmath wcs_y2 + 40;es est_Effect 3 #a 0 sprites/purplelaser1.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) 1 0.5 0.5 255 255 255 255;racealias_cheva"
   "racealias_cheva""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 + 40;es_xmath wcs_z2 + 40;es est_Effect 3 #a 0 sprites/glow.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) 1 2.5 2.5 255 255 255 255;es_xmath wcs_y1 + 40;es_xmath wcs_y2 + 40;es est_Effect 3 #a 0 sprites/glow.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) 1 2.5 2.5 255 255 255 255"
   "skill1_sfx"        "10"
 
 
"skill2_setting"    "es_xsetinfo wcs_gravity 0.92;es_xsetinfo wcs_multiplier 3.1|es_xsetinfo wcs_gravity 0.84;es_xsetinfo wcs_multiplier 3.2|es_xsetinfo wcs_gravity 0.76;es_xsetinfo wcs_multiplier 3.3|es_xsetinfo wcs_gravity 0.68;es_xsetinfo wcs_multiplier 3.4|es_xsetinfo wcs_gravity 0.68;es_xsetinfo wcs_multiplier 3.8"
   "skill2_cmd"        "es es_xdelayed 2 est_SetGravity event_var(userid) server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) gravity server_var(wcs_gravity);es es_xkeysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier)"
   "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 2 60 100 0.8 0 20 100 255 1"
 
 
"skill3_setting"    "es_xrand wcs_rand 1 30|es_xrand wcs_rand 1 25|es_xrand wcs_rand 1 20|es_xrand wcs_rand 1 15| es_xrand wcs_rand 1 10"
   "skill3_cmd"        "es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 0.5 wcs_giveitem event_var(userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 0.6 wcs_giveitem event_var(userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 0.7 wcs_giveitem event_var(userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then est_setclipammo event_var(userid) 1 es_xmath +90;es es_xif (server_var(wcs_rand) <= 10) then es_xtell event_var(userid) : You made 3 M4A1!!."
   "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (server_var(wcs_rand) <= 10) then est_Effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 40 60 2 20 10 1 10 255 0 255 1"
 
"skill4_setting"    "es_xsetinfo wcs_speed 1.09;es_xsetinfo wcs_alpha 50|es_xsetinfo wcs_speed 1.18;es_xsetinfo wcs_alpha 70|es_xsetinfo wcs_speed 1.27;es_xsetinfo wcs_alpha 90|es_xsetinfo wcs_speed 1.36;es_xsetinfo wcs_alpha 110|es_xsetinfo wcs_speed 1.40;es_xsetinfo wcs_alpha 130"
   "skill4_cmd"        "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);wcs_getlanguage wcs_lng wcs_lng_r_unholyact;es es_xtell event_var(userid) #lightgreen: You should run for your life now server_var(wcs_speed)."
   "skill4_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"
 
 
"skill5_setting"    "es_xsetinfo wcs_ymforce 0.2|es_xsetinfo wcs_ymforce 0.3|es_xsetinfo wcs_ymforce 0.4|es_xsetinfo wcs_ymforce 0.5|es_xsetinfo wcs_ymforce 6"
   "skill5_cmd"        "es est_GetViewCoord server_var(wcs_userid) wcs_x2 wcs_y2 wcs_z2;es est_PushTo server_var(wcs_userid) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(wcs_ymforce);es wcs_dealdamage server_var(wcs_userid) server_var(wcs_userid) 2;es es_xtell server_var(wcs_userid) #multi #lightgreen: CHARGE!"
   "skill5_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/plasma1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 50 425 2 90 200 0 255 0 0 155 2"
 
   "skill5_setting"    "es_xset wcs_duration 0.5|es_xset wcs_duration 1|es_xset wcs_duration 1.5|es_xset wcs_duration 2|es_xset wcs_duration 3"
   "skill5_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) 2.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 ..."
   "skill5_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" "10|9|8|7|6"

plz rate
« Last Edit: December 06, 2009, 01:36:20 AM by cheffi » Logged
‹––тєxησ––›
Level 7 Expert
*****
Offline Offline

Norway

Posts: 958


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #1 on: December 06, 2009, 12:46:06 AM »

Missing racealias ....
Logged

cheffi
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 4




chefkoch_1337
« Reply #2 on: December 06, 2009, 01:03:13 AM »

ok can anyone help me? its my first race and i dont know what i've done wrong ...
Logged
cheffi
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 4




chefkoch_1337
« Reply #3 on: December 06, 2009, 01:26:38 AM »

better?
Logged
‹––тєxησ––›
Level 7 Expert
*****
Offline Offline

Norway

Posts: 958


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #4 on: December 06, 2009, 01:32:17 AM »

Yea, but will take a look another time.
Logged

AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 724




doug_tiozao
« Reply #5 on: December 06, 2009, 01:37:33 AM »

It's not missing any racealiases.

Missing racealias ....

Instead of Posting Missing something, you have some errors, its wrong, why DONT YOU HELP THEN TELLING THEN THEIR ERRORS?
Logged

Lol?
‹––тєxησ––›
Level 7 Expert
*****
Offline Offline

Norway

Posts: 958


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #6 on: December 06, 2009, 01:43:06 AM »

Got no time....
Logged

‹––тєxησ––›
Level 7 Expert
*****
Offline Offline

Norway

Posts: 958


< Need Help ? >


WWW
texno755
gameren755

myServer 83.142.49.95:27015
(Warning: click connects through Steam)
« Reply #7 on: December 06, 2009, 01:43:52 AM »

So they can also find out themself ... that makes them better.
Logged

AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 724




doug_tiozao
« Reply #8 on: December 06, 2009, 02:07:05 AM »

If they are begginers and they don't have experience with wcs they'll never know their mistakes.
Logged

Lol?
Yiyas
Level 7 Expert
*****
Offline Offline

United Kingdom

Posts: 221


The name's Bugger. De-Bugger.



no1yiyas
no1yiyas
« Reply #9 on: December 06, 2009, 02:55:20 AM »

Avast is right, if you got no time then take turns finding errors in the skills Tongue

Skill3:

es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 0.7 wcs_giveitem event_var(userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then est_setclipammo event_var(userid) 1 es_xmath +90;
Where it's bold: that es_xmath +90 messes up the line and needs to be removed

You should get a LAN dedi going to test races if you're serious btw. It'll make finding errors easy and you wont have to bring stuff to the forums ever as long as you stick at it, read the console errors, recheck your code and use the eventscripts wiki.
Logged

AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 724




doug_tiozao
« Reply #10 on: December 06, 2009, 10:44:04 PM »

Avast is right, if you got no time then take turns finding errors in the skills Tongue

Skill3:

es es_xif (server_var(wcs_rand) <= 10) then es_xdelayed 0.7 wcs_giveitem event_var(userid) weapon_m4a1;es es_xif (server_var(wcs_rand) <= 10) then est_setclipammo event_var(userid) 1 es_xmath +90;
Where it's bold: that es_xmath +90 messes up the line and needs to be removed

You should get a LAN dedi going to test races if you're serious btw. It'll make finding errors easy and you wont have to bring stuff to the forums ever as long as you stick at it, read the console errors, recheck your code and use the eventscripts wiki.

I Agree.
Logged

Lol?
cheffi
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 4




chefkoch_1337
« Reply #11 on: December 08, 2009, 12:47:47 AM »

the rest is ok?
Logged
Frequency
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 64


Of all things lost, I miss my mind the most.


« Reply #12 on: December 08, 2009, 12:49:59 AM »

I disagree with the statement that beginners need help by others telling them whats wrong, I learned by viewing other code, putting things together and testing, in which I became actually quite good at it...
Logged



Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
gimik
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 187



« Reply #13 on: December 08, 2009, 02:24:38 AM »


You should get a LAN dedi going to test races if you're serious btw. It'll make finding errors easy and you wont have to bring stuff to the forums ever as long as you stick at it, read the console errors, recheck your code and use the eventscripts wiki.

I'm just starting out too, do you have to pay for a server to test this out?

Or what do you mean, because if i had a way to test this out i wouldn't be coming here asking for help every 5 min Cheesy
Logged




Frequency
Level 3 Trained Apprentice
***
Offline Offline

United States United States

Posts: 64


Of all things lost, I miss my mind the most.


« Reply #14 on: December 08, 2009, 02:28:42 AM »


You should get a LAN dedi going to test races if you're serious btw. It'll make finding errors easy and you wont have to bring stuff to the forums ever as long as you stick at it, read the console errors, recheck your code and use the eventscripts wiki.

I'm just starting out too, do you have to pay for a server to test this out?

Or what do you mean, because if i had a way to test this out i wouldn't be coming here asking for help every 5 min Cheesy

Look up SRCDS - it is a source dedicated server, which is free of charge and many people use them for testing.  If you do have counter-strike source, then this is the only option you have at the moment.
Logged



Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 07:03:18 PM
lol its funny somehow now all are advertising xD even the moderators :p  CLICK TO SEE
Today at 04:58:15 PM
Oki :\\ Lemme copy and go over to the other one
Today at 04:57:41 PM
We do not support this site anymore.
Please post here.
Today at 12:52:15 PM
well i'll open a thread about it to tell you all why we are moving.
It's actually cause 1. no more admins in here
2. noone respects rules, and it would take months to censore all posts where rules aren't respected.
Today at 12:51:28 PM
chuck, not because this site is fucked up that you can't be perm banned for the third time Tongue
Recent
[Today at 08:06:47 PM]

[Today at 07:52:00 PM]

[Today at 06:59:32 PM]

[Today at 06:17:46 PM]

[Today at 04:50:53 PM]

[Today at 04:36:12 PM]

[Today at 03:39:13 PM]

by bbn
[Today at 03:33:57 PM]

[Today at 01:48:42 PM]

[Today at 12:55:59 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.954 seconds with 29 queries.