Quote:
Originally Posted by jimbojones1971
A few of questions:
1) How do I tweak it to get it to only generate nations for a particular race? I tried two things:
- setting the #basechance values in races.txt to 0.0 for nation's I didn't want (and either leaving the #basechance value for the nation I want as-is, or also increasing it to 1.0).
- removing all nations I don't want from the races.txt file, leaving only the one I want
Neither of these worked - both resulted in the game hanging in the "generating nations" step. Help! :-)
2) Are there any command line switches?
3) Is there any chance of getting a look at the source, to satisfy my curiousity about what you are doing and how you are doing it? How about if I beg?
|
1) Not possible. It generates secondary and tertiary race for each nation just in case it's needed so the program will die without at least three races. Methods you tried are in principle okay though. It wouldn't be a too big change to make the secondary and tertiary races generated only if they are required and if they exist though.
2) No, editing files and especially settings.txt are supposed to do what command line arguments would do
3)
http://koti.kapsi.fi/elmokki/dom3/un...7_4_12-src.zip
As I keep saying, the quality of code ranges from horrible to somewhat decent and it's largely uncommented. That said it's not so complicated program that it's impossible to make sense of at least most of it anyway.
The biggest issue is that there has been like no planning ahead so there's pointless copy paste code that could've been avoided all over the place. In terms of readability it would benefit a lot from a major rewrite
Oh well, if you find something you think should be changed, do tell.