Grenader

A Config Script for Counter-Strike: Source

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending TheDruid points.
  • Post: Give TheDruid your thoughts on this Script.
  • Vote: Help TheDruid win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

36 lines | 4 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"15"
{
    "name"              "Grenader"
    "author"            "TheDruid"
    "shortdescription"  "Nades Galore"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xkeysetvalue WCSuserdata event_var(userid) restricted <all>;es es_xdelayed 0.5 est_removeweapon event_var(userid) 1;es es_xdelayed 0.6 est_removeweapon event_var(userid) 2;es es_xdelayed 1.1 est_RestrictAll event_var(userid);es es_xif (server_var(wcs_game) = server_var(wcs_game_css)) then racealias_fp_css;es es_xif (server_var(wcs_game) = server_var(wcs_game_dods)) then racealias_fp_dods;es wcs_givexp event_var(userid) 10 0 0"
    "racealias_fp_css"  "es es_xdelayed 1.4 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 1.5 est_unrestrict event_var(userid) weapon_c4;es es_xdelayed 1.6 est_unrestrict event_var(userid) weapon_hegrenade;es es_xdelayed 1.8 est_unrestrict event_var(userid) weapon_flashbang;es es_xdelayed 1.9 es_give event_var(userid) weapon_knife"
    "racealias_fp_dods" "es es_xdelayed 0.7 est_removeweapon event_var(userid) 3;es es_xdelayed 0.8 est_removeweapon event_var(userid) 4;es es_xdelayed 1.4 est_unrestrict event_var(userid) weapon_spade"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "3"
    "numberoflevels"    "5"
    "skillnames"        "Nades|Crit Nades|Boom"
    "skilldescr"        "Spawn with Nades|Random crit nades|A chance to blow up on death"
    "skillcfg"          "player_spawn|player_attacker|player_death"
 
    "skill1_setting"    "es_xsetinfo wcs_bomb 10|es_xsetinfo wcs_bomb 20|es_xsetinfo wcs_bomb 30|es_xsetinfo wcs_bomb 40|es_xsetinfo wcs_bomb 50"
    "skill1_cmd"        "es es_xdelayed 2.1 est_give event_var(userid) weapon_hegrenade;es es_xdelayed 2.3 est_setammo event_var(userid) 4 server_var(wcs_bomb)"
    "skill1_sfx"        "0"

    "skill2_setting"    "es_xsetinfo wcs_chance 10;es_xsetinfo wcs_multiplier 1.0|es_xsetinfo wcs_chance 15;es_xsetinfo wcs_multiplier 1.5|es_xsetinfo wcs_chance 20;es_xsetinfo wcs_multiplier 2.3|es_xsetinfo wcs_chance 25;es_xsetinfo wcs_multiplier 2.7|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_multiplier 3.0"
    "racealias_crit2"   "es es_xsetinfo wcs_magnitude event_var(dmg_health);es_xmath wcs_magnitude float;es_xmath wcs_magnitude * 3.0;es es_xmath wcs_magnitude * server_var(wcs_multiplier);es est_RoundDecimal wcs_magnitude server_var(wcs_magnitude) 0;es wcs_explode event_var(attacker) event_var(userid) server_var(wcs_magnitude) 50;wcs_getlanguage wcs_lng wcs_lng_r_critgren;es es_xtell event_var(userid) #multi server_var(wcs_lng);es es_xtell event_var(attacker) #multi server_var(wcs_lng)"
    "racealias_crit"    "es es_xif (event_var(weapon) in server_var(wcs_wpn_grenades)) then est_isalive wcs_alive event_var(userid);es es_xif (event_var(weapon) in server_var(wcs_wpn_grenades)) then es_xif (server_var(wcs_alive) = 1) then racealias_crit2"
    "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_crit"
    "skill2_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xif (event_var(weapon) in server_var(wcs_wpn_grenades)) then es_xif (server_var(wcs_alive) = 1) then est_effect 11 #a 0 sprites/crystal_beam1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 0.7 3 200"

    "skill3_setting"    "es_xsetinfo wcs_chance 20;es_xsetinfo wcs_magnitude 100;es_xsetinfo wcs_radius 150|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_magnitude 120;es_xsetinfo wcs_radius 170|es_xsetinfo wcs_chance 40;es_xsetinfo wcs_magnitude 150;es_xsetinfo wcs_radius 190|es_xsetinfo wcs_chance 45;es_xsetinfo wcs_magnitude 170;es_xsetinfo wcs_radius 210|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_magnitude 200;es_xsetinfo wcs_radius 250"
    "skill3_cmd"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xdoblock wcs/WCSultimates/wcs_ulti_suicide"
    "skill3_sfx"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 4 #a 0 sprites/steam1.vmt server_var(wcs_userid) 0.8 10 5 1 255 100 100 200"
    "ultimate_cooldown" "0"
  }
Copy and paste into your es_WCSraces_db.txt file Please note that this is a c/p race and i give full credit to kryptonite and [Oddity]TeacherCreature for the skills. This race is very fun to play imo, and people on our server agree. Its a knifing and nading race with the following skills. Skill1: Spawn with nades (max 50) Skill2: Very random crit nades (low chance as it would be unfair to have too many crit's) Skill3: Explode on death (I increased the magnitude as well as the radius to compensate the race's lack of invis or speed) Hope you enjoy. :D

Posts

  • 9y
    Kluckmuck avatar
    Kluckmuck Offline
    Member Joined 9y
    If you have a server you don't think like that. You get that your server can't handle that many races and that it isn't fun with 30 races with the same skills. And, there is a race that got ALL these skills and more
    Eventscripts! avatar
    Mantra
    Eventscripts!
  • 9y
    TheDruid avatar
    TheDruid Offline
    Member Joined 9y
    The point isn't to be new...
    Its to add more races for everyone to enjoy.
    Bah Humbug...
  • 9y
    Kluckmuck avatar
    Kluckmuck Offline
    Member Joined 9y
    Nothing new
    Eventscripts! avatar
    Mantra
    Eventscripts!

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Key Authors
TheDruid
Unknown
kryptonite
Unknown
[Oddity]
Unknown

Submitter

TheDruid avatar
TheDruid Offline
Member Joined 9y

TheDruid
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Attributes

Miscellaneous

Stats

Posts
3
Views
1,892
Date Added
9y
Date Modified
9y

Scores

  • Not yet rated
Sign up to access this!
bcp.crwdcntrl.net tracking pixel