Hitpoints – Arma 3
m (→Export Script) |
(completed the list, updated export script) |
||
Line 1: | Line 1: | ||
__NOTOC__ {{Wiki|WIP}} | |||
== All Hit Points == | |||
== | {| class="wikitable sortable" | ||
{| class="wikitable sortable | |||
|- | |- | ||
! Hit Point !! Name | ! Hit Point !! Name | ||
|- | |- | ||
| | | #cam_gunner || | ||
|- | |- | ||
| | | #gear_1_light_1_hit || | ||
|- | |- | ||
| | | #gear_1_light_2_hit || | ||
|- | |- | ||
| | | #gear_2_light_1_hit || | ||
|- | |- | ||
| | | #gear_2_light_2_hit || | ||
|- | |- | ||
| | | #gear_3_light_1_hit || | ||
|- | |- | ||
| | | #gear_3_light_2_hit || | ||
|- | |- | ||
| | | #gear_f_lights || | ||
|- | |- | ||
| | | #glass11 || | ||
|- | |- | ||
| | | #hitlight1 || | ||
|- | |- | ||
| | | #hitlight2 || | ||
|- | |- | ||
| | | #hitlight3 || | ||
|- | |- | ||
| | | #l svetlo || | ||
|- | |- | ||
| | | #light_1 || | ||
|- | |- | ||
| | | #light_1_hit || | ||
|- | |- | ||
| | | #light_1_hitpoint || | ||
|- | |- | ||
| | | #light_2 || | ||
|- | |- | ||
| | | #light_2_hit || | ||
|- | |- | ||
| | | #light_2_hitpoint || | ||
|- | |- | ||
| | | #light_3_hit || | ||
|- | |- | ||
| | | #light_4_hit || | ||
|- | |- | ||
| | | #light_hitpoint || | ||
|- | |- | ||
| | | #light_l || | ||
|- | |- | ||
| | | #light_l2 || | ||
|- | |- | ||
| | | #light_l2_flare || | ||
|- | |- | ||
| | | #light_l_flare || | ||
|- | |- | ||
| | | #light_l_hitpoint || | ||
|- | |- | ||
| #light_r || | | #light_r || | ||
|- | |- | ||
| #light_r2 || | |||
|- | |- | ||
| | | #light_r2_flare || | ||
|- | |- | ||
| | | #light_r_flare || | ||
|- | |- | ||
| | | #light_r_hitpoint || | ||
|- | |- | ||
| | | #light_spotlight_hit || | ||
|- | |- | ||
| | | #p svetlo || | ||
|- | |- | ||
| | | #pos_gear_front_light || | ||
|- | |- | ||
| | | #wing_left_light || | ||
|- | |- | ||
| | | #wing_right_light || | ||
|- | |- | ||
| | | glass_10_hitpoint || | ||
|- | |- | ||
| | | glass_11_hitpoint || | ||
|- | |- | ||
| | | glass_12_hitpoint || | ||
|- | |- | ||
| | | glass_13_hitpoint || | ||
|- | |- | ||
| | | glass_14_hitpoint || | ||
|- | |- | ||
| | | glass_15_hitpoint || | ||
|- | |- | ||
| | | glass_16_hitpoint || | ||
|- | |- | ||
| | | glass_17_hitpoint || | ||
|- | |- | ||
| | | glass_18_hitpoint || | ||
|- | |- | ||
| | | glass_19_hitpoint || | ||
|- | |- | ||
| | | glass_1_hitpoint || | ||
|- | |- | ||
| | | glass_20_hitpoint || | ||
|- | |- | ||
| | | glass_2_hitpoint || | ||
|- | |- | ||
| | | glass_3_hitpoint || | ||
|- | |- | ||
| | | glass_4_hitpoint || | ||
|- | |- | ||
| | | glass_5_hitpoint || | ||
|- | |- | ||
| glass_6_hitpoint || | |||
|- | |- | ||
| | | glass_7_hitpoint || | ||
|- | |- | ||
| | | glass_8_hitpoint || | ||
|- | |- | ||
| | | glass_9_hitpoint || | ||
|- | |- | ||
| | | glass_pod_01_hitpoint || | ||
|- | |- | ||
| | | glass_pod_02_hitpoint || | ||
|- | |- | ||
| | | glass_pod_03_hitpoint || | ||
|- | |- | ||
| | | glass_pod_04_hitpoint || | ||
|- | |- | ||
| | | glass_pod_05_hitpoint || | ||
|- | |- | ||
| | | glass_pod_06_hitpoint || | ||
|- | |- | ||
| | | glass_pod_07_hitpoint || | ||
|- | |- | ||
| | | glass_pod_08_hitpoint || | ||
|- | |- | ||
| | | glass_pod_09_hitpoint || | ||
|- | |- | ||
| | | hitammo || Ammunition | ||
|- | |- | ||
| hitavionics || Avionics | | hitavionics || Avionics | ||
|- | |- | ||
| | | hitbattery_l || | ||
|- | |- | ||
| | | hitbattery_r || | ||
|- | |- | ||
| hitbody || Body | | hitbody || Body | ||
|- | |- | ||
| | | hitcomgun || Commander Gun | ||
|- | |- | ||
| | | hitcomturret || Commander Turret | ||
|- | |- | ||
| hitengine || Engine | | hitengine || Engine | ||
|- | |- | ||
| | | hitengine1 || Engine #1 | ||
|- | |- | ||
| | | hitengine2 || Engine #2 | ||
|- | |- | ||
| | | hitengine3 || Engine #3 | ||
|- | |- | ||
| | | hitengine4 || | ||
|- | |- | ||
| | | hitera_back || | ||
|- | |- | ||
| | | hitera_front || | ||
|- | |- | ||
| | | hitera_left || | ||
|- | |- | ||
| | | hitera_left_1 || | ||
|- | |- | ||
| | | hitera_left_2 || | ||
|- | |- | ||
| | | hitera_left_3 || | ||
|- | |- | ||
| | | hitera_left_4 || | ||
|- | |- | ||
| | | hitera_right || | ||
|- | |- | ||
| | | hitera_right_1 || | ||
|- | |- | ||
| | | hitera_right_2 || | ||
|- | |- | ||
| | | hitera_right_3 || | ||
|- | |- | ||
| | | hitera_right_4 || | ||
|- | |- | ||
| | | hitera_top || | ||
|- | |- | ||
| | | hitera_top_front || | ||
|- | |- | ||
| hitera_top_left || | |||
|- | |- | ||
| | | hitera_top_left_1 || | ||
|- | |- | ||
| | | hitera_top_left_2 || | ||
|- | |- | ||
| | | hitera_top_right || | ||
|- | |- | ||
| | | hitera_top_right_1 || | ||
|- | |- | ||
| | | hitera_top_right_2 || | ||
|- | |- | ||
| hitfuel || Fuel Tank | | hitfuel || Fuel Tank | ||
Line 310: | Line 205: | ||
| hitfuel2 || Fuel Tank #2 | | hitfuel2 || Fuel Tank #2 | ||
|- | |- | ||
| | | hitfuel_lead_left || | ||
|- | |- | ||
| | | hitfuel_lead_right || | ||
|- | |- | ||
| | | hitfuel_left || | ||
|- | |- | ||
| | | hitfuel_right || | ||
|- | |- | ||
| | | hitfuell || Fuel Tank (Left) | ||
|- | |- | ||
| | | hitfuelr || Fuel Tank (Right) | ||
|- | |- | ||
| | | hitfueltank || | ||
|- | |- | ||
| hitgear || Gear | |||
|- | |- | ||
| | | hitglass1 || Window #1 | ||
|- | |- | ||
| | | hitglass10 || Window #10 | ||
|- | |- | ||
| | | hitglass11 || Window #11 | ||
|- | |- | ||
| | | hitglass12 || Window #12 | ||
|- | |- | ||
| | | hitglass13 || Window #13 | ||
|- | |- | ||
| | | hitglass14 || Window #14 | ||
|- | |- | ||
| | | hitglass15 || Window #15 | ||
|- | |- | ||
| | | hitglass16 || | ||
|- | |- | ||
| | | hitglass17 || | ||
|- | |- | ||
| | | hitglass18 || | ||
|- | |- | ||
| | | hitglass19 || | ||
|- | |- | ||
| | | hitglass1a || | ||
|- | |- | ||
| hitglass1b || | |||
|- | |- | ||
| | | hitglass2 || Window #2 | ||
|- | |- | ||
| | | hitglass20 || | ||
|- | |- | ||
| hitglass3 || Window #3 | | hitglass3 || Window #3 | ||
Line 466: | Line 263: | ||
| hitglass8 || Window #8 | | hitglass8 || Window #8 | ||
|- | |- | ||
| hitglass9 || | | hitglass9 || Window #9 | ||
|- | |- | ||
| hitgun || Gun | | hitgun || Gun | ||
Line 481: | Line 278: | ||
|- | |- | ||
| hitlaileron || Left Aileron | | hitlaileron || Left Aileron | ||
|- | |||
| hitlaileron_link || | |||
|- | |- | ||
| hitlbwheel || 4th axle left wheel | | hitlbwheel || 4th axle left wheel | ||
Line 492: | Line 291: | ||
| hitlfwheel || 1st axle left wheel | | hitlfwheel || 1st axle left wheel | ||
|- | |- | ||
| hitlglass || | | hitlglass || Window (Left) | ||
|- | |- | ||
| hitlight || | | hitlight || | ||
Line 499: | Line 298: | ||
|- | |- | ||
| hitlightfront || | | hitlightfront || | ||
|- | |||
| hitlightl || | |||
|- | |||
| hitlightr || | |||
|- | |- | ||
| hitlmwheel || 3rd axle left wheel | | hitlmwheel || 3rd axle left wheel | ||
Line 505: | Line 308: | ||
|- | |- | ||
| hitmissiles || Missiles | | hitmissiles || Missiles | ||
|- | |||
| hitoptic || | |||
|- | |||
| hitoptics || | |||
|- | |- | ||
| hitpitottube || | | hitpitottube || | ||
|- | |- | ||
| hitraileron || Right Aileron | | hitraileron || Right Aileron | ||
|- | |||
| hitraileron_link || | |||
|- | |- | ||
| hitrbwheel || 4th axle right wheel | | hitrbwheel || 4th axle right wheel | ||
|- | |- | ||
| hitrelevator || Right Elevator | | hitrelevator || Right Elevator | ||
|- | |||
| hitreservewheel || | |||
|- | |- | ||
| hitrf2wheel || 2nd axle right wheel | | hitrf2wheel || 2nd axle right wheel | ||
Line 518: | Line 329: | ||
| hitrfwheel || 1st axle right wheel | | hitrfwheel || 1st axle right wheel | ||
|- | |- | ||
| hitrglass || | | hitrglass || Window (Right) | ||
|- | |- | ||
| hitrmwheel || 3rd axle right wheel | | hitrmwheel || 3rd axle right wheel | ||
|- | |||
| hitrotor || | |||
|- | |- | ||
| hitrotorvirtual || | | hitrotorvirtual || | ||
Line 531: | Line 344: | ||
|- | |- | ||
| hitslat_front || Slat Armour (Front) | | hitslat_front || Slat Armour (Front) | ||
|- | |||
| hitslat_left || | |||
|- | |- | ||
| hitslat_left_1 || Slat Armour (Left, 1) | | hitslat_left_1 || Slat Armour (Left, 1) | ||
Line 537: | Line 352: | ||
|- | |- | ||
| hitslat_left_3 || Slat Armour (Left, 3) | | hitslat_left_3 || Slat Armour (Left, 3) | ||
|- | |||
| hitslat_right || | |||
|- | |- | ||
| hitslat_right_1 || Slat Armour (Right, 1) | | hitslat_right_1 || Slat Armour (Right, 1) | ||
Line 544: | Line 361: | ||
| hitslat_right_3 || Slat Armour (Right, 3) | | hitslat_right_3 || Slat Armour (Right, 3) | ||
|- | |- | ||
| hitslat_top_back || | | hitslat_top_back || Slat Armour (Top back) | ||
|- | |- | ||
| hitslat_top_left || Slat Armour (Top left) | | hitslat_top_left || Slat Armour (Top left) | ||
Line 558: | Line 375: | ||
| hitstaticport || | | hitstaticport || | ||
|- | |- | ||
| hittail || Tail | | hittail || Tail | ||
|- | |- | ||
| hittransmission || | | hittransmission || Transmission | ||
|- | |- | ||
| hitturret || Turret | | hitturret || Turret | ||
|- | |- | ||
| hitvrotor || | | hitvrotor || Tail Rotor | ||
|- | |- | ||
| hitvstabilizer1 || | | hitvstabilizer1 || | ||
Line 572: | Line 389: | ||
== Export Script == | == Export Script == | ||
<code> | <code>{{cc|Execute in Eden Editor}} | ||
[ | [] [[spawn]] | ||
{ | { | ||
_startPos [[a = b|=]] [[position]] [[player]]; | |||
[[collect3DENHistory]] | |||
{ | { | ||
_hitpoints [[pushBackUnique]] _x; | { | ||
_startPos [[a = b|=]] _startPos [[vectorAdd]] [0, 0, 10]; | |||
} [[forEach]] [[vehicles]]; | //_veh [[a = b|=]] [[createVehicle]] [[[configName]] _x, _startPos, [], 0, "CAN_COLLIDE"]; | ||
_hitpoints [[sort]] [[true]]; | //_veh [[enableSimulation]] [[false]]; | ||
{ | [[create3DENEntity]] ["Object", [[configName]] _x, _startPos, [[true]]]; | ||
} [[forEach]] ("[[getNumber]] (_x [[config greater greater name|>>]] 'scope') [[a greater b|>]] 0 [[a && b|&&]] [[getText]] (_x [[config greater greater name|>>]] 'vehicleClass') [[in]] ['Armored', 'Car', 'Air', 'Ship', 'Men', 'Autonomous']" [[configClasses]] ([[configFile]] [[config greater greater name|>>]] "CfgVehicles")); | |||
} [[forEach]] _hitpoints; | }; | ||
[[copyToClipboard]] (_[[text]] [[+]] [[endl]] [[+]] "|}"); | [[private]] _hitPoints [[a = b|=]] []; | ||
[[systemChat]] "Data copied!";</code> | [[private]] _[[text]] [[a = b|=]] "{| class=""wikitable [[sort]]able""" [[+]] [[endl]] [[+]]"|-" [[+]] [[endl]] [[+]] "[[! a|!]] Hit Point [[! a|!]][[! a|!]] Name"; | ||
{ | |||
{ | |||
_hitpoints [[pushBackUnique]] _x; | |||
} [[forEach]] ([[getAllHitPointsDamage]] _x [[a hash b|#]] 0); | |||
} [[forEach]] [[vehicles]]; | |||
_hitpoints [[sort]] [[true]]; | |||
{ | |||
_[[text]] [[a = b|=]] _[[text]] [[+]] [[endl]] [[+]] "|-" [[+]] [[endl]] [[+]] "| " [[+]] _x [[+]] " [[a or b|<nowiki/>||]] " [[+]] [[localize]] ("STR_ENH_DAMAGE_" [[+]] _x); | |||
} [[forEach]] _hitpoints; | |||
[[copyToClipboard]] (_[[text]] [[+]] [[endl]] [[+]] "|}"); | |||
[[systemChat]] "Data copied!"; | |||
};</code> | |||
{{GameCategory|arma3|Editing}} | {{GameCategory|arma3|Editing}} |
Revision as of 12:16, 22 February 2021
All Hit Points
Hit Point | Name |
---|---|
#cam_gunner | |
#gear_1_light_1_hit | |
#gear_1_light_2_hit | |
#gear_2_light_1_hit | |
#gear_2_light_2_hit | |
#gear_3_light_1_hit | |
#gear_3_light_2_hit | |
#gear_f_lights | |
#glass11 | |
#hitlight1 | |
#hitlight2 | |
#hitlight3 | |
#l svetlo | |
#light_1 | |
#light_1_hit | |
#light_1_hitpoint | |
#light_2 | |
#light_2_hit | |
#light_2_hitpoint | |
#light_3_hit | |
#light_4_hit | |
#light_hitpoint | |
#light_l | |
#light_l2 | |
#light_l2_flare | |
#light_l_flare | |
#light_l_hitpoint | |
#light_r | |
#light_r2 | |
#light_r2_flare | |
#light_r_flare | |
#light_r_hitpoint | |
#light_spotlight_hit | |
#p svetlo | |
#pos_gear_front_light | |
#wing_left_light | |
#wing_right_light | |
glass_10_hitpoint | |
glass_11_hitpoint | |
glass_12_hitpoint | |
glass_13_hitpoint | |
glass_14_hitpoint | |
glass_15_hitpoint | |
glass_16_hitpoint | |
glass_17_hitpoint | |
glass_18_hitpoint | |
glass_19_hitpoint | |
glass_1_hitpoint | |
glass_20_hitpoint | |
glass_2_hitpoint | |
glass_3_hitpoint | |
glass_4_hitpoint | |
glass_5_hitpoint | |
glass_6_hitpoint | |
glass_7_hitpoint | |
glass_8_hitpoint | |
glass_9_hitpoint | |
glass_pod_01_hitpoint | |
glass_pod_02_hitpoint | |
glass_pod_03_hitpoint | |
glass_pod_04_hitpoint | |
glass_pod_05_hitpoint | |
glass_pod_06_hitpoint | |
glass_pod_07_hitpoint | |
glass_pod_08_hitpoint | |
glass_pod_09_hitpoint | |
hitammo | Ammunition |
hitavionics | Avionics |
hitbattery_l | |
hitbattery_r | |
hitbody | Body |
hitcomgun | Commander Gun |
hitcomturret | Commander Turret |
hitengine | Engine |
hitengine1 | Engine #1 |
hitengine2 | Engine #2 |
hitengine3 | Engine #3 |
hitengine4 | |
hitera_back | |
hitera_front | |
hitera_left | |
hitera_left_1 | |
hitera_left_2 | |
hitera_left_3 | |
hitera_left_4 | |
hitera_right | |
hitera_right_1 | |
hitera_right_2 | |
hitera_right_3 | |
hitera_right_4 | |
hitera_top | |
hitera_top_front | |
hitera_top_left | |
hitera_top_left_1 | |
hitera_top_left_2 | |
hitera_top_right | |
hitera_top_right_1 | |
hitera_top_right_2 | |
hitfuel | Fuel Tank |
hitfuel2 | Fuel Tank #2 |
hitfuel_lead_left | |
hitfuel_lead_right | |
hitfuel_left | |
hitfuel_right | |
hitfuell | Fuel Tank (Left) |
hitfuelr | Fuel Tank (Right) |
hitfueltank | |
hitgear | Gear |
hitglass1 | Window #1 |
hitglass10 | Window #10 |
hitglass11 | Window #11 |
hitglass12 | Window #12 |
hitglass13 | Window #13 |
hitglass14 | Window #14 |
hitglass15 | Window #15 |
hitglass16 | |
hitglass17 | |
hitglass18 | |
hitglass19 | |
hitglass1a | |
hitglass1b | |
hitglass2 | Window #2 |
hitglass20 | |
hitglass3 | Window #3 |
hitglass4 | Window #4 |
hitglass5 | Window #5 |
hitglass6 | Window #6 |
hitglass7 | Window #7 |
hitglass8 | Window #8 |
hitglass9 | Window #9 |
hitgun | Gun |
hithrotor | Main rotor |
hithstabilizerl1 | |
hithstabilizerr1 | |
hithull | Hull |
hithydraulics | Hydraulics |
hitlaileron | Left Aileron |
hitlaileron_link | |
hitlbwheel | 4th axle left wheel |
hitlcelevator | Left Elevator |
hitlcrudder | Left Rudder |
hitlf2wheel | 2nd axle left wheel |
hitlfwheel | 1st axle left wheel |
hitlglass | Window (Left) |
hitlight | |
hitlightback | |
hitlightfront | |
hitlightl | |
hitlightr | |
hitlmwheel | 3rd axle left wheel |
hitltrack | Left track |
hitmissiles | Missiles |
hitoptic | |
hitoptics | |
hitpitottube | |
hitraileron | Right Aileron |
hitraileron_link | |
hitrbwheel | 4th axle right wheel |
hitrelevator | Right Elevator |
hitreservewheel | |
hitrf2wheel | 2nd axle right wheel |
hitrfwheel | 1st axle right wheel |
hitrglass | Window (Right) |
hitrmwheel | 3rd axle right wheel |
hitrotor | |
hitrotorvirtual | |
hitrrudder | Right Rudder |
hitrtrack | Right track |
hitslat_back | Slat Armour (Front) |
hitslat_front | Slat Armour (Front) |
hitslat_left | |
hitslat_left_1 | Slat Armour (Left, 1) |
hitslat_left_2 | Slat Armour (Left, 2) |
hitslat_left_3 | Slat Armour (Left, 3) |
hitslat_right | |
hitslat_right_1 | Slat Armour (Right, 1) |
hitslat_right_2 | Slat Armour (Right, 2) |
hitslat_right_3 | Slat Armour (Right, 3) |
hitslat_top_back | Slat Armour (Top back) |
hitslat_top_left | Slat Armour (Top left) |
hitslat_top_right | Slat Armour (Top right) |
hitstarter1 | |
hitstarter2 | |
hitstarter3 | |
hitstaticport | |
hittail | Tail |
hittransmission | Transmission |
hitturret | Turret |
hitvrotor | Tail Rotor |
hitvstabilizer1 | |
hitwinch | Winch |
Export Script
// Execute in Eden Editor
[] spawn
{
_startPos = position player;
collect3DENHistory
{
{
_startPos = _startPos vectorAdd [0, 0, 10];
//_veh = createVehicle [[[configName]] _x, _startPos, [], 0, "CAN_COLLIDE"];
//_veh enableSimulation false;
create3DENEntity ["Object", configName _x, _startPos, true];
} forEach ("getNumber (_x >> 'scope') > 0 && getText (_x >> 'vehicleClass') in ['Armored', 'Car', 'Air', 'Ship', 'Men', 'Autonomous']" configClasses (configFile >> "CfgVehicles"));
};
private _hitPoints = [];
private _text = "{| class=""wikitable sortable""" + endl +"|-" + endl + "! Hit Point !! Name";
{
{
_hitpoints pushBackUnique _x;
} forEach (getAllHitPointsDamage _x # 0);
} forEach vehicles;
_hitpoints sort true;
{
_text = _text + endl + "|-" + endl + "| " + _x + " || " + localize ("STR_ENH_DAMAGE_" + _x);
} forEach _hitpoints;
copyToClipboard (_text + endl + "|}");
systemChat "Data copied!";
};