plumo Posted January 12, 2011 Report Share Posted January 12, 2011 Same problem as Kimball's for me.Running windows 7 32bit ( i updated workspaces, recompiled) Quote Link to comment Share on other sites More sharing options...
Pureon Posted January 12, 2011 Report Share Posted January 12, 2011 Running via pyrogenesis_dbg.exe? Quote Link to comment Share on other sites More sharing options...
feneur Posted January 12, 2011 Report Share Posted January 12, 2011 Running via pyrogenesis_dbg.exe?I ran via pyrogenesis.exe as I compiled a release version. But it's definitely a good thing to check that you're running the version you've compiled rather than the pre-compiled one from SVN if you're on Windows. Quote Link to comment Share on other sites More sharing options...
Pureon Posted January 12, 2011 Report Share Posted January 12, 2011 (edited) Using VC++ to run the new build gives me the same error as Kimball received. Edited January 12, 2011 by Pureon Quote Link to comment Share on other sites More sharing options...
Almin Posted January 12, 2011 Report Share Posted January 12, 2011 (edited) It works really fine for me on ubuntu 10.10 ... in case that it's normal that all units from the enemy are killed after maybe 5 seconds...sry for my english Edited January 12, 2011 by Almin Quote Link to comment Share on other sites More sharing options...
feneur Posted January 12, 2011 Report Share Posted January 12, 2011 It works really fine for me on ubuntu 10.10 ... in case that it's normal that all units from the enemy are killed after maybe 5 seconds...sry for my englishFor now it is The AI per se isn't developed yet, just the start of the AI system. Quote Link to comment Share on other sites More sharing options...
plumo Posted January 13, 2011 Report Share Posted January 13, 2011 I hope there will be "AI characters", for skirmish play, to make it more interesting than just AI easy, moderate and hard. (f.e. Command and Conquer Generals: Rush Hour)Possible options: A- A hero is the "commander", (using the heroes already included in the game ofcourse). Each AI player uses 1 hero only ( which you can appoint before playing) and every hero has a different play style/ other tactics. Example: When you fight against the Carthaginians with Hannibal as general, the AI will be (from the beginning) aggressive, rushing and trying to tackle your economy (raiding farms etc.) instead of going for the kill immediately (like what they did with Rome in reality)... etc. you get my point.B- instead of using AOE2 terminology like: big boomer, rusher, balanced, etc. you can use (old) professions as AI opponent. For example for Rome: Quaestor ( healthy economy) , Pontifex Maximus ( focus on religious units, balanced), Consul etc.Any comments? Quote Link to comment Share on other sites More sharing options...
Kimball Posted January 14, 2011 Report Share Posted January 14, 2011 A- A hero is the "commander", (using the heroes already included in the game ofcourse). Each AI player uses 1 hero only ( which you can appoint before playing) and every hero has a different play style/ other tactics. Example: When you fight against the Carthaginians with Hannibal as general, the AI will be (from the beginning) aggressive, rushing and trying to tackle your economy (raiding farms etc.) instead of going for the kill immediately (like what they did with Rome in reality)... etc. you get my point.B- instead of using AOE2 terminology like: big boomer, rusher, balanced, etc. you can use (old) professions as AI opponent. For example for Rome: Quaestor ( healthy economy) , Pontifex Maximus ( focus on religious units, balanced), Consul etc.Any comments?I like the first idea, but we also need a clear indication of each commander's behavior in the UI. The second option actually detracts from what benefit AoE2's terminology provided - not all of our players are going to be history experts (or even enthusiasts, for that matter). We need to simplify the descriptions so that even the most naive of downloaders understand how each AI will behave at a glance. Quote Link to comment Share on other sites More sharing options...
plumo Posted January 15, 2011 Report Share Posted January 15, 2011 If i look at the current heroes in the Design Document, it shouldnt be too hard to give every hero/AI computer a distinctive and relatively unique AI, according to their life/biography/known facts...Pre-Imperial Romans:Cunctator: Defensive AI, only in the late game potentially dangerous attacker.Sulla: Aggressive AI. Focus on land units/legions.Scipio: Balanced AI.etc. Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted January 15, 2011 Report Share Posted January 15, 2011 Cunctator: Defensive AI, only in the late game potentially dangerous attacker. Shouldn't he also focus a good bit on religion compared to the other two? (Look at his bio on Wikipedia.) Quote Link to comment Share on other sites More sharing options...
plumo Posted January 15, 2011 Report Share Posted January 15, 2011 Shouldn't he also focus a good bit on religion compared to the other two? (Look at his bio on Wikipedia.)I didnt read his bio now, i only remembered some facts about the Punic wars. This was just an example to illustrate my proposed method. Of course other details (= research) are required.If the developers want to include this, I volunteer to make a design document for the AI of every hero. Although i'm not a real historian (yet) , i'm studying History at University. If i can help... Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 15, 2011 Author Report Share Posted January 15, 2011 It's probably a bit early to worry about the details of AI personalities now - need to focus on getting a single one basically working first, which'll take long enough . But the engine supports multiple independent AI scripts and lets players select them, and it should also be possible to tweak parameters within a single AI script (e.g. to make it more aggressive or more defensive, if the script was designed to support that), so it'd be good to add some variety like that eventually Currently I'm working on making it not incredibly slow - the previously-committed code can take ~100ms to transfer entity data to the AI scripts every turn, which isn't good, so I'm improving that by only transferring the properties that have changed since the last turn, and adding more code on the AI side to decompress it back into the full entity state, and then exposing the state through some wrapper classes so you can say "this.entities.filter(function(ent) { return ent.isOwn; }).destroy();" etc. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 21, 2011 Author Report Share Posted January 21, 2011 On a vaguely relevant note: http://arstechnica.com/gaming/news/2011/01...competition.ars is interesting as a non-technical discussion of RTS AI design. (But it does seem kind of cheating to focus on a single strategy of using flying mutalisk units (which don't get stuck on obstacles and which benefit from micromanagement speed that humans can't match), and not a good approach in situations like ours where the goal of AI is to help human players have fun.) Quote Link to comment Share on other sites More sharing options...
JakaJancar Posted January 22, 2011 Report Share Posted January 22, 2011 Ykkrosh,I still couldn't get my mind off this, and I found Rhino has serializable continuations:http://wiki.apache.org/cocoon/RhinoWithCon...re_SerializableAlso see:http://stackoverflow.com/questions/289370/...e-continuations Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted January 22, 2011 Author Report Share Posted January 22, 2011 Rhino is written in Java, so that's not too useful for us since we're not going to port the whole game from C++ to Java . But we don't need continuations anyway - that's about the current state of execution (e.g. the function call stack and local variables), so you could serialise a program while it's half-way through running a function and then restore it and continue where you left off. We'll never need to serialise the AI while it's still running (since it'll stop running at the end of each turn), so it's a simpler problem (but still not a simple problem because of closures).(Incidentally, I mentioned SpiderMonkey's XDR earlier, but I've been told it can't actually serialise arbitrary data - it apparently just serialises compiled scripts, so it's used as an optimisation for parsing and can't really do any more than that.) Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted February 10, 2011 Author Report Share Posted February 10, 2011 Been working slowly on various stuff. Currently I've got a (rubbish, poorly-designed) AI that can build buildings, which is nice. E.g.: (Oasis) (Belgian Bog)(The left images show which tiles can be built on (i.e. aren't off the map, underwater, on steep slopes, or blocked by trees or rocks or buildings). The right images indicate each tile's distance to the nearest non-buildable tile, so brighter tiles have plenty of space for large buildings. The AI computes that to discover which tiles have enough room, then combines it with some other data so it prefers tiles close to its existing buildings, to discover the best valid location for building.) Quote Link to comment Share on other sites More sharing options...
Shield Bearer Posted February 10, 2011 Report Share Posted February 10, 2011 Pretty cool Quote Link to comment Share on other sites More sharing options...
Pureon Posted February 10, 2011 Report Share Posted February 10, 2011 Impressive! Nice to see the AI is making logical deductions about building placement. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted February 11, 2011 Author Report Share Posted February 11, 2011 Committed some code now - the AI should try to train some female citizens, collect some resources, build some houses and a barracks and some farms, and train some soldiers and send them to the enemy civ center. In terms of strategy it's terrible - this is mostly just a proof-of-concept for the low-level systems, and someone probably needs to redesign it to work decently as a player, but that can come later Quote Link to comment Share on other sites More sharing options...
Pureon Posted February 11, 2011 Report Share Posted February 11, 2011 Sounds excellent nonetheless I don't have time to try it now, but will take a look tomorrow evening. Quote Link to comment Share on other sites More sharing options...
WhiteTreePaladin Posted February 11, 2011 Report Share Posted February 11, 2011 It appears to build some farmsteads too. Played through Egypt without any errors, so that seems fixed. Quote Link to comment Share on other sites More sharing options...
Jeru Posted February 11, 2011 Report Share Posted February 11, 2011 Thanks. Tweeted. Quote Link to comment Share on other sites More sharing options...
Thorfinn the Shallow Minded Posted February 11, 2011 Report Share Posted February 11, 2011 Oh, by the way Jeru, the resources word had a typo. (Otherwise it was great!) Quote Link to comment Share on other sites More sharing options...
Jeru Posted February 11, 2011 Report Share Posted February 11, 2011 Yeah I had to omit some letters to make it to fit in 140 chars. People can fill in the missing vowels. Quote Link to comment Share on other sites More sharing options...
Mythos_Ruler Posted February 11, 2011 Report Share Posted February 11, 2011 lol, twtter sux 4 u bcuz of the chrcter lmt. srs lulz. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.