|
|
|
|
September 6th, 2008, 10:56 AM
|
Sergeant
|
|
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
|
|
How do I make a few simple changes in unit stats?
Hi, I just had a quick question:
How do I make a few simple changes in unit stats for various national units? For instance, I feel the EA Arco pegasus riders are over-costed. I may also bump up the HPs for all commanders.
I emphasize I am not trying to write a whole new mod nation; just a few changes in existing nations. Please be thorough (e.g. do I need to download a utility, and do I have to change re-do the process every time with a new patch?), as I am unfamiliar with modding this game, and just looking at a few stickied threads was an intimidating experience.
|
September 6th, 2008, 11:30 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: How do I make a few simple changes in unit stats?
Read the modding manual. The basic commands you need are
#selectmonster [monster number]
[commands]
#end
Patches do not affect mods. A mod is an overlay on the core game engine. Meaning, first Dominions 3 loads. Then it checks if mods are enabled. When a game is created with the mod enabled, Dom3 then changes the core game stats to the ones indicated by the mod, i.e. it replaces them in that game, but the actual Dom3 executable is not changed. Only mod changes or mod conflicts will affect mods.
|
September 6th, 2008, 11:33 AM
|
Sergeant
|
|
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
|
|
Re: How do I make a few simple changes in unit stats?
Quote:
Originally Posted by Edi
Read the modding manual. The basic commands you need are
#selectmonster [monster number]
[commands]
#end
Patches do not affect mods. A mod is an overlay on the core game engine. Meaning, first Dominions 3 loads. Then it checks if mods are enabled. When a game is created with the mod enabled, Dom3 then changes the core game stats to the ones indicated by the mod, i.e. it replaces them in that game, but the actual Dom3 executable is not changed. Only mod changes or mod conflicts will affect mods.
|
I did, but it wasn't clear. For instance, what file do I change?
|
September 6th, 2008, 11:51 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: How do I make a few simple changes in unit stats?
I think the mod manual is clear and does answer that question.
To quote:
"All modding commands must be saved in a text file with
the .dm (dominions mod) extension. The dm file must
be located in the directory called mods in the dominions3
directory."
|
September 6th, 2008, 12:01 PM
|
Lieutenant General
|
|
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
|
|
Re: How do I make a few simple changes in unit stats?
OK you open a text editor
you save the file (now or later) as yourmodname.dm in the mods folder in dominions directory (as Sombre said)
later you select the mod (ENABLE) it in the mod proferences thread
If you want to change a unit you need to know a unit number (I personally look it up in Edi's DB) but you can also find it in game.
Then you do as Edi said
#selectmonster [monster number]
[commands]
#end
if you want to change HP
they you put
#hp 100
on the commands place (if you want to give the nit 100 Hp that is
if you want to change cost
you put
#gcost 100
to make the unit cost 100 gold
if you want to do both you go
#selectmonster [monster number]
#gcost 100
#hp 100
#end
You need to make seperate entries for each unit (specific number) you want to change.
All the commands are in the doc files in the doc directory and it's usually pretty clear how to use them.
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
|
September 6th, 2008, 12:55 PM
|
Sergeant
|
|
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
|
|
Re: How do I make a few simple changes in unit stats?
Got it to work. Thanks everyone!
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|