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-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 03, 2010, 12:36:18 PM *
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] 2   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: Ultimate for deagle...  (Read 133 times)
tassin
Level 5 Trained Intermediate
*****
Offline Offline

France 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 Offline

France 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]
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 174


FreeTimeCoder


« 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 Offline

France 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 Offline

United States 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 Offline

France 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 Offline

United States 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 -

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 -

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 Offline

France France

Posts: 104


Zombie Asylum <3 .


« Reply #8 on: December 02, 2009, 07:53:47 PM »

Thanks
Code:

    "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 Offline

United States 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
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 723




doug_tiozao
« 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 Offline

United States 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
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 723




doug_tiozao
« Reply #12 on: December 03, 2009, 01:58:35 AM »

i don't care Smiley
whatever, your code seems to be correct.
Logged

Lol?
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2317


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 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 Offline

France 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
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:14:01 PM
how come this site is going down??
Today at 11:48:12 AM
if this site is going to be shut down....dont let me buy it Smiley
Today at 07:37:39 AM
who will be running this site... since most admin will be on other site
January 02, 2010, 11:33:33 PM
i mean if you start 100 cmd instances and type ping google.com in all, after a while it will show timeout, but site will still be only for everyone but you Tongue
January 02, 2010, 11:33:01 PM
no you don't Tongue
a site can barely "crash"
though, it can have a timeout, and in this case it's in most case your i-net connection which has the timeout with the site
January 02, 2010, 11:24:47 PM
i think i crash the http://www.fpsbanana.com/ site.... after spamming logging...lol
January 02, 2010, 10:10:49 PM
Well thank you Smiley fucker. Tongue
Recent
[Today at 12:15:04 PM]

[Today at 12:13:34 PM]

[Today at 11:58:35 AM]

[Today at 07:30:40 AM]

[Today at 02:55:13 AM]

[Today at 12:24:21 AM]

[January 02, 2010, 11:26:04 PM]

[January 02, 2010, 10:59:30 PM]

[January 02, 2010, 10:26:02 PM]

[January 02, 2010, 10:24:45 PM]
Theme switch

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