Skip to content

Overkill casual step 1

username-removed-84494 requested to merge martin-t/okc into master

Making a small MR to avoid a big one at the end of the process. This is in preparation for a casual version of the Overkill mod.

Changes:

  • OK now sets its model related cvars in config - this is to prevent resetting models when I reexec defaultOverkill.cfg during playing.
  • Scaling item respawn times according to the number of people - the default values are chosen to not affect anything. Not really playtested with players but I think the equation will stay this way. I didn't use a simpler linear scaling because then the more players would join, the faster the number of spawned items would increase - at some point the number of spawned items per player would start increasing too.
  • Simplified nade offset calculation
  • Minor performance improvement in dodging code
  • A function for scaling values between ranges
  • A crude workaround for MG trueaim which caused issues when standing close to a wall and attempting to use solidpenetraion
Edited by username-removed-84494

Merge request reports