Requires:
Commands:
Current Default wcx_config.cfg
Hitgroups
Example Script
Effect Preview (Video)
Recoded WCX
_______
Website/Source Code/Documentation
Release 1
_______
Just extract the folder inside the .zip file into your desktop then upload the folder into your server under the eventscripts folder of your server.
Then in the autoexec add es_load wcx and your are done then!
- Source Python Extentions(SPE)
- EventScripts 3.3.8
Commands:
Code: [Select]
"wcx_bomb"
- [Warcraft Extra Commands] wcx_bomb - Sets a time bomb on a player.
- wcx_bomb <userid> <seconds> <radius>
"wcx_noclip"
- [Warcraft Extra Commands] wcx_noclip - Gives or removes noclip on a player.
- wcx_noclip <userid> <0/1>
"wcx_ghost"
- [Warcraft Extra Commands] wcx_ghost - Gives noclip to a player for amount of seconds.
- wcx_ghost <userid> <seconds>
"wcx_invis"
- [Warcraft Extra Commands] wcx_invis - Gives invis to a player for amount of seconds.
- wcx_invis <userid> <seconds> <0-255>
"wcx_dealpoison"
- [Warcraft Extra Commands] wcx_dealpoison - Deals poison damage from a userid to another userid for amount of seconds.
- wcx_dealpoison <attacker> <victim> <damage> <seconds>
"wcx_getviewcoords"
- [Warcraft Extra Commands] wcx_getviewcoord - Gets where the player is looking at.
- wcx_getviewcoords <userid> <xvar> <yvar> <zvar>
"wcx_god"
- [Warcraft Extra Commands] wcx_god - Gives god mode to a player for amount of seconds.
- wcx_god <userid> <seconds>
"wcx_evade"
- [Warcraft Extra Commands] wcx_evade - Lets you set a chance of evading bullets on players.
- wcx_evade <userid> <chance>
"wcx_evade_damage"
- [Warcraft Extra Commands] wcx_evade_damage - Lets you set a chance of evading bullets on players.
- wcx_evade_damage <userid> <chance> <damage>
"wcx_evade_hitgroup"
- [Warcraft Extra Commands] wcx_evade_hitgroup - Lets you set a chance of evading bullets on players.
- wcx_evade_hitgroup <userid> <chance> <hitgroup>
"wcx_evade_hitgroup_damage"
- [Warcraft Extra Commands] wcx_evade_hitgroup_damage - Lets you set a chance of evading bullets on players.
- wcx_evade_hitgroup_damage <userid> <chance> <hitgroup> <damage>
"wcx_right_text"
- [Warcraft Extra Commands] wcx_right_text - Lets you send a text message thats on the right to a player.
- wcx_right_text <userid> <text>
"wcx_right_text_msg"
- [Warcraft Extra Commands] wcx_right_text_msg - Lets you send a text message thats on the right to all players.
- wcx_right_text_msg <text>
"wcx_center_text"
- [Warcraft Extra Commands] wcx_center_text - Lets you send a text message thats on the center to a player.
- wcx_center_text <userid> <text>
"wcx_center_text_msg"
- [Warcraft Extra Commands] wcx_center_text_msg - Lets you send a text message thats on the center to all players.
- wcx_center_text_msg <text>
"wcx_nadeback"
- [Warcraft Extra Commands] wcx_nadeback - Lets you set a player to get a nade back when that player throws one.
- wcx_nadeback <userid> <hegrenade/smokegrenade/flashbang> <delay>
"wcx_effect"
- [Warcraft Extra Commands] wcx_effect - Effect Creation
- wcx_effect line <x> <y> <z> <x2> <y2> <z2> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
- wcx_effect ring <x> <y> <z> <size> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
- wcx_effect cone <x> <y> <z> <cone length> <size> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
"wcx_impulse"
- [Warcraft Extra Commands] wcx_impulse - Lets you set a player's speed that lets for x seconds.
- wcx_impulse <userid> <seconds> <speed> <default speed>
"wcx_thirdperson"
- wcx_thirdperson <userid> <0/1> <draw gun 0/1>
"wcx_teleport"
- wcx_teleport <userid> <multiplier> <range> <fade timer>
"wcx_push"
- wcx_push <userid> <x multiplier> <y multiplier> <z multiplier>
"wcx_pushto"
- wcx_pushto <userid> <x> <y> <z> <x multiplier> <y multiplier> <z multiplier>
Current Default wcx_config.cfg
Code: [Select]
// [WCX] Warcraft-Source Extra Commands Config
// [WCX] V2.R By MiB
// Please note currently wcx_stopgravreset in this config is working, it is just here for refence for the next [WCX] update.
// Stop a player's gravity reseting when he/she gets on a ladder.
wcx_stopgravreset 1
// Write in the player's console a message saying that [WCX] is active.
wcx_welcomemessage 1
Hitgroups
Code: [Select]
Head - 1
Cheat - 2
Pelvis - 3
Left Arm - 4
Left Leg - 6
Right Arm - 5
Right Leg - 7
Example Script
Code: [Select]
event player_say
{
// Ring Effect Test
// wcx_effect ring <x> <y> <z> <size> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
if (event_var(text) = !ring) do
{
es_xset tmp 0
es_xset tmp1 0
es_xset tmp2 0
es_getplayerlocation tmp tmp1 tmp2 event_var(userid)
es_xmath tmp2 + 50
es wcx_effect ring server_var(tmp) server_var(tmp1) server_var(tmp2) 100 sprites/blueshaft1.vmt 4 2 2 50 50 255 255 10
}
// Cone Effect Test
// wcx_effect cone <x> <y> <z> <cone length> <size> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
if (event_var(text) = !cone) do
{
es_xset tmp 0
es_xset tmp1 0
es_xset tmp2 0
es_getplayerlocation tmp tmp1 tmp2 event_var(userid)
es_xmath tmp2 + 80
es wcx_effect cone server_var(tmp) server_var(tmp1) server_var(tmp2) 500 100 sprites/blueshaft1.vmt 4 2 2 50 50 255 255 10
}
// Line Effect Test
// wcx_effect line <x> <y> <z> <x2> <y2> <z2> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
if (event_var(text) = !line) do
{
es_xset tmp 0
es_xset tmp1 0
es_xset tmp2 0
es_xset tmpx 0
es_xset tmp1x 0
es_xset tmp2x 0
es_getplayerlocation tmp tmp1 tmp2 event_var(userid)
es_getplayerlocation tmpx tmp1x tmp2x event_var(userid)
es_xmath tmp2x + 300
es wcx_effect line server_var(tmp) server_var(tmp1) server_var(tmp2) server_var(tmpx) server_var(tmp1x) server_var(tmp2x) sprites/blueshaft1.vmt 4 5 5 50 50 255 255 10
}
// Line Effect Test 2
// wcx_effect line <x> <y> <z> <x2> <y2> <z2> <model> <time> <width> <endwidth> <red> <green> <blue> <brightness> <speed>
if (event_var(text) = !line2) do
{
es_xset tmp 0
es_xset tmp1 0
es_xset tmp2 0
es_xset tmpx 0
es_xset tmp1x 0
es_xset tmp2x 0
es_getplayerlocation tmp tmp1 tmp2 event_var(userid)
es wcx_getviewcoords event_var(userid) tmpx tmp1x tmp2x
es_xmath tmp2 + 50
es wcx_effect line server_var(tmp) server_var(tmp1) server_var(tmp2) server_var(tmpx) server_var(tmp1x) server_var(tmp2x) sprites/blueshaft1.vmt 4 5 5 50 50 255 255 10
}
// Bomb Test
// wcx_bomb <userid> <seconds> <radius>
if (event_var(text) = !bomb) do
{
es wcx_bomb event_var(userid) 5 600
}
// God Test
// wcx_god <userid> <seconds>
if (event_var(text) = !god) do
{
es wcx_god event_var(userid) 8
}
}
Effect Preview (Video)
Recoded WCX
_______
Website/Source Code/Documentation
Release 1
_______
Just extract the folder inside the .zip file into your desktop then upload the folder into your server under the eventscripts folder of your server.
Then in the autoexec add es_load wcx and your are done then!
.

