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 2008-04-21 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
April 21, 2008, 11:51:32 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Official Servers:
#1 - 207.210.236.112:27015 Location US
#2 - 85.190.38.232:27015 Location Amsterdam
| Tick@100 | wcs 0.77 | Mani |
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: Help coding ultimate  (Read 65 times)
Fog
Level 0 Beginner

Offline Offline

United States United States

Posts: 4




Craetive
« on: April 17, 2008, 08:35:20 PM »

I am a bit new at coding for wcs, but i was wondering if anyone could help me code an ultimate that gave someone 95% invis and 2.5 speed for X amount of seconds. If anyone could help me that would be great!
Logged
Zumble
Level 5 Trained Intermediate
*****
Offline Offline

Russian Federation

Posts: 117




zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #1 on: April 18, 2008, 11:50:51 AM »

es est_speed server_var(wcs_userid) 2.5;es est_setplayercolor server_var(wcs_userid) 255 255 255 220 1;es es_xdelayed X est_speed server_var(wcs_userid) 1;es es_xdelayed X est_setplayercolor server_var(wcs_userid) 255 255 255 255 1
Logged

Fog
Level 0 Beginner

Offline Offline

United States United States

Posts: 4




Craetive
« Reply #2 on: April 19, 2008, 05:12:26 AM »

Thank you for that code, but i am having a little difficulty understanding under which section that code goes under, setting or cmd?

also, if i want to edit it so that as the ultimate gets leveled up, the speed, invis, and duration increase, how would i do that?

so far (from my basic understanding of the code) i've come up with this:

Code:
    "skill4_setting"    "es_xsetinfo wcs_duration 2;es_xsetinfo wcs_speed 2.00;es_xsetinfo wcs_invis 50|es_xsetinfo wcs_duration 3;es_xsetinfo wcs_speed 2.10;es_xsetinfo wcs_invis 45|es_xsetinfo wcs_duration 4;es_xsetinfo wcs_speed 2.20;es_xsetinfo wcs_invis 40|es_xsetinfo wcs_duration 5;es_xsetinfo wcs_speed 2.30;es_xsetinfo wcs_invis 35|es_xsetinfo wcs_duration 6;es_xsetinfo wcs_speed 2.40;es_xsetinfo wcs_invis 30|es_xsetinfo wcs_duration 8;es_xsetinfo wcs_speed 2.50;es_xsetinfo wcs_invis 15"
    "skill4_cmd" "es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) speed server_var(wcs_speed);es est_Speed event_var(userid) server_var(wcs_speed);es es_xdelayed server_var(wcs_duration) est_Speed event_var(userid) 0.3;es es_xkeygetvalue wcs_tmp WCSuserdata event_var(userid) speed;es es_xif (server_var(wcs_tmp) > server_var(wcs_speed)) then es_xsetinfo wcs_speed server_var(wcs_tmp);es es_xkeysetvalue WCSuserdata event_var(userid) invis server_var(wcs_invis);es est_Invis event_var(userid) server_var(wcs_invis);es es_xdelayed server_var(wcs_duration) est_Invis event_var(userid) 0.3"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "20"

if someone could help me figure this out i would greatly appreciate it! 
Logged
Zumble
Level 5 Trained Intermediate
*****
Offline Offline

Russian Federation

Posts: 117




zumble

myServer 77.220.182.48:27015
(Warning: click connects through Steam)
« Reply #3 on: April 19, 2008, 03:18:12 PM »

 "skill4_setting"    "es_xsetinfo wcs_duration 2;es_xsetinfo wcs_speed 2;es_xsetinfo wcs_invis 50|es_xsetinfo wcs_duration 3;es_xsetinfo wcs_speed 2.1;es_xsetinfo wcs_invis 45|es_xsetinfo wcs_duration 4;es_xsetinfo wcs_speed 2.2;es_xsetinfo wcs_invis 40|es_xsetinfo wcs_duration 5;es_xsetinfo wcs_speed 2.3;es_xsetinfo wcs_invis 35|es_xsetinfo wcs_duration 6;es_xsetinfo wcs_speed 2.4;es_xsetinfo wcs_invis 30|es_xsetinfo wcs_duration 8;es_xsetinfo wcs_speed 2.5;es_xsetinfo wcs_invis 15"
    "skill4_cmd"   "es est_speed server_var(wcs_userid) server_var(wcs_speed);es est_setplayercolor server_var(wcs_userid) 255 255 255 server_var(wcs_invis) 1;es es_xdelayed server_var(wcs_duration) est_speed server_var(wcs_userid) 1;es es_xdelayed server_var(wcs_duration) est_setplayercolor server_var(wcs_userid) 255 255 255 255 1"
    "skill4_sfx"        "0"
    "ultimate_cooldown" "20"
Logged

Fog
Level 0 Beginner

Offline Offline

United States United States

Posts: 4




Craetive
« Reply #4 on: April 19, 2008, 06:42:28 PM »

thank you very much!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 20, 2008, 05:06:27 AM
yo anyone here?
April 18, 2008, 09:10:35 PM
10 days since it has been announced, hardly categorizing it as "ages"
April 18, 2008, 09:09:42 PM
Quoting from the topic: The date is not yet set, but its atleast 1-2 months awa
April 18, 2008, 06:41:55 PM
Whats happening with this wcs tournament weve been wating for ages [email protected]
April 18, 2008, 03:09:34 PM
voteban, menuselect "Frodo"
April 18, 2008, 09:59:31 AM
if anyone can help me with coding race send me letter

sorry my english
Recent
[Today at 08:15:17 AM]

[Today at 07:37:56 AM]

[Today at 07:37:15 AM]

[Today at 07:35:19 AM]

[Today at 03:35:27 AM]

[Today at 02:57:24 AM]

[Today at 02:22:06 AM]

[Today at 12:14:05 AM]

[April 20, 2008, 08:38:13 PM]

[April 20, 2008, 08:27:31 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.06 seconds with 25 queries.