Author Topic: Questions.  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

Offline Yitzi

Re: Questions.
« Reply #15 on: November 04, 2014, 03:05:45 AM »
something like this:

In normal combat, each hit takes away a certain number of hit points based on the attack strength minus the defense strength

Attack strength minus defense strength, or attack strength divided by defense strength?  Or are you not sure?

Offline gwillybj

Re: Questions.
« Reply #16 on: November 04, 2014, 12:52:40 PM »
ugh
Most likely divided.

I have three different games going on inside my head.
sorry
Two possibilities exist: Either we are alone in the Universe or we are not. Both are equally terrifying. ― Arthur C. Clarke
I am on a mission to see how much coffee it takes to actually achieve time travel. :wave:

Offline Ford_Prefect

Re: Questions. New Question.
« Reply #17 on: November 09, 2014, 02:07:41 AM »
//Optional
    /*
         ; Special Unit Abilities

; Cost   = Cost factor of ability
;          1+ = Straight Cost; 25% increase per unit of cost
;           0 = None
;          -1 = Increases w/ ratio of weapon to armor: 0, 1, or 2.
;               Rounded DOWN. Never higher than 2.
;               Examples: For a W1,A2 unit, cost is 0
;                         For a W3,A2 unit, cost is 1 (3/2 rounded down)
;                         For a W6,A3 unit, cost is 2
;          -2 = Increases w/ weapon value
;          -3 = Increases w/ armor value
;          -4 = Increases w/ speed value
;          -5 = Increases w/ weapon+armor value
;          -6 = Increases w/ weapon+speed value
;          -7 = Increases w/ armor+speed value
        */

Yeah.........
How do the -1 to -7 effect the cost of a units abilities.  If someone could figure this out, it would save me allot of time.  (I don't have a late game save to experiment with.... so I would have to spend a day playing just to get to the point were I could start experimenting.)

Offline Yitzi

Re: Questions.
« Reply #18 on: November 09, 2014, 02:17:11 AM »
Ok (weapon, armor, and chassis all refer to the weapon/armor/chassis cost):

-1 costs 0 if weapon<armor, 1 if 2*armor>weapon>=armor, and 2 if weapon>=2*armor.

-2 has cost equal to weapon-1.

-3 has cost equal to armor-1.

-4 has cost equal to chassis-1.

-5 has cost equal to weapon+armor-2.

-6 has cost equal to weapon+chassis-2.

-7 has cost equal to armor+chassis-2.

Offline Ford_Prefect

Re: Questions.
« Reply #19 on: November 09, 2014, 03:05:52 AM »
Soo.. is the resulting number then used like the positive total_unit_cost = ( unit_cost * ability_cost / 4) ?

Offline Yitzi

Re: Questions.
« Reply #20 on: November 09, 2014, 03:08:16 AM »
It's used as if that were the positive ability cost, i.e. positive total_unit_cost = (unit_cost *(1+ability_cost / 4))

Offline Ford_Prefect

Re: Questions.
« Reply #21 on: November 09, 2014, 03:32:39 AM »
Thank you!  :D

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

The klaxon began to wail, but we felt the reassuring tingle of the Tachyon Field crackling to life around us, encasing the entire base in its impenetrable glow.
~Spartan Kel 'The Fall of Sparta'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 47 - 1280KB. (show)
Queries used: 42.

[Show Queries]