View topic - Fast Mode, Keep the result ?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 25 Nov 2010, 17:19 

Joined: 15 Dec 2008, 01:02
I use Balanced Annihilation 7.19 and my AI that build form NullOOJaviAI template.
Can any one suggest me?

1. how to collect the game data like
how many units does the enemy has?

the first way that I think is use some class in the library to collect the game data but I don't know which class to pick.
the second way is search them in the replay file but I don't know how to access it.

2. how to use run Fast Mode for skip the game animation and keep only the data?

Thank you


Top
 Offline Profile  
 
PostPosted: 25 Nov 2010, 17:24 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
2) + and - to adjust game speed or type /skipf bla to skip to frame bla and /skipf +bla to skip forward bla frames without graphics.
Possibly it might be just /skip not sure. I think /skip is the same as /skipf just with the arguement as seconds.


Top
 Offline Profile  
 
PostPosted: 25 Nov 2010, 20:02 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
non Lua AIs are only run when the game is running, not in a replay.
to run faster, do as knorke explained.

to get data about the enemy, use the AI callback. use the jar in your IDE to see what units are there.. search through them.

hope i got you right.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.