2016-05-30 16:37:03 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class LandVehicle;
|
|
|
|
class Tank: LandVehicle {
|
|
|
|
class NewTurret;
|
|
|
|
};
|
|
|
|
class Tank_F: Tank {
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret: NewTurret {
|
|
|
|
class Turrets {
|
|
|
|
class CommanderOptics;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
class Car: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {};
|
|
|
|
};
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
class Car_F: Car {
|
|
|
|
class ViewPilot;
|
|
|
|
class NewTurret;
|
|
|
|
};
|
|
|
|
class Wheeled_APC_F: Car_F {
|
|
|
|
class NewTurret;
|
|
|
|
class Turrets {
|
|
|
|
class MainTurret: NewTurret
|
|
|
|
{
|
|
|
|
class ViewOptics;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class CommanderOptics;
|
|
|
|
};
|
2017-05-10 16:28:14 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
class Turrets;
|
|
|
|
};
|
|
|
|
class Helicopter_Base_F: Helicopter {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class rhs_bmd_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
class rhs_bmp1tank_base: Tank_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) = 460;
|
|
|
|
};
|
|
|
|
class rhs_bmp3tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 460;
|
|
|
|
};
|
|
|
|
class rhs_btr_base: Wheeled_APC_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {0,0,1,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
class rhs_a3spruttank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 400;
|
|
|
|
};
|
|
|
|
class rhs_a3t72tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1200;
|
|
|
|
};
|
|
|
|
class rhs_tank_base: Tank_F {
|
|
|
|
EGVAR(refuel,fuelCapacity) = 1200;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_infantry_msv_base;
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_pilot_base: rhs_infantry_msv_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
ace_gforcecoef = 0.55;
|
|
|
|
};
|
|
|
|
|
|
|
|
class O_Plane_CAS_02_F;
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_su25_base: O_Plane_CAS_02_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 3600;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Helicopter_Base_H: Helicopter_Base_F {
|
|
|
|
class EventHandlers;
|
|
|
|
};
|
|
|
|
class Heli_Light_02_base_F: Helicopter_Base_H {};
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Mi8_base: Heli_Light_02_base_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {1,0,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 3700;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_Mi8amt_base: RHS_Mi8_base {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{-1.13, 4.67, -0.89}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class openDoor;
|
|
|
|
class closeDoor_L: openDoor {
|
|
|
|
condition = QUOTE((this doorPhase 'LeftDoor' > 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers: RHS_EventHandlers {
|
|
|
|
getOut = QUOTE(if !((_this select 0) getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)]) then {_this call rhs_fnc_mi8_doors});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_Mi8_VVS_Base: RHS_Mi8_base {};
|
|
|
|
class RHS_Mi8mt_vvs: RHS_Mi8_VVS_Base {};
|
|
|
|
class RHS_Mi8mt_Cargo_vvs: RHS_Mi8mt_vvs {
|
|
|
|
EGVAR(fastroping,enabled) = 1;
|
|
|
|
EGVAR(fastroping,ropeOrigins)[] = {{-1.13, 4.67, -0.89}};
|
|
|
|
EGVAR(fastroping,onCut) = QFUNC(onCut);
|
|
|
|
EGVAR(fastroping,onPrepare) = QFUNC(onPrepare);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class openDoor_L;
|
|
|
|
class closeDoor_L: openDoor_L {
|
|
|
|
condition = QUOTE((this doorPhase 'LeftDoor' > 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class RHS_EventHandlers: RHS_EventHandlers {
|
|
|
|
getOut = QUOTE(if !((_this select 0) getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)]) then {_this call rhs_fnc_mi8_doors});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-05-10 16:28:14 +00:00
|
|
|
class Heli_Attack_02_base_F: Helicopter_Base_F {};
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Ka52_base: Heli_Attack_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1870;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_Mi24_base: Heli_Attack_02_base_F {
|
2017-08-22 18:13:03 +00:00
|
|
|
EGVAR(map,vehicleLightColor)[] = {1,0,0,0.1};
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1851;
|
|
|
|
EGVAR(fastroping,enabled) = 0;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_t80b: rhs_tank_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 1100;
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
class Truck_F: Car_F {};
|
|
|
|
class RHS_Ural_BaseTurret: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 360;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class RHS_Ural_Base: RHS_Ural_BaseTurret {};
|
|
|
|
class RHS_Ural_MSV_Base: RHS_Ural_Base {};
|
|
|
|
class RHS_Ural_Support_MSV_Base_01: RHS_Ural_MSV_Base {};
|
|
|
|
class RHS_Ural_Fuel_MSV_01: RHS_Ural_Support_MSV_Base_01 {
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{-0.05,-3.6,-0.45}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 10000;
|
|
|
|
};
|
2017-10-14 16:56:12 +00:00
|
|
|
class RHS_Ural_Repair_MSV_01: RHS_Ural_Support_MSV_Base_01 {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
2021-07-24 05:23:23 +00:00
|
|
|
class RHS_Ural_Ammo_Base: RHS_Ural_Base {
|
|
|
|
transportAmmo = 0;
|
|
|
|
ace_rearm_defaultSupply = 1200;
|
|
|
|
};
|
2016-08-27 08:45:35 +00:00
|
|
|
|
2021-08-23 17:52:10 +00:00
|
|
|
class rhs_kraz255b1_base;
|
|
|
|
class rhs_kraz255b1_fuel_base: rhs_kraz255b1_base {
|
|
|
|
transportFuel = 0;
|
|
|
|
EGVAR(refuel,hooks)[] = {{-0.05,-3.6,-0.45}};
|
|
|
|
EGVAR(refuel,fuelCargo) = 10000;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_truck: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 210;
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:45:35 +00:00
|
|
|
class rhs_gaz66_vmf: rhs_truck {};
|
|
|
|
class rhs_gaz66_repair_base: rhs_gaz66_vmf {
|
|
|
|
transportRepair = 0;
|
|
|
|
EGVAR(repair,canRepair) = 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_gaz66_ammo_base: rhs_gaz66_vmf {
|
|
|
|
transportAmmo = 0;
|
2017-06-22 14:47:06 +00:00
|
|
|
ace_rearm_defaultSupply = 1200;
|
2016-08-27 08:45:35 +00:00
|
|
|
};
|
|
|
|
|
2021-07-24 05:23:23 +00:00
|
|
|
class rhs_kamaz5350: rhs_truck {};
|
|
|
|
class rhs_kamaz5350_ammo_base: rhs_kamaz5350 {
|
|
|
|
transportAmmo = 0;
|
|
|
|
ace_rearm_defaultSupply = 1200;
|
|
|
|
};
|
|
|
|
|
2016-05-30 16:37:03 +00:00
|
|
|
class MRAP_02_base_F;
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_tigr_base: MRAP_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 138;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Offroad_01_base_f;
|
2017-10-03 16:57:07 +00:00
|
|
|
class RHS_UAZ_Base: Offroad_01_base_f {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 78;
|
|
|
|
};
|
|
|
|
|
2016-07-30 10:50:52 +00:00
|
|
|
class APC_Tracked_02_base_F: Tank_F {
|
|
|
|
class Turrets: Turrets {
|
|
|
|
class MainTurret: MainTurret {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_zsutank_base: APC_Tracked_02_base_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 515;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr60_base: rhs_btr_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 290;
|
|
|
|
};
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr70_vmf: rhs_btr_base {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 350;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_btr70_msv: rhs_btr70_vmf {};
|
|
|
|
class rhs_btr80_msv: rhs_btr70_msv {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 300;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class rhs_2s3tank_base: Tank_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 830;
|
|
|
|
};
|
|
|
|
|
2017-10-03 16:57:07 +00:00
|
|
|
class OTR21_Base: Truck_F {
|
2016-05-30 16:37:03 +00:00
|
|
|
EGVAR(refuel,fuelCapacity) = 500;
|
|
|
|
};
|
2018-07-27 17:26:26 +00:00
|
|
|
|
2018-09-12 21:12:05 +00:00
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class StaticMGWeapon: StaticWeapon {};
|
|
|
|
class AT_01_base_F: StaticMGWeapon {};
|
|
|
|
|
|
|
|
class rhs_SPG9_base: AT_01_base_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "";
|
|
|
|
};
|
|
|
|
};
|
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_SPG9);
|
|
|
|
magazineLocation = "_target selectionPosition 'breach'";
|
|
|
|
disassembleWeapon = QGVAR(spg9_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,spg9Tripod);
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 5;
|
|
|
|
ammoUnloadTime = 3;
|
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
};
|
|
|
|
class rhs_Kornet_Base: AT_01_base_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "";
|
|
|
|
selection = "tripod";
|
|
|
|
};
|
|
|
|
};
|
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_9K133_launcher);
|
|
|
|
magazineLocation = "_target selectionPosition 'gun'";
|
|
|
|
disassembleWeapon = QGVAR(kornet_carry);
|
|
|
|
disassembleTurret = "";
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 7;
|
|
|
|
ammoUnloadTime = 5;
|
|
|
|
};
|
2018-09-12 21:12:05 +00:00
|
|
|
};
|
|
|
|
|
2018-07-27 17:26:26 +00:00
|
|
|
class rhs_assault_umbts;
|
|
|
|
class rhs_assault_umbts_engineer: rhs_assault_umbts {
|
|
|
|
EGVAR(logistics_wirecutter,hasWirecutter) = 1;
|
2021-07-24 05:23:23 +00:00
|
|
|
};
|
2021-08-23 17:52:10 +00:00
|
|
|
|
2021-07-24 05:23:23 +00:00
|
|
|
class rhs_rk_sht_30_emr;
|
|
|
|
class rhs_rk_sht_30_emr_engineer: rhs_rk_sht_30_emr {
|
|
|
|
EGVAR(logistics_wirecutter,hasWirecutter) = 1;
|
|
|
|
};
|
2021-08-23 17:52:10 +00:00
|
|
|
|
2021-07-24 05:23:23 +00:00
|
|
|
class rhs_rk_sht_30_olive;
|
|
|
|
class rhs_rk_sht_30_olive_engineer: rhs_rk_sht_30_olive {
|
|
|
|
EGVAR(logistics_wirecutter,hasWirecutter) = 1;
|
2018-07-27 17:26:26 +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 StaticMortar: StaticWeapon {};
|
|
|
|
class rhs_2b14_82mm_Base: StaticMortar {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "";
|
|
|
|
selection = ""; // no good selections for this mortar
|
|
|
|
};
|
|
|
|
};
|
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_weap_2b14);
|
|
|
|
disassembleWeapon = QGVAR(2b14_carry); // carry weapon [CfgWeapons]
|
|
|
|
disassembleTurret = QEGVAR(csw,mortarBaseplate); // turret [CfgVehicles]
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 3;
|
|
|
|
ammoUnloadTime = 3;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_nsv_tripod_base: StaticMGWeapon {
|
|
|
|
class ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_weap_nsvt_effects);
|
|
|
|
magazineLocation = "_target selectionPosition 'magazine'";
|
|
|
|
disassembleWeapon = QGVAR(nsv_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,kordTripodLow);
|
|
|
|
desiredAmmo = 50;
|
|
|
|
ammoLoadTime = 10;
|
|
|
|
ammoUnloadTime = 8;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_KORD_Base: rhs_nsv_tripod_base {
|
|
|
|
class ACE_CSW: ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_weap_KORD);
|
|
|
|
disassembleWeapon = QGVAR(kord_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,kordTripodLow);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RHS_KORD_high_base: RHS_KORD_Base {
|
|
|
|
class ACE_CSW: ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
proxyWeapon = QGVAR(rhs_weap_KORD);
|
|
|
|
disassembleWeapon = QGVAR(kord_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,kordTripod);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class StaticGrenadeLauncher: StaticWeapon {};
|
|
|
|
class RHS_AGS30_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_weap_AGS30);
|
|
|
|
magazineLocation = "_target selectionPosition 'magazine'";
|
|
|
|
disassembleWeapon = QGVAR(ags30_carry);
|
|
|
|
disassembleTurret = QEGVAR(csw,sag30Tripod);
|
|
|
|
desiredAmmo = 30;
|
|
|
|
ammoLoadTime = 10;
|
|
|
|
ammoUnloadTime = 8;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_SPG9M_base: rhs_SPG9_base {
|
|
|
|
class ACE_CSW: ACE_CSW {
|
|
|
|
enabled = 1;
|
|
|
|
disassembleWeapon = QGVAR(spg9m_carry);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_Metis_Base: AT_01_base_F {
|
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_9K115_2_launcher);
|
|
|
|
magazineLocation = "_target selectionPosition 'gun'";
|
|
|
|
disassembleWeapon = QGVAR(metis_carry);
|
|
|
|
disassembleTurret = "";
|
|
|
|
desiredAmmo = 1;
|
|
|
|
ammoLoadTime = 7;
|
|
|
|
ammoUnloadTime = 5;
|
|
|
|
};
|
|
|
|
};
|
2020-06-13 20:57:28 +00:00
|
|
|
|
|
|
|
// ACE Explosives
|
|
|
|
class Items_base_F;
|
|
|
|
class ACE_Explosives_Place: Items_base_F {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_tm62m: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_TM62M0";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_tm62m";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0.005, -0.025, 0.06]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_pmn2: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_PMN20";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_pmn2";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, 0, 0.012]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_ptm1: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_PTM1_NAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_airweapons\rhs_m_ptm1_d";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, -0.17, 0.02]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_pfm1: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_PFM1_NAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_airweapons\rhs_m_pfm1_d";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[-0.015, 0.018, 0]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec75: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC75";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec75_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, -0.04, 0.02]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec75_sand: ACE_Explosives_Place_rhs_ec75 {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC75_SAND";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec75_sand_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec200: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC200";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec200_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, -0.05, 0.008]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec200_sand: ACE_Explosives_Place_rhs_ec200 {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC200_SAND";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec200_sand_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec400: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC400";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec400_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, -0.03, 0.02]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_ec400_sand: ACE_Explosives_Place_rhs_ec400 {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_EC400_SAND";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons2\explosives\rhs_ec400_sand_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_msk40p_white: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_MINE_MSK40P_W_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_msk40p_white_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[-0.025, 0, 0.4]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_msk40p_red: ACE_Explosives_Place_rhs_mine_msk40p_white {
|
|
|
|
displayName = "$STR_RHS_MINE_MSK40P_R_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_msk40p_red_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_msk40p_green: ACE_Explosives_Place_rhs_mine_msk40p_white {
|
|
|
|
displayName = "$STR_RHS_MINE_MSK40P_G_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_msk40p_green_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_msk40p_blue: ACE_Explosives_Place_rhs_mine_msk40p_white {
|
|
|
|
displayName = "$STR_RHS_MINE_MSK40P_B_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_msk40p_blue_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_sm320_white: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_MINE_SM320_W_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_sm320_white_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[-0.01, 0, 0.25]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_sm320_red: ACE_Explosives_Place_rhs_mine_sm320_white {
|
|
|
|
displayName = "$STR_RHS_MINE_SM320_R_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_sm320_red_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_sm320_green: ACE_Explosives_Place_rhs_mine_sm320_white {
|
|
|
|
displayName = "$STR_RHS_MINE_SM320_G_MAG_DISPLAYNAME";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_sm320_green_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_ozm72_a: ACE_Explosives_Place {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_OZM72A";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_ozm72_a_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, 0.125, 0.11]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_ozm72_b: ACE_Explosives_Place_rhs_mine_ozm72_a {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_OZM72B";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_ozm72_b_e";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Explosives_Place_rhs_mine_ozm72_c: ACE_Explosives_Place_rhs_mine_ozm72_a {
|
|
|
|
displayName = "$STR_RHS_CFGMAGAZINES_OZM72C";
|
|
|
|
model = "\rhsafrf\addons\rhs_weapons\mines\rhs_ozm72_c_e";
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0, 0.015, 0.12]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-30 16:37:03 +00:00
|
|
|
};
|