GalCiv III: Hanging out this weekend

Hey guys!

I’m going to be hard core on the GalCiv III AI this weekend.

For those of you just checking in, I put together a long laundry list of new functions I need to improve the AI. In the old days (when I was younger) I would have written those functions myself but now I’m old and fat and lazy and my far more talented colleagues can put together something a lot less hackish.

So this weekend, I’ll be using these new APIs to vastly improve the AI.  The weather around here is going to stink so if you’re going to be indoors anyway, let’s hang out (virtually).  Just let me know where you guys think is best (Reddit is fine for example) and I’ll be doing streams of what I’m working on and we can chat about how we can get the word out on this game more before it ships and anything else you’d like to chat about.

The Reddit hangout link: http://www.reddit.com/r/GalCiv3/comments/3258sa/dev_weekend_hangout_galciv_iii/

UPDATE: You can also visit http://www.twitch.tv/draginol  

 

-brad

77,778 views 24 replies
Reply #1 Top

Sounds awesome!!!  HOpe you have fun while doing it!!

Reply #2 Top

I got a list, where do we start?!  ;P

So where can we see these streams?

What happened to Beta optin 5.2?

Where is my overlord patch for just being me? (ok, that one was over the top, but if you want to give me one....)

 

Reply #3 Top

Quoting Blaze, reply 2

What happened to Beta optin 5.2?

Galactic Civilizations III - Beta 5 patch 2 changelog

Reply #37 Derek Paxton (Stardock)  

Quoting Derek, reply 37

Game will release in May. This patch will release tomorrow (Friday).

 

Quoting Blaze, reply 2

Where is my overlord patch for just being me? (ok, that one was over the top, but if you want to give me one....)

Galactic Civilizations III - Beta 5 patch 2 changelog

Reply #40 Derek Paxton (Stardock)  (even though not directed at you)

Quoting Derek, reply 40

We will be putting a password on the patch, you will only get it if your girlfriend tells us that you have been nice to her, and agreed to have a steak ready for her Saturday night. 


Reply #4 Top

Quoting Seilore, reply 3


Quoting Blaze of Glory,

What happened to Beta optin 5.2?



Galactic Civilizations III - Beta 5 patch 2 changelog

Reply #37 Derek Paxton (Stardock)  


Quoting Derek Paxton,

Game will release in May. This patch will release tomorrow (Friday).



 


Quoting Blaze of Glory,

Where is my overlord patch for just being me? (ok, that one was over the top, but if you want to give me one....)



Galactic Civilizations III - Beta 5 patch 2 changelog

Reply #40 Derek Paxton (Stardock)  (even though not directed at you)


Quoting Derek Paxton,

We will be putting a password on the patch, you will only get it if your girlfriend tells us that you have been nice to her, and agreed to have a steak ready for her Saturday night. 





 

One day more, another day, another destiny. This never ending road to Calvary....

Girlfriend? My wife should be making ME steaks. I am nothing but the martyr in sack cloth and ashes! Ok, maybe don't ask HER if that is true, but it is!

Reply #5 Top

I hope you will fix the exploit of getting and entire races ships in exchange for peace or whatever else is convenient.

Reply #6 Top

Well I have a pretty conprehensive list in the oyher post. One thing to remember is colonise. If you have stellar cartiography you can send ships to stars that way,  otherwise you have to explore with your colony ship. Colonise every planet you find. If you.want stop after you have your percent of the map. If there is a resource build a constructure,  and then build a starbase. Once you build a starbase wait untill you are either at war,  or the colonise phase is over. After either criteria is met then finish upgrading starbase.

As far as planetimprovement your aI has to pay attention to resources,  and adjancy bonuses to build apptopriate buildings. The colonisation events are important on this you need to keep track of research,  production,  or starshIp bonuses. untill you are done with the colonisation phase you don't have to worry about you technological capital, economic capital,  or polotical capital. Once the colonisation phase is over add up your production, and research bonuses  from colonIsatIon events tImes class addIng the bonuses from the research and productIon tIles. Not including ither  tIles. Compare with class. Whichever is higher gets your technological capital. A technological capital gets all your research,  and manufacturing bonus buildings even the manufacturing capital. On the rest of the tiles build factories unless there Is a research or some other bonus. As far as percrntage produxtIon bonus buildings don't build if it is more constructive to build a factory instead.

Now on the next capital you are either count morale or food bonuses withever is higher after added to class of planét,  and then cimpare to other class of planets minusing other bonus tiles to find the next highest class. Once you find this is ehere you build ypur economic,  snd political capital. If your approval is below 50 percent then build morale building otherwise build farm. 

The only exception to thisis your planet if it has a bonus on it. If this appears on your planet you should build all you planet starship bonuses a power plant,  and factories.

Always reserve your third biggest planet for building trade goods... while you are waiting build factories and bonus buildings. This planrt may change as you colonise other planets. If the player builds a trade good,  or galactic achievement then build one.

Make the fourth for super projects.

Any research or production planets notincluded in the above. If research buiId research bonus buildings,  and factories. If production build production bonus buildings,  and factoties.

On every other planet type build starport four factories, snd a morale resource.after this seeif income is more than expence If this is so then compare your research-production-economic-farming to equal each other. If expenses are more than income then build your best economic building. You can use sliders to fix this,  so as to not to go into the negative to prevent the treasury from falling below 0. Don't lrt the population cap of building farms go above 40 billion. Only upgrade buildings if can afford to. Never terraform tiles unless you don't have sny empty one's. 

If the yor getsincrease by manufacturing max out population first.

If yor build five starbases per influence,  othetwise if anybody else build 12.

In diplomacy the ai should never trade away planetsit has wonders on,  or anything above a 15 , and onIy class 10 -15 if they have a lot of them. Never trade survey ships. Don't trade warships to the point it causes a lower military rating than who you are trading with. Never trade with anyone you are hostile with,  or at war with. Never trade techs that don't give you an advantage like a better unit.

Now as far as researching you should take about turns to reseaech It unless there are no other techs. Now your best techs are your bonuses. Go for surver pretty quickly. Priorities military, morale,  economics,  research,  diplomacy,  governments,  and population growth. You don't need to research universal translator,  or any diplomacy techs for that matter.

When hostile towards others you should build against their stats ships. This still works like this at war. 

Reply #7 Top

Now thats amazing! This is the kinda dedication that made gal civ 1 & 2 amazing, as I'm certain 3 will be! Looking forward to this though I doubt I'll be free this weekend, Ill defiantly watch any recordings.

Reply #8 Top

Prevent the AI from colonizing planets deep in another person's borders, you just give that race free planets when influence swaps you.

Reply #9 Top

Quoting Stalker0, reply 8

Prevent the AI from colonizing planets deep in another person's borders, you just give that race free planets when influence swaps you.
well I tried this as a player if you rush buy a lot of influence buildings you can make this work.

Reply #10 Top

Mostly focus on colony building as admiralWIllyWiber pointed out

Also diplomacy as been noted all over the place with the ai making silly trades. Especially military ships/tech. Stop declaring war when we can't reach each other, etc.

A side note, fix scoring. The ai seems to think colony ships, constructors and freighters count as military. It seems to make the ai think it is more powerful than it really is.

That ought to keep you busy :p

 

 

Reply #11 Top

This is a great idea.  There was a ship designer stream using Steam.  That worked okay.  I wouldn't trust the twitch set up; I have had issues attending the dev streams using that from the client side myself.  Then again, those can get archived.

However you do it, pick a time and place and those who feel the deep geeky need will join you.  Make sure you give us some advance notice so that those who need to can login or do other first time setup as needed.

Question: If you make an AI that we can't tell is an AI in Multiplayer, is that a variation/subset of the Turing test?  :)

 

Reply #12 Top

I'd like to stop by Twitch or something. The steam streaming is good too but I think you still need to be in the steam beta to get it.

Reply #13 Top

I definitely see a lot of issues with the AI.  The challenge isn't noticing things, the challenge is making them NOT do that without putting in an IF THEN statement into the code.  You want the AI to calculate this stuff organically otherwise you end up with a scripted AI.

 

Reply #14 Top

Brad, 

 

I would like to be part of your discussions. I am going to do some hard core playing all weekend as well. Reddit is great idea. Is there a link you can direct us?

Reply #16 Top

...and so it begins..

Reply #17 Top

I admire your will to program with people looking on! As a programmer, I hate it when folks look over my shoulder. I feel rushed. 

 

Anyway, I watched twitch a bit, but I am about to met a bud to play a game and didn't want to go through signing up.

I played a game today and the Yor never built a military ship. After declaring war, their starbases were still building constructors! As I was wiping them out, I noticed they had a transport, but why no military? Plus they were the slowest faction to expand by far. I used all factions, abundant minors and everyone had 7 or so planets except the Ypr which had 3. 

Also, It seems the ai doesn't take into account you are culture flipping their planets. I stole 2 from the Thalan and we are all best buds!

I noticed on the twitch you were working on the AI defending their planets, good call. 

Best of luck my friend!

Reply #18 Top

Quoting Blaze, reply 17
Also, It seems the ai doesn't take into account you are culture flipping their planets. I stole 2 from the Thalan and we are all best buds!

 

I've noticed this too. I steal planet after planet from the AI yet we remain "close" and it never attacks me...

 

Reply #19 Top

Please do not allow the AI to learn to ragequit.  That would be annoying..

Reply #20 Top

I did a few minutes of looking over Brad's shoulder via the stream.  It was interesting and I appreciated it.  I am much too rusty on coding, but it looked familiar and I could follow what comments and logic I was seeing.  Brad wasn't stopping to show you what he was working on and you had to take what glimpses you could get.  That was fair, I thought.   Then I remembered how much I hated people looking over my shoulder in real life, and I signed off.  I have to admire Brad for offering such a thing. 

A couple of family members confessed to doing some live play, with community participation,of an online D&D roleplay variant this weekend.  They thought they had descended to extreme levels of geekiness.  I told them about watching Brad code an AI.  I won the geekiness competition, no contest. . 

Reply #21 Top

I take it things didn't work out today, Sunday, must have been too nice :) Well I hope you enjoyed your Sunday looking forward when you do this again.

Reply #22 Top

Quoting Frogboy, reply 13

I definitely see a lot of issues with the AI.  The challenge isn't noticing things, the challenge is making them NOT do that without putting in an IF THEN statement into the code.  You want the AI to calculate this stuff organically otherwise you end up with a scripted AI.

 

 

Brad:

I admire this quality of commitment, however sometimes "if then" statements are needed to make sure the Human player does not exploit the AI. Hopefully, it would be used a little as possible.

I hope the commitment will be there to improve the 64bit AI for at least 2 more years, because that will be how long it takes to make a truly good organic AI.

Reply #23 Top

Quoting Ed1975, reply 18


Quoting Blaze of Glory,
Also, It seems the ai doesn't take into account you are culture flipping their planets. I stole 2 from the Thalan and we are all best buds!



 

I've noticed this too. I steal planet after planet from the AI yet we remain "close" and it never attacks me...

 

 

Frankly, that's what the Thalans deserve!   But perhaps not every AI, lol.

 

Reply #24 Top

Quoting xeryx, reply 22

however sometimes "if then" statements are needed to make sure the Human player does not exploit the AI

but wouldent an if then statement lead to exploitation of the ai...

 

IF player does A
       THEN do B

 

 

that means i can plan a counter for B then Do A triggering B forcing the AI to fall into my trap