.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

Reply
 
Thread Tools Display Modes
  #1  
Old September 6th, 2008, 10:56 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 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.
Reply With Quote
  #2  
Old September 6th, 2008, 11:30 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 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.
Reply With Quote
  #3  
Old September 6th, 2008, 11:33 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: How do I make a few simple changes in unit stats?

Quote:
Originally Posted by Edi View Post
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?
Reply With Quote
  #4  
Old September 6th, 2008, 11:51 AM

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: 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."
Reply With Quote
  #5  
Old September 6th, 2008, 12:01 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default 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.
Reply With Quote
  #6  
Old September 6th, 2008, 12:55 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: How do I make a few simple changes in unit stats?

Got it to work. Thanks everyone!
Reply With Quote
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 06:09 PM.


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