View Single Post
  #50  
Old November 24th, 2006, 08:09 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: The problem of low hit points on humans

Quote:
Epaminondas said:
Since you have broached the topic of what is possible and what is not possible in terms of modding, can base unit stats be easily modded by a computer illiterate like me?
Modding is done by editing text files. There is a syntax (simple rules). As an example, to give MA Ulm's Black Lord mounted commander 20 hp instead of 14, you'd have to :

1) select the correct unit
2) change the things you want
3) deselect the unit

In this case, it'd be just the matter of writing:

#selectmonster "Black Lord"
#hp 20
#end

into a valid mod file. A valid mod file is a text file with ".dm" ending instead of ".txt", and at least line #modname "Something".

To change Ulmish infantry units, you can't use just their name, as they all have the same name. You have to use their unit id number. You can see this number by pressing Shift+i (I) while viewing a unit's description. To change the hp of all MA Ulm's infantry, you'd have to change hps of units 67, 68, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80.

Demo doesn't support mods, and the modding.pdf only comes with the full version. All existing modding commands are described in there. If there's no command, you can't add or change the ability.
Reply With Quote