same thing for ships speed distro
I'm trying for a formula to combine pilot-specifics (morale, skill, agression) into a bonus/malus
first try on that :
say
L is a fixed fightskill (maybe average skill, maybe not)
k1,-,k are scaling factors
A is aggression (A goes in negative, since aggressiveness counteracts evasion)
M is morale (M goes in positove - weighs imho against A)
both together are not as decisive as skill, therefore k2
S is skill
so **skill**-based evade could be like
bonus = integer { k1 [ ( S - L ) + ( M - A ) / k2 ] }
example:
Argon 1 :
S = 28, L = 20 --> +8
M = 26, A = 11 --> +15 / k2 ==> would have a high skill-based evade (of course getting a carrier to evade would get some hefty size and speed malus )
size (any idea to get this into a formula and not if-thens?) :
huge: -2 k3
big: -1 k3
little: +1 k3
speed :
idea : get k4 times an integer that is
-2 for speeds about 0
+k5 for speeds about 600
linear function is bad so take sqrt. for example :
bonus = k4 * round ( 0,16 * sqrt ( speed ) - 2 )
table for k4=1 :
Code: Select all
speed bonus
1 -2
25 -1
50 -1
75 -1
100 0
125 0
150 0
200 0
250 1
300 1
350 1
400 1
450 1
500 2
550 2
600 2
650 2