2016-05-30 16:37:03 +00:00
|
|
|
#define EQUIP_FRIES_ATTRIBUTE class Attributes { \
|
|
|
|
class EGVAR(fastroping,equipFRIES) { \
|
|
|
|
property = QEGVAR(fastroping,equipFRIES); \
|
|
|
|
control = "Checkbox"; \
|
|
|
|
displayName = ECSTRING(fastroping,Eden_equipFRIES); \
|
|
|
|
tooltip = ECSTRING(fastroping,Eden_equipFRIES_Tooltip); \
|
|
|
|
expression = QUOTE([_this] call EFUNC(fastroping,equipFRIES)); \
|
|
|
|
typeName = "BOOL"; \
|
|
|
|
condition = "objectVehicle"; \
|
|
|
|
defaultValue = false; \
|
|
|
|
}; \
|
|
|
|
}
|
|
|
|
|
|
|
|
class CfgVehicles {
|
|
|
|
class LandVehicle;
|
2016-08-27 08:45:35 +00:00
|
|
|
class Car: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class Car_F: Car {};
|
|
|
|
class Truck_F: Car_F {};
|
|
|
|
class rhs_truck: Truck_F {};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class Tank: LandVehicle {
|
|
|
|
class NewTurret;
|
2016-08-27 08:45:35 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {};
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
class Tank_F: Tank {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret: NewTurret {
|
|
|
|
class Turrets {
|
|
|
|
class CommanderOptics;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-10-05 18:03:52 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret;
|
|
|
|
};
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
|
|
|
|
class MBT_01_base_F: Tank_F {};
|
|
|
|
class rhsusf_m1a1tank_base: MBT_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1909;
|
|
|
|
};
|
|
|
|
class Helicopter_Base_F: Helicopter {
|
|
|
|
class Eventhandlers;
|
|
|
|
};
|
|
|
|
class Heli_Light_03_base_F: Helicopter_Base_F {};
|
|
|
|
class RHS_UH1_Base: Heli_light_03_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1447;
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_UH1Y_base: RHS_UH1_Base {};
|
|
|
|
class RHS_UH1Y_US_base: RHS_UH1Y_base {};
|
|
|
|
class RHS_UH1Y: RHS_UH1Y_US_base {
|
|
|
|
EGVAR(fastroping,enabled) = 2;
|
|
|
|
EGVAR(fastroping,friesType) = "ACE_friesAnchorBar";
|
|
|
|
EGVAR(fastroping,friesAttachmentPoint)[] = {0, 2.38, -0.135};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {"ropeOriginLeft", "ropeOriginRight"};
|
|
|
|
|
|
|
|
class UserActions;
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHSUSF_EventHandlers;
|
|
|
|
};
|
|
|
|
|
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
|
|
|
};
|
|
|
|
class RHS_UH1Y_FFAR: RHS_UH1Y {
|
|
|
|
class UserActions: UserActions {
|
|
|
|
class OpenCargoDoor;
|
|
|
|
class CloseCargoDoor: OpenCargoDoor {
|
|
|
|
condition = QUOTE([ARR_2(this,'doorRB')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
class CloseCargoLDoor: OpenCargoDoor {
|
|
|
|
condition = QUOTE([ARR_2(this,'doorLB')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Helicopter_Base_H: Helicopter_Base_F {
|
|
|
|
class Eventhandlers;
|
|
|
|
};
|
|
|
|
class Heli_Transport_01_base_F: Helicopter_Base_H {};
|
2018-09-12 21:12:05 +00:00
|
|
|
|
2016-11-16 23:42:11 +00:00
|
|
|
class RHS_MELB_base: Helicopter_Base_H {};
|
|
|
|
class RHS_MELB_MH6M: RHS_MELB_base {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{1.166, 0.79, -0.01}, {-1.166, 0.79, -0.01}};
|
2018-07-20 03:54:06 +00:00
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
2016-11-16 23:42:11 +00:00
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
class RHS_UH60_Base: Heli_Transport_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1360;
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_UH60M_base: RHS_UH60_Base {};
|
|
|
|
class RHS_UH60M_US_base: RHS_UH60M_base {};
|
|
|
|
class RHS_UH60M: RHS_UH60M_US_base {
|
|
|
|
EGVAR(fastroping,enabled) = 2;
|
|
|
|
EGVAR(fastroping,friesType) = "ACE_friesAnchorBar";
|
|
|
|
EGVAR(fastroping,friesAttachmentPoint)[] = {0, 1.25, -0.65};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {"ropeOriginLeft", "ropeOriginRight"};
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class OpenCargoDoor;
|
|
|
|
class CloseCargoDoor: OpenCargoDoor {
|
|
|
|
condition = QUOTE([ARR_2(this,'doorRB')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
class CloseCargoLDoor: OpenCargoDoor {
|
|
|
|
condition = QUOTE([ARR_2(this,'doorLB')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_UH60M_MEV: RHS_UH60M {
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
class Attributes {
|
|
|
|
delete EGVAR(fastroping,equipFRIES);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_UH60M_MEV2: RHS_UH60M_MEV {
|
|
|
|
EGVAR(fastroping,enabled) = 2;
|
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Heli_Transport_02_base_F;
|
|
|
|
class RHS_CH_47F_base: Heli_Transport_02_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 3914;
|
2020-06-06 01:01:59 +00:00
|
|
|
class UserActions;
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_CH_47F: RHS_CH_47F_base {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{0.5, -7.15, -0.95}, {-0.5, -7.15, -0.95}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
2020-06-06 01:01:59 +00:00
|
|
|
class UserActions: UserActions {
|
2016-05-30 16:37:03 +00:00
|
|
|
class OpenCargoDoor;
|
|
|
|
class CloseCargoDoor: OpenCargoDoor {
|
|
|
|
condition = QUOTE([ARR_2(this,'ramp_anim')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-29 17:55:53 +00:00
|
|
|
class rhsusf_CH53E_USMC: Helicopter_Base_H {
|
2017-11-10 14:28:12 +00:00
|
|
|
EGVAR(interaction,bodyWidth) = 3.5;
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {1,0,0,0.1};
|
2017-05-29 17:55:53 +00:00
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{0,-9.5,2.6}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class RampOpen;
|
|
|
|
class RampClose: RampOpen {
|
|
|
|
condition = QUOTE([ARR_2(this,'ramp_bottom')] call FUNC(canCloseDoor));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-10-05 18:03:52 +00:00
|
|
|
class Heli_Attack_01_base_F: Helicopter_Base_F {};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class RHS_AH1Z_base: Heli_Attack_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1600;
|
2017-10-06 20:31:48 +00:00
|
|
|
EGVAR(hellfire,addLaserDesignator) = 1;
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_AH64_base: Heli_Attack_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1420;
|
2017-10-06 20:31:48 +00:00
|
|
|
EGVAR(hellfire,addLaserDesignator) = 1;
|
2016-10-05 18:03:52 +00:00
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
|
|
|
|
class MBT_01_arty_base_F;
|
|
|
|
class rhsusf_m109tank_base: MBT_01_arty_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 511;
|
|
|
|
};
|
|
|
|
|
|
|
|
class MRAP_01_base_F;
|
|
|
|
class rhsusf_hmmwe_base: MRAP_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 95;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_rg33_base: MRAP_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 302;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class Truck_01_base_F: Truck_F {};
|
2016-05-30 16:37:03 +00:00
|
|
|
class rhsusf_fmtv_base: Truck_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 219;
|
|
|
|
};
|
2017-10-14 16:56:12 +00:00
|
|
|
class rhsusf_M1078A1P2_B_M2_fmtv_usarmy;
|
|
|
|
class rhsusf_M1078A1R_SOV_M2_D_fmtv_socom: rhsusf_M1078A1P2_B_M2_fmtv_usarmy {
|
|
|
|
transportAmmo = 0;
|
|
|
|
EGVAR(rearm,defaultSupply) = 800;
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{1.1,0.9,-1.2}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 900; // 45 jerrycans
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class rhsusf_HEMTT_A4_base: Truck_01_base_F {};
|
|
|
|
class rhsusf_M977A4_usarmy_wd: rhsusf_HEMTT_A4_base {};
|
|
|
|
class rhsusf_M977A4_AMMO_usarmy_wd: rhsusf_M977A4_usarmy_wd {
|
|
|
|
transportAmmo = 0;
|
2017-10-14 16:56:12 +00:00
|
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M977A4_BKIT_usarmy_wd: rhsusf_M977A4_usarmy_wd {};
|
|
|
|
class rhsusf_M977A4_AMMO_BKIT_usarmy_wd: rhsusf_M977A4_BKIT_usarmy_wd {
|
|
|
|
transportAmmo = 0;
|
2017-10-14 16:56:12 +00:00
|
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M977A4_BKIT_M2_usarmy_wd: rhsusf_M977A4_usarmy_wd {};
|
|
|
|
class rhsusf_M977A4_AMMO_BKIT_M2_usarmy_wd: rhsusf_M977A4_BKIT_M2_usarmy_wd {
|
|
|
|
transportAmmo = 0;
|
2017-10-14 16:56:12 +00:00
|
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M978A4_usarmy_wd: rhsusf_M977A4_usarmy_wd {
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{-0.44,-4.87,0}, {0.5,-4.87,0}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 10000;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M978A4_BKIT_usarmy_wd: rhsusf_M977A4_usarmy_wd {
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{-0.44,-4.87,0}, {0.5,-4.87,0}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 10000;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M977A4_REPAIR_usarmy_wd: rhsusf_M977A4_usarmy_wd {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M977A4_REPAIR_BKIT_usarmy_wd: rhsusf_M977A4_BKIT_usarmy_wd {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhsusf_M977A4_REPAIR_BKIT_M2_usarmy_wd: rhsusf_M977A4_BKIT_M2_usarmy_wd {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class APC_Tracked_02_base_F: Tank_F {};
|
2017-02-10 18:49:55 +00:00
|
|
|
class rhsusf_m113tank_base: APC_Tracked_02_base_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {0,1,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 360;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class rhsusf_m113_usarmy: rhsusf_m113tank_base {};
|
|
|
|
class rhsusf_m113_usarmy_supply: rhsusf_m113_usarmy {
|
|
|
|
transportAmmo = 0;
|
2017-10-14 16:56:12 +00:00
|
|
|
EGVAR(rearm,defaultSupply) = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class APC_Tracked_03_base_F;
|
|
|
|
class RHS_M2A2_Base: APC_Tracked_03_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 746;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Plane_CAS_01_base_F;
|
|
|
|
class RHS_A10: Plane_CAS_01_base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 6223;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Plane_Base_F;
|
|
|
|
class RHS_C130J_Base: Plane_Base_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 25704;
|
2016-11-10 18:05:08 +00:00
|
|
|
EGVAR(cargo,space) = 4;
|
|
|
|
EGVAR(cargo,hasCargo) = 1;
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
|
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class StaticMortar: StaticWeapon {};
|
|
|
|
class RHS_M252_Base: StaticMortar {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "";
|
|
|
|
selection = "main_gun";
|
|
|
|
};
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
// ENABLE_CSW_ATTRIBUTE;
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
magazineLocation = "";
|
|
|
|
proxyWeapon = QGVAR(rhs_mortar_81mm);
|
|
|
|
disassembleWeapon = QGVAR(m252_carry); // carry weapon [CfgWeapons]
|
|
|
|
disassembleTurret = QEGVAR(csw,mortarBaseplate); // turret [CfgVehicles]
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 3;
|
|
|
|
ammoUnloadTime = 3;
|
|
|
|
};
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class StaticMGWeapon: StaticWeapon {};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class rhs_m2staticmg_base: StaticMGWeapon {
|
2019-07-05 22:57:22 +00:00
|
|
|
// ENABLE_CSW_ATTRIBUTE;
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_M2);
|
|
|
|
magazineLocation = "_target selectionPosition 'magazine'";
|
|
|
|
disassembleWeapon = QGVAR(m2_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,m3Tripod);
|
|
|
|
desiredAmmo = 100;
|
|
|
|
ammoLoadTime = 10;
|
|
|
|
ammoUnloadTime = 8;
|
|
|
|
};
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class RHS_M2StaticMG_MiniTripod_base: rhs_m2staticmg_base {
|
|
|
|
class ACE_CSW: ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
disassembleTurret = QEGVAR(csw,m3TripodLow);
|
|
|
|
};
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class StaticGrenadeLauncher: StaticWeapon {};
|
|
|
|
class RHS_MK19_TriPod_base: StaticGrenadeLauncher {
|
2019-07-05 22:57:22 +00:00
|
|
|
// ENABLE_CSW_ATTRIBUTE;
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_MK19);
|
|
|
|
magazineLocation = "_target selectionPosition 'magazine'";
|
|
|
|
disassembleWeapon = QGVAR(mk19_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,m3TripodLow);
|
|
|
|
desiredAmmo = 48;
|
|
|
|
ammoLoadTime = 10;
|
|
|
|
ammoUnloadTime = 8;
|
|
|
|
};
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class StaticATWeapon: StaticWeapon {};
|
|
|
|
class RHS_TOW_TriPod_base: StaticATWeapon {
|
2019-07-05 22:57:22 +00:00
|
|
|
// ENABLE_CSW_ATTRIBUTE;
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_weap_TOW_Launcher_static);
|
|
|
|
magazineLocation = "_target selectionPosition 'tube'";
|
|
|
|
disassembleWeapon = QGVAR(tow_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,m220Tripod);
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 8;
|
|
|
|
ammoUnloadTime = 5;
|
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
};
|
|
|
|
|
2018-07-20 03:54:06 +00:00
|
|
|
class rhsusf_infantry_usmc_base;
|
|
|
|
class rhsusf_usmc_marpat_wd_helipilot: rhsusf_infantry_usmc_base {
|
|
|
|
ace_gforcecoef = 0.55;
|
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
|
2018-07-20 03:54:06 +00:00
|
|
|
class rhsusf_infantry_army_base;
|
|
|
|
class rhsusf_army_ocp_helipilot: rhsusf_infantry_army_base {
|
|
|
|
ace_gforcecoef = 0.55;
|
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
|
2018-07-20 03:54:06 +00:00
|
|
|
class rhsusf_usmc_marpat_wd_rifleman_m4;
|
|
|
|
class rhsusf_airforce_jetpilot: rhsusf_usmc_marpat_wd_rifleman_m4 {
|
|
|
|
ace_gforcecoef = 0.55;
|
|
|
|
};
|
2019-07-12 15:04:12 +00:00
|
|
|
|
|
|
|
class Items_base_F;
|
|
|
|
class ACE_Explosives_Place: Items_base_F {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-13 20:58:20 +00:00
|
|
|
// ACE Explosives
|
|
|
|
class ACE_Explosives_Place_rhsusf_explosive_m112: ACE_Explosives_Place {
|
2019-07-12 15:04:12 +00:00
|
|
|
displayName = "$STR_RHSUSF_M112_EXPLOSIVE_DISPLAY_NAME";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\explosives\rhsusf_m112x1_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
2020-06-13 20:58:20 +00:00
|
|
|
position = "[-0.055, 0, 0.038]";
|
2019-07-12 15:04:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-13 20:58:20 +00:00
|
|
|
class ACE_Explosives_Place_rhsusf_explosive_m112x4: ACE_Explosives_Place {
|
2019-07-12 15:04:12 +00:00
|
|
|
displayName = "$STR_RHSUSF_M112X4_EXPLOSIVE_DISPLAY_NAME";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\explosives\rhsusf_m112x4_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
2020-06-13 20:58:20 +00:00
|
|
|
position = "[-0.055, 0.025, 0.102]";
|
2019-07-12 15:04:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-13 20:58:20 +00:00
|
|
|
class ACE_Explosives_Place_rhsusf_mine_M19: ACE_Explosives_Place {
|
2019-07-12 15:04:12 +00:00
|
|
|
displayName = "$STR_RHSUSF_M19_ATMINE_DISPLAY_NAME";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m19_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
2020-06-13 20:58:20 +00:00
|
|
|
position = "[-0.014, -0.002, 0.046]";
|
2019-07-12 15:04:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-06-13 20:58:20 +00:00
|
|
|
class ACE_Explosives_Place_rhsusf_mine_m14: ACE_Explosives_Place {
|
2019-07-12 15:04:12 +00:00
|
|
|
displayName = "$STR_RHSUSF_M14_APMINE_DISPLAY_NAME";
|
2020-06-13 20:58:20 +00:00
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m14_d";
|
2019-07-12 15:04:12 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
2020-06-13 20:58:20 +00:00
|
|
|
position = "[-0.002, 0.022, 0.02]";
|
2019-07-12 15:04:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2020-06-13 20:58:20 +00:00
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhsusf_mine_m49a1_3m: ACE_Explosives_Place {
|
|
|
|
displayName = "M49A1 (3m)";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m49a1_a_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, -0.016, 0.296]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhsusf_mine_m49a1_6m: ACE_Explosives_Place_rhsusf_mine_m49a1_3m {
|
|
|
|
displayName = "M49A1 (6m)";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m49a1_b_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhsusf_mine_m49a1_10m: ACE_Explosives_Place_rhsusf_mine_m49a1_3m {
|
|
|
|
displayName = "M49A1 (10m)";
|
|
|
|
model = "\rhsusf\addons\rhsusf_weapons\mines\rhsusf_m49a1_c_e";
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|