wowgetoffyourcellphone Posted March 11, 2018 Report 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 Quote Link to comment Share on other sites More sharing options...
vladislavbelov Posted March 11, 2018 Report Share Posted March 11, 2018 I think, the shortest way is to override the getBatchTrainingSize function: function getBatchTrainingSize() { return 5; } Quote Link to comment Share on other sites More sharing options...
wowgetoffyourcellphone Posted March 11, 2018 Author Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.