So in my quest for continuosuly customizing freespace, I've looked to the lowly countermeasure system. I've noticed a surprising lack of flexability there on the part of customizing how the countermeasures behave towards different types of missiles, its radius of effectiveness, how many you can carry, and most importantly: how multiple countermeasures would be handled in the weapons selection screen.
So far I've been able to customize the countermeasure's effectiveness against heat and aspect seekers as well its effective radius. You can now also define how well a missile's seeker head tracks its target, making it harder to spoof with countermeasures.
Most of these fields are self-explanatory. All new fields are bolded and optional with the default values filled in.
Countermeasure:
$Name: Type One
$Velocity: 30.0
$Fire Wait: 0.5
$Lifetime Min: 1.0
$Lifetime Max: 2.0
$LaunchSnd: 99
$Model: cmeasure01.pof
[b]$Heat Effectiveness: 1.0
$Aspect Effectiveness: 1.0
$Effective Radius: 300.0
$Cargo Size: 1.0[/b]
Missile's homing info:
$Homing: YES
+Type: HEAT
+Turn Time: 0.85
+View Cone: 100.0
[b]+Seeker Strength 1.5[/b] ;; 2.0 for aspect missiles
The chance of a missile being drawn to a countermeasure is calculated as countermeasure_type_effectiveness/seeker_strength. So Heat seeking missiles have about a 66% chance of being drawn toward a countermeasure within 300m and an aspect seeker has a 50% chance of being drawn to a countermeasure within 300m. This is a hard limit, but i could probably introduce an effectiveness falloff that will attract countermeasures from a range outside its effective radius, but it will be less likely the further you get outside its effective radius.
The fun part occurs upon trying to select the countermeasure in the loadout screen. That lecuture will be presented when I have used photoshoppe to modify how a third loadout screen should look. I will also be using this third loadout screen for tertiary weapons systems whenever i am able to get around to coding them in.
None of these changes are currenly in CVS atm. Im in the middle of testing them.