OVERDRIVE4825
Level 0 Beginner
Offline
 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): "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}
|
 |
« Reply #1 on: February 16, 2008, 01:35:47 PM » |
|
what should the skill do?
|
|
|
|
|
Logged
|
|
|
|
OVERDRIVE4825
Level 0 Beginner
Offline
 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}
|
 |
« 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
|
 |
« Reply #4 on: February 16, 2008, 04:24:00 PM » |
|
player_victim would be something like this: "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}
|
 |
« Reply #5 on: February 16, 2008, 04:31:31 PM » |
|
it might be right, i will just correct it "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 "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
|
 |
« Reply #6 on: February 16, 2008, 04:35:48 PM » |
|
Ok alot eaiser to do it with restrict / unrestrict
|
|
|
|
|
Logged
|
|
|
|
|
|
|
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
 United States
Posts: 16
|
 |
« Reply #9 on: February 16, 2008, 06:58:10 PM » |
|
yes, that was the idea. Thanks!
|
|
|
|
|
Logged
|
|
|
|
|
LordOfSuicide
|
 |
« 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
 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
|
 |
« 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
|
 |
« 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. 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. "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
|
|
|
|
OVERDRIVE4825
Level 0 Beginner
Offline
 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
|
|
|
|
|