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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 6th, 2009, 01:16 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 Re: DomModGen (AnyAny/IndyFunPits)

I've been adding features to dmg so that now it can, with minimal hints, add arbitrary .dm files. To test it I've generated a very large mod set in the Late Era with all the original nations plus Rohan, Trolls, Carthacia, Seraphim, Haida Gwaii, The Hoburg Alliance, Urdheim, Machaka Spider Cult, Padmassa, Sar Elad, Skavenblight, plus just for fun CBM 1.41 and CPCS .04. It comes with all the necessary .tga files (repackaged) as well.

I'm sure there are some conflicts/bugs somewhere but I haven't discovered them yet. This is for demo/testing purposes.

Code:
#!/usr/bin/env python                                                                                                       
# -*- Mode: Python; tab-width: 4 -*-                                                                                        

from DMG import D3M

mod = D3M(era=3, modname="DMG MegaMod")
mod.add_all_nations()
dm = open("CBcomplete_1.41.dm", "rb").read()
mod.add_dm(dm, False)
dm = open("CPCS.dm", "rb").read()
mod.add_dm(dm)
dm = open("rohan.dm", "rb").read()
mod.add_dm(dm)
dm = open("troll_kingdom.dm", "rb").read()
mod.add_dm(dm)
dm = open("CarthaciaE.dm", "rb").read()
mod.add_dm(dm)
dm = open("Crusade.dm", "rb").read()
mod.add_dm(dm)
dm = open("haida.dm", "rb").read()
mod.add_dm(dm)
dm = open("Hoburg_D3SE.dm", "rb").read()
mod.add_dm(dm)
dm = open("kobold.dm", "rb").read()
mod.add_dm(dm)
dm = open("machakaspidercult.dm", "rb").read()
mod.add_dm(dm)
dm = open("padmassa_ea.dm", "rb").read()
mod.add_dm(dm)
dm = open("sarelad.dm", "rb").read()
mod.add_dm(dm)
dm = open("Warhammer Skaven.dm", "rb").read()
mod.add_dm(dm)                                                        

print mod
Attached Files
File Type: zip dmg_mega.zip (1.14 MB, 207 views)

Last edited by pyg; March 6th, 2009 at 01:28 AM..
Reply With Quote
The Following 2 Users Say Thank You to pyg For This Useful Post:
Reply

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 07:04 AM.


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