-
Notifications
You must be signed in to change notification settings - Fork 494
Add hidden wreck/heap metal modoption for tests #6267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This isn't the most neat code since it keeps the wreck metal% default value in two places. I didn't want to move that value default entirely into the modoption logic, though.
|
The other way to do this, to balance test specific units, could be adding a custom param of 'non uniform heap/wreck values' and then adding an exemption to the alldefs_post like commanders have. Could be useful to allow 'raiding units' (e.g. blitz) donate less metal as a balance testing tool. |
|
K this is much-simplified. A tweaks approach will be a separate PR. I think we want to keep using these ratios and not allow them to become too arbitrary. But still there are things the coordinators will want to test per-unit. |
keithharvey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM


Work done
wreck_metal_ratioandheap_metal_ratiofor testing reclaim amounts. Usage is!bset wreck_metal_ratio 0.5for 50% of unit metal value.Values for
wreck_metal_ratioshould be between 0.2 and 0.8 (default 0.6) (ish) given current game design. I don't think I've seen any pronouncements on heaps.This was requested for balance testing by coordinators so should be considered temporary. I don't mind adding an end date to the modoption (since that's been discussed as a feature to implement) or waiting on that feature to add this.
This could be considered a cheat option, especially when increasing metal reclaim from Raptors, but I didn't see the point in moving it to the cheats section, personally.