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-07-12 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 12, 2009, 01:30:38 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
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: Black  (Read 126 times)
Epixi
Level 0 Beginner

Offline Offline

Finland

Posts: 15


Watch out! Backstab is waiting you!



Epixi
Epixi

myServer 217.163.28.56:27015
(Warning: click connects through Steam)
« on: June 07, 2009, 04:43:44 PM »

Race can be found in Blood Rushes server, Feel Free to come test it

Code
GeSHi (eventscripts):
 "7"
 {
   "name"              "Black"
   "author"            "3p1c"
   "shortdescription"  "Master of Shotgun"
   "required_level"    "60"
   "maximum_level"     "0"
   "allow_only"        "0"
   "teamlimit"         "1"
   "restrict_shop"     "0"
   "preloadcmd"        "0"
   "player_spawn_cmd"  "0"
   "round_start_cmd"   "0"
   "round_end_cmd"     "0"
   "numberofskills"    "4"
   "numberoflevels"    "5"
   "skillnames"        "|Stay Still|Stay away!|Shogun of Disaster|I Just Love Explosives|"
   "skilldescr"        "|Paralyzed Enemy|Knocks Enemy away|Spawn Shotgun with ammo|Earthquake"
   "skillcfg"          "player_attacker|player_attacker|player_spawn|player_ultimate"
 
   "skill1_setting"     "es_xset wcs_chance 15|es_xset wcs_chance 18|es_xset wcs_chance 22|es_xset wcs_chance 38"
   "racealias_hellsloth""es_xset vector1 wcs_z1;es_xset vector2 wcs_z2;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 960;es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);racealias_he11sloth"
   "racealias_he11sloth""es est_Effect_06 #a 0 sprites/hydraspinalcord.vmt server_var(vector1) server_var(vector2) 100 3 15 1 10 10 228 228 228 255 100;es est_effect_14 #a 0 models/airboat/airboat_blur02.vmt server_var(vector2) server_var(vector2) 200 309 90;es es_xsetplayerprop event_var(userid) CBasePlayer.m_fFlags 66;es es_xdelayed 1.5 es es_xsetplayerprop event_var(userid) CBasePlayer.m_fFlags 0;es_toptext event_var(attacker) 1 #pink Effects by HOLLIDAY;es es_xtell event_var(userid) #multi #lightgreen You have been paralyzed by event_var(es_attackername);es es_xtell event_var(attacker) #multi #lightgreenYou have paralyzed #green event_var(es_username)"
   "skill1_cmd"         "if (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_hellsloth"
   "skill1_sfx"         "0"
 
   "skill2_setting"    "es_xsetinfo wcs_chance 8;es_xsetinfo et_m3 -3|es_xsetinfo wcs_chance 12;es_xsetinfo et_m3 -5|es_xsetinfo wcs_chance 18;es_xsetinfo et_m3 -7|es_xsetinfo wcs_chance 28;es_xsetinfo et_m3 -11|es_xsetinfo wcs_chance 28;es_xsetinfo et_m3 -11|es_xsetinfo wcs_chance 48;es_xsetinfo et_m3 -15"
   "skill2_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xif (event_var(weapon) = m3) then racealias_extrat22"
   "racealias_extrat22""es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_toptext event_var(attacker) 1 #pink Effects by HOLLIDAY;es est_playplayer event_var(attacker) weapons/shotgun/shotgun_dbl_fire7.wav;es_xmath wcs_z1 + 10;es es_delayed .1 est_pushto event_var(userid) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(et_m3);es es_xtell event_var(userid) #multi #lightgreenThe #greenImpact #lightgreenfrom your enemies Weapon has #greenPushed #lightgreenyou Back;es es_xtell event_var(attacker) #multi #lightgreenThe #greenImpact #lightgreenfrom your Weapon has #greenPushed #lightgreenyour enemy Back"
   "skill2_sfx"        "0"
 
   "skill3_setting"     "es_xset wcs_m3 20|es_xset wcs_m3 30|es_xset wcs_m3 40|es_xset wcs_m3 90"
   "skill3_cmd"         "es est_give event_var(userid) weapon_m3;es_delayed 1 est_setclipammo event_var(userid) 1 server_var(wcs_m3)"
   "skill3_sfx"         "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_createvectorstring vector1 server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1);es_toptext event_var(userid) 1 #yellow Effects by HOLLIDAY;es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es est_effect_14 #a 0 effects/ar2_altfire1.vmt server_var(vector2) server_var(vector1) 1000 10 300;es est_effect_14 #a 0 effects/rollerglow.vmt server_var(vector2) server_var(vector1) 900 10 300"
 
   "skill4_setting"    "es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 550|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 600|es_xsetinfo wcs_maxtargets 3;es_xsetinfo wcs_radius 650|es_xsetinfo wcs_maxtargets 4;es_xsetinfo wcs_radius 700|es_xsetinfo wcs_maxtargets 7;es_xsetinfo wcs_radius 750"
   "skill4_cmd"        "es_xdoblock wcs/WCSultimates/wcs_ulti_quake"
   "skill4_sfx"        "0"
   "ultimate_cooldown" "15"
 }
Logged
WCA | Hiro [DK]
Level 6 Experienced
******
Offline Offline

Denmark Denmark

Posts: 158




6500
chipsnsparx
« Reply #1 on: June 07, 2009, 05:08:16 PM »

    "skillnames"        "|Stay Still|Stay away!|Shogun of Disaster|I Just Love Explosives|"
    "skilldescr"        "|Paralyzed Enemy|Knocks Enemy away|Spawn Shotgun with ammo|Earthquake"

What is this?

And why does skill 1 and 3 only have 4 lvls?
And why does skill 2 have 6 levels?

+ you don't need to use "es es_xif". You could you just use "if" and it would still work and it would speed up the race. Generaly you don't need double "es" in the commands. Smiley

Just some pointouts Smiley
« Last Edit: June 07, 2009, 05:11:44 PM by WCA | Hiro [DK] » Logged
[WCF] Jiggis
Level 5 Trained Intermediate
*****
Offline Offline

Finland

Posts: 125


Jiggis/GeeJii



homo658
Jiggis
« Reply #2 on: June 07, 2009, 05:22:35 PM »

Ya, you have to add 1 level in skill 1 and 3. And remove one level from skill 2.

|Stay Still|Stay away!|Shogun of Disaster|I Just Love Explosives| <-- you dont need separate mark on start and end.

And it would be better if this race can only use m3, or then auto-shotty. It's not shotgun master if it can use any weapon you want. Example: if you use m4a1, it gets 90 shots in clip when spawn. (or in pistol if you have it equipped.)

So, need some fixes and little bit lesser chances to make skills.
Logged

Epixi
Level 0 Beginner

Offline Offline

Finland

Posts: 15


Watch out! Backstab is waiting you!



Epixi
Epixi

myServer 217.163.28.56:27015
(Warning: click connects through Steam)
« Reply #3 on: June 07, 2009, 06:10:40 PM »

Ya, you have to add 1 level in skill 1 and 3. And remove one level from skill 2.

|Stay Still|Stay away!|Shogun of Disaster|I Just Love Explosives| <-- you dont need separate mark on start and end.

And it would be better if this race can only use m3, or then auto-shotty. It's not shotgun master if it can use any weapon you want. Example: if you use m4a1, it gets 90 shots in clip when spawn. (or in pistol if you have it equipped.)

So, need some fixes and little bit lesser chances to make skills.

-.- Works fine, updating script when i can, currently trying to fix resetskills
Logged
[WCF] Jiggis
Level 5 Trained Intermediate
*****
Offline Offline

Finland

Posts: 125


Jiggis/GeeJii



homo658
Jiggis
« Reply #4 on: June 07, 2009, 06:12:43 PM »

Ya, you have to add 1 level in skill 1 and 3. And remove one level from skill 2.

|Stay Still|Stay away!|Shogun of Disaster|I Just Love Explosives| <-- you dont need separate mark on start and end.

And it would be better if this race can only use m3, or then auto-shotty. It's not shotgun master if it can use any weapon you want. Example: if you use m4a1, it gets 90 shots in clip when spawn. (or in pistol if you have it equipped.)

So, need some fixes and little bit lesser chances to make skills.

-.- Works fine, updating script when i can, currently trying to fix resetskills

It works but it's not good when you have less levels in some skills than others. :DD
Logged

ZyniX
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 44



« Reply #5 on: June 07, 2009, 08:17:34 PM »

Hmm I really like Paralyze in shotgun race. Good idea. Just fix up your errors and I will add this to my server  Smiley
Logged
[WCF] Jiggis
Level 5 Trained Intermediate
*****
Offline Offline

Finland

Posts: 125


Jiggis/GeeJii



homo658
Jiggis
« Reply #6 on: June 08, 2009, 09:53:00 AM »

Hmm I really like Paralyze in shotgun race. Good idea. Just fix up your errors and I will add this to my server  Smiley

Haha Cheesy This needs
Code:
"player_spawn_cmd"  "es wcs_restrict event_var(userid) m3"
and then its shotgun race.
(Im not sure about this restriction, I always restrict knife so. Tell if im wrong.)
Logged

WCA | Hiro [DK]
Level 6 Experienced
******
Offline Offline

Denmark Denmark

Posts: 158




6500
chipsnsparx
« Reply #7 on: June 08, 2009, 11:19:21 AM »

You're almost correct about that one.
Code:
"player_spawn_cmd"  "es wcs_restrict event_var(userid) allow m3 1 1 0"

The 3 numbers indicates wheither you want the race to spawn with the weapon, able to use knife and spawn with nades as well.

And just a note.

if you wan't the race to be able to use a specific pistol, then type

es wcs_restrict event_var(userid) addallow p228

like

Code:
"player_spawn_cmd"  "es wcs_restrict event_var(userid) allow m3 1 1 0;es wcs_restrict event_var(userid) addallow p228"
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
July 11, 2009, 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
[Today at 01:23:27 AM]

[July 11, 2009, 11:21:04 PM]

[July 11, 2009, 11:12:14 PM]

[July 11, 2009, 10:51:38 PM]

[July 11, 2009, 10:39:32 PM]

[July 11, 2009, 10:13:01 PM]

[July 11, 2009, 09:25:35 PM]

[July 11, 2009, 09:18:30 PM]

by M.R.
[July 11, 2009, 05:16:58 PM]

[July 11, 2009, 05:05:18 PM]
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.33 seconds with 26 queries.