Thomas
aa2133e72a
Update build-includes.yml
2025-12-10 09:43:20 +01:00
Applevangelist
498d58599b
xx
2025-12-10 09:38:49 +01:00
Thomas
76b977ff98
Merge pull request #2464 from leka1986/patch-7
...
Added Get Units and New stuff for the C-130J
2025-12-09 20:07:07 +01:00
leka1986
878eaf4301
Added Get Units and New stuff for the C-130J
...
Added
* UseC130LoadAndUnload toggle, false by default.
* C130basetype = "cds_crate" -- only for the C-130
* Extended AddCratesCargo & AddCratesCargoNoMove with another parms where we can force Typename for the static for the C-130, even though a parms passed before it with another shape. the last parms will still be forced only if the unit is C-130J. else, the last parms will not be used.
Example usage:
Foothold_ctld:AddCratesCargo("FARP",{"CTLD_TROOP_FOB"},CTLD_CARGO.Enum.FOB,3,1500,10, "FARP",nil,nil,nil,"Cargos","ammo_cargo",nil, "cds_crate")
Blocked the build of crates if still inside C-130J and CH-47F using 15 Meters for the C-130 and 5 meters for the CH-47.
ListCargo will now display what's inside besed on _GetUnitCapabilities / 2
** Manage Units, New menu only for the C-130J.
* New menu under CTLD. Get Units, Remove units nearby.
* Addunits function.
function CTLD:AddUnits(Name,Templates,Type,Stock,SubCategory,UnitTypes)
Example usage.
Foothold_ctld:AddUnits("Humvee",{"CTLD_CARGO_HMMWV"},CTLD_CARGO.Enum.VEHICLE,10, "ANTI TANK")
Those will be placed on a safe distance using same method as crates based on length and (idx-1)*2.5 + length.
* Added FSM, OnAfterUnitsSpawn. No internal, only Hook.
* Added 3 functions,
AddStockUnits
SetStockUnits
GetStockUnits
Added documents.
2025-12-09 19:45:56 +01:00
Applevangelist
3327c3b24d
#GROUP Small fix for getting templates data from dynamic spawns (there are no template data!)
2025-12-07 13:39:23 +01:00
Applevangelist
049529ecf0
#CTLD Allow hover extracting Troop objects
2025-12-07 13:02:17 +01:00
Thomas
04f7bb7cc7
Merge pull request #2458 from leka1986/patch-3
...
Convert cargo type to string for logging
2025-12-06 11:43:19 +01:00
Thomas
75c01fbe86
Merge pull request #2459 from leka1986/patch-4
...
Add check for IniGroup in HandleEventShot
2025-12-06 11:43:09 +01:00
Thomas
03b79351db
Merge pull request #2460 from leka1986/patch-5
...
Update Scenery.lua
2025-12-06 11:42:51 +01:00
Thomas
33429766a0
Merge pull request #2461 from leka1986/patch-6
...
Update Set.lua
2025-12-06 11:42:39 +01:00
leka1986
83464090d6
Update Set.lua
...
removed duplicate Filter = {},
2025-12-06 10:20:03 +01:00
leka1986
d77b2655b1
Update Scenery.lua
...
attempt to call method getPoint (a nil value)
2025-12-06 10:16:15 +01:00
leka1986
31a537748e
Add check for IniGroup in HandleEventShot
...
Added a check for IniGroup in HandleEventShot to prevent processing if it's not present.
Error in 2 instances, attempt to index field IniGroup ( a nil value )
2025-12-06 10:13:37 +01:00
leka1986
e873b097cf
Convert cargo type to string for logging
...
Concatenate local 'type' Nil value
2025-12-06 10:10:18 +01:00
Frank
e1b5c7f9c2
Merge pull request #2457 from shaji-Dev/master
...
[ADDED] C-130J loadouts enums and other missing weapons
2025-12-02 10:36:01 +01:00
Shafik
f005cdbc71
[ADDED] C-130J loadouts enums and other missing weapons.
2025-12-02 11:27:57 +02:00
Applevangelist
30c6937910
#CTLD Fix find crates also looking into static cargos
2025-11-28 12:48:26 +01:00
Applevangelist
fb3ca6d9d5
#SCORING nil check added
2025-11-28 10:19:46 +01:00
Thomas
edb42bbbe9
Merge pull request #2455 from shaji-Dev/master
...
[ADDED] C-130J Utils
2025-11-27 18:06:41 +01:00
Shafik
3bebe7f69c
[ADDED] C-130J Utils
2025-11-27 18:25:19 +02:00
Applevangelist
6ed031762b
#BUGFIXING
2025-11-27 09:21:17 +01:00
Thomas
4e342a59be
Update Artillery.lua
...
#ARTY fix a small error for coordinate of smoke shell creation
2025-11-26 10:10:10 +01:00
Thomas
dacf5125bf
Update Net.lua
...
#NET Fix for GetPlayerIDByName()
2025-11-24 09:24:37 +01:00
Frank
88396b5a5e
Merge pull request #2452 from FlightControl-Master/FF/MasterDev
...
AIRBASE name enums
2025-11-23 20:39:19 +01:00
Frank
a0c5466f7f
Update Airbase.lua
...
- Updated TheChannel map airbase enums
- Fixed some Umlaute in the Germany map
2025-11-23 20:35:12 +01:00
Thomas
7a3c23527f
Merge pull request #2450 from shaji-Dev/master
...
[FIXED] SCENERY:GetVec2() and SCENERY:GetVec3() return nil if not registered with SceneryZone
2025-11-23 19:38:32 +01:00
Frank
2f002703ee
Update Airbase.lua
...
- Updated Syria map airbase enums
2025-11-23 18:45:09 +01:00
Frank
b0c6ed1d59
Update Airbase.lua
...
- Updated Sinai map airbase enums
2025-11-23 17:40:05 +01:00
Frank
950e97b6d7
Update Airbase.lua
...
- Updated Persian Gulf map airbase enums
2025-11-23 17:35:38 +01:00
Frank
6d54e5a47f
Update Airbase.lua
...
- Updated Normand map airbase enums
2025-11-23 17:28:31 +01:00
Shafik
87d65123ba
[FIXED] SCENERY:GetVec2() and SCENERY:GetVec3() return nil if not registered with Scenery Zone
2025-11-23 18:25:47 +02:00
Frank
35c8803f8b
Update Airbase.lua
...
- Update Nevada map airbase enums
2025-11-23 17:19:18 +01:00
Frank
d9c8542993
Update Airbase.lua
...
- Update of Mariana Island (WWII) airbase enums
2025-11-23 17:15:30 +01:00
Shafik
d7a6809fec
[FIXED] SCENERY:GetVec2() and SCENERY:GetVec3() return nil if not registered with Scenery Zone
2025-11-23 18:14:45 +02:00
Frank
f3c38a4288
Update Airbase.lua
...
- Updated Kola map airbase enums
2025-11-23 16:46:23 +01:00
Frank
626b03c93a
Update Airbase.lua
...
- Updated Iraq map airbase enums
2025-11-23 16:44:40 +01:00
Frank
cf5c55209a
Update Airbase
...
- Updated South Atlantic airbase enums
2025-11-23 16:36:20 +01:00
Frank
19921414cf
Update Airbase.lua
...
- Update Caucasus Airbase Enums
2025-11-23 16:20:49 +01:00
Frank
c4de2b6990
Update Airbase.lua
...
- Afghanistan Airbase Enums updated
2025-11-23 16:10:40 +01:00
Frank
7907e4b830
Airbase
...
- Added new Germany CW airbases
- Added function in UTILS to create airbase enums
2025-11-23 16:08:28 +01:00
Applevangelist
5955c2d61f
#VARIOUS Small fixes
2025-11-22 15:17:26 +01:00
Applevangelist
26fbae8672
#AIRBOSS Added early F-14A
2025-11-15 16:48:05 +01:00
Applevangelist
5089e7df25
xx
2025-11-14 17:26:24 +01:00
Thomas
0c0d1cc794
Merge pull request #2445 from shaji-Dev/master
...
[ADDED] STATIC:GetVec2Cached() and STATIC:GetVec3Cached()
2025-11-14 13:45:22 +01:00
Shafik
21b968a9c6
[ADDED] STATIC:GetVec2Cached() and STATIC:GetVec3Cached() for statics considering respawns
2025-11-14 14:42:52 +02:00
Thomas
704bb8668f
Merge pull request #2443 from FlightControl-Master/Applevangelist-DC-1
...
Update DynamicCargo.lua
2025-11-11 12:54:42 +01:00
Thomas
763bfb4bb1
Update DynamicCargo.lua
...
Added Destroy-Functionality
2025-11-11 12:41:30 +01:00
Applevangelist
046bd37fd5
xx
2025-11-09 17:19:29 +01:00
Applevangelist
fbf83b3aed
#SET - Rationalize FilterCoalitions() and allow values like coalition.side.BLUE
2025-11-09 16:53:10 +01:00
Applevangelist
22097987dc
#CTLD, #DYNAMICCARGO - C-130j-30 additions
2025-11-09 14:43:11 +01:00