devluz Posted March 10, 2015 Share Posted March 10, 2015 Hi guys, I am thinking about creating a DST mod but I need a crucial feature DST may not have. I need a way to fast forward the time. Is it possible to do that? The whole DST logic should still run but as fast as possible so I can test what happens after a few game days without actually having to wait. Is there any way to do that? Background: I am working on an artificial intelligence called artificial life that uses evolutionary algorithms to breed brains/game logic for npcs. I could for example create a computer controlled player that has similar abilities to a normal player. They would gather food, need sanity and health and they compete with the players for resources. They might even build houses and create a base. For this to work I need millions of game plays until the AI is smart enough to play the game (yeah they are slow learners ...). So this is only possible if there is a way to let them play the game in fast mode. Is DST flexible enough to allow this? Thank you for any help luz Link to comment https://forums.kleientertainment.com/forums/topic/51911-is-it-possible-to-run-dst-in-fast-forward-mode/ Share on other sites More sharing options...
rezecib Posted March 10, 2015 Share Posted March 10, 2015 @devluz, Well... you can skip game time with the LongUpdate(...) command, but I don't think this will do what you want. What you're describing is the fundamental weakness of genetic algorithms, basically. In a real-world scenario you'd probably want to get around it by running many instances in parallel and feeding successful individuals back, and I suppose it would be possible to write custom networking in Lua to do that, but it would not be easy. Link to comment https://forums.kleientertainment.com/forums/topic/51911-is-it-possible-to-run-dst-in-fast-forward-mode/#findComment-620599 Share on other sites More sharing options...
devluz Posted March 10, 2015 Author Share Posted March 10, 2015 Thank you for your answer! I probably won't be able to run enough in parallel though. I guess my idea wouldn't work :/ Link to comment https://forums.kleientertainment.com/forums/topic/51911-is-it-possible-to-run-dst-in-fast-forward-mode/#findComment-620721 Share on other sites More sharing options...
Rupture Posted March 13, 2015 Share Posted March 13, 2015 I know it might be a crude solution, but shouldn't TheSim:SetTimeScale(x) work? My server can run TimeScale = 10 just fine, and my pc is getting pretty old. Link to comment https://forums.kleientertainment.com/forums/topic/51911-is-it-possible-to-run-dst-in-fast-forward-mode/#findComment-621482 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