Deicide4u Posted 2 hours ago Report Share Posted 2 hours ago I've installed Alpha 9 in order to better understand the game's code and core gameplay loop from a simpler perspective. I realize that this version has many issues, one of the most glaring ones being able to train more than one hero at a time. And yes, having no phases or technologies doesn't bother me. How can I limit the amount of trainable heroes to only one? Quote Link to comment Share on other sites More sharing options...
Gurken Khan Posted 2 hours ago Report Share Posted 2 hours ago 7 minutes ago, Deicide4u said: How can I limit the amount of trainable heroes to only one? Knowing next to nothing about coding I'd guess as per usual: copy & paste. Find how it's done now, copy it to the old source and build. I'd imagine building that old source could be quite a pain, especially if you'd have to implement that whole function into the engine. Quote Link to comment Share on other sites More sharing options...
Deicide4u Posted 1 hour ago Author Report Share Posted 1 hour ago 1 hour ago, Gurken Khan said: Find how it's done now, copy it to the old source and build I don't think that building of the source is required. The only thing that needs to be done is to modify the hero unit templates and restrict the training limit in a JS file. I see there's BuildLimits.js file, but I need a similar one for units. 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.