GoldenEye: Source Forums

  • December 22, 2024, 10:24:40 am
  • Welcome, Guest
Advanced search  

News:

Pages: [1] 2  All   Go Down

Author Topic: [Gameplay] Casino Royale  (Read 58537 times)

0 Members and 1 Guest are viewing this topic.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
[Gameplay] Casino Royale
« on: February 19, 2011, 09:34:39 am »





Casino Royale and Casino Royale LTK have been updated. The below version is outdated and should no longer be used. You can download the revised version via Github on my website here: https://euphonic.dev/goldeneye-source/







Gameplay: Casino Royale
by WNxEuphonic
Synopsis
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.

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] - When cr_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.

The HUD
Timer Bar/Power Indicator
The bar indicates the time until the next weapon. This bar will adjust to changes to cr_timer changes on the fly. The "Power" indicator on the top right disappears when a player uses their power and reappears at the beginning of a new round or after a melee kill.
Chat Messages
From top to bottom of the above screenshot. The first shows that a player has used their power, identifying the player and explaining what exactly happened. The second message shows that a player scored a melee kill and restored their power (this message is not displayed if a player had not yet used their power since players can only have one power in reserve at a time). The third message shows an error when players attempt to use a power they don't have, while the final message displays a weapon switch.

Players can type !current into the chat to receive a message displaying the current weapon. By default the mode excludes proximity mines and timed mines from being given since they do not play well with the gameplay.

A sound is played when players restore their own power, the weaponset is changed, or a player uses their power.
Team Scoring
When in teamplay with cr_teamscoring 1, this HUD display shows up on the left side of every players screen. It displays the number of kills each team has scored with the current weapon during the current timer. At the end of the timer, these scores reset to 0:0 and a chat message is displayed with the winning team. If both teams score the same number of kills, both teams get 1 point. If both teams get 0 kills, no message is sent and neither team gets a point.

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.

Video Demonstration
You can watch a short demo of Casino Royale .

Special Thanks
Special thanks to E-S and KillerMonkey for answering and tolerating my tons of questions. Big thanks to E-S for helping me test and providing me feedback. Thanks to WNxFalko for giving me the idea to restore power on melee kills. Thanks to WNxBadPlayer for running our WNx servers and helping me set up the larger tests. Big thanks to everyone in WNx for their support and of course the GE:S Dev Team (Especially VC) for making such an awesome mod : )

Problems I'm Aware Of
When players pick up an ammo box, they receive both the custom ammunition for the gameplay as well as the default ammo box amount. When the gameplay weapon and the default ammo boxes are the same ammo type, players receive both. When players pick up an ammo box containing a grenade or mine, they drop the tiny weapon box on the ground; these little boxes start littering the floor easily. All of these except the double ammo are aesthetic and do not affect gameplay, and the double ammo only mildly.


- Download -


Update 2/19/2011 -- Fixed spawn weapons being dropped on player spawn (Mild Update)

Update 2/19/2011 -- Created three gameplay events (Player uses power, player gains power from melee kill, weapon changes). Also fixed problem where players could use power in spectator mode.

Update 4/30/2011 -- Prevented players being able to use power after round end.

Update 5/02/2011 -- Added new team scoring system, ability to use kills instead of timer or combination of both

Update 8/3/2012 -- Added support for bots, updated for GE:S 4.2

Update 8/10/2012 -- Fixed Casino Royale using Casino Royale LTK weapon list resulting in melee-only coming up all the time

Update 6/30/2013 -- Updated modes to 4.2.3 standards

Installation instructions can be found within the .zip
If you modify this gameplay, you must retain all credits to myself (WNxEuphonic). Borrowing any components from this gameplay requires crediting both WNxEuphonic and the GE:S Devs. Cannot be sold or exchanged for anything. Even kittens.
« Last Edit: June 03, 2019, 02:03:06 pm by WNxEuphonic »
Logged

namajnaG

  • Grindcore FM worshipper
  • 007
  • ****
  • Posts: 1,144
  • Reputation Power: 333
  • namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!
  • Offline Offline
Re: [Gameplay] Casino Royale
« Reply #1 on: February 19, 2011, 11:10:51 am »

Well, That sure looks interesting to try. Does WNx hosts it now?

Kinky

  • Level Designer / Environment Artist
  • Retired Developer
  • 00 Agent
  • ***
  • Posts: 751
  • Reputation Power: 7
  • Kinky has no influence.
  • Offline Offline
Re: [Gameplay] Casino Royale
« Reply #2 on: February 19, 2011, 01:07:05 pm »

This looks very interesting, cant wait to try it.
Logged

Currently in Progress - ge_jungle

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Gameplay] Casino Royale
« Reply #3 on: February 19, 2011, 02:43:50 pm »

Wow, I am certainly impressed! Great comments in the code too.

I will PM you about your weapon dropping bug.
Logged

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale
« Reply #4 on: February 19, 2011, 06:16:28 pm »

Well, That sure looks interesting to try. Does WNx hosts it now?

It's not on our public server rotation, though it is on our private server which I occasionally take the password off of and host Casino Royale there.

I also fixed the weapons being dropped on spawn bug thanks to KillerMonkey. Link goes to the updated version in the top post.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale
« Reply #5 on: February 20, 2011, 12:47:24 am »

A few updates:
Added gameplay events for plugin makers
Fixed players being able to use power in spectator mode
Added link to video demo

Also, this gameplay  may make an appearance on the WNx public server rotation after all. No promises.

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Gameplay] Casino Royale
« Reply #6 on: February 20, 2011, 02:43:58 pm »

Looks like a hell of a lot of fun. Will be playing this weekend.
Logged

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale
« Reply #7 on: February 28, 2011, 09:47:40 pm »

Both Casino Royale and Casino Royale LTK are now in the WNx server rotation.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #8 on: May 03, 2011, 04:18:49 am »

Big update! Everything should be working and server-ready. Here's the updates:

Update 5/02/2011 -- Added new team scoring system, ability to use kills instead of timer or combination of both

See the main description for what the new team scoring system is all about as well as new cvars and gameplay events.

major

  • On Vacation
  • Retired Developer
  • 007
  • ****
  • Posts: 1,837
  • Reputation Power: 109
  • major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!major is awe-inspiring!
  • Offline Offline
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #9 on: May 03, 2011, 05:42:14 am »

mediafire seems dead.
Logged
All view points are of my own and not associated with the team.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #10 on: May 03, 2011, 05:52:57 am »

Should be working now, also I forgot to disable armor spawns in CRLTK, so that's now fixed. If the download link doesn't work, this one should:

http://www.mediafire.com/?eb6pra00x7rurpk

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 821
  • Reputation Power: 260
  • Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!Troy is awe-inspiring!
  • Offline Offline
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #11 on: May 03, 2011, 10:12:21 am »

The cvar "cr_groupscoring" does not exist.
Logged
Complete - Arsenal, One Bullet is Enough, Tournament DM v2, TurboDM
Defunct - Agent Under Fire
VC - Being such a dick, KM must be stroked before springing into action.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #12 on: May 03, 2011, 03:20:30 pm »

The cvar "cr_groupscoring" does not exist.

Oh, *hits head* sorry it's "cr_teamscoring" not groupscoring. I've updated the first post. The files themselves are fine though.

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #13 on: May 04, 2011, 05:14:08 am »

Fixed a small glitch that was causing an error:

http://www.mediafire.com/?h0kafsdac0uwz23
« Last Edit: May 04, 2011, 08:15:58 pm by WNxEuphonic »
Logged

WNxEuphonic

  • 00 Agent
  • ***
  • Posts: 217
  • Reputation Power: 106
  • WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!WNxEuphonic is awe-inspiring!
  • Offline Offline
    • Euphonic.dev
Re: [Gameplay] Casino Royale (Big Update: 5/2/2011)
« Reply #14 on: May 26, 2011, 12:09:58 am »

Small update:

Fixed the weapons in LTK to exclude SMGs and explosives (except for remote mines)

http://www.mediafire.com/?6ny220bnqggcbaa
Pages: [1] 2  All   Go Up