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 2009-05-28 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 28, 2009, 09:21:56 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: How do i make someone get pushed when I attack them?  (Read 42 times)
bn2500
Level 0 Beginner

Offline Offline

United States United States

Posts: 4



« on: May 24, 2009, 08:13:18 PM »

I'm making a gravity master race with shake push pull and aimbot head (that doesn't work)
Pull works fine (why does it add + 10 damage?!)
but push doesn't
do they like cancel out?
What i'm asking is how do i push/pull (cause pull is glitchy does xtra damage)

Thanks again!
-bn
Logged
Yiyas
Level 0 Beginner

Offline Offline

United Kingdom

Posts: 15




no1yiyas
no1yiyas
« Reply #1 on: May 24, 2009, 09:46:20 PM »

If you could C&P the code into here I'm sure someone'd look at it, i know i will ^^
Logged
Bob
Level 6 Experienced
******
Offline Offline

United States United States

Posts: 199



« Reply #2 on: May 26, 2009, 08:47:49 PM »

there you go Cheesy
hope you enjoy
with effects
and does +1 - 5 extra dmg
if you want to change it to more
look in the setting and change the wcs_dmg to more
 and change all five of them

Code
GeSHi (eventscrips):
"skill1_setting"    "es_xsetinfo wcs_chance 20;es_xsetinfo wcs_dmg 1|es_xsetinfo wcs_chance 30;es_xsetinfo wcs_dmg 2|es_xsetinfo wcs_chance 40;es_xsetinfo wcs_dmg 3|es_xsetinfo wcs_chance 50;es_xsetinfo wcs_dmg 4|es_xsetinfo wcs_chance 60;es_xsetinfo wcs_dmg 5"
"skill1_cmd"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_push;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then racealias_pushsfx"
"racealias_push"    "es wcs_dealdamage event_var(attacker) event_var(userid) server_var(wcs_dmg);es est_physpush event_var(attacker) 0 0 250;es_xtell event_var(userid) #multi #lightgreen You #greenPushed #default event_var(attackername) #lightgreenin the air!;es_xtell event_var(attacker) #multi #lightgreen You have been #greenPushed #lightgreenby #default event_var(username) !"
"racealias_pushsfx"     "es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);es_delayed 0.5 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) 1 2 2 10 225 10 128"
"skill1_sfx"        "es es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) 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) 1 2 2 10 225 10 128"
 
Logged
bn2500
Level 0 Beginner

Offline Offline

United States United States

Posts: 4



« Reply #3 on: May 27, 2009, 04:26:03 AM »

Thanks Smiley
-bn
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 08:33:50 AM
merry christmas rot Smiley
i missed santa XD
May 27, 2009, 10:55:38 PM
merry christmas
May 27, 2009, 10:42:41 PM
need some ideas xD
May 27, 2009, 10:11:07 PM
hi hi
May 27, 2009, 07:48:41 PM
Hello Smiley
May 27, 2009, 02:50:58 PM
Hello
Recent
[Today at 08:54:23 PM]

[Today at 08:52:49 PM]

by Bob
[Today at 08:13:40 PM]

[Today at 08:10:56 PM]

by Bob
[Today at 08:10:42 PM]

[Today at 08:10:32 PM]

[Today at 08:10:09 PM]

[Today at 08:05:39 PM]

[Today at 08:05:24 PM]

[Today at 07:11:24 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.046 seconds with 23 queries.