Search the Community
Showing results for tags 'Multiplayer'.
Found 491 results
-
connection Consistent Disconnect: hard desync unable to re-establish connection
prodegy4 posted a topic in ARMA 3 - TROUBLESHOOTING
This is an issue for issue reiteration of <https://feedback.bistudio.com/T63493> this user's issue, but this is dated 2013-2014. I am wondering if there have been any updates to fixing this issue. Issue: Completely stable connection to any dedicated multiplayer session is hard severed after 20~40 minutes. The pop up "User ME is losing connection." pops on my screen followed by the red chain links & "No Message received for X seconds" timer. The timer reaches 90 & the server kicks me. Teamspeak, In game Steam browser, & outside of game internet browsing remains stable through the entire process. No other multiplayer game is experiencing this issue. I did not keep track of it well, but I believe the issue began around the last base game update. This coincides with the forum post linked above. There seems to be no solution besides "wait for the next game update to hopefully un-screw it." What I have tried: Disable firewall. Disable DDoS protections. Verify game files. Verifying mods. Different game servers. UPnP IPv6 <3 -
scripting UpdateValues Function Not Running? UI Issue.
Reaxgrim posted a topic in Arma Reforger - Configs & Scripting
The UI updates fine at the start with default values all set apart from when i "Add" to the float it does not add it to the ui when on a Peer Client. The Issue Been trying to get my ui to update its values on a peer client but getting nowhere. Script runs perfectly fine on workbench client. but foodbar widget wont update itself on a peer client even tho the float is changed properly. class SCR_playerHungerNotifications: SCR_InfoDisplay Script is component of the Character. When i put a Print in the UpdateValues Function. it does not even print it when on a peer client. but it does print it on workbench client. Then when i want to add to the hunger value i call AddHunger(float value) in class SCR_HungerSystemComponentClass : ScriptComponentClass that is on the character It seems to update the value from seeing it change in console. but then the class SCR_playerHungerNotifications: SCR_InfoDisplay never updates it on the peer client. (works fine on workbench client) Any ideas or help would be great. Cheers Reax. -
Dynamic ISIS War System ATTENTION: - 01/22/2019: Mission is under development again! I will upload it to Steam, when I get something ready! Heavily modified version of the famous DUWS-M, originally developed by Kibot (DUWS), modified by Bigshot and rlex (DUWS-M) and enhanced by myself (DISWS). In this version player(s) have to fight the Islamic State as well as the Al-Nusra Front. On each restart you'll get a dynamic, procedurally generated campaign, playable on any map you like (not tested on all maps! Please report back!). It's all about asymetric warfare against an enemy who is sometimes difficult to find. Even when you cannot find any differences between the enemy and the civillian population! Face suicide bombers, ISIS supporters and a lot of new features which are making the famous and great DUWS even more enjoyable! NOTE: If you like this mission, please leave me a rating. Thx! ******** A.T.T.E.N.T.I.O.N ******** !!! This mission does NOT run on dedicated servers !!! I'm very sorry for this, but there are so many scripts and for now it's just too much work to change them all. I once started creating this mission for SP for myself. - Update 1.80 - See Changelog below --------------------------------------------------------- *** Check the LATEST required mods *** --------------------------------------------------------- FEATURES It's basically DUWS - but with a LOT of new stuff! I turned it into a Insurgency-style dynamic whole-map mission with a lot of atmosphere. All new elements are working seamless together with the DUWS mechanics. Commandpoints can be earned by shooting Al-Nusra fighters, disarming IEDs, get intel by locals, finish missions based on intel, and more. You can choose several winning conditions for your playthrough in the mission parameters (lobby). Additionally to taking over ISIS held zones you have to help the locals defending their villages against the Al-Nusra Front. If you help them, they will forgot about civilian casualties and there will be less suicuiders and other supporters. Also Al-Nusra and ISIS are hostile to each other. I.e. if you get intel from the locals about an ISIS weapons cache, that one might be placed on a location where Al-Nusra fighters are hiding - or attacking. They will fight each other and you can use this situation to your tactical advantage, just to name one example. The whole situation provides a nice "dynamic chaos" with unforseen situations happening. AL-Nusra also likes to ambush their enemies - for example they hide in buildings and shoot from windows. So you might need to kick in doors and search houses to get them out of the towns. There are so many possible things happening around a playthrough that I really cannot write it all down. For DETAILS about using new features please check the DISWS-Manual (map ingame diary)!! Reputation System: Civilians will whether like or hate you, or just being neutral. Depends on the amount of casualties and if you help them defending their towns against Al-Nusra. The occupied/attacked villages will change on each new playthrough. You will never know where they are, so you have to check the villages. A red marker will appear when you find a occupied/attacked village - and turns green when you defended it succesfully Al-Nusra is able to re-take villages in some rare cases. If you fail to defend a place against one of their attack waves, they will occupy it and you have to plan an attack to re-take it. The more civilians get killed, the more people will join the enemy = More suiciders and ISIS Supporters will operate against you! Civilians are "divided" into religious groups who hate each other (Sunni and Shia muslims) You can gain your reputation by defending towns against the Al-Nusra Front. Conversations: You can ask civilians about their opinion and thoughts. Talk to them to monitor your progress about occupied and defended villages, as well as civilian casualties. Search civilians and dead bodies for intel and items - but take care. A suicider doesn't like to get interrogated! More sidemission from found intel! (Weapons caches, HVTs) Perform your own playstyle (missions from HQ, from Intel, or just clear villages or fight against ISIS) Command your team or command the whole army! It's up to you. Like in DUWS there's an AI commander, but you can of course add HC squads however you want Full RHS U.S. troops and equipment for WEST. ISIS and Al-Nusra Front troops and equipment for enemies (and some stolen vehicles from the Syrian Army) IEDs Arsenal Buy, recruit units, vehicles, weapons, support, AI squads, platoons, tanks, planes, helicopters, etc. Fire for Effect (Immersive Artillery System. See ingame description) Supply Drop includes Arsenal Logistics (transport any object with vehicles like trucks, helis, etc..) Respawn at homebase or any established FOB There's a chance for a dead man's switch triggering when shooting a suicider. So keep distance. Immersive Mine Detector for IEDs (it detects also materials used to construct IEDs which can lead to false alarm) Ambient soundscape (Prayer call, music, radio at houses and other places, ambient chatter - ONLY with TPW MODS) Support for Weapon Mods (Can be equiped via Arsenal) All progress is persistent and will be saved with your savegame All scripts and features written with performance in mind! But if you still get low FPS, try these: Ingame distance view setting (CH View. See ingame Manual) AI limiter (can be enabled via mission poarameters) ZBE Caching (can be enabled via mission parameters, if you're encountering low performance after trying other settings) All DUWS-M features are included and working - I won't name them here, they're too many Commandpoints will also be rewarded for disarming IEDs, shooting Al-Nusra Fighters and finishing tasks provided by intel Select the win conditions in mission parameters (lobby) DISWS-Manual can be found ingame (map). Check it for full features description and How-To Currently work in progress - So far everything is fixed now! I'll be working on future plans soon. SINGLEPLAYER: Use the server-browser and start a local host (LAN session). Save your progress using the custom save function (radio: 0-8-1 - Sitrep). - Default map is Takistan! But you can play it on any map you like. It might case trouble on real small maps. On some maps the random placement of zones/hq may not work properly - or placing zones out of the maps range. First try to decrease the distance from HQ, the zone radius or place them manually. To play on another map, just rename the PBO, i.e. to DISWS_1_66.Altis.pbo (Keep in mind that Windows maybe does not show file endings! Just make sure the file ends with ".pbo") DOWNLOAD PBO: https://drive.google.com/file/d/0B81rpxl19DuQQVRneW9iZHpjWGs/view?usp=sharing STEAM WORKSHOP: http://steamcommunity.com/sharedfiles/filedetails/?id=1159 CHANGELOG: http://steamcommunity.com/sharedfiles/filedetails/?id=1159462402 KNOWN BUGS: - If you loose the Request Menu and other action menu items after respawn or when resuming a save, just respawn again or use the Save/Rest action at HQ or FOBs. REQUIRED MODS - CBA_A3: http://www.armaholic.com/page.php?id=18767 - RHS_AFRF3: http://www.armaholic.com/page.php?id=27150 - RHS_USF3: http://www.armaholic.com/page.php?id=27149 - RHS GREF: http://www.armaholic.com/page.php?id=30998 - RHS SAF: http://www.armaholic.com/page.php?id=32203 - CUP Weapons: http://cup-arma3.org/download - CUP Units: http://cup-arma3.org/download - CUP Vehicles: http://cup-arma3.org/download - CUP Terrains CORE: http://cup-arma3.org/download - CUP Terrains MAPS: http://cup-arma3.org/download - Takistan Civillians for CUP: http://www.armaholic.com/page.php?id=32020 - Iraqi-Syrian Conflict: http://www.armaholic.com/page.php?id=28406 - Revos's Mine Detector: http://www.armaholic.com/page.php?id=29929 STEAM-USER click here: http://steamcommunity.com/sharedfiles/filedetails/?id=908457911 *Thx, bcmaster Not needed, but HIGHLY RECOMMENDED - TPW Mods: https://forums.bistudio.com/topic/154944-tpw-mods-v20170208-enhanced-realism-and-immersion-for-arma-3-sp/ - RYD Liability Insurance: http://www.armaholic.com/page.php?id=27485 A word on TPW Mods: Sometimes (dunno why) the mission fails to disable unnecessary features from TPW. Better disable those in TPW's userconfig file. Specially Civilians, Croud, Cars, Helis, Fall, Puddles, Fog and Animals. SUGGESTED MODS - JSRS-Soundmod: http://www.armaholic.com/page.php?id=32317 - Unit_SFX: http://www.armaholic.com/page.php?id=28888 - Virtual Projectile Sounds Reality: http://www.armaholic.com/page.php?id=31799 I don't recommend ACE because the mission includes a lot of custom scripts. But when using ACE, you'll also need: - ACE3 RHS Compatibility files: http://www.armaholic.com/page.php?id=31281 When using ACE, the 'Special Forces Training' Feature (no fatigue) might be overwritten by ACE Advanced Fatigue! Download this mod in this case: - Remove Stamina ACE (main mod required): http://www.armaholic.com/page.php?id=31792 Weapon Mods are supported. You're able to use them via Arsenal. CREDITS - BIS: Arma 3 - Kibot, BigShot, rlex: DUWS-Unofficial - BangaBob, ReVo: Their great scripts! - GigaS: Some partial scripts and support! - [ToS]HadeS, [ToS]AUT_Cyclon, [ToS]Zauberbesen: Help and testing! - R3vo: Mine Detector - TPW: TPW Scripts and helping me! Thank you! - AuTigerGrad: Ambient Sound Pack - Rydigier- Fire for Effect - Community for all the great stuff!
-
COMBAT OPERATIONS 2022 Version: FOXTROT Combat Operations is a process undertaken by armed forces during military campaigns, major operations, battles, and engagements to facilitate the setting of objectives. NATO vs. CSTO. The Collective Security Treaty Organization (CSTO) has attacked, and invaded the island nation of Altis. Feeling threatened by NATO expansion in eastern Europe, the CSTO has positioned itself on NATO's southern flank. NATO has dispatched a small expeditionary task force on the USS Freedom to begin operations against CSTO, and follow on forces for a bigger campaign. Combat Operations 2022 is a COOP MP game with random rotating missions.Currently installed and running @ 23.235.255.218:2302 Mission List (as of 3/2022). Mission creation is continuous improvement program. Standby for addition content to come. 1. Ambush convoy a. APC's b. Tank's c. Artillery d. Truck's 2. Deliberate Attack a. city b. military base c. village 3. Area Defense a. city b. military base c. village 4. Dismounted patrol a. Conduct a dismounted patrol of an area. 5. Conduct Raid a. SAM Site b. Supply Depot 6. Security a. Provide logistics convoy security. Clear road blocks, or any ied's. Prevent attacks against the convoy, and don't allow all the vehicles to get destroyed. 7. Hostage Rescue a. Rescue hostages from 4 different locations, and return them to the release point. Features of Combat Operations 2022 - Dynamic Group Management - Supply Drop - Custom made missions based on US Army Doctrine - Phonk's Furniture system - Virtual Vehicle Depot by Roy86 from Patrol Operations 4 - T8 Units by t800a - Dynamic Enemy Population by Fluit - Composition Spawning by Larrow - Earplugs - Name tags - USS Freedom Base with boat launch - Numerous snippets of code by many great folks on the Arma Community Forums, and Wiki. Credits annotated in code. SUBSCRIBE: COMBAT OPERATIONS 2022 on Steam
-
How to disable keyframe-animation marker in MP?
daniel.staccato posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey guys! I set up a very nice keyframe animation as a camera-intro for a new mission. when i started the mission in multiplayer it shows all the rich curve key positions as markers while plaing the intro. ho do i get rid of those? when i started the mission in singlyplayer they downt show up. the markers appear as white small symbols. greetings to everyone- 2 replies
-
- keyframe
- animations
-
(and 4 more)
Tagged with:
-
Good Afternoon All, I've run into an issue where a script that I've created where the script itself doesn't execute even though it's scripted to in the "initServer.sqf". The script itself works fine and I've tested it extensively in Singleplayer and in my own LAN server, but when I load it up onto my dedicated server it doesn't run unless I specifically call it after the start of the mission. This script should be executed on the server only and works by calculating the change in damage to the main rotor, evaluates if that change is lower than a specific threshold (here 0.02 to be exact), and if it is lower it will then subtract that damage. This effectively cancels out the "background damage" that's caused by over-torquing the main rotor on the H-60 while still allowing outside damage, like small arms fire, to be applied. So far, I have tried placing the whole script in the "initServer.sqf" file, creating a separate .SQF file for the script and execVM-ing it through both an "init" box and "initServer.sqf", creating a function in the "initServer.sqf" and calling it, and a myriad of other things including delaying the script's execution until after mission start and so forth. None of my attempts have worked. I would appreciate any and all input on this matter. Thanks guys. Here is the script itself: params ["_helicopter", "_Debug_Messages"]; //////////////////////////////////ADDING OVERTORQUE REMOVER if (_Debug_Messages == true) then { hint parseText format ["<t font = 'PuristaBold'>MythScript</t> is now active.<br></br><br></br>Attached to: %1", typeOf _helicopter]; }; sleep 5; _lastDamage = 0.02; _change = 0; while {alive _helicopter} do { if (_Debug_Messages == true) then { hintSilent parseText format ["Change: %3<br></br><br></br>Current Rotor Damage (raw): %1<br></br><br></br>Current Rotor Damage (corrected): %2", _lastDamage, (round (_lastDamage * 100)), _change]; }; _change = (_helicopter getHitPointDamage "hithrotor") - _lastDamage; if (_change < 0.02 && _change > 0) then { _helicopter setHitPointDamage ["hithrotor", ((_helicopter getHitPointDamage "hithrotor") - _change)]; }; _lastDamage = (_helicopter getHitPointDamage "hithrotor"); if (_lastDamage == 0.04) then { _helicopter setHitPointDamage ["hithrotor",0]; }; sleep 0.5; }; //////////////////////////////////
-
Hello everyone! Can you please tell me if there is a script for calling artillery by clicking on the map for multiplayer? I need that the map interface in the window be called up and that you can click on the target and that the action of calling an artillery strike can be tied to an object (for example, to a radio station lying on the table) and, if possible, a limited number of times. Thanks everyone and sorry for my english.
-
How to get BIS_fnc_ambientAnim to work in multiplayer?
Mxela posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, i am struggling with animations in multiplayer, I am aware of methods using switchMove alternatively but as far as I know they do not have the animations i want. I am trying to make a unit sit in a chair, the issue i have is in SP everything works, in MP everything works but when I play MP with another person connected to the server the unit will spawn in the ground, or spawn in a completely different location, I tried to delay the animation, making it so the animation is called in the init.sqf at a later point, which worked initially but after testing again today was no longer working, and the units were back in the ground. I tried many different methods of calling the animation such as: if (isServer) then { [[UNIT_NAME, "SIT1", "ASIS"], BIS_fnc_ambientAnim] remoteExec ["call"]; }; if (local this) then {[UNIT_NAME, "SIT1", "ASIS"] call BIS_fnc_ambientAnim}; [UNIT_NAME,"SIT2"] call BIS_fnc_ambientAnim; The most annoying thing is debugging, it's super inconsistent, sometimes it just magically works sometimes it doesn't, and i can't test unless i have another person join the server, as it all works normally if i play the mission in MP alone. I would really appreciate any help, I'm quite lost and don't know what to try, I just want a consistent way to get animations to work, not change the units position and preferably keeping it vanilla not using any mods.-
- scripting
- multiplayer
-
(and 3 more)
Tagged with:
-
[MP] HazardZone (Compete with other players in an area with great biological threat)
sekurlsa posted a topic in ARMA 3 - USER MISSIONS
Intro: HazardZone is a 16vs16 game mode where opposing forces have to face each other during a biological threat from space. There are several crashed objects on Livonia from which samples need to be secured, and the side with most secured samples wins the day. The samples are located in the so-called Hazard Zones, and anyone without CBRN gear will not survive there. Each side has a team of 4 CBRN specialists (only 1 team per side) which will need to secure the samples, to support the limited number of CBRN units, 3 other teams of standard combat units are deployed. These support units need to fend off enemy forces and provide secure passage to the crash site for the CBRN units, but CBRN units need to deal with any enemy forces inside the Hazard Zones on their own. To further aid the mission, artillery & transport troops are deployed, but a radio tower needs to be secured to amplify the signal for communication of ground troops with HQ, since the strong EMF of the crashed objects is interfering with the communication and makes it impossible. Features: CBRN Gas Mask overlay & sounds Custom Game Mode Custom scoring logic Virtual Arsenal crate Player & Vehicle Respawns Hazard Zones in which only players with proper gear are safe. 5 km. of playable area Changes in V2 of HazardZone: Objectives are no longer completed by simply interacting with the objective: Players will receive a container (attached to the torso of the player) when a sample is collected. As a final step to complete the objective, players have to extract the sample/s by securing them inside a special storage box located inside base's decontamination tent. Upon completion of these steps the side of the player will be awarded with points Players will be able to pick up the sample containers from their buddies or dead soldiers A player may carry multiple sample containers To make the gamemode more interesting, tasks will now be updated with the location of the player which is holding the sample until it is extracted. This will allow opposite force to recapture the objective from the enemy. Task descriptions are updated according to the player and side who have captured a sample. i.e. "Attack" or "Defend" depending on which side you are and which side captured the sample. Task icons are updated when sample is collected according to the player and side who captured a sample, i.e. "Attack" or "Defend" depending on which side you are and which side captured the sample. Message are now displayed to screen updating players who captured the sample. Tons of small changes to accommodate the new gamemode logic Notes: Raw mission included so you can edit/modify according to your needs (If you give me credit it will be appreciated) No additional content is required (mods or otherwise) except ARMA 3 - Contact Platform Credits: Credits to bohemia forums and ARMA community for all the awesome script examples and tutorials. Credits to Chuc for the script used for the radiation/hazard areas: Credits to RCA3, the gamemode at its current form wouldn't be possible without their help! Download: steam: https://steamcommunity.com/sharedfiles/filedetails/?id=2781568799 gdrive: https://drive.google.com/file/d/10YpgBVIl64OJL2mIy7T1kAsPnn_d_yi2/view?usp=sharing ^ Password for the archive is "original" -
What is this. Example MP mission that has 4 working configurable clickable buttons in the briefing. Purely VANILLA, no addons These buttons can be configured to Open an external web page in your default browser Start and connect a client to your Teamspeak server ( If they have Teamspeak installed ) Download a file And most likely also allow you to link to your discord channel (not tested) No issues found while running with an anti virus and doesn't interrupt Arma (Tested in full screen mode with multiple monitors) DOWNLOAD LATEST VERSION Download Example mission and source code Following download has a working packed (pbo) mission file and the source files Txu_InfoLinks.zip (see changelog) The example mission will (If you click the links) (Please don't spam them) Allow you to Join my teamspeak server Open up the teamspeak client download page Open up our website front page Download our clientside addon pack INSERTING INTO MISSION 1) Copy the TXU_Info folder into the root of your unpacked mission folder 2) Add the following lines to your Description.EXT #include "Txu_Info\CfgControls.hpp" class cfgFunctions { #include "Txu_Info\cfgfunctions.hpp" }; If your CfgFunctions class already exists then just copy the "#include" line as seen above 3) Open the TXU_info\CfgControls.hpp Edit the txt= and url= entries for the 4 button classes in there and your done. Also if your mission doesn't have a briefing like for example OPEX, you can comment out the TXU_INFO_FrameEHId = addMissionEventHandler ["EachFrame",{[] call TXU_INFO_fbriefingEH}]; e.g. //TXU_INFO_FrameEHId = addMissionEventHandler ["EachFrame",{[] call TXU_INFO_fbriefingEH}]; so that it doesnt attempt to display in the initial briefing screen ADVANCED EDITING You can ad parameters to your Teamspeak URL For example, automatically add a bookmark to the players Teamspeak Client as well as passwords, default channels etc Complete format: ts3server://ts9.teamspeak.cc?port=9987 &nickname=UserNickname &password=serverPassword &channel=MyDefaultChannel &channelpassword=defaultChannelPassword &token=TokenKey &addbookmark=SomeBookmarkText Parameters are optional. In most cases, specifying the host and port should be sufficient. Nicknames usually should not be specified, leave this to be configured by the users in the client. So a common URL would look like this: ts3server://ts9.teamspeak.cc?port=9987 Or simplified if only the port is given: ts3server://ts9.teamspeak.cc:9987 CREDITS The orginal concept and a working example was by Larrow His original post https://forums.bohemia.net/forums/topic/169501-link-to-website-in-briefing/?do=findComment&comment=3277456 He is the one that deserves the credit for this. His original version only had 1 button and wasn't available in the initial briefing screen. My version has 4 buttons (I cant see you needing more than 3 really) LIMITATIONS The system uses classes to create buttons that are defined in the Description.ext environment. This is the only way I can see to pass an external URL link. For that reason it cannot be injected into the client using a serverside addon. So the only way to get this to work is as part of the mission file. That's a lot of editing for server admins and their mission devs FUTURE DEVELOPMENT If someone better at coding than me wants to rip this and optimise it more, feel free, I'll happily update the example mission and re update it. ENJOY ! CHANGELOG V.01 (Date: 18/5/2020) File: TXU_info\f\fmapEH.sqf Line 20 Changed from if(TXU_INFO_ButtonAdded)exitwith{}; to if(TXU_INFO_ButtonAdded1)exitwith{}; __________________________________________ V.02 (Date: 24/5/2020) Removed the requirement to #include "Txu_Info\CfgBaseDefines.hpp" This file has been completely removed. The default Gui class bases are no longer inherited from, this makes it much easier to import this into existing missions that define their own GUI Base classes and should not conflict with any existing Gui definitions __________________________________________ (Date: 22/3/2022) Updated link was http now https
- 6 replies
-
- 8
-
-
-
- multiplayer
- server
- (and 4 more)
-
[MP Compatbile] Gas Mask/Helmet Overlay.
sekurlsa posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Greetings Community, I needed a gas mask overlay script for a MP mission I'm making. Unfortunately, I couldn't find anything that works across respawns... so I modified the overlay part of the script made by ALIAS - "Radiation - DEMO", after heavy modification the overlay is now MP compatible. There are currently some issues, which I hope I can resolve in near future: * Gas mask overlay will remain after respawn until the player equips and then unequips the "Gas mask" * For some reason the script doesn't work with the "Contact DLC" gas masks. It actually works. It appears the unit (cbrn_specialist) spawns with "G_AirPurifyingRespirator_01_nofilter_F" and later respawns with "G_AirPurifyingRespirator_01_F", keep that in mind. Feel free to contribute, I'm stuck as it is. I'll provide further updates in the github repository Enjoy! Modified multiplayer compatible overlay script. https://github.com/SubXi/arma3-2d-mask-overlay Original script: https://steamcommunity.com/sharedfiles/filedetails/?id=909790601 -
Help - How do I give addAction to every player who enters a multiplayer game?
Nikolai-F posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have created a simple menu. I want every player to be able to bring it up and use it with a scroll wheel when they enter the server. I put addAction into initPlayerLocal.sqf and added a hint as a run marker. But when I enter the server I get the message but no option to add. I ran my addAction code in the debug console and it proved that it works. How do I get the option to be added automatically for each player entering the server? -
Context: on Dedicated Server / not tested in hosted server Hello again, This is my first script with function structure and I'm facing a hard time learning the syntaxes and the logic needed to make this work properly when with more than one player in-game. My mistakes are potentially in fn_VO_globalFunctions.sqf file and how I am calling that in fn_VO_coreGround.sqf file. Btw, this mission is not using any init file. Bad behaviors: Only repairing is working for everyone. Refueling and rearming are not working at all. Nobody can't see the systemChat feedback messages. description.ext class cfgFunctions { // VEHICLE OVERHAULING: REPAIR, REARM, REFUEL #include "vehiclesOverhauling\THY_functions.hpp" }; THY_functions.hpp class THY_functions { tag = "THY"; class vehiclesOverhauling { file = "vehiclesOverhauling"; class VO_parameters { preInit = 1 }; class VO_globalFunctions { preInit = 1 }; class VO_coreGround { preInit = 1 }; //class VO_coreAir { preInit = 1 }; //class VO_coreNautic { preInit = 1 }; }; }; fn_VO_parameters.sqf // EDITOR'S OPTIONS: VO_debugMonitor = false; // true = turn on the editor hints / false = turn it off. VO_feedbackMsgs = true; // true = the station shows service messages in-game for the player (highly recommended) / false = turn it off. // GROUND SERVICES groundVehiclesOverhauling = true; // true = the station accepts ground vehicles / false = doesn't accept. VO_groundServRepair = true; // true = repairing for ground veh is available / false = not available / highly recommended turn it on if you want also to refueling. VO_groundServRefuel = true; // true = refueling for ground veh is available / false = not available. VO_groundServRearm = true; // true = rearming for ground veh is available / false = not available. VO_grdActRange = 10; // in meters, the area around the station that identifies the ground vehicle to be serviced. Default 10. VO_grdCooldown = 10; // in seconds, time among each available ground services. Default 10. VO_grdStationAssets = // which assets (classnames) will be automatically ground stations on mission. [ "Land_RepairDepot_01_green_F", "Land_RepairDepot_01_tan_F" ]; // AIR SERVICES airVehiclesOverhauling = true; // true = the station accepts air vehicles / false = doesn't accept. VO_airServRepair = true; // true = repairing for air veh is available / false = not available / highly recommended turn it on if you want also to refueling. VO_airServRefuel = true; // true = refueling for air veh is available / false = not available. VO_airServRearm = true; // true = rearming for air veh is available / false = not available. VO_airActRange = 20; // in meters, the area around the station that identifies the air vehicle to be serviced. Default 10. VO_airCooldown = 10; // in seconds, time among each available air services. Default 10. VO_airStationAssets = // which assets (classnames) will be automatically air stations on mission. [ "Land_HelipadRescue_F", "Land_HelipadSquare_F", "Land_HelipadCircle_F", "Land_HelipadCivil_F" ]; // NAUTIC SERVICES nauticVehiclesOverhauling = true; // true = the station accepts nautic vehicles / false = doesn't accept. VO_nauticServRepair = true; // true = repairing for nautic veh is available / false = not available / highly recommended turn it on if you want also to refueling. VO_nauticServRefuel = true; // true = refueling for nautic veh is available / false = not available. VO_nauticServRearm = true; // true = rearming for nautic veh is available / false = not available. VO_nauActRange = 25; // in meters, the area around the station that identifies the nautic vehicle to be serviced. Default 10. VO_nauCooldown = 10; // in seconds, time among each available nautic services. Default 10. VO_nauStationAssets = // which assets (classnames) will be automatically nautic stations on mission. [ "Land_TBox_F" ]; true fn_VO_globalFunctions.sqf THY_fnc_VO_humanPlayersAlive = { private ["_headlessClients"]; _headlessClients = entities "HeadlessClient_F"; VO_humanPlayersAlive = (allPlayers - _headlessClients) select {alive _x}; true }; THY_fnc_VO_debugMonitor = { //WIP true }; fn_VO_coreGround.sqf //if (!isServer) exitWith {}; private ["_arrayGroundStations","_groundVehicles","_serviceInProgress","_eachGroundStation",/*"_grdRepairNeeded","_grdRefuelNeeded","_grdRearmNeeded",*/"_eachHumamPlayer"]; [] spawn { // arrays that will be populated only with the objects classnames listed by VO_grdStationAssets. _arrayGroundStations = []; // initial services condition _serviceInProgress = false; // if ground services is allowed... finding out only the objects of classnames listed in VO_grdStationAssets through the allMissionsObjects. if ( groundVehiclesOverhauling == true ) then { { _arrayGroundStations = _arrayGroundStations + allMissionObjects _x } forEach VO_grdStationAssets }; // check whether or not run this while-looping / if some or all services are on, bota pra foder... while { groundVehiclesOverhauling == true } do { // check who's human here: call THY_fnc_VO_humanPlayersAlive; { // VO_humanPlayersAlive forEach starts... _eachHumamPlayer = _x; if ( VO_debugMonitor == true ) then { call THY_fnc_VO_debugMonitor }; // defining the ground veh of _eachHumamPlayer (_x) into XXm radius: _groundVehicles = _x nearEntities [["Car", "Motorcycle", "Tank", "WheeledAPC", "TrackedAPC"], 10]; { // forEach of _arrayGroundStations starts... _eachGroundStation = _x; { // forEach of _groundVehicles starts... if ( (_x distance _eachGroundStation) < VO_grdActRange ) then { sleep 3; // a breath before the any ground service. // GROUND REPAIR if (VO_groundServRepair == true) then { if ( (alive _x) AND (damage _x > 0.1) AND (isEngineOn _x == false) AND (speed _x < 2) AND (_serviceInProgress == false) ) then { _serviceInProgress = true; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Checking the damages..."; }; playSound3D ["a3\sounds_f\characters\cutscenes\dirt_acts_carfixingwheel.wss", _eachGroundStation]; sleep 3; playSound3D ["a3\sounds_f\sfx\ui\vehicles\vehicle_repair.wss", _x]; // if player inside the vehicle: if (!isNull objectParent _eachHumamPlayer) then { addCamShake [1, 5, 5]; // [power, duration, frequency]. }; _x setDammage 0; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Ground vehicle has been repaired!"; sleep 2; if ( ( (VO_groundServRefuel == true) OR (VO_groundServRearm == true) ) AND ( (fuel _x < 0.8) OR ( ({getNumber (configFile >> "CfgMagazines" >> _x select 0 >> "count") != _x select 1} count (magazinesAmmo _x)) > 0 ) ) ) then { systemChat "Preparing to the next service..."; }; }; sleep VO_grdCooldown; _serviceInProgress = false; // station is free for the next service! }; }; // GROUND REFUEL if (VO_groundServRefuel == true) then { if ( (alive _x) AND (fuel _x < 0.8) AND (isEngineOn _x == false) AND (speed _x < 2) AND (_serviceInProgress == false) ) then { _serviceInProgress = true; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Checking the fuel..."; }; playSound3D ["a3\sounds_f\characters\cutscenes\concrete_acts_walkingchecking.wss", _eachGroundStation]; sleep 3; playSound3D ["a3\sounds_f\sfx\ui\vehicles\vehicle_refuel.wss", _x]; if (!isNull objectParent _eachHumamPlayer) then { addCamShake [0.3, 5, 2]; }; _x setFuel 1; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Ground vehicle has been refueled!"; sleep 2; if ( ( (VO_groundServRepair == true) OR (VO_groundServRearm == true) ) AND ( (damage _x > 0.1) OR ( ({getNumber (configFile >> "CfgMagazines" >> _x select 0 >> "count") != _x select 1} count (magazinesAmmo _x)) > 0 ) ) ) then { systemChat "Preparing to the next service..."; }; }; sleep VO_grdCooldown; _serviceInProgress = false; }; }; // GROUND REARM if (VO_groundServRearm == true) then { if ( (alive _x) AND ( ({getNumber (configFile >> "CfgMagazines" >> _x select 0 >> "count") != _x select 1} count (magazinesAmmo _x)) > 0 ) AND (speed _x < 2) AND (_serviceInProgress == false) ) then { _serviceInProgress = true; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Checking the ammunition..."; }; playSound3D ["a3\sounds_f\characters\cutscenes\concrete_acts_walkingchecking.wss", _eachGroundStation]; sleep 3; playSound3D ["a3\sounds_f\sfx\ui\vehicles\vehicle_rearm.wss", _x]; if (!isNull objectParent _eachHumamPlayer) then { addCamShake [1, 5, 3]; }; _x setVehicleAmmo 1; sleep 3; if (VO_feedbackMsgs == true) then { systemChat "Ground vehicle has been rearmed!"; sleep 2; if ( ( (VO_groundServRepair == true) OR (VO_groundServRefuel == true) ) AND ( (damage _x > 0.1) OR (fuel _x < 0.8) ) ) then { if (isEngineOn _x == false) then { systemChat "Preparing to the next service..."; } else { systemChat "For the next service, turn off the engine!"; }; }; }; sleep VO_grdCooldown; _serviceInProgress = false; }; }; }; } forEach _groundVehicles; } forEach _arrayGroundStations; } forEach VO_humanPlayersAlive; sleep 5; }; }; // spawn ends. Editable mission download: https://github.com/aldolammel/arma-3-vehicles-overhauling
-
Multiplayer While Loop on Players
SeelieKnight posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to spawn a while loop on each player in a multiplayer mission to monitor what equipment they have but can't figure out how this works. Right now I'm just trying to hint the name of units' helmets. In initPlayerLocal.sqf: [[player], "player_scripts\01_integrated_armor.sqf"] remoteExec ["BIS_fnc_execVM", 0, true]; The code in 01_integrated_armor.sqf: _rc = _this select 0; [_rc] spawn { _rc = _this select 0; while {true} do { //%1 = name of unit //%2 = helmet unit is wearing //%3 = check if helmet matches unit's helmet variable hint format ["%1,\n%2,\n%3", _rc, headgear _rc, (headgear _rc == _rc getVariable "rc_helmet")]; sleep 1; }; }; The hint is coming through, and seems like it should be working, but the part that shows which helmet the unit is wearing won't change when I swap helmets. I checked the helmet with the debug console (i.e. "headgear player") and that shows the currently worn helmet properly, and the variable name of the player is displaying correctly in the hint, so I'm not sure why this is not working. What am I missing? -
Sup all. I've have another question, this time, related to map markers. I'm running missions that slipts into two events: one day for recon, and the other for the mission itself. On recon day, a small group of players inserts into the map and makes a survelliance run, gathering the intel for the second day, that is, "the mission" itself. I want to save all the players markers on recon event (wich I can do via scripting), and then export them to the "mission map". The thing is that on single player, I can grab the map markers array data and export it as a string using "copyToClipboard", but according to Bohemia wiki, it's a server side only function. On a dedicated server, I'm running into problems to get that data from a client. What I achieved so far: Server side script: grab all the players markers into an array, then "send" that data to a zeus enabled player (client). On client side, I've got the markers data. Missing: how can I do to "export" that data. Any ideas? Thanks in advance.
-
Hello, After a long break from playing Arma 3 multiplayer, I fired it up and discovered Warlords. It's great and fun, and the best part is being able to play as a team...but it is not without it's flaws...which I think will eventually frustrate me too much... This threads intension is not to gripe, but to hopefully get the attention of the developers to sort these out. So view, reply, like (if that's possible) to get this up the top. Ultimately $MONEY$ pays the bills (and developers) so suggestions on how to pay for the updates are welcome. I suggest a DLC purchase or monthly subscription fee... OK, here goes Technical: 1. On entry to server, have a simple instruction list on how the game works, and how to fast travel! 2. On entry to server or something where you are not in the game, allow users to setup their arsenal/character - In game people doing that looks like they are not playing 3. Boot players not doing anything... Are they playing? Or collecting Command Points? - either way, these players can ruin and frustrate a team 4. Allow 2 text update boxes. 1: to see game kill updates 2nd: to see chat - It's hard to text communicate because a chat is quickly removed with kill updates 5. With player stats, only show current players, or have 2 boxes - with 200 legacy players, it's hard too see yourself or current players... Gameplay: 1. Can there be room for recon? - purely a person on the binoculars tracking the infantry and vehicles, so they are a constant view on the map when in sight... The rest I leave to replies because I'm still learning. But my intended focus is on enhanced team play (that allows players who don't know anyone to join in and player together), and balance between the 2 opposing side. cheers
-
script Cfg Communication Menu MP Compatible Problem
amzingdxge posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
As you can see by the title, I'm trying to make a custom support CAS menu by utilizing the CfgCommunicationMenu. The script that activates after u call in support would make the player say something with apex subtitles and send in chopper support. Problem is, that it seems like the script only activates to whoever calls in the support. What I mean is that the player who called in chopper support would see the apex subtitles and the chopper incoming for CAS. But to the other players, they won't see the apex subtitles and only see the chopper incoming. Is there any way to make the script activates for all players by utilizing the CfgCommunicationMenu? I'm still considered a rookie when it comes to scripting, so expect me to be a little dumb. And this is one of my first posts on the forums. -
Hi, I'm working in a multiplayer mission were the server needs a custom module. I wrote the module in a small addon and everything works well. The module is used only by the server but clients cannot connect without the small addon with module info. I don't like that players need to get an addon just for this small bite of information (131 kb). Is there a way to make clients get module definition from the server when they download the mission? I hope I've been clear enought. Thank you
-
Hello, i have the problem that I lose connection to every server after 5-30 minutes. I then get the message "no message received for ... seconds" and after that "lost connection to host". I already tried to reinstall the game, restart my router, turn off firewall and antivirus and reinstall battleye manually. Now I'm out of ideas. Would be great if someone finds a solution or has a tipp. It makes the game unplayable for me.
-
- multiplayer
- troubleshooting
-
(and 4 more)
Tagged with:
-
Calling an OOG for players near an Object
Captinlarry posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Trying to call a sound file for players near an Object named Clone1 Clone1 say3D ["Incoming", 50, 1, false, 0]; from say3D [sound, maxDistance, pitch, isSpeech, offset] is the syntax used but I still cannot seem to get it to work. I know the pathing to the sound works because I can hear it with a simple trigger command. -
I tried several multiplayer scenarios with a friend recently and on several occasions one of us couldn't get out of vehicles after entering. We would be able to choose 'Get out' from the action menu but nothing happens. All other actions like switching seats won't work either. Strange thing is: it happens with mods or without, on user made and BIS missions (IIRC in 'Escape from Altis' i was able to exit some cars but not able to drive them, though). It usually won't happen with every vehicle in the mission. And it always only happens to one of us and it doesn't matter who is hosting. Everything else works fine. We verified our game installation in steam.
-
MP Execute script only for players within a certain distance.
Mr H. posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi! So here's my problem: I want a script to execute only for players within hearing distance of a NPC The script will be executed from another script, the latter being launched from an addaction. I want the script to execute only on the machines of players nearby but obviously can't use a trigger area to count them. How should I go about it?- 7 replies
-
- 1
-
-
- multiplayer
- script
-
(and 2 more)
Tagged with:
-
script vDog Patrol and VDog Feral Multiplayer Scripts [v1.9 - updated 05/18/2020]
LSValmont posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
vDog Patrol and vDog Feral Scripts by Valmont and Johnnyboy are long time requested scripts that allow mission makers to easily add MULTIPLAYER COMPATIBLE patrol and feral Dogs to their missions in Arma 3. vDog Scripts Main Features: - Easily add patrolling ai Dogs to allied, enemy or even playable Arma 3 units. - Easily add ai Feral Dogs who will roam a trigger area and viciously attack any unit who enters their territory. - Lightweight Scripts. (Your FPSs will thank you!). - Multiplayer Compatible! - Fully featured script also comes with sound effects. (Dog barks, growls, cries etc). - Since version 1.3 the scripts also support the ACE 3 damage model! - Even thou the scripts were made with Multiplayer and Performance in mind they work in SINGLE PLAYER just as well. - Since version 1.5 the Dogs will no longer target enemies though walls or objects! (This is a game changer!) - Since version 1.6 Patrol Dogs can be controlled by the player by assigning the dog to different TEAM COLORS! Dogs on TEAM RED will attack enemies at will. Dogs on TEAM GREEN will stay on their position. Dogs on any other TEAM COLOR will follow their owner without engaging enemies. - Since version 1.7: - The Dogs can now be targeted and shot by REGULAR Ai UNITS (This is a first for Arma 3 in the Multiplayer Department!). It can be enabled or disabled when the scripts are EXEC. (Enabled by default) - You can now command the Dogs to "ATTACK" or "STAY" via the Arma 3 RADIO MENU (0-0). - The Dogs now feature new sounds and wounded textures courtesy of @johnnyboy! - You can now heal your wounded Patrol Dogs! (Only one dog per player, but you can add more than one to Ai units in your squad for example) - Charging dogs can now cause nearby Enemy Ai units to flee in terror! - Extensive rewrite of the whole script package, now with AGENT DOGS, to accommodate the massive new features introduced in version 1.8 while performing even better than before. Requirements: - CBA Community Based addons. (Dependency removed in the latest version but CBA is still suggested just in case). - Basic Mission Editing knowledge. (For adding the commands to the unit's init and/or the triggers). DOWNLOAD: Demo Mission version 1.9 DOWNLOAD Link (Google drive): https://drive.google.com/open?id=1UbL4IuPZx8eMkg3QvzBteqZYaouLgLnj Updates/Changelogs: vDog Patrol Details: vDog Feral Details: Special Thanks and Credits: Known Limitations: Please don't hesitate to post any questions, suggestions, bugs and testing reports. Enjoy.- 129 replies
-
- 13
-
-
-
Hello, currently on a server I have a problem, some players have communicated to us problems that they have encountered, when they die they have an image displayed. And sometimes flashes appear, do you know the origin of the problem? Thank you https://imgur.com/a/6VJdGSU https://youtu.be/gVbgMn0whUg
-
I have a casual group of guys that play as more a structured chillsim, we focus on structure and execution without the playing army outside of the army. We are going to begin a Restrepo campaign and usually get together around 8:30 pm EST during the weekdays and are on most the time on weekends. If you cant join you cant join we are just a group of guys some with 1000+ hours in the game getting together to play and relax outside of our Milsim units. REQUIREMENTS Must be mature. Must have a working mic. We will take everyone no matter your game experience and will also help (if we know) with any aspect of the game you want to learn. If you're interested add me on steam and send me a message my steam is https://steamcommunity.com/id/Buck0523/