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

This Month's Specials

Air Command 3.0- Save $12.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 18th, 2008, 08:06 AM
Tifone's Avatar
Tifone Tifone is offline
Lieutenant Colonel
 
Join Date: Jun 2008
Location: Florence, Italy
Posts: 1,424
Thanks: 740
Thanked 112 Times in 63 Posts
Tifone is on a distinguished road
Default Re: Does a prophet shape mod command exist? +some help plz

Isn't i.e. there a way to simply change the cost of a unit? Or his attack value? Just to begin
__________________
IN UN LAMPO DI GLORIA!

Reply With Quote
  #2  
Old December 18th, 2008, 08:40 AM

Illuminated One Illuminated One is offline
First Lieutenant
 
Join Date: Oct 2008
Location: In Ulm und um Ulm herum
Posts: 787
Thanks: 133
Thanked 78 Times in 46 Posts
Illuminated One is on a distinguished road
Default Re: Does a prophet shape mod command exist? +some help plz

Yes.

Just create a file in the mods folder, name it whateveryoulike.dm and edit it like a text file.

I'll just copy my test mod in here which I use to test the thugs I want to make. It's very simple and adds three spells, you can probably guess what they do.

Code:
#modname "Testmod"
#description "Mod for testing."
#version 1.0


#newspell "Test - Wish"
#copyspell "Wish"
#researchlevel 0
#pathlevel 0 1
#fatiguecost 10
#end

#newspell "Test - GOR"
#copyspell "Gift of Reason"
#researchlevel 0
#pathlevel 0 1
#fatiguecost 10
#end

#newspell "Test - Teleport"
#copyspell "Teleport"
#researchlevel 0
#pathlevel 0 1
#fatiguecost 10
#end
The bold part (mod info in the manual) must be always at the start of the file, so the mod is recognized.
After that you can get on with the actual modding. To change the attack of say a Golem to 18 and defense to 3 you'd do the following mod.

Code:
#modname "Golem mod"
#description "Mod for golems."
#version 1.0

#selectmonster "Golem"
#att 18
#def 3
#end
edit: Sometimes you must watch out as the units have the same names.
For example the indy druid and the marverni druid. You must use the unit id instead of the name then.
Reply With Quote
The Following 2 Users Say Thank You to Illuminated One For This Useful Post:
  #3  
Old December 18th, 2008, 08:43 AM

rdonj rdonj is offline
General
 
Join Date: Oct 2007
Posts: 3,007
Thanks: 171
Thanked 206 Times in 159 Posts
rdonj is on a distinguished road
Default Re: Does a prophet shape mod command exist? +some help plz

Yes.

#selectmonster nameornumber
#gcost xxx
#end

or

#selectmonster nameornumber
#att xxx
#end

or

#selectmonster nameornumber
#gcost xxx
#att xxx
#end

Those are all the commands you need to do that much, though there's a little more that you have to do to make a complete working mod. The manual says what that is under Mod Info on the first page.

Edit: too slow!
Reply With Quote
The Following User Says Thank You to rdonj 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 03:10 PM.


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