Skip to content
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

Setting the Frame Time #105

Open
ghost opened this issue Nov 27, 2018 · 0 comments
Open

Setting the Frame Time #105

ghost opened this issue Nov 27, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2018

Hello Everyone,
I want to implement a reinforcement learning algorithm within DeepGTA.
Therefor I need a fixed time that passes in the game between two consecutive frames.

I tried to use SET_TIME_SCALE() but unfortunately I only get a fixed frame time(with GET_FRAME_TIME) when I use 0 as the argument. All other values seem to optimize the frame time for every frame. Zero as an argument means also the game is moving in ultra slow motion, which will result in a huge training time.
I Also tried the scriptwait(100) to get a frame every 100ms but that also didn't work.

Is there a way to to let the game work for a specific amount of in game time and give me a frame afterwards ?

It is not easy to explain this problem with my limited English skills, but I hope somebody can help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants