Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have been working with the Quake 3 source code for a few weeks now and am in the process of integrating a custom bot as part of my M.S. thesis. I am using a machine learning algorithm to allow the bot to improve over time; however, for testing purposes I would like to disable the graphics out and load up a bot vs. bot match which can play out at a faster speed.

Has anyone done this before or can anyone recommend somewhere to read? I know I have seen this done before, but I have not seen any code examples. I have also heard there may be some 3rd party utilities that will allow you to disable graphics arbitrarily on any application. As a note, I am working with this on Windows if that makes a difference.

share|improve this question
1  
As a basic comment, you should be able to remove the most root call to render() from the main game loop, and also make sure to disable the frame wait counter. You need to double check that Quake 3 still uses a virtual second and not real time to compute its move chunks, or your sim won't run any faster. –  bobobobo Jan 22 '13 at 1:51
    
Thanks. I'll give this a shot and get back to you. Still have some other tasks to work on alongside this. –  Sycondaman Jan 26 '13 at 23:55
add comment

1 Answer

Have you tried running the game in a "dedicated" server mode? This mode is usually run on network servers.

Then try combining this with the "timedemo" command somehow to make it run the game faster than realtime.

share|improve this answer
    
Thanks for the info, I'll check it out! –  Sycondaman Jan 26 '13 at 23:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.