GoldenEye: Source Forums

  • November 15, 2018, 11:21:06 PM
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Game Mode] Cache  (Read 941 times)

0 Members and 1 Guest are viewing this topic.

Whimsical

  • Agent
  • *
  • Posts: 5
  • Reputation Power: 30
  • Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!
  • Offline Offline
[Game Mode] Cache
« on: October 08, 2018, 04:20:18 AM »

(Full Disclosure: Don't know if this is an original idea, or based on something I've seen somewhere before and just forgot about.)

Name: Cache
Description:
  • This mode uses Deathmatch Scoring.
  • Each player spawns with 3 randomly generated weapons.
    • Each weapon is sorted into 1 of 7 categories.
    • A player will not receive more than 1 weapon from a given category.
    • Each category is given a weight, they do not appear with equal probability.
    • Each weapon in each category is also weighted. For example, if you get 'handguns', then you're more likely to see a DD44 than a Magnum.
    • Note that the weapons are not weighted weakest to strongest. Instead, the goal was to make average weapons more likely to appear.
    • When you get the weapon you are also given an amount of ammo based on the weapon. For example, a regular shotgun comes with more shells than an auto-shotgun.
    • The weapons you get will be different on each respawn.
  • During the game, you can say "!", "!voodoo", or "!gesrocks" in the game chat to swap out for a new set of weapons, however, keep the following in mind.
    • You will be given 1 new weapon ever 2 to 3 seconds until you are back up to 3.
    • This will first remove all of your current weapons, so using this option in the middle of a firefight is probably a bad idea.
    • You will, however, be able to use slappers until you have your first weapon.
    • The default timing is 2 seconds for your first weapon, and 3 seconds for the other two.
    • If you managed to score a kill with slappers while switching, the delay will be cancelled early, and you will complete the weapon switch.
  • If you die before scoring a kill, and within 15 seconds of spawning, you can type "!", "!voodoo", or "!gesrocks" you keep the weapons you died with when you respawn (in place of the weapons you would normally spawn with).
  • If you manage to score a kill with each of your 3 different weapons you will also receive the following awards (note that if you switch your weapons, your progress towards this will be reset):
    • You will score an additional kill.
    • You will be able to swap out your weapons with no delay:
      • This must be within 10 seconds of receiving the award.
      • When you do so, one of the weapons will be either a Golden PP7, Golden Gun, Grenade Launcher, Moonraker Laser, or RC-P90.
      • If you die before you perform the swap, but within the window to do so, you will spawn with 1 of the above weapons.
  • Some weapons will also confer additional benefits if you have them. Note, that if you swap weapons you lose the bonus.
    • The Hunting will give you an increase to your base speed.
    • The Klobb will give an increase to your damage
    • The Silenced versions of either the PP7 or D5K will hide you from radar.
    • The Throwing Knives count as kills with 2 different weapons, for the purpose of bonus kills and weapon switching. Additionally, if you spawned with them, your next switch will give you your first weapon right away, and reduce the time for subsequent weapons by 1.
CVars
The following cvar values can be changed for customizing the game mode to how you want it to play.
Spoiler for Hiden:
  • Name: cs_enableteamplay
  • Default: 1
  • Description: Enable Team Play during games.

  • Name: cs_disableroundtime
  • Default: 0
  • Description: If 1 at the start of the game, disables the round timer.

  • Name: cs_carrytime
  • Default: 15
  • Description: If 1 at the start of the game, disables the round timer.

  • Name: cs_scorelimit
  • Default: 0
  • Description: The number of kills a player needs to win the round (0 removes the limit).

  • Name: cs_enablenotifyremaining
  • Default: 1
  • Description: Shows message indicating how many kills until the player gets their bonus.

  • Name: cs_enableslapers
  • Default: 0
  • Description: Give players Slappers in addition to normal weapons.

  • Name: cs_enableswitching
  • Default: 1
  • Description: Allows weapons to be switched using the '1' or '!gesrocks' command.

  • Name: cs_enableawardswitch
  • Default: 1
  • Description: Enables free swtiching after scoring a kill with 3 different weapons.

  • Name: cs_awardswitchclass
  • Default: 1
  • Description: Gives the player a high tier weapon when they use their free switch.

  • Name: cs_enableawardswitchcarry
  • Default: 1
  • Description: Player will recieve a high tier weapon if they die before using their free switch.

  • Name: cs_enableeffects
  • Default: 1
  • Description: Enables Special Weapon effects.

  • Name: cs_enablestealth
  • Default: 1
  • Description: Enables Silenced Weapon effects. Does nothing is cs_enableeffects is set to 0.

  • Name: cs_enableubernormal
  • Default: 1
  • Description: Allows high tier weapons to be given to players at random (Doesn't affect cs_awardswitchclass).

  • Name: cs_awardautoswitch
  • Default: 0
  • Description: Player will automatically switch weapons when recieving a free switch.

  • Name: cs_switchdelay
  • Default: 10
  • Description: Delay between when a player requests a normal switch and when the switch happens.

  • Name: cs_knifeswitchdelay
  • Default: 3
  • Description: Delay between when the player requests a normal switch, if they spawned with Throwing Knives, and when the switch happens.

  • Name: cs_awardswitchduration
  • Default: 10
  • Description: Ammount of a time a player has to claim their free switch.

  • Name: cs_switchdefenseless
  • Default: 1
  • Description: Removes all of a player's weapons when they request a normal switch.

  • Name: cs_switchslapers
  • Default: 1
  • Description: If player is given slappers during the delay when switching weapons.

  • Name: cs_switchonslapkill
  • Default: 1
  • Description: If enabled, and the player scores a kill with slappers while in the middle of switching weapons, the delay will be cancelled and the weapon switch will complete immediately.

  • Name: cs_bonus
  • Default: 1
  • Description: Ammount of additional points a player scores after scoring a kill with each of their 3 weapons.

  • Name: cs_rs_enable
  • Default: 1
  • Description: If 1, enables rolling switch option. Gaining 1 weapon at a time, instead of all 3 at once, when switching.

  • Name: cs_rs_1
  • Default: 2
  • Description: Time, in seconds, for the first weapon to be given during a Rolling Switch.

  • Name: cs_rs_2
  • Default: 3
  • Description: Time, in seconds, for the second weapon to be given during a Rolling Switch.
  • Note: The time used here is in relation to the time since the switch started and not since the previous weapon was given. Also note that these happen in sequence, if this is set below the above time, then the game will wait for that time to pass, then give you both this and the previous weapon at the same time.

  • Name: cs_rs_3
  • Default: 3
  • Description: Time, in seconds, for the third weapon to be given during a Rolling Switch.
  • Note: The time used here is in relation to the time since the switch started and not since the previous weapon was given. Also note that these happen in sequence, if this is set below the above time, then the game will wait for that time to pass, then give you both this and the previous weapon at the same time.

  • Name: cs_rs_k1
  • Default: 0
  • Description: Time, in seconds, for the first weapon to be given during a Rolling Switch, if you started with Throwing Knives.

  • Name: cs_rs_k2
  • Default: 2
  • Description: Time, in seconds, for the second weapon to be given during a Rolling Switch, if you started with Throwing Knives.
  • Note: The time used here is in relation to the time since the switch started and not since the previous weapon was given. Also note that these happen in sequence, if this is set below the above time, then the game will wait for that time to pass, then give you both this and the previous weapon at the same time.

  • Name: cs_rs_k3
  • Default: 4
  • Description: Time, in seconds, for the third weapon to be given during a Rolling Switch, if you started with Throwing Knives.
  • Note: The time used here is in relation to the time since the switch started and not since the previous weapon was given. Also note that these happen in sequence, if this is set below the above time, then the game will wait for that time to pass, then give you both this and the previous weapon at the same time.
Probabilites: Probabilities for categories and weapons appearing in any given set of 3 weapons. Calculated by generating 1000000 random weapon sets.
Categories:
Spoiler for Hiden:
  • Automatics: %63.9053
  • Rifles: %62.1395
  • Handguns: %58.6304
  • Shotguns: %50.1004
  • Explosives: %39.8945
  • Specials: %21.5676
  • Ubers: %3.7623
Weapons:
Spoiler for Hiden:
  • Shotgun: %37.5664
  • KF7 Soviet: %27.1599
  • Sniper Rifle: %24.1121
  • ZMG: %23.2976
  • Phantom: %23.2164
  • PP7: %19.5827
  • DD44 Dostovei: %19.5602
  • D5K Deutsche: %17.3913
  • Remote Mines: %14.2601
  • Rocket Launcher: %14.2514
  • Cougar Magnum: %12.9881
  • Automatic Shotgun: %12.534
  • AR33: %10.8675
  • Silver PP7: %6.4994
  • Hunting Knife: %5.7647
  • Klobb: %5.7456
  • Hand Grenades: %5.702
  • PP7 (Silenced): %4.303
  • Throwing Knife: %2.8786
  • D5K (Silenced): %2.8757
  • Proximity Mines: %2.8436
  • Timed Mines: %2.8374
  • Moonraker Laser: %1.13
  • Grenade Launcher: %1.1219
  • RC-P90: %0.7573
  • Golden PP7: %0.3792
  • Golden Gun: %0.3739
Weapon Data: Table containing weights and ammo for each weapon.
Spoiler for Hiden:
Categories
  • Name: ubers
  • Weight: 1 - 1
  • Weapons:
    • Golden PP7
      • Weight: 1 - 1
      • Ammo: 7 (+0)
    • Golden Gun
      • Weight: 2 - 2
      • Ammo: 3 (+0)
    • Grenade Launcher
      • Weight: 3 - 5
      • Ammo: 3 (+3)
    • Moonraker Laser
      • Weight: 6 - 8
      • Ammo: Infinite (+0)
    • RC-P90
      • Weight: 8 - 10
      • Ammo: 80 (+0)
  • Name: handguns
  • Weight: 2 - 21
  • Weapons:
    • Silver PP7
      • Weight: 1 - 1
      • Ammo: 7 (+7)
    • Cougar Magnum
      • Weight: 2 - 3
      • Ammo: 5 (+7)
    • DD44 Dostovei
      • Weight: 4 - 6
      • Ammo: 8 (+24)
    • PP7
      • Weight: 7 - 9
      • Ammo: 7 (+31)
  • Name: shotguns
  • Weight: 22 - 37
  • Weapons:
    • Automatic Shotgun
      • Weight: 1 - 1
      • Ammo: 5 (+5)
    • Shotgun
      • Weight: 2 - 4
      • Ammo: 5 (+20)
  • Name: autos
  • Weight: 38 - 60
  • Weapons:
    • Phantom
      • Weight: 1 - 4
      • Ammo: 50 (+50)
    • ZMG
      • Weight: 5 - 8
      • Ammo: 32 (+32)
    • D5K Deutsche
      • Weight: 8 - 11
      • Ammo: 30 (+90)
  • Name: rifles
  • Weight: 61 - 82
  • Weapons:
    • Sniper Rifle
      • Weight: 1 - 31
      • Ammo: 8 (+8)
    • AR33
      • Weight: 32 - 45
      • Ammo: 30 (+30)
    • KF7 Soviet
      • Weight: 46 - 80
      • Ammo: 30 (+90)
  • Name: explosives
  • Weight: 83 - 94
  • Weapons:
    • Timed Mines
      • Weight: 1 - 1
      • Ammo: 3 (+7)
    • Proximity Mines
      • Weight: 2 - 2
      • Ammo: 3 (+5)
    • Remote Mines
      • Weight: 3 - 7
      • Ammo: 3 (+5)
    • Hand Grenades
      • Weight: 8 - 9
      • Ammo: 3 (+9)
    • Rocket Launcher
      • Weight: 10 - 14
      • Ammo: 1 (+1)
  • Name: specials
  • Weight: 95 - 100
  • Weapons:
    • Klobb
      • Weight: 1 - 4
      • Ammo: 20 (+200)
    • Hunting Knife
      • Weight: 5 - 8
      • Ammo: 0 (+0)
    • Throwing Knife
      • Weight: 9 - 10
      • Ammo: 1 (+9)
    • PP7 (Silenced)
      • Weight: 10 - 13
      • Ammo: 7 (+56)
    • D5K (Silenced)
      • Weight: 14 - 15
      • Ammo: 30 (+210)

Changelog:
Version 3 (Current)
  • Bugfix (3.1): Special Weapon bonuses properly apply when using the carry over option.
  • Added "rolling switch", where you are given new weapons 1 at a time, instead of all at once, when performing a switch.
  • Added weapon carry over.
  • Players are now shown which weapons they spawn with.
  • Rocket Launchers can no longer spawn with an additional rocket.
  • Shotgun now has 5 more shells.
  • The following changes were made to the weapon spawn rates.
    • AR33: -%9
    • Automatic Shotgun: -%13
    • D5K: -%2
    • Phantom: -%2
    • D5K: +%4
    • Sniper Rifle: +%9
    • Shotgun: +%12
Version 2
Spoiler for Hiden:
  • Bugfix: Zip file now contains proper version of the .cfg file.
  • Silver PP7 moved from ubers to handgun category
  • Moonraker Laser now appears more often
  • Launchers category removed, Grenade Launcher moved to ubers, Rocket Launcher moved to explosives.
  • Grenade Launcher now starts with 6 Grenades.
  • Rocket Launcher can now start with either 2 or 3 rockets.
  • Proximity Mines now appear less often.
  • KF7 now appears less often. AR44 and Sniper Rifles now appear more often.
  • Silenced Weapons now hide you from radar instead of disabling it for other players.
  • Throwing Knives don't reduce enemy speed anymore. Instead, they count as 2 kills for the purposes of bonuses and let you switch weapons in only 3 seconds.
  • !voodoo can now be used to perform a weapon switch.
  • Players now receive slappers when switching, and can cancel the delay by scoring a kill with it.
  • Time calculations now use GEUtil.GetTime().
  • Players can no longer start a switch while they're dead.
  • Prints a notice to the player when they score a kill telling them how many different weapons they need to kill with to get their bonus.
  • Throwing Knives now show the player what they do when they spawn with them.

Closing Notes
Sadly my internet isn't good enough to actually play with other people, so I've only tested this mode against bots.
I also don't exactly know the balance for each weapon, so I'd be very much open to more experienced players giving their thoughts of what the weights on each category and weapon should be, along with the starting ammo counts.
Finally, feedback of any kind would be very much appreciated.

Special Thanks
A special thank you to Entropy-Soldier for all of his feedback and suggestion, both of which were invaluable for the development of this game mode.

Lastly,
Thank you for taking the time to read all of this ^_^.
« Last Edit: November 03, 2018, 01:55:19 AM by Whimsical »
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #1 on: October 08, 2018, 03:43:22 PM »

Sounds like a fun mode!  I'll stick it on my server and let you know what everyone thinks.  It's a shame you won't be able to play with us, but if I can get it working properly I'll try to record my gameplay so you can at least see a match with real players.  I make a point of playing on Saturday nights but there's always a chance I'll end up playing sooner.


Just from looking over your post and the gamemode file, without any actual playtesting, here are my thoughts:

Weapon Balance Suggestions:

- The Silver PP7 and the Laser are good weapons, but not nearly as good as the Golden Gun, Gold PP7, or Grenade Launcher.  Both of them are perhaps slightly better than the AR-33 in practice, even though they're a bit better on paper.  Laser might be more useful in this mode though just because the infinite ammo makes it one of the few weapons you can use for an extended period.  I'd say Silver PP7 should probably just be a normal pistol weapon, and given the laser's ammo situation it wouldn't hurt to leave it as an uber for now.  It might not really be good enough to warrant keeping it for the infinite ammo when you can get easier to use and better weapons by switching, but it's hard to say without playtesting.

- Proximity Mines, even though they're not as directly powerful as these weapons, are also probably worthy of the “uber” category as they can get you a lot of kills for the minimal effort of throwing them into weird spots.

Here's my weapon/cost list for Investment Losses, for reference.  It's balanced around infinite ammo so the mines and rocket launcher are higher than they otherwise would be, but otherwise this should be roughly the relative value of each weapon:

Spoiler for Hiden:
Grenades : 400
Throwing Knives : 600
Klobb : 700
D5K Deutsche : 1500
Silenced D5K : 1500
Hunting Knife : 1800
DD44 : 2000
PP7 Silenced : 2000
PP7 : 2000
KF7 Soviet : 2500
Sniper Rifle : 3000
ZMG : 3500
Shotgun : 4000
Cougar Magnum : 4000
Phantom : 6000
AR-33 : 7000
Automatic Shotgun : 7000
Silver PP7 : 8000
Moonraker Laser : 10000
RCP-90 : 12000
Remote Mines : 12000
Rocket Launcher : 12000
Grenade Launcher : 14000
Golden Gun : 16000
Gold PP7 : 16000
Proximity Mines : 18000

I'll have to get back to you on how the ammo counts affect how things play.  It probably won't affect the relative strength of weapons too much but it will certainly change how they're used.  Will be interesting to see.


Answers to your questions and a few additional suggestions:

- For the silenced weapons, you actually can hide the individual player's radar dot.  You can do this by adding a custom radar contact to the player that uses a color with an alpha of 1, like so:

Code: [Select]
GERules.GetRadar().AddRadarContact( player, Glb.RADAR_TYPE_PLAYER, False, "", GEUtil.Color( 220, 220, 220, 1 ) )

- The Throwing Knife holding debuff is probably also doable but every player's inventory would need to be checked in OnThink as picking up throwing knives doesn't trigger the CanPlayerHaveItem callback in 5.0.  You can make this have a minimal performance impact by limiting the check to once per second or so.  It might be easier and more intuitive to just have this debuff apply for 5-10 seconds to players that get hit by the throwing knives, which is very easy to check in CalculateCustomDamage.  This would be preferable to a server-wide debuff when one player has the throwing knives, because ~30% of the time someone's going to have the throwing knives so it will feel like a random punishment to the rest of the players that they can't do all that much to stop.

- It's probably better to use !voodoo instead of !gesrocks for the weapon swap command, as !gesrocks isn't bound by default in 5.0 and most gamemodes use !voodoo for their special input.

- It would be a good idea to give players the slappers during the weapon switch, because players who have no weapons will have no weapon animations and go into the reference pose for onlookers.  Looks kind of silly.

- I'd recommend using GEUtil.GetTime() instead of round time for timer calculations, as round time can be set to 0 to disable it and play forever.  It's not commonly done, but when it is it means you get stuck switching weapons forever.


Anyway, the mode's code is well organized, and I really like how you handled the cvars.  Modes with lots of them tend to get a bit cluttered but your setup handled them in a very clean way.  I might have to look into adopting a similar approach for our official modes.

Thanks for taking the time to make this!  I hope everyone in the community has fun with it.
« Last Edit: October 08, 2018, 03:47:09 PM by Entropy-Soldier »
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Troy

  • GE:S Coder
  • 00 Agent
  • ***
  • Posts: 815
  • Reputation Power: 175
  • 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: [Game Mode] Cache
« Reply #2 on: October 08, 2018, 04:31:20 PM »

Most impressive
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.

null

  • Agent
  • *
  • Posts: 39
  • Reputation Power: 0
  • null is looked down upon.
  • Offline Offline
Re: [Game Mode] Cache
« Reply #3 on: October 09, 2018, 01:38:03 PM »

I like the idea of the game play, and i hope to test it out if its hosted on Saturday Night. I wasn't able to look at the code, or have any suggestions on the weapons yet, but once i play the mode, i'll have some feedback.
Logged

Whimsical

  • Agent
  • *
  • Posts: 5
  • Reputation Power: 30
  • Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #4 on: October 11, 2018, 09:07:48 AM »

Just updated the game mode using feedback from Entropy-Soldier

Sounds like a fun mode!  I'll stick it on my server and let you know what everyone thinks.  It's a shame you won't be able to play with us, but if I can get it working properly I'll try to record my gameplay so you can at least see a match with real players.  I make a point of playing on Saturday nights but there's always a chance I'll end up playing sooner.
Thank you, I really appreciate that.


Just from looking over your post and the gamemode file, without any actual playtesting, here are my thoughts:

Weapon Balance Suggestions:
Here are my replies to your thoughts.

- The Silver PP7 and the Laser are good weapons, but not nearly as good as the Golden Gun, Gold PP7, or Grenade Launcher.  Both of them are perhaps slightly better than the AR-33 in practice, even though they're a bit better on paper.  Laser might be more useful in this mode though just because the infinite ammo makes it one of the few weapons you can use for an extended period.  I'd say Silver PP7 should probably just be a normal pistol weapon, and given the laser's ammo situation it wouldn't hurt to leave it as an uber for now.  It might not really be good enough to warrant keeping it for the infinite ammo when you can get easier to use and better weapons by switching, but it's hard to say without playtesting.
I'll defer to your experience on this. I moved the Silver PP7 to Handguns, and it does feel right playtesting against bots. Since you included the Grenade Launcher with the Golden weapons, I added it to ubers (also to make sure there is a certain amount of variety there), with 6 Grenades to hopefully justify it. I think the Laser's ammo might still qualify it for the ubers list, though I did make it far more common in that list than it was before.

- Proximity Mines, even though they're not as directly powerful as these weapons, are also probably worthy of the “uber” category as they can get you a lot of kills for the minimal effort of throwing them into weird spots.
That makes sense, I was never sure if the Proximity Mines were good at killing bots, or just good in general. I didn't add them to ubers though, since I don't think they give the feel I want the weapons in that category to have (or to be exact, the feel I want from award switching into one), still I made them less common in the Explosives lists, they now only have about a %2.8 chance of appears, as opposed to before where they were at %14.4.

Here's my weapon/cost list for Investment Losses, for reference.  It's balanced around infinite ammo so the mines and rocket launcher are higher than they otherwise would be, but otherwise this should be roughly the relative value of each weapon:

Spoiler for Hiden:
Grenades : 400
Throwing Knives : 600
Klobb : 700
D5K Deutsche : 1500
Silenced D5K : 1500
Hunting Knife : 1800
DD44 : 2000
PP7 Silenced : 2000
PP7 : 2000
KF7 Soviet : 2500
Sniper Rifle : 3000
ZMG : 3500
Shotgun : 4000
Cougar Magnum : 4000
Phantom : 6000
AR-33 : 7000
Automatic Shotgun : 7000
Silver PP7 : 8000
Moonraker Laser : 10000
RCP-90 : 12000
Remote Mines : 12000
Rocket Launcher : 12000
Grenade Launcher : 14000
Golden Gun : 16000
Gold PP7 : 16000
Proximity Mines : 18000

I'll have to get back to you on how the ammo counts affect how things play.  It probably won't affect the relative strength of weapons too much but it will certainly change how they're used.  Will be interesting to see.
I don't know enough to really comment on those numbers, though I am curious as to how they are calculated, and why they are in the 1000s range. Also, Timed Mines don't appear to be listed.


Answers to your questions and a few additional suggestions:

- For the silenced weapons, you actually can hide the individual player's radar dot.  You can do this by adding a custom radar contact to the player that uses a color with an alpha of 1, like so:

Code: [Select]
GERules.GetRadar().AddRadarContact( player, Glb.RADAR_TYPE_PLAYER, False, "", GEUtil.Color( 220, 220, 220, 1 ) )
Done.

- The Throwing Knife holding debuff is probably also doable but every player's inventory would need to be checked in OnThink as picking up throwing knives doesn't trigger the CanPlayerHaveItem callback in 5.0.  You can make this have a minimal performance impact by limiting the check to once per second or so.  It might be easier and more intuitive to just have this debuff apply for 5-10 seconds to players that get hit by the throwing knives, which is very easy to check in CalculateCustomDamage.  This would be preferable to a server-wide debuff when one player has the throwing knives because ~30% of the time someone's going to have the throwing knives so it will feel like a random punishment to the rest of the players that they can't do all that much to stop.
I agree with you on the Throwing Knives debuff. It took me a while to think of what I wanted to replace it with since they seem to do enough damage to make an on hit debuff not as useful. I decided, in the end, to have them count twice towards your additional bonus point and award switch, and to have them reduce your switching time. They felt like a skill based weapon, so I felt the best way to handle them was to reward kills with them or to give a player a way to get rid of them quickly if they didn't want to use them.

- It's probably better to use !voodoo instead of !gesrocks for the weapon swap command, as !gesrocks isn't bound by default in 5.0 and most gamemodes use !voodoo for their special input.
Done, you can now use either !voodoo or !gesrocks.

- It would be a good idea to give players the slappers during the weapon switch, because players who have no weapons will have no weapon animations and go into the reference pose for onlookers.  Looks kind of silly.
I can't argue with that logic, added. Also added a bonus where if you do kill someone with slappers, it will automatically complete the weapon switch, regardless of the remaining delay.

- I'd recommend using GEUtil.GetTime() instead of round time for timer calculations, as round time can be set to 0 to disable it and play forever.  It's not commonly done, but when it is it means you get stuck switching weapons forever.
Done.

Anyway, the mode's code is well organized, and I really like how you handled the cvars.  Modes with lots of them tend to get a bit cluttered but your setup handled them in a very clean way.  I might have to look into adopting a similar approach for our official modes.
A very much appreciated compliment. I actually took the time to make sure everything was organized well. I also decided to make some adjustments to the code, specifically, I decided to label all the functions so they could be quickly searched, and reorder some of them so that it flows a bit better. I am curious about the cvars point though, specifically where my code differs from what the other modes do, since I don't think you mean (or at least I hope you don't mean) where I initialize it all in one block (which is the first thing I think of when I read that line).

Thanks for taking the time to make this!  I hope everyone in the community has fun with it.
Thank you for taking the time to reply. I look foreward to seeing how this plays out with actual players.
Logged

Captain George

  • Agent
  • *
  • Posts: 14
  • Reputation Power: 1
  • Captain George has no influence.
  • Offline Offline
Re: [Game Mode] Cache
« Reply #5 on: October 11, 2018, 10:01:22 AM »

Seems like a good mode to me! I hope it becomes part of the offical game. I don't think this kind of mode ever existed so I believe it is original. I like how it differs from most modes. I look forward to playing it sometime when it releases. Do you need any help testing it? I have a sever, and I could get some people together to see how smooth and fluid it is.
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #6 on: October 11, 2018, 08:46:37 PM »

This list of changes is great!  I'm really looking forward to playing this mode on Saturday now.


Anyway, for the Investment Losses list, it's a custom gamemode where you get money for doing different things and can use it to buy items like weapons and powerups that get sold one at a time throughout the round.  The money values are balanced around how useful each item is, and timed mines are excluded entirely because they didn't really have a place in the mode.  Most players can't use them well, but with infinite ammo it's possible to just run around throwing them everywhere.  Not really a problem until you consider that they'd need to be fairly cheap to be worth buying at all...and since the same item is offered to everyone each buy cycle it means suddenly 10 people are just throwing timed mines everywhere.  For a gamemode like yours, where ammo is limited, I'd say they're about as good as the grenades in most cases.

For the cvars I was mostly talking about how you standardized the cvar information into a dictionary and then used that when interacting with them.  I tried to standardize most systems in the gameplay code for 5.0 but console variables are one of the areas I didn't quite get around to.  We have GEUtil.GetCVarValue for getting a console variable directly, but this has a few downsides mainly when it comes to sanitizing inputs, handling calculations that needed previous values of the cvar, and triggering events like leveling up players if the new variable value requires it.  These were all possible to do but were cumbersome.
My predecessor introduced OnCvarChanged to, I assume, help with these issues but in the one mode that actually has more than 3 console variables, CaptureTheFlag, it caused a bit of redundancy in the code as generally all the cvars are just treated as entirely separate variables.  It's not ultimately a huge problem as only one official mode has more than 3 cvars, but if it could be easier to have 5-10 cvars without increasing complexity for lower cvar counts it would be worth it.
There's a lot of nuanced details to capturing all the required functionality into a more streamlined system, as many times two different cvars can differ quite a bit in terms of what information they hold and what needs to happen when they're changed, but seeing your system makes me wonder if perhaps there's a way to do it that would be worthwhile to set up.  I still need to standardize the console variable usage in gamemodes for 5.1, as most gamemodes still use GEUtil.GetCVarValue, so when I get around to that I might experiment with a convention similar to yours and see if it makes things easier to use overall.  I kind of just accepted the current way as good enough, only ever coding 2-3 cvar modes myself, and never really thought about improving it.


Anyway, I've got the latest version up on my server so hopefully I'll have some gameplay footage uploaded for you by Sunday!  I'll keep an eye on this thread just in case you have any last minute changes to make.
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Whimsical

  • Agent
  • *
  • Posts: 5
  • Reputation Power: 30
  • Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #7 on: October 12, 2018, 09:36:32 AM »

Made some minor edits to the file. Importantly, the .cfg file included now has the correct defaults settings (rather than settings I was testing with earlier). There is now a notification when you score a kill as to how many different weapons you need to kill with to get your bonus (Though I wasn't sure of exactly how to write it, so I'm open to changing it) though you can disable with message by setting the cvar "cs_enablenotifyremaining" to 0 (if the message proves annoying). When you spawn with Throwing Knives, you are now given a message notifying you of what they do. Finally, I moved the message strings to the top of the source file, so they can be changed easily.
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #8 on: October 14, 2018, 08:54:00 AM »

We got to play 2 matches of Cache last night, and while I personally found the mode fun it seemed rather polarizing among the other players.  People seemed to be split 50/50 on if they enjoyed it or not, but no-one really gave me a clear reason as to why so I can only collect the comments I heard and try to extrapolate from there.

Anyway, some of the comments I heard were:

- Switching takes too long
- Not enough ammo
- It's not clear you start with 3 guns


It's easy to address these comments at face value but my interpretation is that most of the dissenters don't like how the switching mechanic is implemented.  I personally avoided switching at all without the bonus, as it was generally better to just go huge with your good weapons, and if you died before running out of ammo just eat the respawn time versus waiting out the normal switch duration.  A lot of people probably feel the current setup is unfair and random as you have to take a pretty big penalty if you spawn with a bad selection of guns.

Because of this, I'm kind of wondering if maybe the switching could happen incrementally instead of all at once.  Something like:
Press G -> lose all current weapons except for slappers.
1/3 of switch time passes -> Get first weapon
2/3 of switch time passes -> Get second weapon
full switch time passes -> Get final weapon

With the option of rerolling again during the switch time to restart it if you don't like the guns you're getting. 

Would make it clear you're getting 3 guns, give you a usable weapon much faster, and give more chances to roll for guns you like.  Even 2-3 seconds is a long time to go without a gun in an open firefight, so this would still be something people would have to use strategically if they wanted to use it to the best effect.


Anyway, to me it's a pretty straightforward deathmatch variant, and while it probably needs a fair bit of tweaking the core concept seems pretty fun.  I'll try adjusting some of the console variables and see if I can play a few more matches tonight.  2 matches is kind of a small sample size so I want to try it a few more times before trying to draw the final consensus.  Investment Losses was pretty polarizing on its first few iterations too, but after adjusting some implementation details a lot of the players who hated it now say it's their favorite mode.  It's just part of the gamemode development cycle, really.  It's hard to get something with so many moving parts perfect on the first attempt.

As for that gameplay footage I promised, I had some issues with the footage from last night so I'm going to try a different method next time.  -Hopefully- I'll have something for you in the next few days, but for now I hope a write up is enough info to go on.

I look forward to the next version of the mode!
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #9 on: October 15, 2018, 03:38:43 PM »



Gameplay footage, as promised.  I didn't play quite as well as I would have liked, but eh, probably better for capturing a typical gameplay experience.  Please suffer through my twitchy aim as best you can.


Sadly I didn't tweak the console variables like I was hoping to, but this is decent footage of the mode I feel.  One thing I noticed while recording this is that it's pretty common to have loadouts like D5K, D5K(s), and DD44 where you don't have much hope of getting much done.  These weapons are decent on their own, but the prevalence of the AR-33 and Auto Shotgun in other player's loadouts, which are both powerful and easy-to-use weapons, makes them very difficult to get more than 1 or 2 kills with.

Conversely, it's also possible to get loadouts like Golden Gun, Rocket Launcher, and Silenced PP7, which on paper seem really good...but the AR-33 and Auto Shotgun can still kill you very fast without armor and so losing these loadouts before really getting to use them is actually quite easy.  Having 2 or 3 high powered weapons isn't all that much better than just having 1, but it certainly feels like you're losing a lot more when you die.

The solution to both of these problems, I feel, is guarantee a certain weapon strength distribution for each loadout granted.  They shouldn't all be equal, as I feel the randomness is part of the mode, but they should all follow something similar to the following structure:

1 Good Weapon (AR33/Auto Shotgun to Golden Gun, better being rarer)
1 Average Weapon (ZMG-CMAG/Shotgun, not much bias in the random selection)
1 Weak Weapon (Klobb - DD44, weaker being rarer)

It would be fine to have overlap between the different classifications but something more structured like this would at least guarantee every player has a chance against any other player.  The other player might have the Gold PP7 and they only have the AR-33, but they can overcome that with better deathmatching skills or strategy.


This mode has potential, I feel like all it really needs is the right tweaks and people will love it.
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Whimsical

  • Agent
  • *
  • Posts: 5
  • Reputation Power: 30
  • Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #10 on: October 17, 2018, 11:49:24 PM »

(Just has a quick note, I had to break up writing this reply over 3 days, so I'm not sure if everything here is put together as well as I would like in terms of grammar and how well things flow)

Thank you for both replies, and the gameplay footage. Sorry, I wasn't able to reply right away, I've been a bit busy with classes. Still, I've had time to make a few improvements to the game mode (but have a couple more I want to add before releasing the next version). Before I get into my replies, I'll just give a quick note about myself, it might not seem relevant, but hopefully, it gives some context into my thought processes. I like playing Trading Card Games and have experimented with casual game design in regards to them (just between friends), and this mode adds some elements I like from those games to this game.

We got to play 2 matches of Cache last night, and while I personally found the mode fun it seemed rather polarizing among the other players.  People seemed to be split 50/50 on if they enjoyed it or not, but no-one really gave me a clear reason as to why so I can only collect the comments I heard and try to extrapolate from there.

Polarizing isn't bad, if people have a strong response about the game mode it means there is at least something there. Now it's just a matter of refining it.

Anyway, some of the comments I heard were:

- Switching takes too long
- Not enough ammo
- It's not clear you start with 3 guns

1. Switching taking too long I can see, you mention switching again later so I'll put my thoughts there.
2. That's a little more tricky, managing limited ammo is supposed to be a part of being able to play this mode well, and ammo counts are supposed to act as a balancer for some weapons. That being said, I need to strike a balance. Is this a concern for all weapons overall, or just specific ones (and if so, which ones)?
3. Probably the best way to fix that is to print them on-screen somewhere when the player spawns. I'll see if I can't add it to the next version.


It's easy to address these comments at face value but my interpretation is that most of the dissenters don't like how the switching mechanic is implemented.  I personally avoided switching at all without the bonus, as it was generally better to just go huge with your good weapons, and if you died before running out of ammo just eat the respawn time versus waiting out the normal switch duration.  A lot of people probably feel the current setup is unfair and random as you have to take a pretty big penalty if you spawn with a bad selection of guns.

Because of this, I'm kind of wondering if maybe the switching could happen incrementally instead of all at once.  Something like:
Press G -> lose all current weapons except for slappers.
1/3 of switch time passes -> Get first weapon
2/3 of switch time passes -> Get second weapon
full switch time passes -> Get final weapon

With the option of rerolling again during the switch time to restart it if you don't like the guns you're getting. 

Would make it clear you're getting 3 guns, give you a usable weapon much faster, and give more chances to roll for guns you like.  Even 2-3 seconds is a long time to go without a gun in an open firefight, so this would still be something people would have to use strategically if they wanted to use it to the best effect.

To be fair, I kind of expected issues with the switching mechanic. I added it originally to deal with the fact you don't have Slappers, and thus it at least is in theory possible for all players to use up all the ammo on all their guns on a stage where you can't die from fall damage (thus, while very unlikely, leaving open the possibility of the game just halting). Later I expended the rules so it was more than just that, but getting it to work well is probably going to be more a case of trial and error. I do like your suggestion and want to at least implement it as an option. The other alternative is just adjusting the delay to be more reasonable. If you end up playing any more games between now and then, I would suggest setting "cs_switchdelay" to 5, if that still doesn't work then maybe set it to 3 and set "cs_knifeswitchdelay" to 1. The only problem with setting the delays lower is that I don't want people to constantly be rerolling until they get a strong set, since playing with (or around) less than ideal sets is supposed to be an aspect of the game mode.


Anyway, to me it's a pretty straightforward deathmatch variant, and while it probably needs a fair bit of tweaking the core concept seems pretty fun.  I'll try adjusting some of the console variables and see if I can play a few more matches tonight.  2 matches is kind of a small sample size so I want to try it a few more times before trying to draw the final consensus.  Investment Losses was pretty polarizing on its first few iterations too, but after adjusting some implementation details a lot of the players who hated it now say it's their favorite mode.  It's just part of the gamemode development cycle, really.  It's hard to get something with so many moving parts perfect on the first attempt.

Thank you, I agree with you on all points here.

Quote
I look forward to the next version of the mode!

I look forward to it as well. I'll cover my planned changes at the end of this post and a bit during my reply to your other post.

Gameplay footage, as promised.  I didn't play quite as well as I would have liked, but eh, probably better for capturing a typical gameplay experience.  Please suffer through my twitchy aim as best you can.

Thanks. Gameplay-wise, much better than I can do. I'm not really the best FPS player. Seeing the gameplay in action though was really nice.

Sadly I didn't tweak the console variables like I was hoping to, but this is decent footage of the mode I feel.  One thing I noticed while recording this is that it's pretty common to have loadouts like D5K, D5K(s), and DD44 where you don't have much hope of getting much done.  These weapons are decent on their own, but the prevalence of the AR-33 and Auto Shotgun in other player's loadouts, which are both powerful and easy-to-use weapons, makes them very difficult to get more than 1 or 2 kills with.
Those kinds of loadouts shouldn't be exactly common, though maybe the prevalence of ARs and Auto Shotguns should be looked at?

Conversely, it's also possible to get loadouts like Golden Gun, Rocket Launcher, and Silenced PP7, which on paper seem really good...but the AR-33 and Auto Shotgun can still kill you very fast without armor and so losing these loadouts before really getting to use them is actually quite easy.  Having 2 or 3 high powered weapons isn't all that much better than just having 1, but it certainly feels like you're losing a lot more when you die.

I have added (what I hope is) a fix to this issue, or what should be a nice feature regardless. If you use the switch command ("!voodoo" or the others) after you die, so long as certain criteria are met, you can carry your loadout when you respawn (i.e. you keep the same guns after you die). The following must be met for weapons to be carried over.
  • The option only exists for a set time after getting the weapons (either after a respawn or a switch), by default the window is 15 seconds but can be adjusted with a cvar.
  • You must not have scored any kills with your current weapon set.
I'm not sure if criterion 2 is enough without the delay, it might be. Anyway, that should mitigate the sting of losing a strong set before you can use it.

The solution to both of these problems, I feel, is guarantee a certain weapon strength distribution for each loadout granted.  They shouldn't all be equal, as I feel the randomness is part of the mode, but they should all follow something similar to the following structure:

1 Good Weapon (AR33/Auto Shotgun to Golden Gun, better being rarer)
1 Average Weapon (ZMG-CMAG/Shotgun, not much bias in the random selection)
1 Weak Weapon (Klobb - DD44, weaker being rarer)

It would be fine to have overlap between the different classifications but something more structured like this would at least guarantee every player has a chance against any other player.  The other player might have the Gold PP7 and they only have the AR-33, but they can overcome that with better deathmatching skills or strategy.

That is supposed to be what breaking them into categories does. As noted, the randomness is a part of it, and I do want players to have to manage sub-par weapon sets. At the moment the fixes I want to try are weapon carrying (deals with losing good sets), making switching more viable (deals with mitigating very weak sets), and adjusting the weights on weapons and categories (as I feel that should be the first step before any major overhauls in the distribution method). Still, I won't rule this out as a possibility if weapon distribution keeps being a problem.

This mode has potential, I feel like all it really needs is the right tweaks and people will love it.

I agree, now I just need to make those tweaks and get gameplay data.

Now, as promised, here is my list of things that I want to add to the next version.
  • Weapon carry over, as detailed above (and is already scripted).
  • Your "rolling switch" idea (as I've come to think of it as).
  • Displaying weapon names on spawn (also worth asking if there is a way for players to set some local cvar equivalent so I can give them the option to disable this)
  • Lowering the rate of handgun appearance (possibly).

The last point leads to this last section. Since I haven't played with others, and not as knowledgeable about this game, I do have some question I want to ask that I can't really get answers to on my own.
  • How are the weights on the weapons and categories? Are there some weapons that appear more or less often than they should for their power?
  • Do the special effects applied to certain weapons feel impactful?
  • Do you feel properly incentivized to use all of the weapons in your given set?
  • In regards to your weapon distribution idea, I am giving thought to how I would go about it, and for that, I do need to know if I'm correct about the following. Would this be the correct ordering from best to worst sets:
    • Good - Good - Good
    • Good - Good - Average
    • Good - Good - Bad
    • Good - Average - Average
    • Good - Average - Bad
    • Average - Average - Average
    • Good - Bad - Bad
    • Average - Average - Bad
    • Average - Bad - Bad
    • Bad - Bad - Bad
    I especially want to know if I'm correct in saying 3 Average weapons is better than a Good weapon and 2 Bad ones.
« Last Edit: October 17, 2018, 11:54:04 PM by Whimsical »
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #11 on: October 20, 2018, 05:11:55 AM »

I think handguns are usually pretty good, so no need to eliminate them from play.  The true issue is just that the AR-33 and Autoshotgun are very easy to use and very powerful, so most guns just don't have a chance against someone who has one of those weapons + armor.  Each loadout has roughly a 40% chance of getting one of those two guns so they end up being really common.  The most common guns should at most probably be in the CMAG/Shotgun/Phantom range as these are all good weapons but generally limited in one way or another.  Pistols and other guns still have a chance against them, even up close.

As for ammo, I think the Rocket Launcher perhaps gets 1 rocket too much and the shotgun deserves maybe 1 extra clip, but otherwise ammo hasn't been too bad.  I think this is one of those situations where people complain about one thing but really the issue is somewhere else.  In this case I feel it's just that switching was too costly so they felt constrained to their current weapons, so once they ran out of ammo for the good gun they weren't happy.  The only real issue with ammo I feel is that sometimes you can get 2 weapons that share the same ammo type, and thus get a bunch of extra shots for the sniper rifle if you happened to get the KF7 as well.  Didn't seem too game breaking when I played but it's worth noting.

Your other changes sound good and I'm excited to check them out!  I'm a little skeptical on the weapon carry over as it feels kind of niche and I'm worried a lot of players won't pick up on it, but since it's already scripted it's worth giving it a few playtests at the very least.

As for your questions:

- As I said above, AR-33 and Autoshotgun make most of the other guns too difficult to use as nearly half the people you fight are going to have one of these weapons.  It's honestly hard to judge the rest of the weapon balance because of how dominant those two weapons were.  They should probably be a lot less common, maybe around 12% for the Autoshotgun and 10% for the AR-33.

- The special effects are actually pretty powerful but generally just serve to make the rest of the loadout better.  Getting  the Silenced PP7 or Klobb was usually a pretty good deal because the passive bonus they provide can be used with the other 2 weapons to great effect.  Laser + Silenced PP7 + Klobb/Knife would probably be the best long-term loadout you can get in this mode.  This is probably why the powerups were rather controversial, everyone loves getting the powerups but it really sucks when someone surprises you with an increased-damage Autoshotgun without ever being on the radar.

- Generally with everyone having the AR-33 or some other powerful weapon it was too costly to try and use your weaker guns with the exception of finishing someone off.  The bonus for killing with all 3 guns was pretty powerful but unless I armor camped I struggled to use it since one of those weapons was usually the D5K or similar which wouldn't stand up to the AR-33 very well.

- Honestly I feel like Good-Good-Bad or even Good-Bad-Bad, depending on the ammo situation, are the best loadouts you can get, as usually the bad weapon has some bonus like extra damage or radar invisibility and you just don't have to use it.  People complained about the low ammo but if you're conservative you can make 2 good weapons last a long time, especially if they share ammo with the bad weapon.  Without taking the powerups into consideration, a loadout's strength mostly comes down to how many situations you have Good weapons for, how good those weapons actually are (Golden Gun > AR-33), and how much ammo you have for them.  If you have the AR-33 or Laser your other loadout slots don't matter too much, if you have the Autoshotgun generally you also want a reasonable long-range weapon like the PP7 to compensate for the low shotgun ammo and limited effective range.  The third loadout slot rarely comes into play unless it gives you a powerup or is something unique, like an explosive.


Anyway, I'm looking forward to trying out the new version of the mode once it's ready!
« Last Edit: October 20, 2018, 05:18:12 AM by Entropy-Soldier »
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Whimsical

  • Agent
  • *
  • Posts: 5
  • Reputation Power: 30
  • Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!Whimsical is a rising star!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #12 on: November 02, 2018, 02:05:29 PM »

Ok, again sorry for not getting back sooner, classes haven't given me much time to put everything I need together. I've had the changes done since about last week and just finished making the changes to update the main topic.

I think handguns are usually pretty good, so no need to eliminate them from play.  The true issue is just that the AR-33 and Autoshotgun are very easy to use and very powerful, so most guns just don't have a chance against someone who has one of those weapons + armor.  Each loadout has roughly a 40% chance of getting one of those two guns so they end up being really common.  The most common guns should at most probably be in the CMAG/Shotgun/Phantom range as these are all good weapons but generally limited in one way or another.  Pistols and other guns still have a chance against them, even up close.
Ok, I've made some changes to the weapons table, bringing down the AR and Auto Shotgun and (very slightly) the Phantom, and giving a minor increase to the D5K, and a larger one to the Sniper Rifle, and a much larger one to the Shotgun (mostly a consequence of decreasing the Auto Shotgun) which actually makes it the most common weapon to get now (even more than the KF-7, since even while Rifles are the most common category, there are only 2 Shotgun options and one of those 2 is far more common than the other).

As for ammo, I think the Rocket Launcher perhaps gets 1 rocket too much and the shotgun deserves maybe 1 extra clip, but otherwise ammo hasn't been too bad.  I think this is one of those situations where people complain about one thing but really the issue is somewhere else.  In this case I feel it's just that switching was too costly so they felt constrained to their current weapons, so once they ran out of ammo for the good gun they weren't happy.  The only real issue with ammo I feel is that sometimes you can get 2 weapons that share the same ammo type, and thus get a bunch of extra shots for the sniper rifle if you happened to get the KF7 as well.  Didn't seem too game breaking when I played but it's worth noting.
I removed the extra rocket the Rocket Launcher can get (don't know if that's all that's needed, but probably best to test with that first), and gave the Shotgun the extra 5 Shells (again, mostly deferring to your expertise here). I implemented your suggestion for switching, and while I was originally just going to make it an alternative, when testing it I really liked it so it's enabled by default. On the topic of it though, I would like to point out that I had to rewrite the function that distributes weapons because it was not in any way able to handle giving them out one at a time (but I do feel that the functions are better designed because of it). In regards to weapons sharing the same ammo type, it was something I considered and decided to leave in. I think the only thing to watch out for is the D5K (Silenced) and the Klobb which have 200+ extra bullets (which I did give them so the player could make use of the extra ammo with other weapons).

Your other changes sound good and I'm excited to check them out!  I'm a little skeptical on the weapon carry over as it feels kind of niche and I'm worried a lot of players won't pick up on it, but since it's already scripted it's worth giving it a few playtests at the very least.
I've found the carry option to be useful if I die after an award switch. Your concerns about players not noticing it is a good point, so I decided to add a hud message that appears when the player dies (and the requirements to carry are met) that notifies them of the option.

As for your questions:

- As I said above, AR-33 and Autoshotgun make most of the other guns too difficult to use as nearly half the people you fight are going to have one of these weapons.  It's honestly hard to judge the rest of the weapon balance because of how dominant those two weapons were.  They should probably be a lot less common, maybe around 12% for the Autoshotgun and 10% for the AR-33.
I implemented those changes and made a couple other adjustments after seeing how the affected the probabilities. I'm kind of surprised that the Auto Shotgun is that good in comparison to the Shotgun, going by the GoldenEye Source wiki the numbers don't seem to be that different (aside from headshots), but I can see from actually using both that my initial assessments were off.

- The special effects are actually pretty powerful but generally just serve to make the rest of the loadout better.  Getting  the Silenced PP7 or Klobb was usually a pretty good deal because the passive bonus they provide can be used with the other 2 weapons to great effect.
That is mostly by design since I didn't want to make those weapons as rare as Ubers, but I also didn't want to give the players weapons that were (at least in my opinion) that subpar.

Laser + Silenced PP7 + Klobb/Knife would probably be the best long-term loadout you can get in this mode.  This is probably why the powerups were rather controversial, everyone loves getting the powerups but it really sucks when someone surprises you with an increased-damage Autoshotgun without ever being on the radar.
That shouldn't actually happen since all of the weapons that confer passive bonuses are in the same category and thus you should only be able to get 1 of them in any given loadout. Getting multiples of these would be a bug.

- Generally with everyone having the AR-33 or some other powerful weapon it was too costly to try and use your weaker guns with the exception of finishing someone off.  The bonus for killing with all 3 guns was pretty powerful but unless I armour camped I struggled to use it since one of those weapons was usually the D5K or similar which wouldn't stand up to the AR-33 very well.
This should hopefully be a little easier to do now that the weapon odds favour the AR less. If you playtest this more, can you tell me if this is the case?

- Honestly I feel like Good-Good-Bad or even Good-Bad-Bad, depending on the ammo situation, are the best loadouts you can get, as usually the bad weapon has some bonus like extra damage or radar invisibility and you just don't have to use it.
That is what I was hoping for, to reduce the odds of particularly bad loadouts (ideally, while what you have isn't always going to be ideal, you should have at least something that you can make use of). Anyway, I was considering a different way to distribute weapons, but I didn't really like the samples that I got from it.

People complained about the low ammo but if you're conservative you can make 2 good weapons last a long time, especially if they share ammo with the bad weapon.
I agree with you on being conservative with your ammo, it is supposed to be a key point of the mode (even if it might be a bit understated in my description), so while there might be some complaint, that is one thing I'm probably going to keep even so.

Without taking the powerups into consideration, a loadout's strength mostly comes down to how many situations you have Good weapons for, how good those weapons actually are (Golden Gun > AR-33), and how much ammo you have for them.  If you have the AR-33 or Laser your other loadout slots don't matter too much, if you have the Autoshotgun generally you also want a reasonable long-range weapon like the PP7 to compensate for the low shotgun ammo and limited effective range.  The third loadout slot rarely comes into play unless it gives you a powerup or is something unique, like an explosive.
I'm guessing Laser because of the infinite ammo (I also take it that means it is worthy of its spot in the ubers list). For the AR, if it is still a problem after more playtesting maybe either move it to ubers or give it no spare ammo? The third slot should hopefully be there to help balance out your weapon selection (and to make sure that if you roll 1 really bad weapon, you still have a chance to have 2 decent weapons).

Anyway, I'm looking forward to trying out the new version of the mode once it's ready!
Thank you, and thank you for taking the time to provide feedback and answer my questions. It might have taken a while but the new version is now ready.

If it wouldn't be too much trouble, could you provide another recording? I actually did like seeing the game in action, and not just my game mode, seeing how people actually play GoldenEye Source was quite useful, for instance, I realized that I was probably depending more on crosshair aiming than I should be, and am now making an effort to score kills without pausing to aim.
Logged

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #13 on: November 02, 2018, 05:56:48 PM »

I would say the laser is almost in a class of its own.  It's about as good as the AR-33 unless you have amazing hitscan tracking, and actually much worse if your hitscan aim is bad, but the infinite ammo means it gives you an indefinite mid-tier loadout.  If you get the guaranteed uber weapon switch it's usually worth it to switch though since all the other uber weapons are better than the laser and you probably won't live forever so it's best to chain upgrades if possible.

That being said, if you manage to snag a powerup like increased damage or radar invisibility along with the laser it's almost always worth keeping as it's now quite powerful and you'll never have to adapt your playstyle or deal with the chance of getting a sub-par loadout.  I don't think this is really a bad thing but it makes the laser a rather unique weapon...not incredibly powerful on its own but very useful due to its consistency and ability to keep a power-up indefinitely.

Also shoot, I didn't realize you couldn't get two powerup weapons in one loadout, but it makes sense.  I don't think this ever actually happened when I played, I just thought it was possible so I was giving it as an extreme example of how good the powerups could be.  Makes sense that it's not!


Anyway, I'll try to get you another recording tomorrow night as it's dev night, but it does take some effort to set up so I might have to do it some time during the week instead.  Either way, I'm really looking forward to checking this out!  I'll be sure to give you a writeup on how it goes at the very least.
Logged
"By reading this, you’ve done more than you can imagine." - Adrian

Entropy-Soldier

  • Managing Director
  • 00 Agent
  • ***
  • Posts: 496
  • Reputation Power: 299
  • Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!Entropy-Soldier is awe-inspiring!
  • Offline Offline
Re: [Game Mode] Cache
« Reply #14 on: November 04, 2018, 06:32:07 AM »

I managed to get the demo recording working properly this time so it was a lot easier to get footage:




I feel like this version played pretty well and I didn't hear any complaining, so I feel that things are certainly on the right track now.  The new weapon switch design is much more satisfying and useful, the reduced prevalence of the AR33 and auto shotgun had a huge impact on the viability of most loadouts, and the messages that tell you what weapons you have really help bring things together.  It still didn't win an encore vote though, by a very small margin, which makes me feel it could use a few more tweaks.

The knife speed boost is perhaps a bit too good.  The knife is actually already a really good situational weapon, and speed increases tend to be one of the more tactically useful abilities you can have.  Moving faster lets you pick your fights, avoid enemy attacks, and reposition yourself quicker to get more opportunistic kills.  It also stacks with strafe running so a 25% speed boost lets you run 75% faster than the base move speed instead of the standard 40%.  It would probably be worth reducing the speed boost to 10% or 15% as it would still be very useful but not overwhelmingly so. 

It might also be worth telling the player just how much of a damage/speed boost they're getting as it's useful information to have.


I'd also be interested in experimenting with giving the player a small amount of armor for switching weapons, as an extra incentive for doing so.  Even with the new system that doesn't interrupt the momentum of the combat, I still found myself not using the switch function as much as I could have been.  Maybe it could tie into your unique weapon kills, gaining 2 bars for each weapon you got a kill with.  Would make switching without the full gamut not feel like you're throwing away progress on your current loadout.


Either way, I feel like the mode is polished enough to put it in rotation on my server.  It's got a unique flow to it that most players might need some time to pick up on, but I'm confident they'll enjoy the mode once they figure it out.  Thanks for all your work on it so far!  It's coming along great.
Logged
"By reading this, you’ve done more than you can imagine." - Adrian
Pages: [1]   Go Up