tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« on: December 02, 2009, 06:33:33 PM » |
|
I want an ultimate that makes my deagle shoot his charger with one click (7bullets per click) It is possible ? Please
|
|
|
|
|
Logged
|
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« Reply #1 on: December 02, 2009, 06:46:15 PM » |
|
A people can help me please ?
|
|
|
|
|
Logged
|
|
|
|
|
Zawmbee
Guest
|
 |
« Reply #2 on: December 02, 2009, 06:48:58 PM » |
|
A people can help me please ?
Stop bugging people until they decide to go to this page after they go through their mail, god damn. Anyways, yes it is possible, but in different ways. You want the whole lip to be one shot? Well that is easy with using weapon_fire to cause the clip to go to 0 after one shot. Then if you attack someone, you would have to get the variable for event_var(dmg_health) then times it by 6 (Since you did 1 shot of the 7 already) and then use that variable to damage them.
|
|
|
|
|
Logged
|
|
|
|
|
Sasuke[Icetouch]
|
 |
« Reply #3 on: December 02, 2009, 06:54:10 PM » |
|
Maybe he wants that 1 Shot of the 7 from the deagle counts as 7 shots, just like the shotgun shots. One way is the one from Zawmbee, but I think you want like, the player has 7 shots, every shot 'spreads' 7 times, means he can actually hit 49 times with 7 shots.
|
|
|
|
|
Logged
|
################################ Join our new Server with the newest Mod on it! ################################
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« Reply #4 on: December 02, 2009, 07:08:42 PM » |
|
i want shoot my charger with 1 click but i dont know how to code this skill =//
|
|
|
|
|
Logged
|
|
|
|
Frequency
Level 3 Trained Apprentice
 
Offline
 United States
Posts: 64
Of all things lost, I miss my mind the most.
|
 |
« Reply #5 on: December 02, 2009, 07:15:30 PM » |
|
Tassin, this requires event blocks, do you know how to use eventscripts blocks?
|
|
|
|
|
Logged
|
 Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« Reply #6 on: December 02, 2009, 07:18:54 PM » |
|
Euuh. No =// I know only the wcs commands
|
|
|
|
|
Logged
|
|
|
|
Frequency
Level 3 Trained Apprentice
 
Offline
 United States
Posts: 64
Of all things lost, I miss my mind the most.
|
 |
« Reply #7 on: December 02, 2009, 07:45:37 PM » |
|
Alright, well here is the setup, I made the skill for you: Skill code -GeSHi (eventscripts): "skill1_setting" "es_xset durationx7 10" "skill1_cmd" "es est_give server_var(wcs_userid) weapon_deagle;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) deaglex7 1;es es_xdelayed server_var(durationx7)" "skill1_sfx" "0" "ultimate_cooldown" "0"
Now, for this second part you will need to create a new folder in your eventscripts folder called deaglex7 and then create a text document in that folder called es_deaglex7. Copy the code below and insert it into that text document, in which you will then go to your autoexec.cfg and add the lines es_load deaglex7. Save and restart your server, you will be all set. Eventscripts Code - GeSHi (eventscripts): block load { es_xset deaglex7 0 es_xdoblock corelib/noisy_on } event weapon_fire { es es_xkeygetvalue deaglex7 WCSuserdata event_var(userid) deaglex7 if (server_var(deaglex7) = 1) do { es playerset clip event_var(userid) event_var(es_userweapon) 0 } } event player_hurt { es es_xkeygetvalue deaglex7 WCSuserdata event_var(userid) deaglex7 if (server_var(deaglex7) = 1) do { es_xset damagex7 event_var(dmg_health) es_math damagex7 * 6 es wcs_dealdamage event_var(attacker) event_var(userid) server_var(damagex7) } }
|
|
|
|
« Last Edit: December 03, 2009, 08:11:32 PM by Frequency »
|
Logged
|
 Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« Reply #8 on: December 02, 2009, 07:53:47 PM » |
|
Thanks "skill3_setting" "es_xset firetime 100" "skill3_cmd" "es_xset clipammo 0;es est_getclipammo clipammo server_var(wcs_userid) 2;es es_xkeysetvalue WCSuserdata server_var(wcs_userid) deviltrigger 1;es est_setclipammo server_var(wcs_userid) 2 999999999;es es_delayed server_var(firetime) es_xkeysetvalue WCSuserdata server_var(wcs_userid) deviltrigger 0;es es_delayed server_var(firetime) est_setclipammo server_var(wcs_userid) 2 server_var(clipammo)" "skill3_sfx" "0" "ultimate_cooldown" "200"
|
|
|
|
|
Logged
|
|
|
|
Frequency
Level 3 Trained Apprentice
 
Offline
 United States
Posts: 64
Of all things lost, I miss my mind the most.
|
 |
« Reply #9 on: December 02, 2009, 11:39:25 PM » |
|
Are you deciding to use that one you have there, or mine? Just wondering, because that coding there isn't correct...
|
|
|
|
|
Logged
|
 Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
|
|
|
|
AvasT
|
 |
« Reply #10 on: December 03, 2009, 01:54:49 AM » |
|
@ Tassin Just get this skill from HOLLIDAY's Hell Hunter's ultimate.
|
|
|
|
|
Logged
|
Lol?
|
|
|
Frequency
Level 3 Trained Apprentice
 
Offline
 United States
Posts: 64
Of all things lost, I miss my mind the most.
|
 |
« Reply #11 on: December 03, 2009, 01:57:28 AM » |
|
@ Tassin Just get this skill from HOLLIDAY's Hell Hunter's ultimate.
I already gave him the skill code above...
|
|
|
|
|
Logged
|
 Out with the old and in with the new, there is a fine explanation for starting fresh in a world that holds no dreams.
|
|
|
|
AvasT
|
 |
« Reply #12 on: December 03, 2009, 01:58:35 AM » |
|
i don't care  whatever, your code seems to be correct.
|
|
|
|
|
Logged
|
Lol?
|
|
|
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
   
Offline
Posts: 2317
of all the things ive lost i miss my mind the most
 Wc3_HOLLIDAY_Wc3wc3hollidaywc3myServer 8.2.0.222:27015(Warning: click connects through Steam)
|
 |
« Reply #13 on: December 03, 2009, 10:07:52 AM » |
|
missing the value on the es_xset deaglex7
es_xset deaglex7 0
|
|
|
|
|
Logged
|
|
|
|
tassin
Level 5 Trained Intermediate
   
Offline
 France
Posts: 104
Zombie Asylum <3 .
|
 |
« Reply #14 on: December 03, 2009, 10:31:15 AM » |
|
I just seek a skill who shoot 7bullets of my deagle with 1 click
|
|
|
|
|
Logged
|
|
|
|
|