-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved over to a config implementation for vehicle radios instead of a…
…n array. Also added support for a variable tf_hasRadio to be set on the vehicle to signify support of radios.
- Loading branch information
1 parent
9928b89
commit 5348b65
Showing
4 changed files
with
81 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
arma3/@task_force_radio/addons/task_force_radio_items/vehicles.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
class All; | ||
class AllVehicles:All | ||
{ | ||
tf_hasLRradio = 0; | ||
}; | ||
class LandVehicle; | ||
class Tank:LandVehicle | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Air:AllVehicles | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Helicopter; | ||
class ParachuteBase:Helicopter | ||
{ | ||
tf_hasLRradio = 0; | ||
}; | ||
class Car; | ||
class Wheeled_Apc:Car | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Car_F; | ||
class MRAP_01_base_F: Car_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class MRAP_02_base_F: Car_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class MRAP_03_base_F: Car_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Truck_F; | ||
class Truck_01_base_F:Truck_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Truck_02_base_F:Truck_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Offroad_01_base_f; | ||
class Offroad_01_armed_base_F:Offroad_01_base_f | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Boat_F; | ||
class SDV_01_base_F: Boat_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Boat_Armed_01_base_F:Boat_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class Boat_Civil_01_base_F; | ||
class C_Boat_Civil_01_police_F:Boat_Civil_01_base_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; | ||
class C_Boat_Civil_01_rescue_F:Boat_Civil_01_base_F | ||
{ | ||
tf_hasLRradio = 1; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters