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-06-18 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
June 18, 2009, 03:56:43 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Couple of small problems =\  (Read 25 times)
SCA Rabbit
Level 0 Beginner

Offline Offline

United States United States

Posts: 8




Joshua7182
« on: June 16, 2009, 02:14:41 AM »

What can i say?  Im still new at this.   Tongue



anyway... I cant see to get this player_victem skill to work.

Code:
"skill2_setting"   "es_xset wcs_chance 15|es_xset wcs_chance 30|es_xset wcs_chance 50|es_xset wcs_chance 65"
    "racealias_ha3a"   "es est_Freeze event_var(userid) 1;es_delayed 1 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es_format wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es_format wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(attacker) server_var(wcs_lng)"
    "racealias_ha3b"   "es_setplayerprop event_var(userid) CBasePlayer.m_fFlags 32.0;es_delayed 1 wcs_removefx freeze event_var(userid);wcs_getlanguage wcs_lng wcs_lng_r_gotfrozenby;es_format wcs_lng server_var(wcs_lng) event_var(es_attackername);esnq est_csay event_var(userid) server_var(wcs_lng);wcs_getlanguage wcs_lng wcs_lng_r_froze;es_format wcs_lng server_var(wcs_lng) event_var(es_username);esnq est_csay event_var(victem) server_var(wcs_lng)"
    "skill2_cmd"      "if (server_var(wcs_dice) <= server_var(wcs_chance)) then est_IsAlive wcs_alive event_var(userid);if (server_var(wcs_dice) <= server_var(wcs_chance)) then es_xif (server_var(wcs_alive) = 1) then racealias_ha3a"
    "skill2_sfx"      "0"


if your able to tell me whats wrong with it that would be much appreciated.
Logged
SCA Rabbit
Level 0 Beginner

Offline Offline

United States United States

Posts: 8




Joshua7182
« Reply #1 on: June 16, 2009, 02:18:04 AM »

second small problem....

Cant seem to make a class with certain Guns only on a DM server.. i like it to throw down any restricted weapons (like the Flame predator does) but i cant seem to get it right.

Currently on our server, people can just say "guns" and get any gun they want, Flame predator and the rest of the knife only classes throw down all weapons except the knife... 

Id like to have this work but allow certain weapons.  (ie. Shotgun only class, or a pistol only class)
Logged
SCA Rabbit
Level 0 Beginner

Offline Offline

United States United States

Posts: 8




Joshua7182
« Reply #2 on: June 16, 2009, 02:25:11 AM »

oops one more small quicky (last honost)

Code:
"skill4_setting"    "es_xsetinfo wcs_duration 2;es_xset wcs_time 2|es_xsetinfo wcs_duration 3;es_xset wcs_time 3|es_xsetinfo wcs_duration 4;es_xset wcs_time 4|es_xsetinfo wcs_duration 5;es_xset wcs_time 5|es_xsetinfo wcs_duration 7;es_xset wcs_time 7"
        "skill4_cmd"        "es est_drug event_var(userid) server_var(wcs_time);wcs_getlanguage wcs_lng wcs_lng_r_Drugged;es es_xtell server_var(wcs_userid) : ohgod... the colors! server_var(wcs_duration) seconds.;es est_god server_var(wcs_userid) 1;es es_xdelayed server_var(wcs_duration) wcs_removefx god server_var(wcs_userid);es es_xdelayed server_var(wcs_duration) es_tell server_var(wcs_userid) : Wow, that was harsh!;es_xmath wcs_duration - 1;es es_xdelayed server_var(wcs_duration) es_tell server_var(wcs_userid) : Im starting to come down."
        "skill4_sfx"        "es est_effect 4 #a 0 sprites/lgtning.vmt server_var(wcs_userid) 1 10 10 10 255 0 25 255"
        "ultimate_cooldown" "40"
The Invulnerbilty works... but it does not drug the player as intended (its supposed to drug you when you use this ultimate)  any help would be appreciated.
Logged
WCA | Maxxi [NL]
WCS Supporter
Level 7 Master
*****
Offline Offline

Netherlands Netherlands

Posts: 1405



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #3 on: June 16, 2009, 08:25:25 AM »

1. just edit your post dont post everything with a new reply
2. you sure you used player_victim not player_victem
3. DM with wcs is alot of trouble
4. last skill server_var(wcs_userid) instead of event_var(userid)
Logged

SCA Rabbit
Level 0 Beginner

Offline Offline

United States United States

Posts: 8




Joshua7182
« Reply #4 on: June 16, 2009, 02:49:49 PM »

im an idiot... yes i spelled it wrong    Shocked

and thanks ill definatly use the wcs_userid now.



Yeah i keep telling the server owner he needs to take DM off.... but what can ya do eh?
Logged
WCA | Maxxi [NL]
WCS Supporter
Level 7 Master
*****
Offline Offline

Netherlands Netherlands

Posts: 1405



WWW
16maxpayne16

myServer 84.243.214.217:27015
(Warning: click connects through Steam)
« Reply #5 on: June 16, 2009, 03:06:15 PM »

im an idiot... yes i spelled it wrong    Shocked

and thanks ill definatly use the wcs_userid now.



Yeah i keep telling the server owner he needs to take DM off.... but what can ya do eh?
slap him with a stick ofcourse Tongue
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:33:30 AM
"You could have simply private messaged him -.-

OFC it isn't an ad... *wink* *wink*" i sense you dont like us?
June 17, 2009, 11:15:02 PM
Smiley
June 17, 2009, 10:57:37 PM
Haha Maxxi
June 17, 2009, 10:45:46 PM
Koshy what's your site by the way?

(then we'll say it's ok, right?)
June 17, 2009, 10:35:16 PM
why go to the trouble to click all the way to messages(im really lazy^^)
June 17, 2009, 10:33:41 PM
You could have simply private messaged him -.-

OFC it isn't an ad... *wink* *wink*
June 17, 2009, 10:33:16 PM
aha our site Cheesy
Recent
[Today at 03:43:51 PM]

[Today at 03:42:49 PM]

[Today at 01:50:38 PM]

[Today at 01:35:28 PM]

[Today at 09:46:37 AM]

[Today at 08:29:11 AM]

[Today at 08:27:58 AM]

[Today at 08:20:30 AM]

[Today at 08:13:39 AM]

[Today at 08:10:18 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 26 queries.