Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class HitTank01
- { //internal Fueltank
- armor = 0.1;
- material = -1;
- name = "hit_fuel1";
- visual = "";
- passThrough = 0;
- minimalHit = 0.1;
- explosionShielding = 0.1;
- radius = 0.2;
- k40_hittype = "fuel";
- k40_AffectedHitPoints[] = {"HitEngine","HitTank02"}; //all the hitpoints this one affects when burning or exploding (minus the HitPoint itself)
- k40_memoryfirepoint = "fire_fuel1";
- k40_FNCfireeffect = "k40_fnc_effect_fire_medium"; //function name of fuel fire effect
- };
- class HitTank02
- { //internal Fueltank 2
- armor = 0.1;
- material = -1;
- name = "hit_fuel2";
- visual = "";
- passThrough = 0;
- minimalHit = 0.1;
- explosionShielding = 0.1;
- radius = 0.2;
- k40_hittype = "fuel";
- k40_AffectedHitPoints[] = {"HitEngine","HitTank01"};
- k40_memoryfirepoint = "fire_fuel2";
- k40_FNCfireeffect = "k40_fnc_effect_fire_medium"; //function name of fuel fire effect
- };
- class HitTank03
- { // auxiliary Fueltank
- armor = 0.1;
- material = -1;
- name = "hit_fuel3";
- visual = "";
- passThrough = 0;
- minimalHit = 0.1;
- explosionShielding = 0.1;
- radius = 0.2;
- k40_hittype = "fuel";
- k40_AffectedHitPoints[] = {"Auxiliary","HitCrewCargo02"}; // special string "auxiliary" to define externally mounted ammo or fuel. Must be first element of array
- k40_memoryfirepoint = "fire_fuel3";
- k40_FNCfireeffect = "k40_fnc_effect_fire_medium"; //function name of fuel fire effect
- };
- class HitAmmo01
- {
- armor = 0.1;
- material = -1;
- name = "hit_ammo1";
- visual = "";
- passThrough = 0.01;
- minimalHit = 0.1;
- explosionShielding = 0.1;
- radius = 0.175;
- k40_hittype = "ammo";
- k40_AffectedHitPoints[] = {"HitCrewDriver","HitCrewGunner01","HitCrewGunner01_01"};
- k40_memoryfirepoint = "fire_ammo1";
- k40_destructionKillsVehicle = 1; //0 - destruction of this ammo point only destroys everything in same compartment | 1 - destruction of this ammo destroys entire vehicle
- k40_FNCexplosioneffect = ""; // not required, regular vehicle destructioneffect is used. Could be used to also que in flying turret functions however
- k40_FNCblowouteffect = "k40_fnc_effect_ammoblowout"; // not required, regular vehicle destructioneffect is used. Could be used to also que in flying turret functions however
- k40_FNCfireeffect = "k40_fnc_effect_fire_medium"; //function name of fuel fire effect
- };
- class HitAmmo02
- {
- name = "hit_ammo2";
- k40_hittype = "ammo";
- k40_memoryfirepoint = "fire_ammo2";
- k40_AffectedHitPoints[] = {"HitCrewGunner02","HitCrewCargo01"};
- k40_destructionKillsVehicle = 0; //
- k40_FNCexplosioneffect = "k40_fnc_effect_explosion_auxiliaryturret"; //optional function name of explosion effect (used for subcomponent effect or other scripts)
- k40_FNCblowouteffect = "k40_fnc_effect_ammoblowout"; // not required, regular vehicle destructioneffect is used. Could be used to also que in flying turret functions however
- k40_FNCfireeffect = "k40_fnc_effect_fire_medium"; //function name of fuel fire effect
- };
- class HitCrewDriver
- { // //used for better crew damage simulation
- armor = 1; //should always be 1000HP
- name = "hit_crew_driver";
- material = -1;
- minimalhit = 0.05; //50HP
- visual = "";
- passThrough = 0;
- explosionShielding = 1; // always 1
- radius = 0.4;
- k40_hittype = "turretcrew"; //crew that has a turret
- k40_crewIndex = "[-1]"; // driver "turret" is -1 | for driver or gunners, enter the turretPath (with brackets); for cargo this is the cargoIndex
- };
- class HitCrewGunner01:HitCrewDriver
- { //Gunner of the first turret
- name = "hit_crew_gunner01";
- k40_hittype = "turretcrew"; //crew that has a turret
- k40_crewIndex = "[0]"; //mainturret
- };
- class HitCrewGunner01_01:HitCrewDriver
- { // //Gunner of the first turret child of the first Turret ( read: the commander)
- name = "hit_crew_gunner01_01"; // = commander
- k40_hittype = "turretcrew"; //crew that has a turret
- k40_crewIndex = "[0,0]"; //mainturret's child turret
- };
- class HitCrewGunner02:HitCrewDriver
- { // Gunner of the second turret (bowgunner)
- name = "hit_crew_gunner02";
- k40_hittype = "turretcrew"; //crew that has a turret
- k40_crewIndex = "[1]";
- };
- class HitCrewCargo01:HitCrewDriver
- {
- name = "hit_crew_cargo01";
- k40_hittype = "passenger"; // = passenger without turret
- k40_crewIndex = "0";
- };
- class HitCrewCargo02:HitCrewDriver
- {
- name = "hit_crew_cargo02";
- k40_hittype = "passenger"; // = passenger without turret
- k40_crewIndex = "1";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement