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

This Month's Specials

BCT Commander- Save $7.00
winSPWW2- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 19th, 2005, 09:01 PM
The_Tauren13's Avatar

The_Tauren13 The_Tauren13 is offline
First Lieutenant
 
Join Date: Jul 2004
Location: Albuquerque, NM
Posts: 605
Thanks: 0
Thanked 0 Times in 0 Posts
The_Tauren13 is on a distinguished road
Default Unit Cost Equation

Im moving this to a new thread so I quit hogging Scott Heberts excellent thread on Commander costs...

Heres my current formula for caulculating the cost of a unit based on (and only on) its physical stats:
sqrt(((HP*(10.0+Prot)*Def*MR)/1000.0)*((Str*Att)/10.0))*((3.0+Move)/5.0)*((40.0+AP)/50.0)*(9.0/(6.0+Enc))*((Mor^log10(7))/7.0)
Comments, anyone? Suggestions? Flames? Donations?

So, back to the morale buisiness:
Perhaps just a chart is the way to go, then.
I hate making morale 0-5 cost exactly the same, because there is a change, however small and imperceptable
Besides, there arent any troops with under 7 morale, are there? Theyd be useless, and Illwinter knows it
Code:

Morale Cost
0 0.38
1 0.39
2 0.40
3 0.41
4 0.43
5 0.46
6 0.50
7 0.55
8 0.65
9 0.80
10 1.00
11 1.40
12 1.70
13 1.90
14 2.00
15 2.09
16 2.17
17 2.24
18 2.30
19 2.35
20 2.39
21 2.42
22 2.44
23 2.45
24 2.46
25 2.47
26 2.48
27 2.49
28 2.50
29 2.51
30 2.52


Now, the question is, if I do get this chart accurate, should it stay as just a multiplier to what the cost would be otherwise?
__________________
Every time you download music, God kills a kitten.
Reply With Quote
 

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 05:05 AM.


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