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-09-16 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
September 16, 2009, 11:19:53 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Remember to check on the FAQ before start posting.
It may save you time and effort.
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: Shake enemy skill  (Read 36 times)
๖ۜAñgêløک
Level 6 Experienced
*****
Offline Offline

United Kingdom

Posts: 120




skeav94
« on: September 07, 2009, 10:55:50 PM »

i was wondering if there is a skill when you get close to enemy's that there screen starts to shake

any ideas please?
Logged
Gen.GenitalZ
Level 1 Trained Beginner
*
Offline Offline

United States United States

Posts: 20



« Reply #1 on: September 08, 2009, 09:14:14 PM »

I edited the code from "Doctor Doom" Created By "THE EViL"

Code
GeSHi (eventscripts):
"skill_cfg"          "player_spawn"
 
"skill1_setting"     "es_xsetinfo wcs_tmp4 0.3|es_xsetinfo wcs_tmp4 0.6|es_xsetinfo wcs_tmp4 0.9|es_xsetinfo wcs_tmp4 1.2|es_xsetinfo wcs_tmp4 1.5"
"racealias_largs1"   "es_keygetvalue wcs_round WCSuserdata server_var(wcs_tmp2) aura_round;if (server_var(wcs_roundcounter) = server_var(wcs_round)) then es_xdelayed 1 wcs_dalias racealias_largs2 server_var(wcs_tmp2) 600 server_var(wcs_tmp4)"
"racealias_largs2"   "es_getplayerprop wcs_dead server_var(wcs_tmp2) CCSPlayer.baseclass.pl.deadflag;if (server_var(wcs_dead) = 0) then racealias_largs3"
"racealias_largs3"   "es_getplayerteam wcs_team server_var(wcs_tmp2);if (server_var(wcs_team) = 2) then es_xsetinfo wcs_team #c!d;if (server_var(wcs_team) = 3) then es_xsetinfo wcs_team #t!d;es est_Near wcs_targetid server_var(wcs_team) server_var(wcs_tmp3) server_var(wcs_tmp2) racealias_largs4;racealias_largs1"
"racealias_largs4"   "es es_xgetplayername wcs_name server_var(wcs_targetid);es est_shake server_var(wcs_targetid) server_var(wcs_tmp4) 10 40;es_tell server_var(wcs_tmp2) The ground shakes when you walk;es_tell server_var(wcs_targetid) The ground is shaking!"
"skill1_cmd"         "es_xsetinfo wcs_round 0;es_keysetvalue WCSUserdata event_var(userid) aura_round server_var(wcs_roundcounter);es_setinfo wcs_tmp2 event_var(userid);racealias_largs1"
"skill1_sfx"         "0"


I THINK This requires the wcs_dalias Block In Your wcs_ultimate file.
The First Three Lines go in the top,
and the second part, (The block)
Go With The Other Blocks

Code
GeSHi (eventscripts):
es_xexists wcs_exists command wcs_dalias
if (server_var(wcs_exists) = 0) then es_xregcmd wcs_dalias wcs/WCSultimates/wcs_dalias
//"Executes alias with delay without loosing data"
 
block wcs_dalias
{
if (server_var(wcs_debug) = "1") then echo wcs_dalias start
es_xset wcs_tmp1 0
es_xset wcs_tmp2 0
es_xset wcs_tmp3 0
es_xset wcs_tmp4 0
es_xset wcs_tmp5 0
es_xset wcs_tmp6 0
es_xset wcs_tmp7 0
es_xset wcs_tmp8 0
es_xset wcs_tmp9 0
es_xset wcs_tmp10 0
es_xset wcs_tmp11 0
es_xset wcs_tmp12 0
es_xset wcs_tmp13 0
es_xset wcs_tmp14 0
es_xset wcs_tmp15 0
es_xgetargv wcs_tmp1 1
es_xgetargv wcs_tmp2 2
es_xgetargv wcs_tmp3 3
es_xgetargv wcs_tmp4 4
es_xgetargv wcs_tmp5 5
es_xgetargv wcs_tmp6 6
es_xgetargv wcs_tmp7 7
es_xgetargv wcs_tmp8 8
es_xgetargv wcs_tmp9 9
es_xgetargv wcs_tmp10 10
es_xgetargv wcs_tmp11 11
es_xgetargv wcs_tmp12 12
es_xgetargv wcs_tmp13 13
es_xgetargv wcs_tmp14 14
es_xgetargv wcs_tmp15 15
es server_var(wcs_tmp1)
if (server_var(wcs_debug) = "1") then echo wcs_dalias end
}
Logged
Loaded
Level 2 Apprentice
**
Offline Offline

Posts: 54



« Reply #2 on: September 12, 2009, 03:15:07 AM »

It does, the dalias is in this line

Code
GeSHi (eventscripts):
"racealias_largs1"   "es_keygetvalue wcs_round WCSuserdata server_var(wcs_tmp2) aura_round;if (server_var(wcs_roundcounter) = server_var(wcs_round)) then es_xdelayed 1 wcs_dalias racealias_largs2 server_var(wcs_tmp2) 600 server_var(wcs_tmp4)"

Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 09:59:18 PM
none
Today at 09:42:45 PM
taats my point n0life.
Today at 08:52:17 PM
I only needed a new key when I installed onto a new HDD
Today at 08:12:41 PM
you already have an operating system, when you replace a motherboard it doesn't change whether your OS is installed or not... please make a thread so I can help you there.
Today at 07:03:49 PM
so thats why i don't want to build computer cause of license key...koshy i'm sorry what i said and i didn't read your replies..but thanks for helping...
Today at 07:00:23 PM
yeah i know i can build computer cuz i'm good at hand work...but i found out you need to buy license key cost 200$ to get os work
Today at 05:40:31 PM
go talk to him ! ^^
Recent
[Today at 10:22:40 PM]

[Today at 10:18:16 PM]

[Today at 09:40:04 PM]

[Today at 08:50:16 PM]

[Today at 08:39:32 PM]

[Today at 07:11:49 PM]

[Today at 06:12:17 PM]

[Today at 05:59:10 PM]

[Today at 05:52:01 PM]

[Today at 05:44:52 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.265 seconds with 24 queries.