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 2010-01-31 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 31, 2010, 12:25:41 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: WCS Tournament being opened for applications!

Post here for signups!
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: Re: Yellow Mage ~{Race}~  (Read 1480 times)
HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« on: September 07, 2007, 03:02:53 AM »

the sfx for skill2 wont work
1:you have server_var(wcs_userid) insted of event_var(userid)
2:its a player_spawn skill and you getplayerlocation for two players both server_var(wcs_userid)
same for  skill 1,
one should be event_var(userid) and the other should be event_var(attacker)
Logged

Phat_Wizard
<WCS coder>
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 229




Phat_Wizard
phatwizard
« Reply #1 on: September 07, 2007, 03:23:40 AM »

Thanks for letting me know about them errors... It worked fine when i tested it, maybe because i test stuff with bots?
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #2 on: September 07, 2007, 03:35:21 AM »

try it like this
if the effects are backwards change attacker to userid and userid to attacker
Code:
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);es es_xmath wcs_z2 + 120;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 10 0.5;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0.2 sprites/lgtning.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1.2 40 40 255 255 0 200;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 10 #a 0.4 sprites/plasma1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 25 65 2.2 60 100 4 255 255 0 155 2"
Logged

Phat_Wizard
<WCS coder>
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 229




Phat_Wizard
phatwizard
« Reply #3 on: September 07, 2007, 04:24:33 AM »

try it like this
if the effects are backwards change attacker to userid and userid to attacker
Code:
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(attacker);es es_xmath wcs_z2 + 120;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 7 #a 0 sprites/smoke.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 10 0.5;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_Effect 3 #a 0.2 sprites/lgtning.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 1.2 40 40 255 255 0 200;es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then est_effect 10 #a 0.4 sprites/plasma1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 25 65 2.2 60 100 4 255 255 0 155 2"

If I do it like that the yellow beam would point from him to me or me to him I think, but as you see the effects in the pictures thats how they are supposed to be like. So at the moment it should all be working as it supposed to as far as I know, it even worked with a few errors >.< but i have corrected them all, at least as far as i know. :mrgreen:
Logged

HOLLIDAY
<Race Maker>
Watchdogs
Level 7 Expert
*****
Offline Offline

Posts: 2333


of all the things ive lost i miss my mind the most


WWW
Wc3_HOLLIDAY_Wc3
wc3hollidaywc3

myServer 8.2.0.222:27015
(Warning: click connects through Steam)
« Reply #4 on: September 07, 2007, 08:00:44 AM »

if that the effect your trying to get try est_effect 11
im not shure but i think that one is animated if you use the glow sprite effect like this
es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es_xmath wcs_z1 + 15;es est_effect 11 #a 0 sprites/plasma1.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 3 5 255
Logged

Phat_Wizard
<WCS coder>
Level 7 Expert
*****
Offline Offline

Canada Canada

Posts: 229




Phat_Wizard
phatwizard
« Reply #5 on: September 07, 2007, 01:05:42 PM »

Aww ok I will give that a try tonight.  :mrgreen:
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
January 30, 2010, 08:48:38 PM
wcs_alpha is used for effects to determine how visible/bright/see-through an effect is.
January 30, 2010, 05:44:23 PM
Has nothing to do with the speed. wcs_alpha is just a variable which can be used anywhere.
January 30, 2010, 05:40:44 PM
oh and thank you ^.^
January 30, 2010, 05:40:32 PM
ohh... but it shouldnt be with the settings of speed right?
January 30, 2010, 12:19:50 AM
wcs_alpha actually doesn't affect the invis as far as I know, it's just a variable which goes by wcs_invis.
January 29, 2010, 11:20:18 PM
ha ha copy paste fail below >.>
January 29, 2010, 11:19:30 PM
# Jessory: ok i got the answer.. i figured it was about the transperacy and i was right. except i seen wcs_alpha in the settings with speed... so it confused me abit and made me wonder why alpha was with speed.. found out its just extra crap is all
Recent
[Today at 12:15:31 PM]

[Today at 02:33:17 AM]

by amiq
[Today at 02:18:57 AM]

[Today at 01:05:12 AM]

by amiq
[January 30, 2010, 10:13:03 PM]

[January 30, 2010, 09:03:05 PM]

[January 30, 2010, 08:12:16 PM]

[January 30, 2010, 03:50:21 PM]

[January 30, 2010, 01:24:55 PM]

[January 30, 2010, 08:54:50 AM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2009, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.092 seconds with 24 queries.