![]() |
Re: Perking up the AI
Quote:
|
Re: Perking up the AI
So much that I want to respond to, but I am rapidly running out of minutes before I have to get ready for work. :p
I am currently giving Python another look. Now I remember what held me back before. I think the language itself is not a problem, but I am struggling to decide on a GUI and have not found an IDE yet that peeks my interest. I quickly get frustrated with the minutia of coding UI objects like buttons and frames. I would much prefer to have a WYSIWYG editor for laying out components and generating the code in the background. There is likely a utility out there and I have just overlooked it at this point. Meanwhile, I will keep browsing. das123, What tool sets did you find useful when creating Dom3Bak? (Nice app btw!) |
Re: Perking up the AI
Quote:
Anyway, most of my Dom3 experience has been SP and my favorite map is the SemiRand version of AoMOgre although it hosts slow for me because it is so big. Beautiful map, fun and exciting things to run into! I tried a little to get SemiRand to run in Wine but gave up easy. I'm interested in porting it to Python (command line, someone else can gui it) and adding it to dmg although it just changes the .map file right? Like a previous poster said it might be fun to add SemiRand stuff on the fly to MP games and/or make it more accessible. [Un]fortunately winter is nearing the end and I will soon be too busy to fool around on computers as much. Is SemiRand open and can I look at it, port it, etc.? |
Re: Perking up the AI
Quote:
Anyone who knows any programming language might want to check and see if there are some available modules for accessing an Open Office spreadsheet. And code for tga2jpg or gif or png (I do have imagemagick on the server which can do that quite nicely). That way a web interface could be written to directly use Edi's database, the library of dom3 sprite images, and Ballbarians source files. Updating would be simple when those libraries are updated. As a lazy alternative, there are a few people who have volunteered to convert loose ideas into turn-in code. If anyone has an idea for a province or god build (we seem to particularly need early and late era gods) then feel free to PM them to me. I might eventually get them done. |
Re: Perking up the AI
Quote:
That said, I am fairly sure that there should be some kind of GUI designer tool for the Qt port. And getting a GUI together with wx wasn't too hard. You will spend most of the time that you're programming on the GUI of course, no matter how complex the other code may be. :( |
Re: Perking up the AI
Quote:
I hunted around for a while trying to find something similar to VB where you can just drag and drop components into a frame. Everything I read about GUI and Python was contradictory. I tried placing the components by code but was a pain. There are a number of GUI libraries for Python, but that also makes it tricky. In the end I found what many said was the simplest setup (and I agree with them):
|
Re: Perking up the AI
Oohh, very nice, I'll have a look at that later. As I wrote, I found wx quite good to work with, too, without any IDE or WYSIWYG interface even. I made a GUI for a batch image downloader from hand. The one nuisance that I have with wx: The Python documentation isn't 100% complete. If you really want to know about all the usuable things there are in wx, then you need to look at the non-Python documentation for it. Apart from that, I like it the most from the options there are.
|
Re: Perking up the AI
Boa does indeed look nice. But, it does not appear to have been updated for the past 1.5 years. I guess if what is already there works well, then great. I probably wouldn't want to get too wedded to it though, as it will probably break against newer versions of wx at some point.
|
Re: Perking up the AI
Most of the info about wx is available, and for the tricky questions I just asked at http://bytes.com/topic/python/ where the community was very helpful.
As far as Boa not being updated for some time, I remember that that worried me as well. But then I found a post where someone said that it is active but mature and really is a case of 'if it ain't broke - don't fix it.' Even though it looks like it is Alpha or Beta with the version numbering, it really does a very good job - especially for Python newbies like me. I had a quick look at kTinker etc but it looked more complicated. Give me drag and drop any day. :) |
Re: Perking up the AI
Well, yes, the wx information is available... It's just that the docs about the Python bindings for it are lacking! There are whole classes missing or being undocumented how to use them. "Use the source, Luke" is prolly the best answer if you want to know about all there is available. That's pretty much what I was told in the wx IRC channel, too.
|
All times are GMT -4. The time now is 12:07 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.