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-07-11 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
July 11, 2009, 10:52:36 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Join the new Facebook Warcraft-Source.com Group! It has been currently opened!
Join!
Google  
  Home   Forum   Help Search Login Register   *
Pages: 1 2 [3]   Go Down
  Print  
Current Topic Rating: ***** You have not rated this topic. Select a rating:
Author Topic: [Helpful] Attack codes  (Read 2378 times)
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« on: September 15, 2007, 07:29:59 PM »

these are helpful player_attacker codes:

I am making a race that randomly gets these effects so I thought I would share the codes:
Each line is a seperate code: (I keep seperate text files like this on my comp so I can use them and access them quickly)
Burn
Freeze
Drunk
Drug
Blind
Shake
Push
Vampire
Damage
Rocket (slay)
Sound
Drop primary


Code:
"racealias_burn"      "es est_Burn event_var(userid) 3;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenBurned;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenBurned #lightgreenyour enemy"
"racealias_freeze"    "es est_Freeze event_var(userid) 1;es es_delayed 3 est_Freeze event_var(userid) 0;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenFrozen;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenFrozen #lightgreenyour enemy"
"racealias_drunk"     "es est_Drunk event_var(userid) 3;es es_xtell event_var(userid) #multi #lightgreenYou are now #greenDrunk;es es_xtell event_var(attacker) #multi #lightgreenYou have made your enemy #greenDrunk"
"racealias_drug"      "es est_Drug event_var(userid) 3;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenDrugged;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenDrugged #lightgreenyour enemy"
"racealias_blind"     "es est_fade event_var(userid) 2 2 0 100 220 235 75;es es_xdelayed 4 est_fade event_var(userid) 0 2 0 100 220 235 75;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenBlinded;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenBlinded #lightgreenyour enemy"
"racealias_shake"     "es est_shake event_var(userid) 3 10 15;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenShaken;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenShaken #lightgreenyour enemy"
"racealias_push"      "es est_physpush event_var(userid) 0 0 300;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenPushed;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenPushed #lightgreenyour enemy"
"racealias_vamp"      "es es_xsetinfo wcs_dmg event_var(dmg_health);es es_xif (server_var(wcs_game) != server_var(wcs_game_css)) then es_xrand wcs_dmg 1 20;es_xmath wcs_dmg float;es es_xmath wcs_dmg / server_var(wcs_divider);es est_RoundDecimal wcs_dmg server_var(wcs_dmg) 0;es est_Health event_var(attacker) + server_var(wcs_dmg);es es_xtell event_var(userid) #multi #lightgreenYour health is being #greenLeeched;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenLeeched #lightgreenyour enemy"
"racealias_adddmg"    "es wcs_dealdamage event_var(attacker) event_var(userid) 15;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenDamaged;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenDamaged #lightgreenyour enemy"
"racealias_rocket"    "es est_Rocket event_var(userid);es es_xdelayed 5 est_physpush event_var(attacker) 0 0 -100;es es_xtell event_var(userid) #multi #lightgreenYou have been #greenLaunch;es es_xtell event_var(attacker) #multi #lightgreenYou have #greenLaunched #lightgreenyour enemy"
"racealias_sound"     "es est_PlayPlayer event_var(userid) "mysounds/cry.mp3" 0.5 ;es es_xtell event_var(userid) #multi #lightgreenYou start to #greenCRY;es es_xtell event_var(attacker) #multi #lightgreenYou made your enemy #greenCRY"
"racealias_dropw"     "es est_Dropweapon event_var(userid) 1;es es_xtell event_var(userid) #multi #lightgreenYou #greenDropped #lightgreenyour weapon;es es_xtell event_var(attacker) #multi #lightgreenWeapon #greenDropped"


« Last Edit: November 20, 2008, 07:42:27 PM by [Oddity]TeacherCreature » Logged

 
WCA | Berettonawak [FR]
Le renommé méconnu...
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2425


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #31 on: April 19, 2009, 10:11:28 AM »

Yes Onslaught is right, didn't even notice it Tongue
Logged

[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #32 on: April 20, 2009, 03:10:35 AM »

Good grab
Logged

Onslaught
Level 7 Master
*******
Offline Offline

United States United States

Posts: 376


WWW.SNK-KLAN.NET


WWW
breezefesty
onslaught87
« Reply #33 on: April 20, 2009, 04:10:33 AM »

Wow i was expecting "stfu noob" lol
Logged

(click to show/hide)

         
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #34 on: April 20, 2009, 03:44:06 PM »

No I think he is right.
Logged

Warpuppy4
Level 1 Trained Beginner
*
Offline Offline

Albania

Posts: 37




warpuppy4
« Reply #35 on: May 25, 2009, 06:37:48 PM »

What would be a attacker code for like pull  Huh
Logged
[Oddity]TeacherCreature
Moderator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1358



WWW
bonggged

myServer 63.209.33.64:27015
(Warning: click connects through Steam)
« Reply #36 on: May 26, 2009, 10:40:08 PM »

get coords of attacker then pushto userid toward attacker coords
Logged

FireFox
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 49


Rookie Coder


WWW
Royalbass
tmufiref0x

myServer 67.201.15.35:27015
(Warning: click connects through Steam)
« Reply #37 on: May 27, 2009, 02:04:49 AM »

I'm trying to make a skill that has a couple of skills in it. So I'm gonna have burn, blind and damge and maybe more and im wondering how to have different chances for those...
Logged

Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 06:57:11 AM
is there anyplace i can get help with maps? ive made a map recently but its crashin css everytime a person trys to load it
July 10, 2009, 02:22:30 PM
go in a forum; go into a topic; down below youll find a reply button
July 10, 2009, 02:15:52 PM
can anyone help me i dont know how to post posts.
July 10, 2009, 02:15:40 PM
sup fellas
July 10, 2009, 01:39:30 PM
dashi619 read pm i send you
July 10, 2009, 12:48:28 PM
help?
July 10, 2009, 10:22:56 AM
ME Tongue
Recent
[Today at 10:51:38 PM]

[Today at 10:39:32 PM]

[Today at 10:13:01 PM]

[Today at 09:25:35 PM]

[Today at 09:18:30 PM]

by M.R.
[Today at 05:16:58 PM]

[Today at 05:05:18 PM]

[Today at 05:04:31 PM]

[Today at 03:13:53 PM]

[Today at 08:29:32 AM]
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.113 seconds with 25 queries.