EventScripts Classic Commands
With this version, you can either code races in Python or Eventscripts. Although we seriously suggest python, if you feel that you're better with the old style EventScripts (ESS), then we have also made all the commands available to you in your own simple syntax :)... We have only made the commands which will help you... (e.g. We took out GetViewCoords as it's just as simple to use the EST command directly, rather than use our custom command.) Any command which is here should be used whenever possible: E.G... wcs Health ... Of course you could just use "playerset health" but we have an internal dictionary that looks after all of these commands. This means if you use our commands, it will be compatible with things like ShopMenu etc, so you can be CERTAIN our commands will be compatible with our mod.
If you click on the names of the commands in orange, it will take you to the python syntax... That page will also give you more information about the command, and what the arguments are... However, if you are using ESS commands, the following are the correct syntax.
wcs Ammo <userid>
wcs AmmoAdd <userid> <amount to +/->
wcs AreaDamage <userid> <team to damage> <distance to damage> <damage amount> [attacker]
wcs AreaRegen <userid> <team to heal> <distance> <amount each loop> <delay each loop>
wcs Armor <userid> <amount>
wcs ArmorAdd <userid> <amount to +/->
wcs Blind <userid> <time> [alpha]
wcs BlockAbil <userid> <time>
wcs BlockUlti <userid> <time>
wcs ChangeGravity <userid> <amount to +/->
wcs Clip <userid> <amount>
wcs ClipAdd <userid> <amount to +/->
wcs Color [Color] [red] [green] [blue] [alpha]
e.g. wcs Color "red"
e.g. wcs Color 255 0 0
e.g. wcs Color "red" 150
e.g. wcs Color 255 0 0 150
wcs Damage <userid> <damage> [damage type] [attacker]
wcs Drain <userid> <damage each loop> <delay between loops> <total time to drain>
wcs Drop <userid>
wcs Fade <userid> <fade-to alpha> <time to fade>
wcs Freeze <userid> <time>
wcs GetCoolDown <variable> <userid> <"skill">
wcs GetRaceLevel <variable> <userid>
wcs GetNextXp <variable> <userid>
wcs GetXp <variable> <userid>
wcs GiveLevel <userid> <amount> ["reason"]
wcs GiveXp <userid> <amount> ["reason"]
wcs God <userid> <time>
wcs Heal <userid> <amount>
wcs Health <userid> <amount>
wcs HealthAdd <userid> <amount to +/->
wcs ModDict <userid> <key> <value to +/->
wcs Model <userid> <model path>
wcs Regen <userid> <amount to delay> <amount to add each loop>
wcs ReturnDict <variable> <userid> <key>
wcs SetCoolDown <userid> <"skill"> <time>
wcs SetGravity <userid> <amount>
wcs Speed <userid> <amount>
wcs SpeedAdd <userid> <amount to +/->
wcs UpdateDict <userid> <key> <key-value>
Race commands in EventScripts Classic (ESS):
Okay, So you ask how exactly do you register your skills, ultimates, weapon restrictions and other nice things ;)... Well the following are the correct syntax in EventScripts Classing coding. Note: The links are for Python pages, all the links are there for is additional information on the commands.
wcs Race <race name> registerSkill <skill name> <maximum level> <level interval> <"description">
wcs Race <race name> registerUltimate <skill name> <level needed> <maximum level> <level interval> <"description">
wcs Race <race name> registerTeam <team number/name>
wcs Race <race name> registerWeaponRestriction <"allow only/block only"> <"weapon1,weapon2,weapon3,weapon4,etc">
e.g. wcs Race "Night Elf" registerWeaponRestriction "allow only" "knife,hegrenade,flashbang,smokegrenade,glock,usp"
wcs Race <race name> registerMinLevel <level>
wcs Race <race name> registerMaxLevel <level>
wcs Race <race name> registerSteamid <"steamid1,steamid2,steamid3,etc">
e.g. wcs Race "Night Elf" registerSteamid "STEAM_0:0:145546,STEAM_ID_LAN,BOT"
wcs Race <race name> registerTeamLimit <amount>
Effect commands in EventScripts Classic (ESS):
These effects are only here to save time, and make it easy for you to code. In most cases, you'll give a playeer ID instead of X, Y, Z as I find that most people generally use effects emitting from players... If you need to make your own, you can still use est_effect commands like normal
wcs Beam1 <start userid> <end userid> <life> <red> <green> <blue>
wcs Beam2 <start userid> <end userid> <life> <red> <green> <blue>
wcs Beam3 <start x y z> <end userid1,enduserid2,enduserid3> <life> <red> <green> <blue>
wcs Beam4 <start userid> <end userid> <life> <red> <green> <blue>
wcs Follow <userid> <red> <green> <blue>
wcs Misc1 <userid> <life>
wcs Misc2 <userid> <life> <size>
wcs Misc3 <userid> <life> <size>
wcs Misc4 <userid> <life> <size>
wcs Misc5 <userid> <life> <size>
wcs Misc6 <userid> <life> <size>
wcs Ring1 <userid> <end distance> <life> <red> <green> <blue>
wcs Ring2 <userid> <size of ring> <life> <red> <green> <blue>
wcs Ring3 <userid> <end distance> <life> <red> <green> <blue>
wcs Ring4 <userid> <start distance> <end distance> <life> <size> <spread> <red> <green> <blue>
wcs Smoke <userid>
Comments (0)
You don't have permission to comment on this page.