BigEgg Posted December 4, 2016 Report Share Posted December 4, 2016 Since it seems that Gr8 decided to leak GG's old files on Github, it has come to my attention that a majority of the custom building additions that I made and put on GG are now being used on quite a few servers. Due to this, I might as well release them on here. Below is the Air Dealer I made for NWAF, it is one of my favorites: Pics: http://imgur.com/a/gq9dq Code: private["_object", "_objects"]; _objects = [ ["Land_Mil_ControlTower", [5037.8691, 9697.9629, 6.1035156e-005], 60.40699], ["C130J_wreck_EP1", [5016.1558, 9688.5039, 3.0517578e-005], -160.13626], ["76n6ClamShell", [5047.6226, 9682.001, 6.1035156e-005], 330.77472], ["MAP_t_pinusN2s", [5045.2441, 9708.0488, 0.00012207031], -15.16834], ["Mi8Wreck", [5047.7671, 9715.6377, -3.0517578e-005], -38.521976], ["MAP_t_pinusN2s", [5026.0566, 9697.4912, 6.1035156e-005], -15.16834], ["Land_covering_hut_big_EP1", [5042.3867, 9709.9385, 0], -142.72462], ["Land_Fire_barrel_burning", [5040.7744, 9707.665, -3.0517578e-005], 0], ["Land_Fire_barrel_burning", [5044.0742, 9712.1631, 3.0517578e-005], 0], ["MAP_SidewalkClearLong", [5034.7412, 9710.0078, 0], -30.368095], ["MAP_SidewalkClearLong", [5032.3755, 9714.0713, -6.1035156e-005], -30.533873], ["HeliHCivil", [5022.209, 9731.9844, 6.1035156e-005], -29.740984], ["FlagCarrierWhite_EP1", [5044.896, 9713.5879, 6.1035156e-005], 0], ["Land_Ind_TankSmall", [5026.7256, 9711.9209, 3.0517578e-005], -30.01861] ]; { _object = createVehicle[_x select 0, _x select 1, [], 0, "CAN_COLLIDE"]; _object setDir(_x select 2); _object setPos(_x select 1); _object addEventHandler["HandleDamage", { false }]; _object enableSimulation false; } count _objects; private["_trader", "_traders"]; _traders = [ ["Worker2", [5042.2383, 9710.0039, -339], -52.404758] ]; { _trader = createAgent[_x select 0, _x select 1, [], 0, "CAN_COLLIDE"]; { _trader removeMagazine _x } count magazines _trader; removeAllItems _trader; removeAllWeapons _trader; removeBackpack _trader; _trader switchMove "AmovPercMstpSlowWrflDnon"; _trader setcaptive true; _trader setDir(_x select 2); _trader setVehicleInit "this disableAI 'ANIM'; this disableAI 'AUTOTARGET'; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; this allowDamage false;"; _trader setUnitAbility 0.6; _trader enableSimulation false; } count _traders; processInitCommands; Just call it like you do with your other building files. Original Beidi file: https://drive.google.com/file/d/0B80xnidB7gMdck9DbGFYWDhFcXc/view?usp=sharing Joshyy, Hoplox, theduke and 2 others 5 Link to comment Share on other sites More sharing options...
juandayz Posted December 4, 2016 Report Share Posted December 4, 2016 nice! @BigEgg i like the way you wrote it! BigEgg 1 Link to comment Share on other sites More sharing options...
BigEgg Posted December 4, 2016 Author Report Share Posted December 4, 2016 @juandayz I used Ebay's nifty tool: juandayz 1 Link to comment Share on other sites More sharing options...
juandayz Posted December 4, 2016 Report Share Posted December 4, 2016 8 minutes ago, BigEgg said: @juandayz I used Ebay's nifty tool: dint know it... tnks a lot for the link! BigEgg 1 Link to comment Share on other sites More sharing options...
[Z]EnDoh Posted July 15, 2017 Report Share Posted July 15, 2017 Nice tested and works on 1.0.6.1. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now