Jump to content

Search the Community

Showing results for tags 'script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
    • ARGO
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Virolahti
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • TKO's Saint Kapaulio
  • TKO's Cam Lao Nam
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • SOS GAMING's TS³ Viewer
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • HavenEmpire Gaming community's HavenEmpire Gaming community
  • Polska_Rodzina's Polska_Rodzina-ARGO
  • Carrier command tips and tricks's Tips and tricks
  • Carrier command tips and tricks's Talk about carrier command
  • ItzChaos's Community's Socials

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL


Jabber (xmpp)








Steam url id







PlayStation PSN














Found 542 results

  1. Hello everyone. I'm creating a mission on eden editor and when I put the support requester and the provider to be able to boom boom boom the enemies, when I test an error message appears... https://photos.google.com/album/AF1QipNj5RLe8PA5816sVP5DhiNch5T8zEC-9shFZTAS despite this, the support works normally. But my will to be perfectionist do not allows me to move on. So I created a new scenario from zero and did the same settings and nothing showed up. I tried find the file mentioned but i couldn't... 😕
  2. I have with the help of others created a script that spawns and despawns furniture in houses. Download: https://github.com/Tinter/Tinter-Furniture/releases At the moment it currently is more of a tool-suite as I'm not an impressive interior decorator. I would very much like to gather up a library of compositions with the help of the community, although I'm not entirely sure on how to organize this yet. Github: https://github.com/Tinter/Tinter-Furniture Steam workshop (Does only have a test mission): https://steamcommunity.com/sharedfiles/filedetails/?id=1895377640 Showcase of the script: Quick showcase of how to add make and add compositions: It spawns furniture locally as simple objects in nearby houses, despawning it when you're far away. The furniture is defined by compositions that you make in eden and using the scripts provided, organize them into files. The compositions are defined on classnames, but a lot of work has gone into trying to make similar buildings compatible, for example the buildings on Altis and Malden are different, but the script will recognize them as the same. Info on how exactly to do this is in the readme file. Furniture is also spawned on the server so that AI will also (hopefully) consider it. I have no indepth test of performance with this script active, but I have played missions with it active and it didn't slow the mission to a crawl at least. At the moment it currently is more of a tool-suite as I'm not an impressive interior decorator. I would very much like to gather up a library of compositions with the help of the community, although I'm not entirely sure on how to organize this yet. Thanks to Diwako, G4rrus, Tennessee, jonoPorter, Meanwhile
  3. Recently the same scripts I use for all of my normal user-made missions cfg sound script have suddenly stopped working to a bug. Every time I use playSound or say3D I get this error: Type Object, expected nothing. Yet I can play the same sound with no problems when using the effects section in a trigger. This makes absolutely no sense as this exact script works on other missions I have made but for some reason not any of my recent ones. I seriously want to get a gun and shoot my computer 35 times this shit is so frustrating. Here is my desc.ext: class CfgMusic { sounds[] = {cutscenemusic}; class music { name = "cutscenemusic"; sound[] = {"sound\cutscenemusic.ogg", db+1, 1.0}; titles[] = {0, ""}; }; }; class CfgSounds { sounds[] = {}; class banter1 { name = "banter1"; sound[] = {"\sound\banter1.ogg", 100,1}; titles[] = {}; }; class scline1 { name = "scline1"; sound[] = {"\sound\scline1.ogg", 100,1}; titles[] = {}; }; class line3 { name = "line3"; sound[] = {"\sound\line3.ogg", 100,1}; titles[] = {}; }; class banter4 { name = "banter4"; sound[] = {"\sound\banter4.ogg", 700,1}; titles[] = {}; }; class banter5 { name = "banter5"; sound[] = {"\sound\banter5.ogg", 1,1}; titles[] = {}; }; }; author="Maxim"; OnLoadName = "The Last War"; OnLoadMission = "This will be the end..."; loadScreen = "images\splash1.jpg" And beleive me, all of my aspects are correct like my sound folder is not spelt wrong and so on.
  4. I am looking to see if there is a way using a script that allows a player that has a Tool-Kit in their inventory to deploy a bike. I'm not very experienced with scripting or anything so i don't know if this is even possible.
  5. Hi everyone, Little overview, I am making a survival mission and I want to add items that are required for crafting (things like sandbags, woodplanks and cinderblock etc.) In my mission description.ext I am creating classes under the CfgWeapons for these items. However, I would like to inherit the itemCore class from configFile >> CfgWeapons >> itemCore to make my life much much easier. Simply calling the class like you would for an addon (class itemCore;) doesn't work as I am in the missionConfigFile namespace. So my question is, Is it possible to inherit a class from configFile while working inside missionConfigFile, and if not what would be the best way to go about this? Thanks in advance!
  6. 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.
  7. Here's a couple fire related functions, you_createFire, *Updated you_fnc_houseFire (demo), Burn buildings to the ground! Spawn one central fire with smoke and a number of FX fires (performance) in the building. The building takes damage over time. Once the building is destroyed the performance fires are deleted and later the main fire. Fire will spread based on the distance supplied to the function ("_dist"). Use the parameter "_damage" (default true) to make persistent fire that does not damage the building over time or spread to other buildings.* Use parameter "_time" to determine how long each building will burn (default: 10, demo: 1). 1 second is equal to 20 seconds total burn (each iteration is %10 damage) and the main fire burns for the same amount of time again (1x10x2). The default value is 10 or 200 seconds (100 to collapse and 100 more to extinguish). 1) create a helper object on/near the building(s) ** 2) paste the function in init.sqf (or wherever) 3) see call methods in demo init.sqf * keep track of effects in the supplied array ** editor placed buildings may be "_caller" Have fun!
  8. SCCLoot SCCLoot adds simple, configurable loot spawning to any Arma 3 mission. Got feedback/suggestions, or using this script in your mission? Get in touch! Features Completely open-source and redistributable. Easily editable loot tables and parameters. Building blacklist to stop specific structures from spawning loot. 5 default categories for loot (Civilian/Industrial/Military/Medical/Supermarket) with the ability to add your own. Customisable per-building loot-spawning positions. Want to make street lamps spawn loot? You can! Spawn loot in pre-placed containers and boxes. Supported Arma 3 Terrains (incl. Tanoa and Livonia) CUP Terrains Installation Place the 'SCCLoot' folder inside the root mission directory. Add the following line to your mission's init.sqf: [] execVM "SCCLoot\lootInit.sqf"; Configuration SCCLoot is designed to be highly customisable and configurable - there are several config files that can be edited to alter it's behaviour. More information can be found inside the README.TXT file. License This script is released under the BSD 2-Clause License. You are free to modify and redistribute it, provided you keep the original copyright notice. For more information, see LICENSE.TXT in the script directory. Download • GitHub
  9. Took a bit of code from LAMBS fnc_tacticsHide and did this. It runs on player's group AIs only and it's a separate script from LAMBS. It's just an example, a proof of concept (although fully functional). Note: unfortunately forgetTarget makes the whole group forget it's targets (even if used on unit), it would be nice if individual units could forget targets and let others retain the memory, this way we could order individual AT/AA to engage, now you have to make all your AT/AA's open fire (within this script), guys without launchers can remain hold fire though 👍. /* Force AT/AA specialists forget enemy vehicles when ordered hold fire Description: Allows AI in player's group to remain prone and regroup faster on the presence of enemy vehicles. Execute from initPlayerLocal.sqf */ params ["_player", "_didJIP"]; forgetAT_targets = []; forgetAT_fnc = { //hint str forgetAT_targets; if (forgetAT_targets isNotEqualTo []) then{ {(group player) forgetTarget _x}forEach forgetAT_targets; }; }; while {sleep 1; true} do{ //should hold after respawn? waitUntil {count (units group _player) > 1}; // find launchers private _launchers = (units group _player) select {(secondaryWeapon _x) isNotEqualTo "" && {unitCombatMode _x in ["BLUE","GREEN"]} && {!(isPlayer _x)}}; if (_launchers isNotEqualTo []) then{ // find enemy vehicles forgetAT_targets = (_player targets [true, 0]) select {(vehicle _x) isKindOf "LandVehicle" || {(vehicle _x) isKindOf "Air"} || {(vehicle _x) isKindOf "Ship"}}; if (forgetAT_targets isNotEqualTo []) then{ if (isNil "forgetAT_EH") then{ forgetAT_EH = addMissionEventHandler ["EachFrame", {call forgetAT_fnc}]; }; }; }else{ if !(isNil "forgetAT_EH") then{ removeMissionEventHandler ["EachFrame", forgetAT_EH]; forgetAT_EH = nil; }; forgetAT_targets = []; }; };
  10. Here is my Simple Auto-Gate or SAG 😉 The script is meant as a self contained system for creating automatic gate opening of bar-gates. The script works with pre-placed bar-gates, like on some of the CUP based maps, but will work just as well with bar-gates placed in the Eden editor. It has been tested with both the ArmA 3 standard bar-gates and the CUP ones. Just place a trigger using the editor so that the centre of the trigger is close to the bar-gate you want to control. Set the 'Name' of the trigger and set its size and orientation as required, the rest of the trigger parameters will be set by the script. Create a folder called 'Scripts' in your mission directory and copy the 'sPK_autoGateInit.sqf' file to the directory. You will need an 'init.sqf' file in the root directory of your mission with the following in it: This example sets the system for GATE_NORTH and GATE_SOUTH triggers to control the vanilla bar-gate. if ( isServer ) then { [ [ GATE_NORTH, "Land_BarGate_F" ], [ GATE_SOUTH, "Land_RoadBarrier_01_F" ] // No comma on the last entry. ] call compileScript["Scripts\sPK_autoGateInit.sqf", true]; // true - compileFinal. }; The if ( isServer ) block is to stop warnigns about running it on a player client when connecting to a dedicated server. The compileScript is a replacement for compile preprocessorFile[LineNumbers] command. Job done. The system has an additional feature where you can call the script without the bar-gate class name. In this case it will display the class of the object nearest the trigger in a 'hint' and in the report file. Search for "GateClass:" in the report file: [ [ GATE_NORTH ], [ GATE_SOUTH ] ] call compileScript["Scripts\sPK_autoGateInit.sqf", true]; The output will look like: 10:35:14 "GateClass:GATE_NORTH:Land_BarGate_F" 10:35:14 "GateClass:GATE_SOUTH:Land_RoadBarrier_01_F" Enjoy, S For the record, gate classes: Land_BarGate_F – Vanilla bar-gate class. Land_RoadBarrier_01_F – Metal frame bar-gate from Contact DLC. Land_Zavora – CUP bar-gate class. Land_zavora_2 – CUP bar-gate class, fractionally bigger and taller. This is a link to a simple VR mission demonstration: https://1drv.ms/u/s!AnX2_vGoXf5F911_Kg9MmzpPJQb8?e=ChpdqP sPK_autoGateInit.sqf:
  11. Hi there. Im looking for help about unique gas script, that probably can't be found in any script library. In lore of my operation, there is a gas. UK founded it in Arctic and in previous mission, Sweden SOF got inside, and got all intel. After few days, there is a war between UK and Sweden. UK used that gas. Gas is called "Ares" and its doing something like turning off in human any recognize of friendly, and in afterward they see hostiles in anyone. After few minutes of aggresion, human is going to die, because his heart gonna explode from extraordinary pulse. Of course I want to get this gas into civilians, because in my next operation, IDAP with Sweden Homeguard is about to make them safe, but they will not sure, who is not affected by gas, and who is not. In addition, I want to use masks from Gren_evo, and by that I want to make those who is wearing them immune to gas, becuase its only working by doing damage to respiratory system, and next to neurobiological. IDAP gonna have some kind of antibodies in syringes, that gonna for some time stop gas from spreading in body, so they could for example get him in handcuffs. And my question is, how can I make it possible ? And for sure, If im not really understandable, then ask me please. Im not god of english tho, but im trying to :)
  12. Sarogahtyps Simple Shortest Paths - SSSP V-1.0 the simplest way to find your path 😉 Actually there is the Dijkstra algorithm and the A* algorithm available. Both are able to get a shortest path through a "2D"-map and A* is always faster than Dijkstra on this. How much faster A* is depends on the size of the given situation. As more nodes and connections the given situation has as more A*'si advantage comes in play. Dijkstra's advantage is that it should find the true shortest path always while A* just finds one short Path. Also Dijkstra is much better able to solve the shortest path problem in a house with multiple floors (3D-problem). A* can solve this as well but it's often slower there and finds much longer shortest paths in that situation. A* will solve this through a multiple floor handler which is currently not implemented for it. sqf implementation of Dijkstra algorithm: Usage: First you should read the script header. The script supports 2 different formats of node/connection lists. the first syntax of parameter 3. and 4. is needed if you don't like to precalculate the distances/weights for all connections. In this case you will deliver the node positions as well and the script calculates the distances itself. The alternative syntax for parameter 3. and 4. has no positions but those distances instead. I recommend to implement the script to armas function library by registering it via description.ext file. But it will work with or without a manually done compiling as well. The following lines executes the script twice and writes the solution to .rpt-file via diag_log command. One time the precompiled script is spawned the second time it gets called (works only if environment is scheduled). Yes, you can use execVM as well. It has the same usage as the spawned function: The output for the situation shown in picture above is: 1:56:25 "Nodes after spawn" 1:56:25 [0,2,3] 1:56:25 " " 1:56:25 "Nodes after call" 1:56:25 [0,2,3] 1:56:25 " " Yeah, correct solution ... it works 😄 sqf implementation of A*-algorithm A* - Dijkstra runtime comparsion videos Planned features: - A* algorithm improvement to solve 3D problems (multiple floors) - Travelling Salesman algorithms Known issues: -Dijkstra is currently not getting always the true shortest path due to a bug in implementation Changelog v 2.0 (Download: Scripts Zip - Mission) - added implementation for A*-algorithm - minor performance optimizations on Dijkstra - added demo mission which is able to compare both algorithms v 1.1 (Download SQF) -performance optimizations - 65-70% less readability / 30-35% better performance v 1.0 (Download: SQF - Mission) - initial release
  13. Hello for everyone! I have a trouble: my script takes screenshot of object and i need to create log file with full dimensions of this object (basically, i need a four points of object: upper left, upper right, lower left, lower right). How can i save it? I read about saveProfileNamespace, but i cant find where i can find file with logs in arma 3 directory. Or maybe there are any way of creating .txt file with each screensot? Thanks for help before!
  14. when I use "BIS_fnc_playVideo" the sound of the video remains the same but the game skips the black screens of the video, Any solution??
  15. Hello! I'm trying to make a script that will create a helicopter that will fly to the player, land and transport the player back to base when the player throws orange smoke. Most of the script is working fine, but if the player wants to extract a second time after getting back to base, two helicopters will spawn. If done one more time a third will spawn etc. Here is the code that I'm currently using: player addAction ["Request transport", {[] execVM "Scripts\extract.sqf"}, nil, 0.1, false]; // This is in another file to the rest of the script systemChat "Mark your position with orange smoke!"; player addItem "SmokeShellOrange"; player addEventHandler ["Fired", { if ((_this select 4) == "SmokeShellOrange") then { (_this select 6) spawn //spawn will create 1 extra helo every time smoke is thrown { waitUntil {sleep 1, (speed _this <= 0) || (!alive _this)}; _smoke = getPos _this; _pickup = createSimpleObject ["Headgear_H_WirelessEarpiece_F", _smoke]; hideObject _pickup; _marker = 1; waitUntil { sleep 1, _marker == 1}; _radius = getPos player; _helo = createVehicle ["B_Heli_Transport_01_F", _radius, [], 2500, "FLY"]; createVehicleCrew _helo; systemChat "A helicopter is en-route to extract you!"; _zone = getPos _pickup; _helo move _zone; waitUntil {sleep 1, ((_helo distance _zone) < 150)}; doStop _helo; _helo land "GET IN"; {_helo animateDoor [_x, 1]} forEach ["door_back_L","door_back_R","door_L","door_R"]; waitUntil {sleep 1, player in _helo}; {_helo animateDoor [_x, 0]} forEach ["door_back_L","door_back_R","door_L","door_R"]; _helo move (getMarkerPos "start"); sleep 11; [0, "BLACK", 3] spawn BIS_fnc_fadeEffect; sleep 3; player setPos (getMarkerPos "service"); player setDamage 0; deleteVehicle _helo; skipTime 2; [1, "BLACK", 2] spawn BIS_fnc_fadeEffect; sleep 2; curobj allowDamage true; curobj enableSimulation true; deleteVehicle curobj; deleteVehicle veh; [] execVM "startupgui_fnc.sqf"; // Allows the player to set new mission parameters and usually only runs on mission start }; }; }]; Not only does this spawn two helicopters, it also broadcasts the chat message one time for every helicopter that spawns. This leads me to believe that the script is somehow running twice (?). Can anyone tell me what I am doing wrong and how to fix it?
  16. Engima's Civilians v0.90.40 by Engima Description: Engima's Civilians is a script that adds dynamic civilians to an Arma 3 mission. Civilians spawn near player(s) and are removed again when they are far away. Works on maps with enterable buildings. You can customize how many civilians there will be, civilian units classes, the maximum number of groups to use, minimum spawn distance, maximum spawn distance, and blacklist markers to define areas where no civilians will be. You also add callbacks if you want to do something when units spawn or being removed. Script works in singleplayer, multiplayer, hosted, dedicated, for JIPs, and on any map with enterable buildings. Media: Youtube video - How to create a quick mission with civilians. https://youtu.be/OVirxev6wjw Download: Download Link at Armaholic. Also released as CPack Engima.Civilians for the TypeSqf Editor. Installation: Manually: 1. Copy folder "Engima" to root of your mission folder. 2. Create the file "init.sqf" in your mission folder (if you don't already have it). Add the following line to the top of the init.sqf: call compile preprocessFileLineNumbers "Engima\Civilians\Init.sqf"; 3. Customize the script in the file "Engima\Civilians\ConfigAndStart.sqf". TypeSqf 1. Open the CPack console and run command "install Engima.Civilians". Usage: Here is the simplest example that starts the civilian script with all default parameters. This code is to be put in Engima\Civilians\ConfigAndStart.sqf. [] spawn ENGIMA_CIVILIANS_StartCivilians; Here is an example that uses all parameters and first saves them in a variable named "_parameters". The function call (or spawn) that starts the civilian script is beneath. This code are to be put in Engima\Civilians\ConfigAndStart.sqf. // Set civilian parameters. _parameters = [ ["UNIT_CLASSES", ["C_man_1", "C_man_1_1_F", "C_man_1_2_F"]], ["UNITS_PER_BUILDING", 0.1], ["MAX_GROUPS_COUNT", 100], ["MIN_SPAWN_DISTANCE", 50], ["MAX_SPAWN_DISTANCE", 500], ["BLACKLIST_MARKERS", []], ["HIDE_BLACKLIST_MARKERS", true], ["ON_UNIT_SPAWNED_CALLBACK", {}], ["ON_UNIT_REMOVE_CALLBACK", { true }], ["DEBUG", true] ]; // Start the civilian script _parameters spawn ENGIMA_CIVILIANS_StartCivilians; Documentation and a complete reference of set up parameters can be found in file "Engima\Civilians\Documentation.txt". How to update from older version: Manually: 1. Back up your own customization file (Engima\Civilians\ConfigAndStart.sqf). 2. Replace the folder Engima\Civilians with the corresponding folder in the download package. 3. Replace the original ConfigAndStart.sqf with your own ConfigAndStart.sqf that was backed up in step 1. TypeSqf: 1. Open the CPack console and run command "update Engima.Civilians". Change log: v0.90.40 - First version. Requirements: Arma 3. Other releases Engima's Traffic Engima's Simple Tasks The ASCOM protocol
  17. Good day/night. At the moment i'm trying to make a co-op S.T.A.L.K.E.R survival mission with ACE3 for my group, and there are only RPservers mods that only allows you to play in their servers and don't let you play with ACE3. So I chose to use a mod from the workshop posted by sir.ghostington (He took the mutants from a dead RPserver mod that don't let the ace work), but I have a problem, the mutants don't understand the ACE3's damage. So, what should I do to make the mutants work with ACE3 ? How can I create a patch for this mod? (I don't know so much about scripting but I have some tools)
  18. Arma 3 Linux server and mod updater (workshop) A python script that updates your server and mods. Just edit the variables in the "Configuration" region to your liking and run the script. :-) Features: Update Linux server binaries Download mods from the Steam Workshop Update mods from the Steam Workshop Converts all mod files and folders to lowercase Creates symbolic links with human readable names (e.g. 620260972 becomes @alive) Non-features (for now): Setting up the basic dedicated server Manage keys Requirements: Python 3 steamcmd Steam account with an Arma 3 license (only required for downloading mods from the workshop) License: MIT Download: Arma 3 Linux server and mod updater (workshop)
  19. DESCRIPTION: This is a script which enhances the in-game VOIP by adding radio effects when communicating with other players, while factoring distance during transmissions. No mods or third-party programs required. Setup is easy! VIDEO: (Very outdated, will recreate soon™️) SCREENSHOTS: FEATURES: Doesn't require any mods Doesn't require any third-party programs Script will initialize only if TFAR & ACRE2 aren't enabled Tiny file size (127 KB) No performance impact Admin/clients don't have to download anything to play your mission No custom files; AFAR reuses all Arma content Adds interesting depth to VOIP, which it has lacked for so long Using VOIP in-game will broadcast radio noise to friendlies with a radio within radio range Players not in range cannot hear you or your radio noise Incapacitated / dead players cannot use radio (Optional) Compatible with land, sea, and air vehicles Compatible with Arma's End Game respawn templates Compatible with Arma's End Game Spectator Compatible with Arma's Dynamic Groups Compatible with Zeus Easy to configure with the "AFAR\CFG.sqf" In-game radio interface includes options to customize settings locally More information in the "ReadMe.txt" TO DO LIST: Increase radio range when in a military vehicle Voice clipping due to signal interference Release a separate standalone mod version KNOWN BUGS: (Upcoming Change-Log) High ping players, server, or desync can cause code delays AFAR's displayEventHandlers are paused for client, while a display other than 46 or 312 is active CREDITS: • Phronk: Script Creator • Bohemia Interactive: Radio model, audio, animation, and BIS_fncs CONTRIBUTIONS: • Dedmen: Added important VON script commands to Arma 3 • DirtySanchez: Helped organize functions • Metalman [EXP]: Helped optimize code initialization TESTERS: • Genesis92x • Harris • LightHouse • MorpheousMike • Moser • newgen • PRYMSUSPEC • Task Force Ronin INSTALLATION: (01MAR2021) - v0.97 Download Link (Google Drive) Download Link (Steam Workshop) Download Link (Armaholic) CHANGE-LOGS:
  20. I was wondering two things regarding this script/fnc I made: Question 1: any way to open the mini map display via script commands? Question 1: The minimap radius is based on the speed of the player, any way to manually control that?... since I check a range of 50 I would like the mini GPS to reflect that regarding of the player speed. Also, Any suggestions? The script in fnc form, spawned by a custom UI: (Special thanks to @Leopard20 who's insights made this posible) vMotionScanner = { params [ ["_unit", objNull, [objNull]], ["_motionScannerDistance", 60, [60]], ["_detectAllEnemies", false, [false]], ["_detectEnemyUnits", false, [false]], ["_detectEnemyVehicles", false, [false]], ["_detectEnemyAgents", true, [true]] ]; if (isDedicated OR !hasInterface) exitWith {}; if ( !("ItemGPS" in (assignedItems player)) || !(alive player) || (vehicle player isNotEqualTo player) ) exitWith {vMotionScannerRunning = false; systemChat "MOTION SCANNER not available";}; vMotionScannerRunning = true; systemChat format ["MOTION SCANNER enabled by: %1, use the keys Control + M to toggle the screen.", name player]; showGPS true; private _nearObjects = []; private _motionMarkersArray = []; private _maxMotionMarkers = 10; while { vMotionScannerRunning } do { if (visibleGPS) then { switch (true) do { case (_detectAllEnemies) : { _nearObjects = (player nearEntities [["Man", "Air", "LandVehicle", "Ship"], _motionScannerDistance]) select {side group _x isNotEqualTo side group player && abs speed _x >= 3}; }; case (_detectEnemyUnits) : { _nearObjects = (player nearEntities [["Man"], _motionScannerDistance]) select {side group _x isNotEqualTo side group player && abs speed _x >= 3}; }; case (_detectEnemyVehicles) : { _nearObjects = (player nearEntities [["Air", "LandVehicle", "Ship"], _motionScannerDistance]) select {side group _x isNotEqualTo side group player && abs speed _x >= 3}; }; case (_detectEnemyAgents) : { _nearObjects = agents select {agent _x distance player < _motionScannerDistance}; }; }; if (_nearObjects isNotEqualTo []) then { private _sortedContacts = []; if (_detectEnemyAgents) then { _sortedContacts = [_nearObjects, [], {(player distance2d agent _x)}, "ASCEND"] call BIS_fnc_sortBy; } else { _sortedContacts = [_nearObjects, [], {(player distance2d _x)}, "ASCEND"] call BIS_fnc_sortBy; }; private _closestContact = objNull; _closestContact = _sortedContacts select 0; private _closestContactDis = 999; if (_detectEnemyAgents) then {_closestContactDis = agent _closestContact distance2d player;} else {_closestContactDis = _closestContact distance2d player;}; systemChat format ["MOTION SCANNER contact: %1 meters", _closestContactDis]; // call { // if (_closestContactDis < 10) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion10b.ogg", player] }; // if (_closestContactDis < 20) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion10.ogg", player] }; // if (_closestContactDis < 30) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion10.ogg", player] }; // if (_closestContactDis < 40) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion20.ogg", player] }; // if (_closestContactDis < 50) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion20.ogg", player] }; // if (_closestContactDis < 60) exitWith { playSound3D [getMissionPath "vScripts\vSounds\motion30.ogg", player] }; // }; call { if (_closestContactDis < 10) exitWith { playSound "motion10b" }; if (_closestContactDis < 20) exitWith { playSound "motion10" }; if (_closestContactDis < 30) exitWith { playSound "motion10" }; if (_closestContactDis < 40) exitWith { playSound "motion20" }; if (_closestContactDis < 50) exitWith { playSound "motion20" }; if (_closestContactDis < 60) exitWith { playSound "motion30" }; }; private _displayedMotionMarkers = 0; { if (_displayedMotionMarkers < _maxMotionMarkers) then { private _contactName = random 9999; private _marker = ""; if (_detectEnemyAgents) then { _contactName = str agent _x; _marker = createMarkerLocal [_contactName, getPosWorld agent _x]; } else { playerSide reveal _x; _contactName = str _x; _marker = createMarkerLocal [_contactName, getPosWorld _x]; }; _marker setMarkerShapeLocal "ICON"; _marker setMarkerTypeLocal "hd_dot"; _marker setMarkerColorLocal "ColorGrey"; _marker setMarkerAlphaLocal 0.85; _marker setMarkerSizeLocal [0.5, 0.5]; [vAnimatedMarker_1_Fnc, _marker, 0.3] call CBA_fnc_waitAndExecute; [vAnimatedMarker_2_Fnc, _marker, 0.6] call CBA_fnc_waitAndExecute; [vdeleteMarkerLocalFnc, _marker, 0.9] call CBA_fnc_waitAndExecute; _displayedMotionMarkers = _displayedMotionMarkers + 1; }; } forEach _sortedContacts; }; }; sleep 1; if ( !("ItemGPS" in (assignedItems player)) || !(alive player) || (vehicle player isNotEqualTo player) ) exitWith { vMotionScannerRunning = false; systemChat "MOTION SCANNER disabled"; }; }; };
  21. I edited FAR revive script in GREUH Liberation so AI can revive players and be reivived by players. but a problem happed with players reviving another player this is what is executed on the unit revivng another: FAR_HandleStabilize = { params ["_target", "_healer"]; if (alive _target) then { _healer playMove "AinvPknlMstpSlayWrflDnon_medic"; //if (!("Medikit" in (items _healer)) ) then { //player removeItem "FirstAidKit"; //}; _target setVariable ["FAR_isStabilized", 1, true]; sleep 6; }; }; this is what is excuted on the unit injured: while { !isNull _unit && alive _unit && _unit getVariable "FAR_isUnconscious" == 1 && _unit getVariable "FAR_isStabilized" == 0 && (FAR_BleedOut <= 0 || time < _bleedOut) } do { hintSilent format[localize "STR_BLEEDOUT_MESSAGE" + "\n\n%2", round (_bleedOut - time), call FAR_CheckFriendlies]; public_bleedout_message = format [localize "STR_BLEEDOUT_MESSAGE", round (_bleedOut - time)]; public_bleedout_timer = round (_bleedOut - time); sleep 0.5; }; when a unit stabilize another unit, "FAR_isStabilized" variable of the injured unit is set to 1 so the while loop has to terminate these script run without any problem when AI revive players and AI are revived by players but don't work when a player is reviving another player. when a player tries to stabilize another player, it does the action "AinvPknlMstpSlayWrflDnon_medic" but that while loop doesn't finish so I think there is something wrong with _target setVariable ["FAR_isStabilized", 1, true];in the FAR_HandleStabilize function and _unit getVariable "FAR_isStabilized" == 0 in condition of the while loop full codes: https://github.com/lululala22/JLD_Liberation_Dev/tree/master/far_revive
  22. Sarogahtyps Simple Loot Spawner - SSLS V-1.1 Spawns weapons, items and bags in buildings near to alive players maybe inside a trigger area or marker area. Deletes stuff if players are not close enough anymore. The script doesnt care about any trigger preferences except the trigger area. Soft delayed item spawning to prevent performance impact. Script reads your missions config files and should spawn loot of your mods (e.g. CUP weapons, Etc.) as well DOWNLOAD V-1.1 Usage: initServer.sqf fnc_spawn_loot = compileFinal preprocessFileLineNumbers "SSLSv1-1.sqf"; _d = [] call fnc_spawn_loot; you are able to stop the loot spawning script at any time by SSLS_script_switch_off = true; If you set up high spawn chances (see top of script) and have a high player count on your server then I recommend to make trigger or marker areas for spawning to get the needed performance. But if you do not encounter performance issues then spawning loot everywhere near players should be okay. Tweakable features (can be found on top of the script): //***** EDIT BELOW TO ADJUST MAIN BEHAVIOR // (L) means lower values are better for performance - (H) means the opposite SSLS_script_switch_off = false; //if you want to stop spawning loot then set this to true at any time in your mission _trigger_array = []; // contains the names of triggers/markers in which area loot should spawn. _spawn_chance = 100; // (L) The chance to spawn loot inside of a specific house. _launcher_chance = 30; // chance to spawn a launcher as weapon instead of rifle, pistol or machine gun _item_chance = 70; // chance to spawn an item instead of a weapon _bag_chance = 50; // chance to spawn a backpack instead of an item _max_magazines = 7; // the maximum number of magazines spawned for a gun _max_magazines_launcher = 3; // maximum number of ammo to spawn for rocket launchers _max_magazines_gl = 5; // maximum number of ammo to spawn for grenade launchers _house_distance = 25; // (L) houses with that distance to players will spawn loot _player_exclude_distance = 15; //if 2 players or more are closer together than this then only 1 player is considered _exclude_loot = []; //classnames of items which should never spawn (blacklist) _exclusive_loot = []; //add classnames here and nothing else will be spawned (whitelist) _use_bohemia_classes = true; // for spawning bohemia created stuff set this to true _use_mod_classes = true; //// for spawning stuff from loaded mods set this to true _debug = false; //information about number of places where items were spawned or deleted // if you have performance issues then consider introducing spawning areas (_trigger_array) before changing following values! _spawn_interval = 1.5; // (H) desired runtime for the main loop. time which is not needed will be used for soft spawning or a break. //***** EDIT ABOVE TO ADJUST MAIN BEHAVIOR details: Changelog 1.1 (download) -fixed a major bug which showed an error message during spawning -added feature to enable/disable Mod/Bohemia classes spawning -huge performance optimizations (shorter arrays, better smooth spawning and other stuff) Changelog 1.0 (download) -added script
  23. GF Holster Script - Mod by GEORGE FLOROS [GR] With key interaction Description: GF Holster script , holster your weapon with a key interaction , configurable key bindings. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Holster script , please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the init.sqf , to copy paste in your mission . https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: Configurable key bindings and notification available. The key bindings can be found here: https://community.bistudio.com/wiki/DIK_KeyCodes Credits & Thanks: Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: 2.0 Fixed working after save in SP + MP. There is also a Mod version available. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39896 Armaholic download GF Holster Script - Mod
  24. (WIP) Weapon Attachment Trader Script for Ravage Fellow Ravagers, in case you want to be able to buy weapon attachments such as scopes, silencers, flashlight or laser pointers in your Ravage mission, in addition to the original Ravage traders, look no further;) Functions of the script - Spawns a trader at a marker position (multiple markers are possible if you want the trader to move around) - Matching attachments for weapons as defined per array - the first item the trader sells matches the players current weapon (if carrying any) - uses rvg_money as currency - checks if you have enough money and enough space in your inventory before you are able to buy an item - the base price per item is set at 90 with some randomization (per item sold) each time the script is triggered - currently the items sold refresh after you select "Back" in the scroll menu. Each time you press back you get to call for new items to be offered. - after successfully buying an item, the position will be removed from the scroll menue How to create, use and Install the script: Step 1 - init.sqf 1. Open notepad. 2. Copy this code -------> [] execVM "TraderspawnAtt.sqf"; 3. Paste the code into your notepad doc. 4. Save the notepad document with this name -----> init.sqf 5. Move the init.sqf to your mission folder. =================================== Note - if you already have an init.sqf then just add the code from 2 to it. init.sqf: Step 2 - Back.sqf 1. Open notepad. 2. Copy this code ------> from the spoiler below 3. Paste the code into your notepad doc. 4. Save the notepad document with this name ------> Back.sqf 5. Move the Back.sqf to your mission folder. ========================================= Back.sqf : Step 3 - TraderspawnAtt.sqf 1. Open notepad. 2. Copy this code ------> from the spoiler below 3. Paste the code into your notepad doc. 4. Save the notepad document with this name ------> TraderspawnAtt.sqf 5. Move the TraderspawnAtt.sqf to your mission folder. ========================================= TraderspawnAtt.sqf OR: add custom items: If you want to define the attachments that may be sold by yourself, copy the below code into TraderspawnAtt.sqf instead of the above and add your attachment classnames in the array AttachementArray =["classname1","classname2"]; Script Dependencies: - Ravage mod is required to run this script - CBA (required by Ravage) Using the script without Ravage mod: If you want to use this without the Ravage and CBA mod, you would replace the currency ("rvg_money") with whatever classname of an item that you use as currency. Setting up the Script in the editor: 1. Start your mission via editor and place markers named: mrkrTR_1 2. To name a marker, add the above name into the Variable Names field like this: mrkrTR_1 Place your player and start your mission. Personalize the script - (additional markers) The trader will keep respawning at one location, if only one marker is placed. 1. To place more markers and achieve that the trader is "moving around", just add additional marker names under _traderspawn = [.....]. in the script. 2. The last marker needs to end without comma "mrkrTR_5"];. Leaving a comma at the end of the array "mrkrTR_5,"]; would not work. 3. Place the new markers on the map. Adding items The script selects Weapon Attachments based on randomly selected weapons from WeaponArray =[...]; Add remove weapons there to ensure attachments that match your weapons will spawn. To Dos: - find a way to sell back Weapon Attachments (to a lower price) - general code/script optimization and simplification - i might add some delay before the item list can be refreshed with "Back". - gather your input and change stuffs to make it better;) - MP not tested, happy to receive input on how to make this MP friendly Other stuff that is in the pipeline @ Vandeansons script factory: - Different Tier of traders connected to a reputation system (would be a separate script) - Vehicle trader (Planes, Helis, Cars,...) - currency exchange to allow for two different money systems (e.g. trader ravage currency versus the currency from HG Simple Shops) - Adaptation of the EDN_Fortification Base building mod to include it into your Ravage mission (spawn in collectible Blueprints, spawn in building materials, customize and add own blueprints) - Dynamic and infinite ongoing task generator connected to reward system (e.g. Money, equipment...) - tasks are either automatically assigned one after the other upon completion or document folders are spawned into in buildings around the player that, after collecting it, will assign a new task =================================== Changelog v.0.1 2018.08.22 - release of working version
  25. Disclaimer: If you don't use unscheduled scripts or you don't know what "unscheduled" means this won't be useful for you. If you are a beginner in Scripting this is also likely nothing for you. This is a tool aimed to help intermediate/advanced Programmers. Also No Battleye! I'm proud to present the first public Intercept based mod! I have a tiny script performance OCD so when I had the Idea about this last week I couldn't stop myself. Arma Script Profiler is a mod that allows you to profile scripts in a way that wasn't possible like this before. ASP replicates what the profiling binary already provides via it's diag_captureFrame commands but instead of only showing Engine Internals it shows Scripts. Features: - Shows exact execution time of unscheduled script functions - Can show engine Profiling data (when you are running profiling build) - Displays Network traffic estimate (number of bytes sent out via publicVariable and similar) - Can profile scripts down to single Instructions For more updates see my forum posts below, this tool evolved quite a lot since its Inception. But enough talking, lets start showing: Download: You can get the Mod here: https://steamcommunity.com/sharedfiles/filedetails/?id=1652506957 In case of Game crashes (Though these have become really rare now) please PM me your crash report or crashdump files. For bugs and feature requests please refer to the Github page. This is also on Reddit! I'm not really good in writing fancy forum posts. If someone wants to make this more splendid feel free to PM me. Uploading this to Armaholic, withSix, Steam workshop or similar is not allowed! Please refer to the License. Here is some text about the old version of the Profiler that I don't want to delete...