wowgetoffyourcellphone Posted March 11, 2018 Share Posted March 11, 2018 You all know I don't agree with adjustable batch sizes. https://trac.wildfiregames.com/changeset/21497 But that's okay to disagree. I would like to change it for my mod though. I want to "hard code" the batch sizes to multiple of 5 to create a consistent interface experience [eh hemmmm] for all of the mod's eventual players. How do? 1 Link to comment Share on other sites More sharing options...
vladislavbelov Posted March 11, 2018 Share Posted March 11, 2018 I think, the shortest way is to override the getBatchTrainingSize function: function getBatchTrainingSize() { return 5; } Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted March 11, 2018 Author Share Posted March 11, 2018 3 hours ago, vladislavbelov said: I think, the shortest way is to override the getBatchTrainingSize function: function getBatchTrainingSize() { return 5; } I will probably have to do this right before 1.0 release so as to avoid deprecation. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now