.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 25th, 2009, 01:51 AM

pyg pyg is offline
BANNED USER
 
Join Date: Jan 2009
Location: a small farm
Posts: 340
Thanks: 73
Thanked 103 Times in 42 Posts
pyg is on a distinguished road
Default DomModGen (AnyAny/IndyFunPits)

DomModGen is a short bit of python that simplifies and automates some aspects of Dominions 3 mod creation.

AnyAny was an attempt to create games consisting of multiple instances of a given nation. Unfortunately this is not possible with all nations at this point, but can be done currently with EA Kailasa and LA Ulm. By way of example the following code creates a mod of just three Kailasa players:
Code:
#!/usr/bin/env python
# -*- Mode: Python; tab-width: 4 -*-

from DMG import D3MNation, D3M
from dmg.nations import EA_Kailasa

new_mod = D3M(era = 1, modname = "AnyAny Kailasa")
new_mod.remove_default_nations()
EA_Kailasa.create_nation(new_mod, "My Kailasa", None)
EA_Kailasa.create_nation(new_mod, "No, My Kailasa", None)
EA_Kailasa.create_nation(new_mod, "Going Bananas", None)

print new_mod


IndyFunPits adds semi-random nations composed of independents and magic site recruitables with national *features*. Nations have 2-3 magic paths with recruitable mages and gem income for those paths. Although they are playable nations they are not that fun/powerful and in the included mods they have their flags changed to match the independent flag. They are intended for use in games as strong/interesting independents similar to SemiRand. Included are mods that add ~20 IndyFunPits nations to each of the three eras.

You may use this all freely however you like (public domain). I would appreciate PM bug reports.
Attached Files
File Type: zip dmg.zip (26.4 KB, 168 views)

Last edited by pyg; March 9th, 2009 at 11:50 AM..
Reply With Quote
The Following 3 Users Say Thank You to pyg For This Useful Post:
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:26 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.