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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #81  
Old March 1st, 2005, 01:48 AM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Fire, Earth, Air, Water, and Nature work correctly at all levels. Air 4-8 only gives air shield, which has no effect in the emulator (since there are no projectiles), but Air 9 gives shock resistance which sometimes helps (against Spring Hawks, and so forth).

Blood works correctly for levels 4-10 (bonus strength) but the level 9 effect, blood vengance, has not been included yet.

Death does nothing at any level, since fear has no effect in the emulator. However, last I checked, Death-9 just turns the creature into a soulless at death... which is very weak=)

In order to use a blessing in the emulator, you have to create a new unit in UnitTypes.txt. For example, let's say you wanted to test a Paladin with Water-9 and Nature-4 blessing against 10 light infantry. To do that, you would:

1) Open UnitTypes.txt.

2) Find the line that says:

name=MAR_Paladin officialname=XXXXX newname=XXXXX creature=MAR_Paladin weapon=Lance weapon=Broad_Sword weapon=Hoof item=Full_Chain_Mail item=Full_Helmet item=Kite_Shield

...which is the data for that unit. Please note that the "officialname=XXXXX newname=XXXXX" part is unnecessary; and I'll remove it here for clarity.

3) Copy and paste the line, so there are two copies, like this:

name=MAR_Paladin creature=MAR_Paladin weapon=Lance weapon=Broad_Sword weapon=Hoof item=Full_Chain_Mail item=Full_Helmet item=Kite_Shield
name=MAR_Paladin creature=MAR_Paladin weapon=Lance weapon=Broad_Sword weapon=Hoof item=Full_Chain_Mail item=Full_Helmet item=Kite_Shield

4) In one of the second copy, change the the "name=MAR_Paladin" to something else like "name=MAR_Paladin_Water9_Nature4" so it looks like this:

name=MAR_Paladin_Water9_Nature4 creature=MAR_Paladin weapon=Lance weapon=Broad_Sword weapon=Hoof item=Full_Chain_Mail item=Full_Helmet item=Kite_Shield

5) Add whatever blessings you want to the same line, like this:

name=MAR_Paladin_Water9_Nature4 creature=MAR_Paladin weapon=Lance weapon=Broad_Sword weapon=Hoof item=Full_Chain_Mail item=Full_Helmet item=Kite_Shield blessing=Blessed blessing=Water9 blessing=Nature4

Be sure to include "blessing=Blessed" or else it will not get the default +3 morale from being blessed, which is important for berkserk and repel rolls.

6) Save and exit UnitTypes.txt. Now you have the old unit MAR_Paladin and the new unit MAR_Paladin_Water9_Nature4. To see if it worked correctly, run this command:

java Unit MAR_Paladin MAR_Paladin_Water9_Nature4

..and it will print out the stats for the two units so you can compare them. For example, I already put a fire/water blessed flagellant in the data file, so I can do this:

Code:

C:\Projects\Java\Dominions>java Unit Flagellant Flagellant_Fire9_Water9

Flagellant (Base creature: Flagellant)

HP: 9 Str: 11
Prot: 0 Att: 8
Mrl: 15 Def: 6
Mrst: 10 Prec: 8
Enc: 3 AP: 12

Sacred

Weapons: Flail

Gold: 10 Res: 5

*********************************

Flagellant Fire9 Water9 (Base creature: Flagellant)

HP: 9 Str: 11
Prot: 0 Att: 12
Mrl: 18 Def: 10
Mrst: 10 Prec: 8
Enc: 3 AP: 18

Sacred, Quickness 50, Flaming Weapons 8

Weapons: Flail
Blessings: Blessed, Fire9, Water9

Gold: 10 Res: 5

*********************************



In order to test the new paladin against 10 light infantry, use it like any other unit:

java Fight MAR_Paladin_Water9_Nature4 10*Light_Inf

Or you can use it in a matrix, or whatever.

Have fun!
__________________
Cherry
Reply With Quote
  #82  
Old March 2nd, 2005, 02:07 AM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: Combat Simulator Released!

Thanks! I'd figured most of that out already, but the "Unit" command allowed me to find a typo which was giving me confusing results.
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
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 02:54 AM.


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