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 2008-12-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 06, 2008, 12:23:18 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Races and Items added into Download section from our great Race Coders!
Such as HOLLIDAY|NovaKiller|Stinkyfax|Frodo|TeacherCreature|Phat_Wizard
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: remove all weapons skill  (Read 168 times)
OVERDRIVE4825
Level 0 Beginner

Offline Offline

United States United States

Posts: 16



« on: February 10, 2008, 05:18:33 AM »

here is what I have so far(a friend made it for me):
Code:
"skill6_setting"    "es_xsetinfo wcs_chance 100"
    "racealias_pie2"  "es est_RemoveWeapon event_var(userid) 1;wcs_getlanguage wcs_lng wcs_lng_r_dropweapon;es es_xformat wcs_lng server_var(wcs_lng) event_var(es_attackername) event_var(es_username);es es_xtell event_var(userid) #multi server_var(wcs_lng);es es_xtell event_var(attacker) #multi server_var(wcs_lng)"
    "skill6_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_isalive wcs_alive event_var(userid);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_pie2"
    "skill6_sfx" 0
would it be possible to combine that with a remove pistol, knife, and a grenade skill into 1 skill?
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #1 on: February 16, 2008, 01:35:47 PM »

what should the skill do?
Logged

OVERDRIVE4825
Level 0 Beginner

Offline Offline

United States United States

Posts: 16



« Reply #2 on: February 16, 2008, 02:37:47 PM »

the skill should, on hit by a weapon, force a drop and remove of the primary, secondary, knife, and grenade
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #3 on: February 16, 2008, 03:11:00 PM »

so when you get hit by an enemy (player_victim) then all his weapons should fall to the ground?
Logged

qenzoz
Level 6 Experienced
*****
Offline Offline

Denmark Denmark

Posts: 129


Ehm..?



pxpz_qenzoz
« Reply #4 on: February 16, 2008, 04:24:00 PM »

player_victim would be something like this:

Code:
"skill5_setting"    "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 70|es_xsetinfo wcs_chance 80"       
"racealias_drop"    "es est_Dropweapon event_var(attacker) 1;es est_Dropweapon event_var(attacker) 2;es est_Dropweapon event_var(attacker) weapon_knife;es est_Dropweapon event_var(attacker) weapon_flashbang;es est_Dropweapon event_var(attacker) weapon_hegrenade;es est_Dropweapon event_var(attacker) weapon_c4;es est_Dropweapon event_var(attacker) weapon_smokegrenade;es es_xtell event_var(attacker) #multi #lightgreenYou have #greendropped #lightgreenyour weapons;es es_xtell event_var(userid) #multi #green You made #lightgreen event_var(es_attackername) #greenDropped"
"skill5_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_drop"
"skill5_sfx"        "0"

Or am i wrong? haven't tested it yet but it should work.
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #5 on: February 16, 2008, 04:31:31 PM »

it might be right, i will just correct it
Code:
"skill5_setting"    "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 70|es_xsetinfo wcs_chance 80"       
"racealias_drop"    "es es_delayed 0.1 est_Dropweapon event_var(attacker) 1;es es_delayed 0.2 est_Dropweapon event_var(attacker) 2;es es_delayed 0.3 est_Dropweapon event_var(attacker) 3;es es_delayed 0.4 est_Dropweapon event_var(attacker) 4;es es_delayed 0.5 est_Dropweapon event_var(attacker) 4;es es_delayed 0.6 est_Dropweapon event_var(attacker) 5;es es_delayed 0.7 est_Dropweapon event_var(attacker) 4;es es_xtell event_var(attacker) #multi #lightgreenYou have #greendropped #lightgreenyour weapons;es es_xtell event_var(userid) #multi #green You made #lightgreen event_var(es_attackername) #greenDropped"
"skill5_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_drop"
"skill5_sfx"        "0"

im not sure if you have drop number 4 all thoose times, or it just drops all in number 4 at once... but em.. the real easy solution would be this

Code:
"skill5_setting"    "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 70|es_xsetinfo wcs_chance 80"       
"racealias_drop"    "es es_delayed 0.1 est_RestrictAll event_var(attacker);es es_delayed 0.5 est_UnRestrictAll event_var(attacker);es es_xtell event_var(attacker) #multi #lightgreenYou have #greendropped #lightgreenyour weapons;es es_xtell event_var(userid) #multi #green You made #lightgreen event_var(es_attackername) #greenDropped"
"skill5_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_drop"
"skill5_sfx"        "0"
Logged

qenzoz
Level 6 Experienced
*****
Offline Offline

Denmark Denmark

Posts: 129


Ehm..?



pxpz_qenzoz
« Reply #6 on: February 16, 2008, 04:35:48 PM »

Ok alot eaiser to do it with restrict / unrestrict
Logged
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #7 on: February 16, 2008, 04:37:16 PM »

i think so:P
Logged

qenzoz
Level 6 Experienced
*****
Offline Offline

Denmark Denmark

Posts: 129


Ehm..?



pxpz_qenzoz
« Reply #8 on: February 16, 2008, 04:42:06 PM »

What about this code? It could be really annoying its like a dropweapon effect but

UnRestrictAll, RestrictAll, UnRestrictAll, RestrictAll and so and so and so
Logged
OVERDRIVE4825
Level 0 Beginner

Offline Offline

United States United States

Posts: 16



« Reply #9 on: February 16, 2008, 06:58:10 PM »

yes, that was the idea. Thanks!
Logged
LordOfSuicide
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 49




itsourcer
godofanim3
« Reply #10 on: February 21, 2008, 06:20:16 AM »

What about a wcs_time of 2-6 seconds? Wouldn't that be easier? Then again they also have to find their guns, . Unless their lucky and have 5 good guys on their team who prevent him from get face-r*ped.
Logged
OVERDRIVE4825
Level 0 Beginner

Offline Offline

United States United States

Posts: 16



« Reply #11 on: February 21, 2008, 12:25:48 PM »

Why give them the slight chance of getting their guns back?

Why not just remove them completely?
Logged
LordOfSuicide
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 49




itsourcer
godofanim3
« Reply #12 on: February 21, 2008, 06:10:34 PM »

Because that + a damge skill = an o/p race and they don't want that on the forums anymore?
Logged
Rotgutts
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 292


Krechure Feature



b0n3s212
Merzlin
« Reply #13 on: February 21, 2008, 11:37:59 PM »

Umm, here it is with giving them back weapons of your choice.. So i just did an example of Deagle/M4A1 Colt.

Code
GeSHi (eventscripts):
"skill5_setting"    "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 70|es_xsetinfo wcs_chance 80"        
"racealias_drop"    "es es_delayed 0.1 est_RestrictAll event_var(attacker);es es_delayed 5.0 est_UnRestrictAll event_var(attacker);es es_delayed 5.0 wcs_giveitem event_var(attacker) weapon_m4a1;es es_delayed 5.0 wcs_giveitem event_var(attacker) weapon_deagle;es es_xtell event_var(attacker) #multi #lightgreenYou have #greendropped #lightgreenyour weapons;es es_xtell event_var(userid) #multi #green You made #lightgreen event_var(es_attackername) #greenDropped"
"skill5_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_drop"
"skill5_sfx"        "0"

I doubt you would want this, you make them drop their weapons, then 5 seconds later they gain weapons of YOUR CHOICE.  This is to cut down on the over-power-ness. I really do doubt you want this, Its basically turning them into a knife guy for 5 seconds, then being fair and giving them their guns back. Remember, A player_victim skill, might want to cut down on the 80% Of happening

To copy if you want.

Code:
"skill5_setting"    "es_xsetinfo wcs_chance 50|es_xsetinfo wcs_chance 60|es_xsetinfo wcs_chance 70|es_xsetinfo wcs_chance 80"       
"racealias_drop"    "es es_delayed 0.1 est_RestrictAll event_var(attacker);es es_delayed 5.0 est_UnRestrictAll event_var(attacker);es es_delayed 5.0 wcs_giveitem event_var(attacker) weapon_m4a1;es es_delayed 5.0 wcs_giveitem event_var(attacker) [b]weapon_deagle[/b];es es_xtell event_var(attacker) #multi #lightgreenYou have #greendropped #lightgreenyour weapons;es es_xtell event_var(userid) #multi #green You made #lightgreen event_var(es_attackername) #greenDropped"
"skill5_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_drop"
"skill5_sfx"        "0"
« Last Edit: February 21, 2008, 11:42:29 PM by Rotgutts » Logged


Join our clan today!
OVERDRIVE4825
Level 0 Beginner

Offline Offline

United States United States

Posts: 16



« Reply #14 on: March 09, 2008, 04:23:50 AM »

I have tried all of these in the race that I am using it for (knife race), but when it activates, all that happens is my knife flies out of my hand and it becomes a scavenger hunt to find the knife before they shoot me
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 09:15:37 AM]

[Today at 08:33:01 AM]

[Today at 12:26:04 AM]

[December 05, 2008, 10:26:03 PM]

[December 05, 2008, 08:10:32 PM]

[December 05, 2008, 07:51:01 PM]

[December 05, 2008, 07:33:12 PM]

[December 05, 2008, 07:11:25 PM]

[December 05, 2008, 06:44:09 PM]

[December 05, 2008, 12:14:07 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.083 seconds with 25 queries.