12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- #include "../../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class RD501_patch_droideka
- {
- addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
- requiredAddons[]=
- {
- RD501_patch_vehicles
- };
- requiredVersion=0.1;
- units[]=
- {
- macro_new_vehicle(droideka,base),
- macro_new_vehicle(droideka,normal)
- };
- weapons[]=
- {
-
- };
- };
- };
- #include "../../common/sensor_templates.hpp"
- class DefaultEventhandlers;
- class CfgVehicles
- {
- class k_CIS_Droideka;
- class macro_new_vehicle(droideka,base): k_CIS_Droideka
- {
- scope=2;
- displayName = "Static Droideka";
- class EventHandlers: DefaultEventhandlers {};
- faction = macro_faction(CIS);
- editorSubcategory = macro_editor_cat(heavy_armored_infantry);
- vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry);
- ace_dragging_canCarry = 0;
- ace_dragging_canDrag = 0;
- armor = 225;
- armorStructural = 1.0;
- explosionShielding = 0.1;
- minTotalDamageThreshold = 0.01;
- impactDamageMultiplier = 0.1;
- class HitPoints
- {
- class HitGun
- {
- armor = 0.9;
- material = -1;
- name = "gun";
- visual = "autonomous_unhide";
- passThrough = 0;
- radius = 0.2;
- };
- class HitTurret: HitGun
- {
- armor = 0.3;
- };
- };
- };
- class macro_new_vehicle(droideka,normal): macro_new_vehicle(droideka,base)
- {
- displayName = "Droideka (Moveable)";
- forceInGarage = 0;
- };
- };
- class Extended_Init_EventHandlers
- {
- class macro_new_vehicle(droideka,base)
- {
- class rd501_deka_shield
- {
- init = "_this call rd501_fnc_deka_shield_init";
- };
- };
- class macro_new_vehicle(droideka,normal)
- {
- class rd501_deka_shield
- {
- init = "_this call rd501_fnc_deka_shield_init";
- };
- };
- };
|