Jump to content

O.Languedoc

Member
  • Content Count

    245
  • Joined

  • Last visited

  • Medals

Everything posted by O.Languedoc

  1. O.Languedoc

    LIFTER for ArmA 3

    Same here. Nothing after respawn on dedicated. I had this trouble with the Chinook mainly. No Option to deploy sling. When i disconnect from the server and reconnect i get one shot at it. The option appear the first time i am piloting. Land the chopper.. get out... go back in... the option to deploy sling is gone.... :(
  2. Well, it works guys. Thx a lot. I added a marker to the script that So it can work via moving the flag in INS Revive and via the normal spawn system in Arma. If i want to make the addaction radius smaller, like 1meter what parameters of the addaction do i change? I looked at the code and it seems like a custom addaction.
  3. Good morning Fight9, I have just finished testing the script in Local and Multiplayer with another player. The game was hosted on my machine. When I (the server client) deploy. it works. When the JIP do it, the flag doesnt move and the camover doesnt spawn exactly at the right place and fall to the ground. I didnt tought it was that complex to make something appear in game lol. I will try with another object then a flag so see if there is a difference. Thx again for all this.
  4. LOCAL SERVER 1 player VERSION 1 : On activation of the action Deploy. CamoCover is created, Ammo Box is Created. Flag is not Moved. On activation of the action Repack. CamoCover and Ammo Box are deleted. VERSION 2 LOCAL server 1 player. On activation of Deploy. CamoCover Created, AmmoBox Created, Flag Moved. On activation of Repack CamoCover and AmmoBox Deleted but flag dont move back to STARTPOS. ------ Waiting for online buddies to test online with JIP Players.
  5. I am also working on a deployable FOB that Will work with a mobile respawn system. Its différent from from what you are doing but you'll see the kind of issue we are having. http://forums.bistudio.com/showthread.php?174854-Mobile-HQ-that-deploys-from-a-Container-Addaction-issue-Need-help
  6. Sorry for The error in your name. I'll try this in a couple of days. I am away again. So basically this issue is that we don't broadcast the flag position globally?
  7. Hi flight, Just came back. I tested it in SP and it works. I'll test it with some friends soon to see if it works in MP. I'll keep you posted. Thx a lot. ---------- Post added at 15:21 ---------- Previous post was at 14:00 ---------- Ok. Tested it in multiplayer. Spawning the camo works. But often its not attaching to the same position on all clients. It often collapse on the ground when it appear. Spawning and attaching the Supply box works most of the time. Flight, Before you sent the reWritten version i added a flag with a global name that is setup as a MobileSPawn point in INS_Revive. So when deploying i need to move that flag to the Container for all client. I added to your new script the move command for the flag, but it doesnt work with all client. Only the client that is deploying de HQ sees the flag move. After a couple of sec it goes back to its initial position. The other clients dont see the flag move at all, still at initial pos. Moving the flag works in SP. i think it might be a position sycnh issue with JIP. here is the code. //Mobile Container HQ // 0 = [this] execVM "scriptName.sqf"; <--- Put in containers INIT // Change the name of the spawnflag that you placed in the editor and that is setup has a spawn in INS_REVIVE sillyflip_fnc_deployHQ = { private ["_HQ","_caller","_id","_remove","_add","_camocover","_supply"]; _HQ = _this select 0; _caller = _this select 1; _id = _this select 2; _remove = [[_HQ,3,_id],"sillyflip_fnc_addActionHQ",true,true] call BIS_fnc_MP; _add = [[_HQ,1],"sillyflip_fnc_addActionHQ",true,true] call BIS_fnc_MP; _camocover = "CamoNet_BLUFOR_big_F" createVehicle ([ (getPos _HQ select 0)+0.05, (getPos _HQ select 1), (getPos _HQ select 2)+200] ); _camocover attachTo [_HQ, [0,0,0]]; detach _camocover; _supply = "B_supplyCrate_F" createVehicle ([ (getPos _HQ select 0), (getPos _HQ select 1),(getPos _HQ select 2)+200] ); _supply attachTo [_HQ, [-0.5,-4,0]]; detach _supply; _supply addAction["<t color='#ff1111'>Virtual Ammobox</t>", "INS_revive\VAS\open.sqf"]; //Move the spawn flag // mobileHQ1_initPos = getPos mobileHQ1;//Initial editor position of the flag named mobileHQ1 mobileHQ1 attachto [_HQ, [0,-15,2]]; // Move the flag to the container detach mobileHQ1; true; }; sillyflip_fnc_packHQ = { private ["_HQ","_caller","_id","_camocover","_supply","_remove","_add"]; _HQ = _this select 0; _caller = _this select 1; _id = _this select 2; _camocover = getPos _HQ nearestObject "CamoNet_BLUFOR_big_F"; _supply = getPos _HQ nearestObject "B_supplyCrate_F"; _remove = [[_HQ,3,_id],"sillyflip_fnc_addActionHQ",true,true] call BIS_fnc_MP; _add = [[_HQ,2],"sillyflip_fnc_addActionHQ",true,true] call BIS_fnc_MP; deleteVehicle _camocover; deleteVehicle _supply; // Move the flag back to its initial position. mobileHQ1 setPos mobileHQ1_initPos; true; }; sillyflip_fnc_addActionHQ = { private ["_civ","_case","_ID","_this"]; _HQ = _this select 0; _case = _this select 1; _ID = if (count _this > 2) then {_this select 2} else {nil}; switch (_case) do { case 1: {_HQ addaction ["<t color='#ff1111'>RePackage HQ</t>",sillyflip_fnc_packHQ];}; case 2: {_HQ addaction ["<t color='#ff1111'>Deploy HQ</t>",sillyflip_fnc_deployHQ];}; case 3: {_HQ removeAction _ID;}; }; _case; }; (_this select 0) addAction ["<t color='#ff1111'>Deploy HQ</t>",sillyflip_fnc_deployHQ]; Every container will have a dedicated spawn flag. I know i will have to edit the script for each of them. Here is a link to the PBO. MOBILE HQ TEST This is what i think is missing. BroadCast of Public Variable.
  8. O.Languedoc

    Arma3 - AGGRESSORS

    They havent Been converted yet i think. Havent seen them in then downloads for arma 3. Are they enterable?
  9. Thx for the help Flight. My script changed a lot on the past 24h. I wont be able To post it here until tuesday. I suggest you wait a bit before spending Time on this. You'll have the final working version in SP that needs to be concerted To MP.
  10. Its not working well in MP. Its a addaction Broadcast issue i think... I wrote a full post on this new issue. Received a message saying that it needed approval from moderator. i think the moderator blocked it??? Wrote it Before posting the pictures. Weird. ---------- Post added at 22:11 ---------- Previous post was at 20:42 ---------- I'll rewrite it when in a couple of days when i come back home
  11. Picture of HQ Packagedhttp://cloud-2.steampowered.com/ugc/595905876353810381/02F8B32A6355D329041D8A1422F7DB1C6789EB9F/ Picture of HQ Deployed http://cloud-3.steampowered.com/ugc/595905876353806297/B04521034091424EF779945A0F8F7DA0B5E6F1CD/
  12. not working. removeallactionsns HQ1 dont work. Deploy action is still there. ---------- Post added at 03:58 ---------- Previous post was at 03:34 ---------- Ok. I manage to get it to work in SinglePLayer. I dont know if it will work in Multiplayer (nobody to test it tonight). Container Name : HQ1 Container Init: HQ1Deploy = HQ1 addAction["<t color='#ff1111'>Deploy HQ</t>", "HQ1.sqf"]; HQ1.SQF _HQ = _this select 0; _caller = _this select 1; _id = _this select 2; _HQ removeAction _id; _HQ addaction ["RePackage HQ","reHQ1.sqf"]; //Creation of camo cover _camocover = "CamoNet_BLUFOR_big_F" createVehicle ([ (getPos HQ1 select 0)+0.05, (getPos HQ1 select 1), (getPos HQ1 select 2)+200] ); _camocover attachTo [HQ1, [0,0,0]]; detach _camocover; //Creation of supplycrate _supply = "B_supplyCrate_F" createVehicle ([ (getPos HQ1 select 0), (getPos HQ1 select 1),(getPos HQ1 select 2)+200] ); _supply = attachTo [HQ1, [-0.5,-0.2,0]]; detach _supply; reHQ1.SQF _HQ = _this select 0; _caller = _this select 1; _id = _this select 2; _camocover = getPos HQ1 nearestObject "CamoNet_BLUFOR_big_F"; _supply = getPos HQ1 nearestObject "B_supplyCrate_F"; _HQ removeAction _id; _HQ addaction ["Deploy HQ","HQ1.sqf"]; // Delete cover & Delete supplycrate deletevehicle _camocover; deletevehicle _supply; So this is working. I Deployed and rePack many times. I'll test it in multiplayer when i have a chance. Next i want to spawn a flag that will have a specific name/Id/variable so i can link it to a Mobile Spawn Script. Should i use a global variable when i create the objects? ( ex. camocover = X ) instead of ( ex. _camocover = X)
  13. How do you suggest I defined them. they were created the first script? Also i think my error comes earlier then this, since the -removeAllActions- doesnt remove the action on my container named HQ1.
  14. O.Languedoc

    Arma3 - AGGRESSORS

    Hey guys, Nice work on CAF and CAF_AG. We are using them in all our custom mission at [R22R]! Fantastic work!!! I would like to make a scenario using your african somali pirates faction... but there is no large size walkable freighter that we could use has a CQB location in the game and addon. I was wondering if this is something that you might had planned? I know that the ship wouldnt be moving at all but at least we would get a location. Something with a lot of containers, Engine room, Kitchen, Dormroom, Main Deck. etc. Captain Philips type of ship & scenario. Anyway! Keep up the good work! [R22R]Sdt.Sillyflip
  15. Hi guys, I am trying to add the Chinook to my BTC-Logistics script. I tried with the class name : ch_147f Doesnt work for me. i am running CAF 1.7.1 Anyone managed to make it work? The scripting seems very straight foward in BTC-Logistics... If anybody can help me out that would be nice! Cheers //Lift BTC_lift_pilot = ["B_Helipilot_F"]; BTC_lift = 1; BTC_lifted = 0; BTC_lift_min_h = 7; BTC_lift_max_h = 12; BTC_lift_radius = 3; BTC_def_hud = 1; BTC_def_pip = 1; BTC_l_def_veh_pip = ["B_Heli_Light_01_F","O_Heli_Light_02_F","B_Heli_Transport_01_F","I_Heli_Transport_02_F","ch_147F"]; BTC_l_pip_cond = false; BTC_cargo_lifted = objNull; BTC_Hud_Cond = false; BTC_HUD_x = (SafeZoneW+2*SafeZoneX) - 0.155;//+ 0.045; BTC_HUD_y = (SafeZoneH+2*SafeZoneY) + 0.045; _lift = [] execVM "=BTC=_logistic\=BTC=_lift\=BTC=_lift_init.sqf"; BTC_get_liftable_array = { _chopper = _this select 0; _array = []; switch (typeOf _chopper) do { //MH9 case "B_Heli_Light_01_F" : {_array = ["Motorcycle","ReammoBox","ReammoBox_F","Quadbike_01_base_F","Strategic"];}; //PO-30 case "O_Heli_Light_02_F" : {_array = ["Motorcycle","ReammoBox","ReammoBox_F","Strategic","StaticWeapon","Car"];}; //UH80 case "B_Heli_Transport_01_F" : {_array = ["Motorcycle","ReammoBox","ReammoBox_F","Strategic","StaticWeapon","Car","Truck","Wheeled_APC","Air","Ship"];}; //CH49 case "I_Heli_Transport_02_F" : {_array = ["Motorcycle","ReammoBox","ReammoBox_F","Strategic","StaticWeapon","Car","Truck","Wheeled_APC","Tracked_APC","APC_Tracked_01_base_F","APC_Tracked_02_base_F","Air","Ship"];}; //CHINOOK case "ch_147F" : {_array = ["Motorcycle","ReammoBox","ReammoBox_F","Strategic","StaticWeapon","Car","Truck","Wheeled_APC","Tracked_APC","APC_Tracked_01_base_F","APC_Tracked_02_base_F","Air","Ship"];}; }; _array }; };
×