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, 08:23:47 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
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: I was thinking of a auto aim thing for an ultimate  (Read 380 times)
Bob
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 212



« on: October 15, 2008, 05:10:19 PM »

Code:
"skill4_setting" "es_xset wcs_chance 99|es_xset wcs_chance 99|es_xset wcs_chance 99|es_xset wcs_chance 99|es_xset wcs_chance 99"
"racealias_aim" "es_getplayername wcs_name server_var(wcs_player);es_getplayername wcs_tmp2 server_var(wcs_userid);es wcs_setaim server_var(wcs_userid) server_var(wcs_player) 10"
"racealias_aimchk" "es_xset wcs_tmp 0;es_keygetvalue wcs_tmp WCSuserdata server_var(wcs_player) ulti_immunity;if (server_var(wcs_tmp) = 1) then wcs_getlanguage wcs_lng wcs_lng_ulti_immunity_a;if (server_var(wcs_tmp) = 1) then es_xtell server_var(wcs_userid) #multi server_var(wcs_lng);if (server_var(wcs_tmp) = 1) then wcs_getlanguage wcs_lng wcs_lng_ulti_immunity_v;if (server_var(wcs_tmp) = 1) then es_xtell server_var(wcs_player) #multi server_var(wcs_lng);if (server_var(wcs_tmp) = 0) then racealias_aim"
"skill4_cmd" "es_xset wcs_player 0;if (server_var(wcs_team) = 2) then est_randplayer wcs_player #c!d;if (server_var(wcs_team) = 3) then est_randplayer wcs_player #t!d;es_exists ex userid server_var(wcs_player);if (server_var(ex) = 1) then racealias_aimchk"
"skill4_sfx" "es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es_xmath wcs_z1 + 40;es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 3 60 100 0.8 0 200 100 200 1"
"ultimate_cooldown" "20"

will that work?
Logged
Ron
Level 1 Trained Beginner
*
Offline Offline

Posts: 20


« Reply #1 on: October 20, 2008, 02:41:21 AM »

would this work? if so that'd be cool beans
Logged
Bob
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 212



« Reply #2 on: October 20, 2008, 03:58:23 PM »

ha cool beans lol my mom says that...

and also ya if anyone could test it that would be great
Logged
Fanatic
Level 1 Trained Beginner
*
Offline Offline

Netherlands Netherlands

Posts: 36



« Reply #3 on: October 20, 2008, 04:20:23 PM »

No it doesn't work, but it is an awesome idea Smiley
Logged
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #4 on: November 16, 2008, 09:57:46 PM »

autoaim skill is easy Smiley
just have to use the command:

for player_attacker:
es est_setaim event_var(attacker) event_var(victim) -5

for player_victim:
es est_setaim event_var(userid) event_var(attacker) -5
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
Petru
Guest
« Reply #5 on: November 16, 2008, 10:10:04 PM »

player spawn autoaim  :twisted: :twisted:  :-D
Logged
Zawmbee
Guest
« Reply #6 on: November 17, 2008, 06:37:08 AM »

Nice idea, auto aim for x amount of seconds would be quite interesting.
Logged
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2887


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #7 on: November 17, 2008, 09:06:21 AM »

As Rasmus said, for a player_hurt event, you have to use event_var(userid) (the victim) and event_var(attacker) (the attacker).
For a player_ultimate, you can target random ennemy, check there are walls between server_var(wcs_userid) and server_var(wcs_target) (or whatever you called it), if there's no wall, set aim, if there are, skip and say Ultimate failed.
Same for player_spawn, just replace server_var(wcs_userid) with event_var(userid).
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
CA.Berettonawak
Le renommé méconnu...
Watchdogs
Level 7 Expert
*****
Offline Offline

France France

Posts: 2887


Big Berettonawak is watching you...


WWW
Bifkids
« Reply #8 on: November 17, 2008, 11:09:05 AM »

maybe is it a bit OP :mrgreen:
Logged

Quote from: N0life
Beret, keep yourself focusing on 1 project. Be sure to memorize that down since it sounds good.
Quote from: myself
i love tuna juice Cheesy
Quote from: Pietro
=CA= Pietro: back
=CA= Pietro: sorry, was downstair sharing my chocolate with my cat
=CA= Pietro: you should see his face when he ate it xD
Quote from: myself
=CA= Berettonawak: just because you don't have hope doesn't mean we're doomed
Rasmus
Trapped in between
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 1472




Rasmus4J
rasmus4j
« Reply #9 on: November 17, 2008, 02:59:45 PM »

LOL DUDE

I would test eventscripts, "H4CKS" function, and make an ultimate where it teleports one random guy to me, then starts physpushing him around. Gives me a deagle, and bam!  :shock:

reminds me a bit of my wolwerine ultimate:
get a random enemy, teleport him to me (a bit away of me) and give me a deagle and aim at him while he is frozen
Logged

where would you put the comma in the following telegram from a wife, to her husband in the navy?
"Not getting any better hurry home!"
trappe2
Level 1 Trained Beginner
*
Offline Offline

Denmark Denmark

Posts: 25




remathias1
« Reply #10 on: November 07, 2009, 12:02:10 AM »

Code
GeSHi (eventscripts):
[/"skill1_setting" "es_xsetinfo wcs_chance 2|es_xsetinfo wcs_chance 4|es_xsetinfo wcs_chance 6|es_xsetinfo wcs_chance 8|es_xsetinfo wcs_chance 10"
"skill1_cmd" "es est_SetAim event_var(userid) event_var(attacker) -15;es es_xif (server_var(wcs_rand) <= 10) then es_xtell event_var(userid) #lightgreen Aim-Bot Noob"
"skill1_sfx" "es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;es es_xif (server_var(wcs_dice) <= 30) then est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 177 19 125 25 25 255"
]
 
Aimbot :P
Logged
Zawmbee
Guest
« Reply #11 on: November 07, 2009, 02:08:41 AM »

Code
GeSHi (eventscripts):
[/"skill1_setting" "es_xsetinfo wcs_chance 2|es_xsetinfo wcs_chance 4|es_xsetinfo wcs_chance 6|es_xsetinfo wcs_chance 8|es_xsetinfo wcs_chance 10"
"skill1_cmd" "es est_SetAim event_var(userid) event_var(attacker) -15;es es_xif (server_var(wcs_rand) <= 10) then es_xtell event_var(userid) #lightgreen Aim-Bot Noob"
"skill1_sfx" "es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xif (server_var(wcs_dice) <= 30) then es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es es_xmath wcs_z1 + 40;es es_xmath wcs_z2 + 40;es es_xif (server_var(wcs_dice) <= 30) then est_effect 3 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 2 177 19 125 25 25 255"
]
 
Aimbot :P

That would not work based on what he wants...  The idea is to press the ultimate and have aim set to the closest enemy alive...  By the way, this is very possible since I just thought of a way for this to occur easily...  It seems to mainly require event player_footstep... 

1.) Have a keysetvalue so that when the ultimate is pressed it is activated to the number 1 for the user.
2.) Inside the event player_footstep, event player_attacker, and event player_victim, have a coordinate set to different variables that load (In same order as above) Closest person to you, Person you shot at, Person that shot you.
3.) Add the coding to set the aim to either the person closest to you walking, the person you shot at, or the person that shot you.
(However, whenever a set aim is put on someone, have a second variable that will turn off the aim so that it sticks to the last person you had the aim set.  Do not have the same variable for the event_player footstep.  In the case of event player_footstep, have a keysetvalue that if you either shoot someone or someone shoots you, it is an override that shuts off that event and moves to the person that you shot or shot you [Therefore, this prevents you from dieing as easily if your aim is constantly set to the nearest person])

For future reference, to keep from a wall hack type of ability for the event player_footstep... it is up to you to do a wall check so that you will not know where someone is through a wall until they are seen.

Hope you get this up and running, simple enough to code.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
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
January 02, 2010, 10:09:16 PM
Welcome back Pietro Tongue
January 02, 2010, 10:06:04 PM
Welcome back Eric Tongue
Recent
[Today at 07:30:40 AM]

[Today at 07:24:28 AM]

[Today at 02:55:13 AM]

[Today at 12:24:21 AM]

[Today at 12:05:09 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]

[January 02, 2010, 09:32:57 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.266 seconds with 25 queries.