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-01-24 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 24, 2009, 11:51:37 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: NEW versions of WCS!
WCS 0.78 sponsored by Deejay87
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: SFX help beamring  (Read 76 times)
cccpayback
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5



« on: January 22, 2009, 05:30:12 PM »

i have a question about the 'beamring' sfx  (effect 10)   
   if you want the ring around your enemy you have to type for the coordinates  <x> <y> <z> (in file=) wcs_x1 wcs_y1 wcs_z1   
but i want the effect above the player        so what do i have to write in place of the z? does some1 know how to do it?
Logged
Namolem
Level 6 Experienced
*****
Online Online

Russian Federation

Posts: 135



« Reply #1 on: January 22, 2009, 07:28:17 PM »

If i right remember, z cooirdinate of player is his foots, head is z + 100
Logged
cccpayback
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5



« Reply #2 on: January 22, 2009, 10:16:49 PM »

nope   doesnt work Sad    ty anyway   
Logged
cccpayback
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5



« Reply #3 on: January 22, 2009, 10:22:00 PM »

the effect appears from where i shot the enemy     for example frostpistol:
Code:
"es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 500 3 100 100 0 255 105 155 255 50;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es est_Effect 3 #a 0 sprites/glow.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 0.5 20 20 200 0 255 255"
)

the thing i cant find out :   the beamring(lgtning) should appear a distance above the enemy
does some1 know what i have to change in it?
« Last Edit: January 23, 2009, 06:17:26 PM by cccpayback » Logged
maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 499





myServer 81.26.221.156:27015
(Warning: click connects through Steam)
« Reply #4 on: January 22, 2009, 10:24:47 PM »

the effect appears from where i shot the enemy     for example (frostpistol: "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 500 3 100 100 0 255 105 155 255 50;es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(attacker);es es_xgetplayerlocation wcs_x2 wcs_y2 wcs_z2 event_var(userid);es_xmath wcs_z1 + 20;es_xmath wcs_z2 + 20;es est_Effect 3 #a 0 sprites/glow.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 0.5 20 20 200 0 255 255")

the thing i cant find out :   the beamring(lgtning) should appear a distance above the enemy
does some1 know what i have to change in it?
give your code and what you did with the 100+
Logged

Server = work in progress Smiley
cccpayback
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5



« Reply #5 on: January 23, 2009, 06:12:21 PM »

after the sprites/lgtning.vmt    i used wcs_z1+100      but didnt work
Logged
La Muerte
Level 5 Trained Intermediate
*****
Offline Offline

Belgium Belgium

Posts: 101




shitbreak714
shitbreak714

myServer 85.12.17.17:27025
(Warning: click connects through Steam)
« Reply #6 on: January 23, 2009, 06:18:13 PM »

use wcs_z1 + 100
Logged
maxxi
Level 7 Expert
*****
Offline Offline

Netherlands Netherlands

Posts: 499





myServer 81.26.221.156:27015
(Warning: click connects through Steam)
« Reply #7 on: January 23, 2009, 06:24:29 PM »

after the sprites/lgtning.vmt    i used wcs_z1+100      but didnt work
es_xmath wcs_z2 +100;your lovely code Wink
Logged

Server = work in progress Smiley
cccpayback
Level 0 Beginner

Offline Offline

Belgium Belgium

Posts: 5



« Reply #8 on: January 23, 2009, 10:02:35 PM »

i did what you told me   and it works for the normal beam        but i have to do something with the first part of the code   for the beamRING.
it doesnt work if i write  wcs_z1 +100 there   Sad
Logged
Namolem
Level 6 Experienced
*****
Online Online

Russian Federation

Posts: 135



« Reply #9 on: Today at 07:45:10 AM »

I think you cannot write "wcsz1+100" in effect. First write "es_xmath wcs_z1 + 100" then effect
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 07:43:51 PM
brettonhawk?? can u look now at my race?? i fixed something and i wanna see if its ok...
Today at 07:42:28 PM
MASTER MIND I DELETED YOUR RACE, I HAD WARNED YOU ABOUT POSTING IN CODE
Today at 07:41:46 PM
someone can help me?? i done a race.. see second race..
and i wanan test it.. somebody have got a test server?? if yes pls put un and say ip
Today at 07:38:53 PM
no moonlight still banned for 27 days left !
Today at 06:51:22 PM
deleted op-race-request...
moonlight = unbanned?
Today at 06:35:55 PM
tell me why aint moonlight banned?
Today at 01:56:58 PM
@lightning... good idea Tongue
Recent
[Today at 11:18:46 PM]

[Today at 08:59:02 PM]

[Today at 08:55:25 PM]

[Today at 08:13:40 PM]

[Today at 08:01:13 PM]

[Today at 07:47:14 PM]

[Today at 07:29:12 PM]

[Today at 05:36:54 PM]

[Today at 04:47:08 PM]

[Today at 04:31:58 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.046 seconds with 26 queries.