Search found 33 matches

by m_k
Mon Mar 24, 2008 1:28 pm
Forum: Audio
Topic: Overall Audio Themes and Strategy
Replies: 20
Views: 16548

Re: Overall Audio Themes and Strategy

If you want to try the game, you can get a running version here: http://www.freeorion.org/index.php/Download Unless you compile it from the newest svn revision there will be allways features missing, but I believe you won't need those to get a general idea about the game. There is already one ambien...
by m_k
Sun Mar 23, 2008 11:58 am
Forum: Programming
Topic: research AI
Replies: 4
Views: 1074

Re: research AI

By the way, is it possible to make the TechManager class visible to python, since I haven't found a way to access the names of unresearched techs and had to include them manually as a list extracted from techs.txt. Also I am missing a function like the totalSpent for the production queue, the equiv...
by m_k
Sat Mar 22, 2008 3:23 pm
Forum: Programming
Topic: AI programming
Replies: 33
Views: 4631

Re: AI programming

Like I said, food would have a higher priority than the others. What I meant was that food would need like a 1.2-1.5 instead of a 1. For PP and RP, the goal would be to be able to finish the current tech/production in 1 turn. The AI will balance it, giving food the priority and making the result of...
by m_k
Fri Mar 21, 2008 8:36 pm
Forum: Programming
Topic: research AI
Replies: 4
Views: 1074

research AI

I'm finally done with the first working version, so here are some results: The approach I took is similar to the one here , using the general idea the silent one described, implemented using the algorithm I added. There are some parts that aren't quite finished yet, for simplicity the current demand...
by m_k
Fri Mar 21, 2008 5:41 pm
Forum: Programming
Topic: AI programming
Replies: 33
Views: 4631

Re: AI programming

In the simple case of food, this would be the right solution, yes, apart from the fact that you should consider including a factor for building up reserves, since the need for food often changes much faster than the production can adapt. But this only works in the limited case where a definitve requ...
by m_k
Fri Mar 21, 2008 8:57 am
Forum: Programming
Topic: AI programming
Replies: 33
Views: 4631

Re: AI programming

Alright. I had a similar plan in mind. The AI would assign a priority to each asset each turn, then would make necessary changes to it. So if the empire needs more PP than RP, then PP would have a higher priority then RP. So, say we had twice as many RP(Priority 100) as PP(Priority 50), but we want...
by m_k
Thu Mar 20, 2008 7:46 pm
Forum: Programming
Topic: AI programming
Replies: 33
Views: 4631

Re: AI programming

I was considering either war AI (deciding which planets to attack when, and in what order) or research AI. But an integral part of research AI is the RP cost of each Tech. (when deciding, one needs to consider what is needed now, and how long will it take). I believe the war AI will be the hardest ...
by m_k
Wed Mar 19, 2008 11:00 pm
Forum: Compile
Topic: help in compiling GG using msvc 2005 express
Replies: 2
Views: 1032

Re: help in compiling GG using msvc 2005 express

GiGi dlls and libs built with VC 2005 SCons attached. If it was easy to get GiGi compiling with VS 2005 express, there'd already be project files or instructions available. I didn't hope that it would be easy, I would have settled for hard which is better than never, but I'll have to live with that...
by m_k
Wed Mar 19, 2008 7:13 pm
Forum: Compile
Topic: help in compiling GG using msvc 2005 express
Replies: 2
Views: 1032

help in compiling GG using msvc 2005 express

After finally being able to compile freeorion using msvc express 2005 sp1, using the old platform sdk, (the 2008 version and the newer windows sdk had a violent dislike to boost and asio) I still have the problem that scons is unable to find cl.exe so that I can only compile through the IDE. I have ...
by m_k
Tue Mar 18, 2008 11:08 am
Forum: Programming
Topic: Texture rotation
Replies: 49
Views: 5203

Re: Texture rotation

We wouldn't just make one texture with all the galaxy nebulae and gassy bits on it at the start of the game (or rather, turn), as we'd need to make this full resolution for the maximum zoom possible, which would be ridiculously large. I suspect that instead, each time the view of the galaxy changes...
by m_k
Tue Mar 18, 2008 8:12 am
Forum: Programming
Topic: Texture rotation
Replies: 49
Views: 5203

Re: Texture rotation

Maybe you could try to compile them into a display list once at universe generation/loading for at least the higher zoom factors. I never tried them personally, but as far as i know they should at least reduce some of the overhead like getting the stars positions everytime and some of the internal g...
by m_k
Sun Mar 16, 2008 8:42 am
Forum: Programming
Topic: the production queue and long AI orders
Replies: 2
Views: 1549

Re: the production queue and long AI orders

Okay, my fault, everything is allright, seems the AIs just were adding ships even faster than I thought, so the bug should be fixed as soon as there is a proper production AI.
by m_k
Sat Mar 15, 2008 6:31 pm
Forum: Programming
Topic: the production queue and long AI orders
Replies: 2
Views: 1549

the production queue and long AI orders

Some people complained about the AI orders taking increasingly long times (bug id 1905624), I've experienced the same, but while fiddling about with the AI, I found something. Somewhere in the FreeOrionAI.py is the following code: (the one in the sourceforge Windows release, not the one from svn, I ...
by m_k
Sat Mar 15, 2008 4:56 pm
Forum: Programming
Topic: Texture rotation
Replies: 49
Views: 5203

Re: Texture rotation

Based on my understanding of OpenGl, things like glRotate or glTranslate apply their translation to the current matrix (which defines how all things thereafter are viewed, and so on). As far as i know you will have to rotate, do your texture stuff and then rotate back to your original position befor...
by m_k
Fri Mar 14, 2008 5:23 pm
Forum: Programming
Topic: production AI
Replies: 9
Views: 1910

Re: production AI

Are you interested to take an attempt at the research AI? Or to do some initial thinking on a ship design AI? Both sound interesting and I can already see some smaller problems coming up with both of them. I think I'll try to think up something regarding both of them and do some initial testing and...