Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SpecialThreatValue
#6
Threat Rating Node and Threat Evaluation Controls.
Code:
; default threat evaluation controls
MyEffectivenessCoefficientDefault=200
TargetEffectivenessCoefficientDefault=-200
TargetSpecialThreatCoefficientDefault=200
TargetStrengthCoefficientDefault=-200
TargetDistanceCoefficientDefault=-10

; defaults for dumb threat evaluation
DumbMyEffectivenessCoefficient=200
DumbTargetEffectivenessCoefficient=200
DumbTargetSpecialThreatCoefficient=200
DumbTargetStrengthCoefficient=200
DumbTargetDistanceCoefficient=-1

EnemyHouseThreatBonus=400
By default, each house uses the dumb eval. When a building with IsThreatRatingNode=yes is built, that house switches to the "default" labeled values. As you see, in that mode the threat of non-special ThreatPosed= objects is decreased in favour of the SpecialThreatValue stuff.

I did notice an improvement in AI behaviour after adding that flag to battle labs and switching these coefficients to fractions as DZ recommends. It was fun to see the AI forces stop midroute, turn around and take another, less guarded path to my base when I sent a large force to intercept them on their original path. Big Grin And seeing the flaktracks drive around my Prism Towers just out of their range towards an unprotected base portion...

Worth playing: 1 | 2 | 3
Reply


Messages In This Thread
SpecialThreatValue - by Vinifera7 - 07.08.2006, 01:45:29
RE: SpecialThreatValue - by OmegaRed - 08.08.2006, 01:45:10
RE: SpecialThreatValue - by Vinifera7 - 08.08.2006, 02:23:55
RE: SpecialThreatValue - by Tratos - 08.08.2006, 04:00:45
RE: SpecialThreatValue - by Vinifera7 - 08.08.2006, 06:06:07
RE: SpecialThreatValue - by DCoder - 08.08.2006, 06:53:21
RE: SpecialThreatValue - by Nighthawk - 08.08.2006, 12:19:23
RE: SpecialThreatValue - by Vinifera7 - 08.08.2006, 18:33:24
RE: SpecialThreatValue - by AlliedG - 09.08.2006, 02:55:37
RE: SpecialThreatValue - by VK - 09.08.2006, 06:02:24
RE: SpecialThreatValue - by DCoder - 09.08.2006, 06:41:32
RE: SpecialThreatValue - by Vinifera7 - 09.08.2006, 15:42:18



Users browsing this thread: 1 Guest(s)