Casino Royale
| Gameplay Name: | CasinoRoyale CasinoRoyaleLTK |
| Author: | Euphonic |
| Released: | February 19, 2011 |
| Updated: | June 2, 2019 |
| Release Thread: | Open |
| Get This Scenario: | Download |
At the beginning of each round, a random weapon will be selected and given to all players. A timer at the top of the HUD counts down while players fight. When the timer runs out, all players are given the same new weapon and the counter resets. Ammo spawns dynamically change to give ammo for the current weapon.
When the round begins, all players are given a single use of “power” which is used by hitting the “!voodoo” key. When a power is used, the current weapon time is lowered (depending on the number of players). Players can restore their power by scoring a melee kill. An indicator at the top of the HUD displays whether players have power available or not.
Casino Royale LTK
Casino Royale LTK is similar in play to Casino Royale, except with one shot kills. By default only single fire weapons, klobbs and grenades are included in the rotation.
Behind the Scenes (Helpful for Server Admins)
There are three custom “cvar” variables accessible to server admins.
cr_timer [integer]- Sets the time between weapon changes (Default 40)cr_power [1/0]- Enables the use of “power” to shorten the gameplay (Default 1)cr_teamscoring [1/0]- When enabled and in teamplay, adds a HUD display with the number of kills each team has gotten in the current weapon time. Whichever team has more kills when the timer counts down gets a point and the kills reset. Individual scoring stays the same (Default 1)cr_killtimer [2/1/0]- When set to 1 bases the timer to the next weapon on the number of frags, when set to 2 does a combination of the timer and the frags, when set to 0 is timer-only (Default 0)cr_killtimer_weight [integer]- Whencr_killtimer [1 or 2]sets the number of kills to the next weapon, ignoring the timer. (Default 10 for deathmatch, 20 for LTK)
ge_startarmed is still important in Casino Royale! It decides whether players are given slappers for their melee weapon or if they are given a knife.
Server operators can custom define their weapon lists by editing the CasinoRoyale.py gameplay file. At the top of the file is a list of the weapons in the form (Weapon, WeaponPrintName, AmmoAmount). If you edit the the length of this list, make sure to set self.crCustomList to 1 within the gameplay file.
There are six types of emitted gameplay events available to plugin makers. The first is cr_weaponchange which does not assign itself to a player and is emitted when the weapon changes. cr_powerused is emitted when a player uses their power and is assigned to that player. cr_restoredpower is emitted when a player restores their power through a knife skill and is assigned to that player. The latter two are only emitted when cr_power 1. When teamplay is active and cr_teamscoring 1, there are 3 more events. cr_team_tie is emitted when both teams tie during a weapon time, cr_team_win is emitted when a team scores the most kills during a weapon time, and cr_team_lose is emitted when a team has the least number of kills during a weapon time. The latter two are assigned to one of the two teams.