October 15, 2018, 06:14:02 PM

Recent Posts

Pages: [1] 2 3 ... 10
1
Counter-Strike: Source / Re: NEW MAP - wcs_pacman
« Last post by Valentino on September 24, 2018, 10:48:39 AM »
I wanna to play online but game tell that server is not found whats the solution give suggestion
2
Discussions / Re: Custom Commands
« Last post by Hojjke on September 19, 2018, 01:24:24 PM »
You can use "wcs_giveprivate <userid> <Racename>"

Example:
es wcs_giveprivate event_var(userid) "Undead Scourge"

wow, didn't know about that one, ty!
3
Awaiting approval / Re: [SM Plugin][CS:GO] Rate of Fire / RapidFire + Norecoil
« Last post by Hojjke on September 19, 2018, 01:21:58 PM »
So would the rapidfire setting work for knifes as well? I think something like this could be used for an ultimate ability that does a crazy amount of dps.

yes, it works perfectly :^)
4
Discussions / Re: Custom Commands
« Last post by Kami on September 19, 2018, 06:07:06 AM »
You can use "wcs_giveprivate <userid> <Racename>"

Example:
es wcs_giveprivate event_var(userid) "Undead Scourge"
5
Awaiting approval / Re: [SM Plugin][CS:GO] Rate of Fire / RapidFire + Norecoil
« Last post by WCS - Wookie on September 19, 2018, 05:52:46 AM »
So would the rapidfire setting work for knifes as well? I think something like this could be used for an ultimate ability that does a crazy amount of dps.
6
Discussions / Re: Custom Commands
« Last post by Hojjke on September 19, 2018, 01:21:31 AM »
Code: [Select]
Command name: wcs_giverace
Command syntax: <userid> <racename>
Command purpose: Possibility to give private races automatically by another plugins

Example: plugin that letting you to buy a private race

Dunno if that is possible, but that would be a great addition I guess
7
Awaiting approval / [SM Plugin][CS:GO] Rate of Fire / RapidFire + Norecoil
« Last post by Hojjke on September 18, 2018, 04:13:28 PM »
Greets, since there is no function for RoF and Rapidfire in the WCS atm, decided to make this plugin for CS:GO

Descr:

wcs_speedfire <userid> <speed of attack> - enables speed attacks for player
ex:
Code: [Select]
wcs_speedfire <wcs_userid> 2.0
wcs_speedfireoff <userid> - disables speed attacks for player
ex:
Code: [Select]
wcs_speedfireoff <wcs_userid>
wcs_rapidfire - enables/disables rapidfire + norecoil for a player
ex:

Code: [Select]
wcs_rapidfire <wcs_userid>
ex in block's code, enabling rapidfire for 4 seconds:
Code: [Select]
es wcs_rapidfire server_var(wcs_userid)
es_delayed 4 es wcs_rapidfire server_var(wcs_userid)

Enjoy :)
8
Awaiting approval / [SM Plugin][CS:GO] Ultimate Countdown HUD
« Last post by Hojjke on September 18, 2018, 02:39:36 PM »
Greets, made a little plugin and decided to share it with you :p

About plug: simply made timer on sm with showing ultimate cd seconds left in the hud

Preview:


Installation:
1. Put wcs_ult.smx into your addons/sourcemod/plugins folder
2. Add this into your wcs.py
Search for
Code: [Select]
if not downtime or (timed - cooldown >= downtime):
Add this
Code: [Select]
queue_command_string('wcs_ultileft %s %i' % (userid, downtime))after line
Code: [Select]
settings = race1[skill]['setting'].split('|')[level-1]
So it should be like that
Code: [Select]
if race1[skill]['setting']:
try:
if race1[skill]['setting'].split('|')[level-1]:
settings = race1[skill]['setting'].split('|')[level-1]
queue_command_string('wcs_ultileft %s %i' % (userid, downtime))
if ';' in settings:
sub_settings = settings.split(';')
for com in sub_settings:
execute_server_command('es', com)
3. Put ultrdy.mp3 into the sound/wcs folder
4. Enjoy!

9
Discussions / Re: Custom Commands
« Last post by Hojjke on September 18, 2018, 01:50:42 PM »
Without the code I cannot tell you much, but it looks like there is a "es repeat create" Missing somewhere (if that is the right syntax for repeat).

If it tells you _repeat_freddy_nightmare_10 not found that means the repeat was not registered.

Oke, actual code of the BlackHole

Code: [Select]
block wcs_blackhole_start
{
es_set bh_id server_var(wcs_userid)
es repeat create blackhole "es_xdoblock wcs/tools/ultimates/default/wcs_blackhole_on"
es repeat start blackhole server_var(bh_tick)
if (server_var(bh_onself) = 1) then es_getplayerlocation wcs_x2 wcs_y2 wcs_z2 server_var(bh_id)
if (server_var(bh_onself) = 0) then es playerget viewcoord server_var(bh_id) wcs_x2 wcs_y2 wcs_z2
es_math wcs_z2 + server_var(bh_height)
es_getplayerteam wcs_team server_var(bh_id)
if (server_var(bh_defaultsfx) = 1) do
{
es est_effect 10 #a 0 sprites/water_drop.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) 200 500 server_var(bh_duration) 120 350 0 155 155 155 255 10
es est_effect 11 #a 0 sprites/physcannon_bluecore1b.vmt server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(bh_duration) 3 255
}

es_delayed server_var(bh_duration) es repeat delete blackhole
}

block wcs_blackhole_on
{
es_xset wcs_targetteam 0

if (server_var(wcs_team) = 2) do
{
es_xset wcs_targetteam 3
es_xset wcs_targetteamn "#ct,#alive"
}

if (server_var(wcs_team) = 3) do
{
es_xset wcs_targetteam 2
es_xset wcs_targetteamn "#t,#alive"
}


if (server_var(wcs_targetteam) != "0") do
{
wcs_xalias wcs_blackhole_set1 "es_xset vector2 0;es_getplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(targetid); es_createvectorstring vector2 server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2);es wcs push server_var(targetid) 0 0 50; es_delayed .3 wcs_pushto server_var(targetid) server_var(vector2) server_var(bh_power)"
es wcs_nearcoord targetid server_var(wcs_targetteamn) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(bh_radius) "wcs_xalias wcs_blackhole_set1"
//This blackhole ultimate is made by Kamiqawa
wcs_xalias wcs_blackhole_kill1 "es wcs_damage server_var(btargetid) server_var(bh_id) server_var(bh_damage)"
es wcs_nearcoord btargetid server_var(wcs_targetteamn) server_var(wcs_x2) server_var(wcs_y2) server_var(wcs_z2) server_var(bh_killradius) "wcs_xalias wcs_blackhole_kill1"
}
}

Creates effect, nothing happens anymore


Console:
Code: [Select]
[corelib/repeat/repeat_loop 310] _repeat_blackhole_2: The command '_repeat_blackhole_2' could not be found
P.S.: if I get this right, es repeat works like creating _repeat_blackhole_1, _repeat_blackhole_2, _repeat_blackhole_3, _repeat_blackhole_4 etc
10
Discussions / Re: Custom Commands
« Last post by Kami on September 18, 2018, 06:47:06 AM »
Without the code I cannot tell you much, but it looks like there is a "es repeat create" Missing somewhere (if that is the right syntax for repeat).

If it tells you _repeat_freddy_nightmare_10 not found that means the repeat was not registered.
Pages: [1] 2 3 ... 10