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-05-10 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 10, 2008, 04:37:44 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

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: Need help with ultimate  (Read 94 times)
Mrkool123
Level 3 Trained Apprentice
***
Offline Offline

United Kingdom

Posts: 71




Mrkool123

myServer 89.145.117.68:27015
(Warning: click connects through Steam)
« on: April 28, 2008, 07:54:51 PM »

Code:
"skill3_setting"    "es_xsetinfo wcs_duration 3|es_xsetinfo wcs_duration 5|es_xsetinfo wcs_duration 6|es_xsetinfo wcs_duration 7|es_xsetinfo wcs_duration 8|es_xsetinfo wcs_duration 9|es_xsetinfo wcs_duration 10|es_xsetinfo wcs_duration 10"
    "skill3_cmd"        "es es_xtell server_var(wcs_userid) #multi #greenWARNING :Your Wheel Chair Gained a Electronic Boost for server_var(wcs_duration) seconds!;es sv_friction -0.1;es sv_gravity 500;es es_xdelayed server_var(wcs_duration) es_tell server_var(wcs_userid) #green:WARNING: BoostPack Depleated!;es es_xdelayed server_var(wcs_duration) sv_friction 4;es es_xdelayed server_var(wcs_duration) sv_gravity 800"
    "skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_delayed 1 est_effect 10 #a 0 effects/red.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 200 1000 8 400 400 0 255 5 5 255 10"
    "ultimate_cooldown" "20"

i need help making this so when the player presses the ultimate it only works for them, plus how do i make it so that it doesnt say "cvar_sv_friction 0.2 cus when the player presses his ulti it shows the server executing it
   
Logged
eagle
Level 0 Beginner

Offline Offline

United States United States

Posts: 8




nivek3
« Reply #1 on: April 29, 2008, 01:20:54 PM »

whats the ultimate supposed to do? I dont have time to read it right now
Logged
seconds
Level 2 Apprentice
**
Offline Offline

United States United States

Posts: 43



« Reply #2 on: April 30, 2008, 02:47:13 PM »

isnt (userid) not a wcs?
Logged
Stepho
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 110


Sprouse <'3


WWW
andro177
stonedbyme

myServer 85.190.14.38:27015 --/\-- 77.66.39.8:27015
(Warning: click connects through Steam)
« Reply #3 on: April 30, 2008, 02:50:56 PM »

I don't know if I'm right, I'm pretty new though!
But should it not be server_var(userid) in an ultimate?

Code:
"skill3_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 [b]event_var(userid);[/b]es es_delayed 1 est_effect 10 #a 0 effects/red.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 200 1000 8 400 400 0 255 5 5 255 10"
    "ultimate_cooldown" "20"




I'm not sure,
Logged

Love me or hate me either way your still thinking about me!
Indeed, I sometimes feel that way, looking in the dark. But I think a more accurate metaphor is that of Sisyphus. We are all like Sisyphus—
we learn, we work, we have children, we die. That’s it. What for? Our reward is life itself.

http://steamcommunity.com/id/stepho11
Berettonawak
Level 7 Expert
*****
Offline Offline

France France

Posts: 465


Big Berettonawak is watching you...


WWW
Berettonawak
Berettonawak

myServer 81.93.59.99:30000
(Warning: click connects through Steam)
« Reply #4 on: April 30, 2008, 05:07:41 PM »

Ok so his code must be working.
With server_var(userid) it won't work, it's server_var(wcs_userid) cause he's coding an ultimate.
Then, for the spam, you can't do anything, or maybe, but i'm not sure, you can use, ma_rcon (i think there's no spam with it) but it will need to install Mani Admin Plugin.
And if you wan't only the user to be affected by the friction, i think you can't.
I don't know any command to do it.
Logged

French Warcraft Coder and Famas Owner...
Stepho
Level 5 Trained Intermediate
*****
Offline Offline

Denmark Denmark

Posts: 110


Sprouse <'3


WWW
andro177
stonedbyme

myServer 85.190.14.38:27015 --/\-- 77.66.39.8:27015
(Warning: click connects through Steam)
« Reply #5 on: April 30, 2008, 06:12:22 PM »

Niice, I did not know that lol, I'm new, thanks
But what do you want the ultimate to do?
Logged

Love me or hate me either way your still thinking about me!
Indeed, I sometimes feel that way, looking in the dark. But I think a more accurate metaphor is that of Sisyphus. We are all like Sisyphus—
we learn, we work, we have children, we die. That’s it. What for? Our reward is life itself.

http://steamcommunity.com/id/stepho11
Mrkool123
Level 3 Trained Apprentice
***
Offline Offline

United Kingdom

Posts: 71




Mrkool123

myServer 89.145.117.68:27015
(Warning: click connects through Steam)
« Reply #6 on: May 08, 2008, 06:01:41 PM »

it surposed to set a players friction and gravity but it sets the servers, how do i change it to make it so it only ssets the players who activated it.
Logged
[Oddity]TeacherCreature
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 598



WWW

myServer 208.167.243.228:27015
(Warning: click connects through Steam)
« Reply #7 on: May 08, 2008, 06:43:10 PM »

in normal skills we use event_var(userid)
in ultimates we use server_var(wcs_userid)
just fix it
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 03:16:38 AM
Why won't they work? As of 0.8.6 we now even support races that use the WCSuserdata keygroup.

~J3ff
Today at 12:52:42 AM
stinky's races won't work and they are played on most servers i think (they rock)
Today at 12:52:22 AM
how comes my void will work, yaih? what about stinky's huskar
Today at 12:41:40 AM
In the current 0.8.5 release keygroup races are hit or miss (right now 1 in 3 work about) and for the upcoming 0.8.6 release all of them should work.

~J3ff
May 09, 2008, 06:38:50 PM
It's Warcraft in Python language.
Which is a superior language, but I am guessing the hundreds of custom races wont work. Jeff says they wll.
May 09, 2008, 04:58:11 PM
what's wcsp?
May 08, 2008, 10:29:10 PM
Teacher keep your ignorant crap to yourself please: http://warcraft-source.com/board/index.php/topic,3571.0.html

~J3ff
Recent
by st1q
[Today at 04:09:47 PM]

[Today at 03:18:13 PM]

[Today at 03:12:31 PM]

[Today at 02:42:51 PM]

by Jeff
[Today at 02:03:37 PM]

[Today at 12:32:08 PM]

[Today at 11:25:11 AM]

[Today at 11:24:34 AM]

[Today at 10:39:10 AM]

[Today at 10:33:23 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.046 seconds with 25 queries.