.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   How do I make a few simple changes in unit stats? (http://forum.shrapnelgames.com/showthread.php?t=40480)

Epaminondas September 6th, 2008 10:56 AM

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.

Edi September 6th, 2008 11:30 AM

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.

Epaminondas September 6th, 2008 11:33 AM

Re: How do I make a few simple changes in unit stats?
 
Quote:

Originally Posted by Edi (Post 636863)
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?

Sombre September 6th, 2008 11:51 AM

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."

Aezeal September 6th, 2008 12:01 PM

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.

Epaminondas September 6th, 2008 12:55 PM

Re: How do I make a few simple changes in unit stats?
 
Got it to work. Thanks everyone! :)


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

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