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-12-06 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
December 06, 2008, 12:13:12 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: effects aint where it should be  (Read 118 times)
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« on: April 05, 2008, 09:03:32 AM »

Code:
"skill1_sfx"        "es es_xif (server_var(wcs_dice) <= server_var(wcs_chance)) then es es_xgetplayerlocation wcs_x1 wcs_y2 wcs_z1 event_var(userid);es est_effect 10 #a 0 effects/ar2ground2.vmt server_var(wcs_x1) server_var(wcs_y1)server_var(wcs_z1) 30 100 5 10 0 0 255 255 255 128 10"

this ring is placed some feet away from (userid), but it should be around userid.
please me
Logged

kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1113



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #1 on: April 05, 2008, 10:12:30 AM »

here is the mistake:

es_xgetplayerlocation wcs_x1 wcs_y2 wcs_z1

fixed code:
Code
GeSHi (eventscripts):
"skill1_sfx"        "if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 event_var(userid);es est_effect 10 #a 0 effects/ar2ground2.vmt server_var(wcs_x1) server_var(wcs_y1)server_var(wcs_z1) 30 100 5 10 0 0 255 255 255 128 10"
Logged

(click to show/hide)
[H.F.M.]Rasmus{Chef}
WCS Supporter
Level 7 Expert
*****
Offline Offline

Denmark Denmark

Posts: 889




Rasmus4J
rasmus4j

myServer 85.190.17.115:27015
(Warning: click connects through Steam)
« Reply #2 on: April 05, 2008, 04:36:22 PM »

thanks you!!
stupid mistakes like that are the ones that i always miss out on:(
btw. my server is running the wcs mod perfectly now, dont know how, but i had it turned off for a couple of days, then i activated it and everything worked!!

in the server.cfg is it a must to do es_load wcs instead of es_reload wcs?
Logged

kryptonite
<WCS coder>
Administrator
Level 7 Expert
*****
Offline Offline

Germany Germany

Posts: 1113



WWW
sp0nk

myServer 85.190.38.232:27015
(Warning: click connects through Steam)
« Reply #3 on: April 05, 2008, 04:59:55 PM »

uhm...don't put "es_load wcs" or "es_reload wcs" in your server.cfg!

only in autoexec.cfg:

es_load wcs

otherwise it would re/load the whole mod on every mapchange (long mapchange time, big memory consumption...)
Logged

(click to show/hide)
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
December 04, 2008, 09:57:56 PM
gg
December 04, 2008, 09:46:16 PM
hey guys, how are you?
gonna sleep, cya tomorrow
December 03, 2008, 12:45:48 PM
@ bombkill : all mods should be compatible with WCS... but we can't be sure
@retrokboy : css server? provider? other mods?
December 03, 2008, 01:49:25 AM
I NEED SERVER HELP MY FORUM IS IN BUG REPORT PLEASE REPLY I NEED HALP
December 02, 2008, 10:05:01 PM
does anyone know where all the wcs compatible mods are listed or a website i can find them
December 02, 2008, 08:24:47 PM
/agree
Recent
[Today at 09:15:37 AM]

[Today at 08:33:01 AM]

[Today at 12:26:04 AM]

[December 05, 2008, 10:26:03 PM]

[December 05, 2008, 08:10:32 PM]

[December 05, 2008, 07:51:01 PM]

[December 05, 2008, 07:33:12 PM]

[December 05, 2008, 07:11:25 PM]

[December 05, 2008, 06:44:09 PM]

[December 05, 2008, 12:14:07 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.058 seconds with 27 queries.