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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old March 4th, 2007, 05:23 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Variable Games

How many times have you started a game of Dominions only to find halfway through that something isn't working as it should or that you would like something else to be just a tiny bit tweaked? Or just to test something but that you can't unfortunately do without starting a whole new game and investing the time to get things to the proper point? Time you really can't afford at the moment? Sound familiar?

Well, there is a way to get around this problem. Mods.

I'm not talking about mods in the traditional sense as modifying something and then sticking with that through the game, but as something else.

It turns out that mods are, for want of a better term, a sort of masquerade costume or facade tacked on to the game. Everything beneath the mask is still the same. But the key point is that even though a game is started with a mod enabled, it is still only a loosely attached mask. Change the mask and the game changes accordingly.

Meaning that if you start a game with a completely blank mod (containing only the mod info commands) enabled, all the commands in the mod will be executed and the mod will be required for the game to work. It just does nothing at all. If you notice at some point that e.g. some unit is not working correctly, has the wrong weapon or it seems as if some unit is missing from the recruitment roster, or whatever else and you want it fixed NOW instead of in the next patch, you can do so.

Just go to your previously blank mod and change things as you like within the possibilities given to you by the mod commands. Close and restart Dom3, resume your game and enjoy your new modified Dominions experience. If some of the changes didn't work well, rinse and repeat until you get them right.

The beauty of this approach is that it affects everything on the fly. Even retroactively.

Already recruited units? Modified.
Recruitment rosters for nations? Modified.
Site properties? Modified.
Scale effects? Modified.
Anything else you care to name? Modified.

So you could for example change your blankly started game to a CB modded game in the middle just by copying its contents to the blank mod.

The danger here is of course that it might be tempting to stack the deck in your own favor, but that's one of those things where you just have to resist temptation.

This is something that I have not seen mentioned here previously other than a post of mine I made in passing a couple of months ago. Not too surprising as I found it out by accident. Figured I might as well share that knowledge.

Edi

EDIT: Blank mod attached
Attached Files
File Type: zip 500946-Blank.zip (196 Bytes, 298 views)
Reply With Quote
The Following 2 Users Say Thank You to Edi For This Useful Post:
  #2  
Old March 4th, 2007, 02:36 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Variable Games

You should attach a bare placeholder mod to this thread. If I remember, didnt we get it down to 3 commands?
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #3  
Old March 4th, 2007, 02:51 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Variable Games

Mod attached. Contains commands

#modname "Blank"
#description "Blank slate, add commands to modify your game"
#version 1.0

That's all it takes.

Edi
Reply With Quote
  #4  
Old September 6th, 2008, 11:38 AM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: Variable Games

Quote:
Originally Posted by Edi View Post
Mod attached. Contains commands

#modname "Blank"
#description "Blank slate, add commands to modify your game"
#version 1.0

That's all it takes.

Edi
What application do I need to open this?
Reply With Quote
  #5  
Old September 6th, 2008, 11:53 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Variable Games

The zip attachement? A zip program.
Or you can just open NotePad or some other text editor, cut-n-paste those three lines into it, and save it to your dominions3/mods directory with a name like blank.dm
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #6  
Old September 6th, 2008, 12:00 PM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: Variable Games

Quote:
Originally Posted by Gandalf Parker View Post
The zip attachement? A zip program.
Or you can just open NotePad or some other text editor, cut-n-paste those three lines into it, and save it to your dominions3/mods directory with a name like blank.dm
I meant the file itself. It appears that Notepad works.

So how do I actually change stats?

As a huge favor, could you simply write me a example of a dm file that only changes the Pegasus Rider cost from 125 to 100?

I will figure things out from there. Thanks so much in advance.
Reply With Quote
  #7  
Old September 6th, 2008, 12:01 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Variable Games

Quote:
Originally Posted by Epaminondas View Post
I meant the file itself. It appears that Notepad works.

So how do I actually change stats?

As a huge favor, could you simply write me a example of a dm file that only changes the Pegasus Rider cost from 125 to 100?

I will figure things out from there. Thanks so much in advance.
You're barking up the wrong beard there.
Reply With Quote
  #8  
Old September 6th, 2008, 01:14 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Variable Games

[quote=Epaminondas;636874]
Quote:
Originally Posted by Gandalf Parker View Post
As a huge favor, could you simply write me a example of a dm file that only changes the Pegasus Rider cost from 125 to 100?
#modname "Filler"
#icon "../guihead.tga"
#description "Include in every game to allow changes on the fly."
-- whipped off sloppily by Gandalf Parker

#selectmonster 367
#gcost 100
#end

Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)

Last edited by Gandalf Parker; September 6th, 2008 at 01:18 PM..
Reply With Quote
  #9  
Old September 6th, 2008, 01:47 PM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: Variable Games

[quote=Gandalf Parker;636890]
Quote:
Originally Posted by Epaminondas View Post
Quote:
Originally Posted by Gandalf Parker View Post
As a huge favor, could you simply write me a example of a dm file that only changes the Pegasus Rider cost from 125 to 100?
#modname "Filler"
#icon "../guihead.tga"
#description "Include in every game to allow changes on the fly."
-- whipped off sloppily by Gandalf Parker

#selectmonster 367
#gcost 100
#end

Gandalf Parker
I figured it out on my own. Thanks much. You and Endoperez are the nicest guys on this forum!
Reply With Quote
  #10  
Old September 6th, 2008, 02:17 PM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Exclamation Re: Variable Games

Quote:
Originally Posted by Epaminondas View Post
How do you open the file? I meant the file itself [not the zip]. It appears that Notepad works.
Yes.
An IMHO better alternative is linked in my sig ...
Syntax highlighting isn't up-to date any longer, sadly, because RLIs take away most of my time atm ...

A.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...

Last edited by Arralen; September 6th, 2008 at 02:20 PM..
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 09:39 PM.


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