Chainsaw Squirrel 144 Report post Posted December 4, 2017 (edited) I know A3XAI is no longer supported by anyone really , but I cant seem to get launchers to not disappear on AI death.. I thought the option to remove ammo from vehicle was the same as launchers from AI .. I had it set to 0 .. but launchers still went poof .. turned it to 1 and still poof ... I dont think I missing anything .. any thought, or ideas Or did they never have the option for launchers to disappear on their death ?? Edited December 10, 2017 by Chainsaw Squirrel Share this post Link to post Share on other sites
BlackheartsGaming 57 Report post Posted December 4, 2017 Unpack the a3xai.pbo file. Locate the file: \a3xai\compile\A3XAI_unit_events\A3XAI_handleDeathEvent.sqf. Rem out (or remove if you want) the following lines starting around line 52 (ish). if !(isNull _victim) then { //{ // if (_x in A3XAI_launcherTypes) exitWith { // if (_x in (weapons _victim)) then { // _victim removeWeapon _x; // } else { // _launcherItem = _x; // { // if (_launcherItem in weaponCargo _x) exitWith { // deleteVehicle _x; // if (A3XAI_debugLevel > 1) then {diag_log format ["A3XAI Debug: Deleted WeaponHolderSimulated containing launcher %1.",_launcherItem];}; // }; // } forEach ((getPosATL _victim) nearObjects ["WeaponHolderSimulated",10]); // }; // }; //} forEach ((_victim getVariable ["loadout",[[],[]]]) select 0); //{ // if (_forEachIndex > 0) then { // _victim removeMagazines _x; // }; //} forEach ((_victim getVariable ["loadout",[[],[]]]) select 1); if (_vehicle isEqualTo (_unitGroup getVariable ["assignedVehicle",objNull])) then { Profit. 1 Share this post Link to post Share on other sites
Chainsaw Squirrel 144 Report post Posted December 4, 2017 Thanks bro ... I knew there was a way .. don't know why he did not include a statement to to keep or remove launcher .. but this is the same thing .. thanks Share this post Link to post Share on other sites
BlackheartsGaming 57 Report post Posted December 4, 2017 24 minutes ago, Chainsaw Squirrel said: Thanks bro ... I knew there was a way .. don't know why he did not include a statement to to keep or remove launcher .. but this is the same thing .. thanks Face had tons of plans for this code, but we all know where that went. Shame. Best AI code out there. 2 Share this post Link to post Share on other sites
Chainsaw Squirrel 144 Report post Posted December 4, 2017 Wish he would put the past behind him and continue or just release a new version .. here it is .. dont ask for support Share this post Link to post Share on other sites
The Raging Kerfuffle 66 Report post Posted December 4, 2017 @kuplion has an updated version. https://github.com/kuplion/A3XAI 2 Share this post Link to post Share on other sites
Chainsaw Squirrel 144 Report post Posted December 4, 2017 (edited) Hmm first time seeing that .. sweet .. is this just another repost of the original or has been updated ?? Edited December 4, 2017 by Chainsaw Squirrel Share this post Link to post Share on other sites
kuplion 1785 Report post Posted December 4, 2017 10 minutes ago, Chainsaw Squirrel said: Hmm first time seeing that .. sweet .. is this just another repost of the original or has been updated ?? It's had a handful of updates to increase compatibility with the current Exile version and a few bugs squashed. 4 Share this post Link to post Share on other sites
Chainsaw Squirrel 144 Report post Posted December 4, 2017 Thanks @kuplion you da top cat fer sure .. and johnny on the spot with answers X ) 1 Share this post Link to post Share on other sites
ICE68 4 Report post Posted December 5, 2017 20 hours ago, kuplion said: It's had a handful of updates to increase compatibility with the current Exile version and a few bugs squashed. Thank you for updating this and I see the Editor tool is included, Cool. Share this post Link to post Share on other sites