Enzo's Counterstrike Emporium updated 24-sep-06


All About Eventscripts

Eventscripts is a VERY cool plugin for a counterstrike server. It allows you to customize how the game works in a whole lot of ways based on in-game-triggered events such as the start of a round, the death of a hostage, or even every footstep taken! With the event, you get information about what happened to who during the event and can program new behaviours for the server.

The Eventscripts on our Server

Grenades
Wounds
  • decreased speed, increased gravity when wounded
  • current version
  • additional ideas: blood trail when health is really low?
Wager
The Knife
Headshot
  • counts successive headshots for a player
  • Current version (link forthcoming)
  • Is this even working anymore? Simple one to update.
Teams
  • simple sound and message when player joins/leaves a team
  • Current version
  • This could definately be improved on (I wrote it when I knew nothing, and it is the oldest, simplest way to implement as eventscript.)
  • This notice could be an option in a good team balance script (see below under "Wanted".)
Ginger
  • says 'Hello Ginger' and 'Sutup Ginger' based on SteamID. Stupid little demo.
  • see it here
  • just a demo/test, not for long-term use


Wanted

Voting
  • a better system of voting for maps: could be an eventscript?
  • we use the voting in mani admin mod
  • Wanted: old system used to track less-played maps and put them in the top of the list with a couple of player-nominations. Also would always wait for round-end before switch.
Balance
  • Team balance works great! But it seems amost abandoned. Could be an eventscript?
  • should avoid switching live players unless necessary
  • not too much activity, but enough to keep people from feeling frusterated
Chime
Others?
  • You'll have other ideas! Bounce them off other players, write a script, let's test it out!
  • Try to keep the effects subtle and quiet so they don't affect gameplay.
  • Check the info in the next section.


Learning about and using Eventscripts

I recommend you install a separate dedicated server to test your scripts. I think I buggered our server once while testing and it was a pain to reinstall - keep backups. Only happened one time and I'm not sure it was the eventscript I was testing. You are warned.

Dedicated server installations are available for windows and linux. Check out those Steam forum links.

Download
  • Download eventscripts
  • Installs as a counterstrike plugin (easy).
  • Active development, check frequently for updates, especially if steam breaks things with updates!
Forums
  • Eventscript discussion forms
  • This is a big, busy place and looks daunting. Take some time and browse. Don't miss the "Script Categories" links down the left-hand side.
  • Very useful for help with scripts.
  • Lots of examples to work from.
Docs
Tools