FI, I just found the config.cpp I used for tests last year (or more? ). Like I said in the old thread, I didn't find anything usefull or reliable derived from these tests, just what seemed to be hints on the way damage system works.
You can run the same tests by making a pbo with only this config.cpp and shooting at Bradleys under "Whis test" class. I used the EH "hit" to get the amount of damage done, EH "Dammaged" nearly never triggers.
In case you find something wrong in the way it's made or anything, plz point it out
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
#define CanSeeRadar 1
#define CanSeeEye 2
#define CanSeeOptics 4
#define CanSeeEar 8
#define CanSeeCompass 16
#define CanSeeRadarC CanSeeRadar+CanSeeCompass
#define CanSeeAll 31
class CfgPatches
{
class WhisTestArmor
{
units[]={"testM2Struct2", "testM2Struct1", "testM2BaseS2", "testM2Struct2H5", "testM2BaseS1"};
requiredVersion=1.40;
requiredAddons[]={Bradley};
};
};
class CfgAmmo
{
class Default{};
class BulletSingle : Default {};
class ExplosiveBullet: BulletSingle {};
class Cannon25HE: ExplosiveBullet {};
/////////////////////////////////////////////////////////////////////////////
// Explosive ammos. Slight directHit put to force EH hit to be triggered
// HEXX means XX indirectHit, 20 directHits always done
class WhisTestHE50: Cannon25HE
{
scopeWeapon=private
scopeMagazine=public
airLock=1;
hit=20;
cost=500;
indirectHit=50;
indirectHitRange=0.1;
};
class WhisTestHE100: WhisTestHE50
{
indirectHit=100;
};
class WhisTestHE150: WhisTestHE50
{
indirectHit=150;
};
///////////////////////////////////////////////////////////////////////////////
// AP ammos. No indirectHit set. Various values
class WhisTestAP45: BulletSingle
{
hit=45;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP35: BulletSingle
{
hit=35;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP40: BulletSingle
{
hit=40;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP50: BulletSingle
{
hit=50;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP150: BulletSingle
{
hit=150;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP120: BulletSingle
{
hit=90;
indirectHit=0;
indirectHitRange=0;
};
class WhisTestAP100: BulletSingle
{
hit=100;
indirectHit=0;
indirectHitRange=0;
};
};
class CfgWeapons
{
class Default{};
/////////////////////////////////////////////////////////////////////////////////
// AP Canon used on Test M2. Fitted with all AP ammo listed above
class WhisCanonTest: Default
{
scopeWeapon = public;
scopeMagazine = private;
shotFromTurret = true;
reloadSound[]={"",0,0};
backgroundReload = true;
magazines[] = {WhisTestAP35, WhisTestAP40, WhisTestAP45, WhisTestAP50, WhisTestAP100, WhisTestAP120, WhisTestAP150};
};
class Cannon25HE: Default{};
/////////////////////////////////////////////////////////////////////////////////
// AP magazines listing. (some HE slipped through! To be sorted.)
class WhisTestHE10: Cannon25HE
{
ammo=WhisTestHE10;
magazineReloadTime=10;
displayName="HE 10";
displayNameMagazine="HE 10";
shortNameMagazine="HE 10";
initSpeed=1100;
multiplier=1;
};
class WhisTestAP40: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP40;
magazineReloadTime=10;
displayName="AP 40";
displayNameMagazine="AP 40";
shortNameMagazine="AP 40";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP45: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP45;
magazineReloadTime=10;
displayName="AP 45";
displayNameMagazine="AP 45";
shortNameMagazine="AP 45";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP35: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP35;
magazineReloadTime=10;
displayName="AP 35";
displayNameMagazine="AP 35";
shortNameMagazine="AP 35";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP50: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP50;
magazineReloadTime=10;
displayName="AP 50";
displayNameMagazine="AP 50";
shortNameMagazine="AP 50";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP150: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP150;
magazineReloadTime=10;
displayName="AP 150";
displayNameMagazine="AP 150";
shortNameMagazine="AP 150";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP120: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP120;
magazineReloadTime=10;
displayName="AP 120";
displayNameMagazine="AP 120";
shortNameMagazine="AP 120";
initSpeed=1345;
multiplier=1;
};
class WhisTestAP100: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestAP100;
magazineReloadTime=10;
displayName="AP 100";
displayNameMagazine="AP 100";
shortNameMagazine="AP 100";
initSpeed=1345;
multiplier=1;
};
/////////////////////////////////////////////////////////////////////////////////
// HE (indirectHit) Canon used on test M2.
class WhisCanonTestHE: Default
{
scopeWeapon = public;
scopeMagazine = private;
shotFromTurret = true;
reloadSound[]={"",0,0};
backgroundReload = true;
magazines[] = {WhisTestHE50, WhisTestHE100, WhisTestHE150};
};
/////////////////////////////////////////////////////////////////////////////////
// HE mags listing.
class WhisTestHE50: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestHE50;
magazineReloadTime=10;
displayName="HE 50";
displayNameMagazine="HE 50";
shortNameMagazine="HE 50";
initSpeed=1345;
multiplier=1;
};
class WhisTestHE100: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestHE100;
magazineReloadTime=10;
displayName="HE 100";
displayNameMagazine="HE 100";
shortNameMagazine="HE 100";
initSpeed=1345;
multiplier=1;
};
class WhisTestHE150: Cannon25HE
{
reloadTime=0.26666;
ammo=WhisTestHE150;
magazineReloadTime=10;
displayName="HE 150";
displayNameMagazine="HE 150";
shortNameMagazine="HE 150";
initSpeed=1345;
multiplier=1;
};
};
class CfgVehicles
{
class All{};
class AllVehicles: All{};
class Land: AllVehicles{};
class LandVehicle: Land{};
class Tank: LandVehicle{};
class APC: Tank{};
class M113: APC{};
class Bradley: M113{};
/////////////////////////////////////////////////////////////////////////////////
// Base test M2 : armor 100, armorStruct 2.0
class testM2Struct2:Bradley
{
displayName="Test Bradley S2";
gunnerCanSee = CanSeeAll;
vehicleClass="Whis test";
armor=100;
armorStructural=2.0;
class HitEngine {armor=0.5;material=60;name=engine;passThrough=1;}
class HitHull {armor=0.7;material=50;name=hull;passThrough=1;};
class HitTurret {armor=0.9;material=51;name=turet;passThrough=1;};
class HitGun {armor=1;material=52;name=gun;passThrough=1;};
class HitLTrack {armor=0.2;material=53;name=pasL;passThrough=1;};
class HitRTrack {armor=0.2;material=54;name=pasP;passThrough=1;};
armorHull=0.7;
armorTurret=0.9;
armorGun=1;
armorEngine=0.5;
armorLights=0.2;
armorTracks=0.2;
weapons[]={"WhisCanonTest", "WhisCanonTestHE"};
magazines[]={"WhisTestAP35","WhisTestAP40","WhisTestAP45","WhisTestAP50","WhisTestAP100","WhisTestAP120","WhisTestAP150", "WhisTestHE50",
"WhisTestHE100", "WhisTestHE150"};
//threat[] VSoft, VArmor, VAir
threat[]={0.75,0.75, 0.5};
irScanRange=3500;
irScanGround=3500;
};
/////////////////////////////////////////////////////////////////////////////////
// base test M2 but with armorStruct = 1.0
class testM2Struct1: testM2Struct2
{
displayName="Test Bradley S1";
armorStructural=1.0;
};
/////////////////////////////////////////////////////////////////////////////////
// base test M2 with lowered HitHull value (testing of HitHull effect)
class testM2Struct2H5: testM2Struct2
{
displayName="Test Bradley S2H5";
class HitHull {armor=0.4;material=50;name=hull;passThrough=1;};
armorHull=0.4;
};
/////////////////////////////////////////////////////////////////////////////////
// Garbage tests.
class testM2BaseS2: testM2Struct2
{
displayName="M2S2 armor 50";
vehicleClass="Whis test";
armor=50;
};
class testM2BaseS1: testM2Struct1
{
displayName="M2S1 armor 50";
vehicleClass="Whis test";
armor=50;
};
};