![]() |
Re: Nation Library
Quote:
I have many projects in the Map and Server categories which are higher on my list. Im moving thru them fairly quickly but the only mods I do tend to be either small or of more interest to me personally than this. This strikes me as mostly an MP mod. It also strikes me as a mod which would require occassional updates to stay current. Something I try to avoid. So unless one of the "its really simple, do it yourself" suggesters provides a nice public domain example/template I will probably limit myself to encouraging others, and offering to host the results. ;) |
Re: Nation Library
Quote:
|
Re: Nation Library
Quote:
I disagree with the other posters that it's a trivial exercise. Duplicate copied nations have to be cleared and everything added back in including recruitables, fortresses, nationals, dom effects, pretenders, PD, etc. But once all that has been figured out and written down somewhere it is trivial to whip up a mod with the duplicate nations. I have some interest in helping with the project, mostly with the automation part of it which I'm currently developing in python. |
Re: Nation Library
Edi's database covers that much of that territory. Listing the units per nation. And possibly the pretenders.
Python would be a good choice for such a program. Gandalf Parker -- per peer-pressure preoccupation My maps, mods, and mullings can be found at http://www.Dom3Minions.com |
Re: Nation Library
Doh, wish I had known that... I did it manually.
|
Re: Nation Library
So I have a prototype now with dmg (DomModGen) I used chrispedersen's UlmCivilWar mod as an example and wrote the equivalent of his second nation (Tolkein's) with dmg classes and methods. The last couple of lines wrap the nation in a mod and printing it lets you >file.dm or |more to test. This example is included in the dmg.zip if you want to mess with it. I've included variable names and snipped text for readability. Anyway just applying a loop, incrementing the slot, and changing name could generate chris's mod. Seems to be missing unique pretenders unless LA Ulm doesn't have any.... and dmg is missing it because there has not yet been a need ;) This has not been well tested so bugs are probable but I started a game with it and it looked Ulmish.
Code:
|
Re: Nation Library
You guys never cease to amaze me.
I did make a bug in the original mod (obviously not your fault). The corrected mod adds 4 new spells, you can grab it from the Ulm Civil War thread. Note however I was lazy on the spell descriptions. |
Re: Nation Library
1 Attachment(s)
I hope it's not abuse to paste in another big chunk of code, but I rewrote the ulm.py example to actually do chrispedersen's whole mod in 46 lines although some of the description text is snipped. This is the terse version. I've attached the actual output as ulm.dm.zip.
Code:
#!/usr/bin/env python |
Re: Nation Library
Hmmm... I *think* I'm willing to keep working on this with you pvg. We can include the NationalLibrary as part of ChrisCBM...
If we do one nation a day.. well be done in two months.... |
Re: Nation Library
If you do EA Kailasa next, you could get a proof-of-concept game underway. Omnirizon, RDonJ, Hadrian II and Executor have expressed interest in all-Kailasa game. Look at page 5 of the "Kailasa guide" thread on the main forum, if you haven't already.
Nice work, both of you. I might help with a couple of nations, but not right now. I'm away from my Dominions installation for a week. |
All times are GMT -4. The time now is 01:02 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.