-
Notifications
You must be signed in to change notification settings - Fork 565
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds Latejoin scaling to Vendors and ASRS (#4939)
# About the pull request <!-- Remove this text and explain what the purpose of your PR is. Mention if you have tested your changes. If you changed a map, make sure you used the mapmerge tool. If this is an Issue Correction, you can type "Fixes Issue #169420" to link the PR to the corresponding Issue number #169420. Remember: something that is self-evident to you might not be to others. Explain your rationale fully, even if you feel it goes without saying. --> Simply fixes a few bugs, and makes it so Latejoiners contribute to ASRS Funds and Vendors stock of the main vendors (attachies, utilities, uniform, and reqs') much like they do contribute to larva count. See the CL for full details. Balance overview: * ASRS budget and dynamic vendors (attachies, utility, gear, ammo) now get resupplied by latejoins at 60% of roundstart rate. * 33% less supply points per marine. This applies to both amount of Vendors' stock, and to ASRS budget - roundstart and latejoin. * Basic vendors like Squad Preps Weapons Rack do not use the dynamic scaling. * Marines' own ordering points are not affected by these changes. * ASRS random supplying is already scaled and unaffected. I didn't really feel the strength to mass edit all ~500 scale() usage in codebase and risk to collateral the others, so affected vendors retain it for everything but floating point values. Some vendor multipliers had to be edited so they can scale linearly `(0.1 * scale + 1) ---> 0.25, i'd add a static modifier but this vendor code is already a mess. This is overall potentially a big marine supply buff, although it nerfs them at roundstart due to bugfixes. Related numbers might need to be adjusted. # Explain why it's good for the game Less dependency on roundstart amount of players, smoothing the game so it's easier to balance. More gradual scaling as people join. More Reqs work despite more supplies. # Testing Photographs and Procedure Tested chain spawning and that the vendors and ASRS amounts increased in appropriate amounts. # Changelog :cl: fix: Cryoing someone now properly takes into account role weights for the purpose of latejoin larvas. This should very slightly increase larvas amount. fix: Roundstart distributed amount of gear and ASRS points now takes shipside role weights into account. This should moderately decrease budget and starting gear. fix: Roundstart distributed amount of gear and ASRS points does not count Survivors and Monkeys anymore. This should moderatly decrease budget and starting gear. add: Main marine vendors and ASRS now get matching supply for every additional marine latejoining, similar to larvas. This should be a substantial increase over the course of a round. Supplies given are 60% of what a roundstart marine would give. balance: Amount of gear in main marine vendors and ASRS supplies have been decreased by 40% to help counteract added supplies the marines will get in latejoining. Hopefully this also keeps reqs active to dispatch new supplies. fix: Altered a few items vendor stock scalings to be linear for use with the new system, such as RTO pack, Drop Pouch and Machete Pouch. /:cl: --------- Co-authored-by: forest2001 <[email protected]>
- Loading branch information
1 parent
2f41e50
commit ba6e6aa
Showing
13 changed files
with
191 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.