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-31 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 01, 2010, 12:42:42 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Newest race after comeback - Shotgunner [COD4]  (Read 787 times)
NovaKiller
<WCS coder>
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 783

Loves WCS. Loves to make races. Loves to play WCS


WWW
PlaxGunner
« on: July 01, 2008, 12:50:43 AM »

Ok so i have made a race after i came back. This race is a idea from a class i made in Call Of Duty 4

Skills are :
The race itself will either spawn with Shotgun or Auto-Shotgun
Bandolier - Gain extra shells and pistol clips
Stopping Power - Do diffrent extra damage, shotgun is 35% and pistols are 20-50%
Fast Reload - Yeah so as it says, it will do like you reload fast. Shotgun gains some extra shells and pistols gain a hole clip extra

I don't know what lvl it should be so ya should self decide.

Code:
  ""
  {
    "name"              "Shotgunner [COD4]"
    "author"            "NovaKiller"
    "shortdescription"  "0"
    "required_level"    "0"
    "maximum_level"     "0"
    "allow_only"        "0"
    "teamlimit"         "0"
    "restrict_shop" "0"
    "preloadcmd"        "0"
    "player_spawn_cmd"  "es es_xdelayed 0.5 est_RestrictAll event_var(userid);es es_xdelayed 0.6 est_unrestrict event_var(userid) weapon_m3;es es_xdelayed 0.7 est_unrestrict event_var(userid) weapon_xm1014;es es_xdelayed 0.7 est_unrestrict event_var(userid) weapon_knife;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_c4;es es_xdelayed 0.8 est_unrestrict event_var(userid) item_defuser;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_deagle;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_glock;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_usp;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_p228;racealias_spawn"
    "racealias_spawn"   "es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_elite;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_fiveseven;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_hegrenade;es es_xdelayed 0.8 est_unrestrict event_var(userid) weapon_flashbang;es es_xdelayed 0.5 est_removeweapon event_var(userid) 1;es_xset shotgun_rand 0;es_xrand shotgun_rand 1 3;es es_xdelayed 1 es_xif (server_var(shotgun_rand) < 3) then est_give event_var(userid) weapon_m3;es es_xdelayed 1 es_xif (server_var(shotgun_rand) = 3) then est_give event_var(userid) weapon_xm1014;es es_xdelayed 1.1 est_setammo event_var(userid) 1 20"
    "round_start_cmd"   "0"
    "round_end_cmd"     "0"
    "numberofskills"    "4"
    "numberoflevels"    "5"
    "skillnames"        "Bandolier|Stopping Power|Extreme Conditioning|Fast Reload"
    "skilldescr"        "Gain 8-40 shells and 1-5 extra pistol clips|Weapons does more damage, pistol 20-50% more, Shotguns 35% more|Run 20-40% faster|Gain 2-10 more shells and a whole clip extra in your weapons"
    "skillcfg"          "player_spawn|player_attacker|player_spawn|player_ultimate"

    "skill1_setting"    "es_xset wcs_shells 28;es_xset wcs_pistolmulti 1|es_xset wcs_shells 36;es_xset wcs_pistolmulti 2|es_xset wcs_shells 44;es_xset wcs_pistolmulti 3|es_xset wcs_shells 52;es_xset wcs_pistolmulti 4|es_xset wcs_shells 80;es_xset wcs_pistolmulti 5"
    "skill1_cmd"        "es_xset wcs_pistol 0;es es_xdelayed 1 est_getsecondary wcs_pistol event_var(userid);es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_glock) then racealias_glock;es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_usp) then racealias_usp;es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_p228) then racealias_p228;es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_deagle) then racealias_deagle;es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_fiveseven) then racealias_5-7;es es_xdelayed 1.1 es_xif (server_var(wcs_pistol) = weapon_elite) then racealias_elite;es es_xdelayed 1.3 est_setammo event_var(userid) 1 server_var(wcs_shells);es_tell event_var(userid) #multi #GreenBandolier activated, gained more ammo"
    "racealias_glock"   "es_xset wcs_glockclip 20;es_xset wcs_glockclip1 120;es es_xmath wcs_glockclip * wcs_pistolmulti;es es_xmath wcs_glockclip + wcs_glockclip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_glockclip)"
    "racealias_usp"     "es_xset wcs_uspclip 12;es_xset wcs_uspclip1 100;es es_xmath wcs_uspclip * wcs_pistolmulti;es es_xmath wcs_uspclip + wcs_uspclip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_uspclip)"
    "racealias_p228"    "es_xset wcs_p228clip 13;es_xset wcs_p228clip1 52;es es_xmath wcs_p228clip * wcs_pistolmulti;es es_xmath wcs_p228clip + wcs_p228clip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_p228clip)"
    "racealias_deagle"  "es_xset wcs_deagleclip 20;es_xset wcs_deagleclip1 120;es es_xmath wcs_deagleclip * wcs_pistolmulti;es es_xmath wcs_deagleclip + wcs_deagleclip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_deagleclip)"
    "racealias_5-7"     "es_xset wcs_5-7clip 20;es_xset wcs_5-7clip1 100;es es_xmath wcs_5-7clip * wcs_pistolmulti;es es_xmath wcs_5-7clip + wcs_5-7clip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_5-7clip)"
    "racealias_elite"   "es_xset wcs_eliteclip 30;es_xset wcs_eliteclip1 120;es es_xmath wcs_eliteclip * wcs_pistolmulti;es es_xmath wcs_eliteclip + wcs_eliteclip1;es es_xdelayed 1.2 est_setammo event_var(userid) 2 server_var(wcs_eliteclip)"
    "skill1_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 sprites/blueglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 5 4 255"

    "skill2_setting"    "es_xset wcs_multiplier 0.2|es_xset wcs_multiplier 0.28|es_xset wcs_multiplier 0.36|es_xset wcs_multiplier 0.44|es_xset wcs_multiplier 0.5"
    "racealias_shot"    "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * 0.35;es est_rounddecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_damage;esnq est_csay event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(userid) + server_var(wcs_dmg) due Stopping Power"
    "racealias_pist"    "es_set wcs_dmg event_var(dmg_health);es_xmath wcs_dmg float;es_math wcs_dmg * server_var(wcs_multiplier);es est_rounddecimal wcs_dmg server_var(wcs_dmg) 0;es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);wcs_getlanguage wcs_lng wcs_lng_damage;esnq est_csay event_var(attacker) + server_var(wcs_dmg) server_var(wcs_lng);esnq est_csay event_var(userid) + server_var(wcs_dmg) due Stopping Power"
    "skill2_cmd"        "es est_IsAlive wcs_alive event_var(userid);if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_xm1014) then racealias_shot;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_m3) then racealias_shot;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_glock) then racealias_pist;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_usp) then racealias_pist;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_p228) then racealias_pist;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_deagle) then racealias_pist;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_elite) then racealias_pist;if (server_var(wcs_alive) = 1) then es_xif (event_var(weapon) = weapon_fiveseven) then racealias_pist"
    "skill2_sfx"        "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 est_effect 3 #a 0 sprites/halo01.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 5 5 200 20 20 255"

    "skill3_setting"    "es_xset wcs_speed 1.20;es_xset wcs_alpha 50|es_xset wcs_speed 1.25;es_xset wcs_alpha 70|es_xset wcs_speed 1.30;es_xset wcs_alpha 90|es_xset wcs_speed 1.35;es_xset wcs_alpha 110|es_xset wcs_speed 1.40;es_xset wcs_alpha 130"
    "skill3_cmd"        "es_keygetvalue wcs_tmp WCSuserdata event_var(userid) speed;if (server_var(wcs_speed) > server_var(wcs_tmp)) then es est_Speed event_var(userid) server_var(wcs_speed);if (server_var(wcs_speed) > server_var(wcs_tmp)) then es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es_tell event_var(userid) #multi #GreenExtreme Conditioning gave you a speed boost"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/halo.vmt server_var(wcs_x1) server_var(wcs_y1)server_var(wcs_z1) 10 60 10 76 0 0 255 255 0 179 7"

    "skill4_setting"    "es_xset wcs_exshells 10|es_xset wcs_exshells 12|es_xset wcs_exshells 14|es_xset wcs_exshells 16|es_xset wcs_exshells 18"
    "skill4_cmd"        "es est_setclipammo server_var(wcs_userid) 1 server_var(wcs_exshells);es_xset wcs_ultipistol 0;es est_getsecondary wcs_ultipistol server_var(wcs_userid);if (server_var(wcs_ultipistol) = weapon_glock) then est_setclipammo server_var(wcs_userid) 2 40;if (server_var(wcs_ultipistol) = weapon_usp) then est_setclipammo server_var(wcs_userid) 2 24;if (server_var(wcs_ultipistol) = weapon_p228) then est_setclipammo server_var(wcs_userid) 2 26;if (server_var(wcs_ultipistol) = weapon_deagle) then est_setclipammo server_var(wcs_userid) 2 14;if (server_var(wcs_ultipistol) = weapon_fiveseven) then est_setclipammo server_var(wcs_userid) 2 40;if (server_var(wcs_ultipistol) = weapon_elite) then est_setclipammo server_var(wcs_userid) 2 60;es es_xtell server_var(wcs_userid) #multi #GreenYou did a fast reload"
    "skill4_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 50;es est_effect 11 #a 0 sprites/blueglow1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 2 2 255"
    "ultimate_cooldown" "15"
  }
Logged

Robtronic
Level 0 Beginner

Offline Offline

United Kingdom

Posts: 9




EVIL_BETTY
djrobc4eva
« Reply #1 on: July 01, 2008, 01:06:06 AM »

Thank you  Cheesy
Logged
Serenkiy Vol4onok
Level 7 Expert
*****
Offline Offline

Russian Federation

Posts: 195


Never Surrender!!!



serenkiyvol4onok
« Reply #2 on: July 14, 2008, 02:01:49 PM »

The only interesting think i see here is the ultimate (my opinion)
Logged

  ~ Just a Nightfall God
  :twisted: :twisted: :twisted: :twisted: :twisted: :twisted::
  Steel a soul for a second chance
  But you'll never become a man
[Oddity]TeacherCreature
Moderator
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 1432



WWW
bonggged

myServer 72.5.102.44:27015
(Warning: click connects through Steam)
« Reply #3 on: July 14, 2008, 09:01:57 PM »

The ultimate should be called Shotgun Shell Belt....
It has nothing to do with reloading...



Logged

n0Life
Part-time Admin
Watchdogs
Level 7 Expert
*****
Offline Offline

Finland

Posts: 805


WCS Moderator: WCS.com WCS.net WCSP.net


WWW
4ngry4ngel

myServer 85.190.14.35:27015
(Warning: click connects through Steam)
« Reply #4 on: July 15, 2008, 04:39:28 PM »

BTW Nova, if you read this topic then add your creations into the Downloads.

I've opened a section for you there also (long ago) so start uploading them for a better view for the users.
Logged

Quote
yay! found a way how to enlarge this!
not meaning my penis
meaning the the script window

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:40:20 AM
whats est_freeze syntax?

January 31, 2010, 06:00:01 PM
asap :p
January 31, 2010, 05:59:47 PM
ok berett no offense but we need to talk.
January 30, 2010, 08:48:38 PM
wcs_alpha is used for effects to determine how visible/bright/see-through an effect is.
January 30, 2010, 05:44:23 PM
Has nothing to do with the speed. wcs_alpha is just a variable which can be used anywhere.
January 30, 2010, 05:40:44 PM
oh and thank you ^.^
January 30, 2010, 05:40:32 PM
ohh... but it shouldnt be with the settings of speed right?
Recent
[January 31, 2010, 09:30:44 PM]

[January 31, 2010, 09:30:04 PM]

[January 31, 2010, 09:29:04 PM]

[January 31, 2010, 09:27:48 PM]

[January 31, 2010, 08:41:20 PM]

[January 31, 2010, 06:16:23 PM]

[January 31, 2010, 04:15:03 PM]

[January 31, 2010, 01:31:10 PM]

[January 31, 2010, 01:17:05 PM]

by amiq
[January 31, 2010, 02:18:57 AM]
Theme switch

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