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


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Arma Reforger
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • 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 Green Sea
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • 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
  • NAMC's Topics
  • NTC's New Members
  • NTC's Enlisted Members
  • The STATE's Topics
  • CREATEANDGENERATION's Intoduction
  • CREATEANDGENERATION's HAVEN EMPIRE (NEW CREATORS COMMUNITY)
  • 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
  • Photography club of Arma 3's Epic photos
  • Photography club of Arma 3's Team pics
  • Photography club of Arma 3's Vehicle pics
  • Photography club of Arma 3's Other
  • Spartan Gamers DayZ's Baneados del Servidor
  • Warriors Waging War's Vigor
  • Tales of the Republic's Republic News
  • Operazioni Arma Italia's CHI SIAMO
  • [GER] HUSKY-GAMING.CC / Roleplay at its best!'s Starte deine Reise noch heute!
  • empire brotherhood occult +2349082603448's empire money +2349082603448
  • NET88's Twitter
  • DayZ Italia's Lista Server
  • DayZ Italia's Forum Generale

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 656 results

  1. Hey guys. I've been playing a certain scenario for many years (Pilgrimage, by Rydigier), and adding mods to change and improve the gameplay. I was wondering if there was a way to add a survival component to the scenario, like hunger and thirst. With food items and drinks that spawned randomly on the map. The Situation: 1) I happen to have found a mod on the Steam Workshop, called "LOOT (Discontinued)". It's pretty good for spawning items, weapons etc. in buildings, randomly. It works perfectly, as indended, in the mission. 2) For a food/drink addon, I'm going with the field rations from ACE3. As long as you have the items, you can eat/drink. Problem: LOOT can't spawn the food/drink items from ACE3. Altough LOOT's description says that the mod spawns all items from the mods that the user has loaded, it seems that it's ignoring them. Some items from ACE3 are correctly spawned: binoculars, rangefinders... but not the 'inventory' stuff, like earplugs, wire cutters (and water bottles, MREs...). Solution and clarifications: 1) The ACE3 items seem to be grouped under the type "ACE_ItemCore". Now I'm no scripting expert, but pointing this out to LOOT's script, should make it notice that those items exist and include them in the loot. 2) LOOT has a user config file. You can change the probability of loot spawns, and their locations, but the categories are fixed. You can't just go and edit this .sqf to make it spawn certain specific items. 3) I've been looking at LOOTs .pbo file, trying to decipher how to include those items in the spawning, but I don't know how to do it. I don't know where the modification has to be done, and what to write. If anyone wants to help, the mods are available on the Workshop. (or maybe someone can give me tips on what to look for in the pbo, like where the code says that the loot has to come from a certain list of items) Thanks in advance. Work keeps me busy and I don't have the strenght to learn scripting, but after all these years, maybe I should try?
  2. CSWR is an Arma 3 script that allows the Mission Editor to spawn AI units and vehicles (by ground or air paradrop) and makes those groups move randomly to waypoints forever in life, where spawn-points and waypoints are easily pre-defined by Mission Editor through Eden marker's positions. CSWR accepts faction loadout customization, including additional customizations for sniper teams and paratroopers. CSWR almost doesn't change any original Arma AI behavior, saving server performance and Arma 3 integrity. Creation concept: bring life to the mission through non-stop units' movements with some level of unpredictability without losing control of server performance and what AI units can do. Special thanks: To the old (but gold) "T8 Units" script for the inspiration over the years. How to install / Documentation: https://github.com/aldolammel/Arma-3-Controlled-Spawn-And-Waypoints-Randomizr-Script/blob/main/_CSWR_Script_Documentation.pdf What to expect from the CSWR script: No dependencies from other mods or scripts; Manually define which markers the faction can use as spawn-points; Create unlimited different types of spawn-points: Common spawn: for units and ground vehicles; Vehicle spawn: exclusive for ground vehicles; Heli spawn: exclusive for helicopters; Paradrop spawn: for units and ground vehicles; Sectorized spawn: all spawn types can be sectorized to be available only for specific groups/vehicles inside a faction; Spawn-points can be triggered by: Mission starts: right after the mission gets started; Timer delay: a down count; Trigger delay: when some editor's trigger is activated; Target delay: when a specific unit or vehicle or building is killed/destroyed; Once the spawn-points are created, the script will spawn the groups randomly through their faction spawns; There is no re-spawn. Death is death for units and vehicles spawned by CSWR; Vehicles with turrets spawned by CSWR, when damaged, their gunners never leave the vehicle, doing the last standing in combat until death; Manually define which markers will be used as one types of destinations (waypoints) for AI units and vehicles; Create unlimited different types of destinations: Move: groups will move randomly through your predefined move-markers; IMPROVED! Watch: sniper groups will search for the best high position to cover one of your predefined watch-markers; Hold: soldiers, civilians, or ground vehicles (mainly tracked ones) will set position facing a specific direction predefined by you with hold-markers; IMPROVED! Occupy: soldiers and civilians will search for a building around a predefined occupy-marker, and will go there, get in, and stay; IMPROVED! Sectorized destination: all destination types can be sectorized to be available only for specific groups/vehicles inside a faction; Once the destination markers are created, CSWR will take care of taking (or not) the groups there, randomly; Manually set the number of soldiers, who they are, their loadouts, who belongs in each group type, and even ground vehicles and helicopters; Add or remove Night-Vision-Goggles and Flashlights for one or more factions, easily through "True" or "False" management; There are 7 infantry templates and 8 vehicle templates to customize (with modded or vanilla things) for each faction; Define easily how many AI groups are in-game, what squad types they belong to, and their behavior: safe, aware, stealth, combat, chaos. For more details, check the documentation; IMPROVED! Available white and blacklist for buildings and ruins when groups are using Occupy movements; All vehicles and units spawned by CSWR can be (ON/OFF) editable by Zeus; Set if the CSWR should wait for another script load first on the server; Debugging: friendly error handling; Debugging: hint monitor to control some AI numbers; IMPROVED! Debugging: full documentation available. . Video demo: Video tutorials: Check the file above on GitHub. Check the file above on GitHub. Link on this post header. (Above) Editor set if all one side can use night vision goggles (or just parachuters, or only sniper teams), or only flashlights, or both gears or none. If flashlights are available they need to be on all the mission long or just when each AI decides. (Above) WATCH destination (specific for sniper groups) is working much better with high natural terrains, regardless of whether the map is an official one. (Above) Group executing OCCUPY destinations can get in high towers with better distribution positions inside. (Above) Group executing OCCUPY, if they select an acceptable ruin/destroyed building, the group will always get in a crouch in this kind of position. (Above) Even heavy ground vehicles can be paradropped. (Above) All groups paradropped, when touched the ground, they will focus on regrouping with their squad leader before starting their missions. (Above) Helicopters automatically identify where all safe and not busy helipads are to land if they need to rearm, repair, refuel, or heal their wounded crew. Dependencies: None 😉 Download: - On GitHub: https://github.com/aldolammel/Arma-3-Controlled-Spawn-And-Waypoints-Randomizr-Script - On Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2740912514 Missions using it: Tanks & Helicopters (light): https://steamcommunity.com/sharedfiles/filedetails/?id=2424050518 Escape from Kherson: https://steamcommunity.com/sharedfiles/filedetails/?id=2878171355 Ukrainian ATGM Team: https://steamcommunity.com/sharedfiles/filedetails/?id=2847369831 Fake SDF in Syria: https://steamcommunity.com/sharedfiles/filedetails/?id=2728537885 Tanks Theater: https://steamcommunity.com/sharedfiles/filedetails/?id=2160397214 ISIS VBIED: https://steamcommunity.com/sharedfiles/filedetails/?id=2732654349 - - - - - - - - - - - Changelog: Apr, 14th 2024 | v6.5.2: news, fixes and notes. Known issues: - Watch > Sniper groups still not considering buildings when no natural highlands to take a position for overwatching; - Occupy > If you hide a building and the building can be occupied, the groups will consider that hidden building as a regular place to occupy; Paradrop > When parachuters are civilians, they're crouched right after landing and stay like this forever. - Move Hold > Sometimes tracked vehicles are not facing exactly the marker direction configured by the editor;
  3. Hello, im trying to make a A-143 with jericho trumpets, so when diving it makes a sound. I have the following code so far, but I have trouble attaching the sound to the airplane. I know of say3D, however I don't think the volume can't be changed in that command, furthermore this script is supposed to be a composition so that it can be spawned on the fly in any mission. Any input is much appreciated! this addWeaponTurret ["cannon_125mm_advanced",[-1]]; this addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[-1]]; this addMagazineTurret ["24Rnd_125mm_APFSDS_T_Red",[-1]]; nul = [this] spawn { params ["_this"]; while {alive _this} do { _velocity = ((velocityModelSpace _this select 1) - 100) max 0; _vol = _velocity / 10; playSound3D [ "a3\sounds_f\sfx\alarm_blufor.wss", _this, false, _this, _vol, 1, 300 ]; sleep 3; }; };
  4. Hi friends of arma i need some help i installed gms with all addons to my exile server to get missions and roaming AI so far it works but not the Roaming AI id like to get some help ❤️ also we hire people sadly nonprofit for script/edit/bugfix if you want add me in discord : Darktechnology#8885 second issue is Traders we tryed implement RHS to them but server would stop working after that but mian issue for now is roaming ai Now to the issue id send here the RPT of server im new to make a server but i got far for being someone with low knowlesge i guess
  5. INCONTINENTIA'S UNDERCOVER / CIVILIAN RECRUITMENT This is a complex and performance friendly undercover simulation for players and their AI subordinates. Work as a guerrilla cell, go undercover, recruit comrades, and cause mayhem. SP / Coop and Dedi compatible. (For those of you who've used my previous undercover scripts, this release is a significant upgrade and represents a few hundred hours' work and testing over the last version, so hopefully you'll see the improvement!) Requires: CBA FEATURES General Virtually every factor that can affect your cover (within engine limitations and the caveats mentioned below) has been accounted for. Optimised to the max; should not noticably affect performance at all - no noticeable performance impact even during a stress test of 45+ undercover units simultaneously undercoverising several enemy patrols. Operates primarily on each client - server / client interaction is therefore kept to a minimum even when multiple players are undercover at the same time Compatible with RHS, ACE, ALiVE, Zeus, ASR, bCombat, TPWCAS, VCOM... pretty much everything its been tested on (some factions' helmets and bandannas may not be recognised but the overall effect of this will be minimal - if you desperately want all features, use vanilla or RHS versions of these assets) Comprehensive undercover / incognito simulation - Works on players and their AI group members Quick, easy setup: most aspects of the script are automatically implemented based on the settings you choose Can run in the background even when the mission isn't focused around undercover operations - automatically reduces checking overhead when unit isn't undercover so it should be practically unnoticeable No need to turn the script on or off - it just works No checkboxes, compromised notifications or any other "gamey" stuff; just an optional hint when you're obviously hostile and when you aren't - the rest is up to you Responds to whether the units are in vehicles or on foot, dressed as enemies or civilians, whether the unit's face fits or doesn't fit in with the faction they are pretending to be, or whether it is day or night, with each situation requiring players to behave appropriately Suspicious enemies may challenge or watch and follow undercover units if they act weirdly; the more weird stuff you do, the more likely they are to see through your disguise (you can even use this to your advantage to draw enemies attention away from another unit while they do something suspicious - just don't get too cocky or they will open fire on you) Players must "act" their role; doing weird stuff will raise suspicion and could blow your cover - if you point your weapon at an enemy and they see you doing it, they will get suspicious very quickly. Equally, if an enemy sees you crawling around or planting explosives, you're not going to stay undercover for long. Enemies will detect if undercover units are the nationality of the group they are impersonating; covering your face with a scarf or bandanna will reduce this but not as much as choosing undercover units whose faces fit in with the people they are trying to impersonate All actions have consequences, good or bad. If the MRAP you're driving gets a bit close to a patrol, moving into the back of it and out of sight of the enemy might just save your skin. Equally, putting a balaclava on when you're a civilian will attract a lot of attention - which is especially not good if you're already carrying a military rucksack. Once undercover units become compromised, enemies will remember the vehicles they are spotted in and clothes they are wearing - change your clothing (both uniform and either headgear or goggles) and if no enemies see you doing it, your new disguise may stick Easily switch disguises: take enemy uniforms from nearby crates, vehicles, dead bodies and the ground (and order AI subordinates to do the same) Quickly conceal and un-conceal your (and your subordinates') weapons if you have the inventory space - without faffing with inventories Different configurable detection systems for regular and asymetric enemy forces Stealth kills work - If nobody sees you firing a shot, your cover will remain intact BUT, enemies do remember suspicious units - if you kill someone and other enemies of that side already know who you are and that you are nearby, there is a chance your cover will be blown regardless However, your cover will return if you kill everyone who knows about you before they can spread the word Different behaviour for regular and asymmetric forces Define a side as asymmetric and they will not be able to share your identity outside of the local area, but they will be better at spotting imposters Define a side as regular and your cover will stay blown for much longer and for a much wider area once compromised... but they may not have such a good nose for imposters (Optional) Civilian Recruitment Undercover units can recruit civilians to join their group The more enemies you kill, and the more chaos you are associated with, the better your reputation will become The better your reputation, the more likely civilians are to join you Kill enemies without getting spotted and there is a chance they will lash out against civilians, with a potential to cause a civilian uprising (optional) Automatically arm ambient civilians with weapons and items which they may use if recruited or during an uprising Try to steal civilians' clothes from them (but be prepared that your reputation will take a hit or you may become compromised) (Requires ALiVE) Turn recruited units into a profiled group to be used by AI commander of the same faction as the undercover unit (add to object init: this addaction ["Profile group","[player,'profileGroup'] remoteExecCall ['INCON_ucr_fnc_ucrMain',2]",[],1,false,true]); USAGE Add all files from Incon-Undercover folder into your mission folder. If you already have a description.ext or initPlayerLocal.sqf then add the code to your existing files. (Make sure to delete any previous version of my undercover scripts). In description.ext, if the class is already defined (for instance, cfgFunctions), just add the #include line to the given class. Configure your settings in the UCR_setup.sqf file in the INC_undercover folder (pay close attention to these, one wrong setting can lead to some weird behaviour). For each out of bounds area, place a marker over the area with "INC_tre" somewhere in the marker name (e.g. "MyMarkerINC_tre" or "INC_tre_sillyMarkerName_15"). The script will handle the rest. But if you want, you can also include other markers by listing them in the relevant array in UCR_setup.sqf. Add in Incon Persistence if you want your band of merry men to persist between ALiVE sessions (this is now a separate script but automatically persists reputation). For each playable undercover unit, put this in their unit init in the editor: this setVariable ["isSneaky",true,true]; Non-player units in the undercover unit's group do not need anything; the script will run on them automatically on mission start. Caveats / Compatibility: Only one side can have undercover units at a time (so no east undercover and west undercover units undercoverising each other at the same time) Only one side can be defined as asymmetric at a time and only one side can be defined as regular - and both must be hostile to the undercover unit's side. So if having a three-way war, one side must be asym and the other regular. If having a three-way (...war), it is recommended to not have any incognito factions as an engine limitation means that incognito units (i.e. those disguised as the enemy) will be seen as friendly to all - could break the immersion if you're dressed as OPFOR and GreenFOR don't shoot at you when they should. For mission makers - just be aware that the following could affect your mission: enemy units may wander from their original positions to follow undercover units if they become suspicious. Also, when compromised by regular forces, an undercover unit's description will be shared across other enemies in the local area after some time if they don't kill everyone who knows about them Works on all tested mods. If you find an incompatibility, tell me! Credits Massive thanks to Spyderblack723 for his help creating some of the functions and correcting my mistakes / oversights on the original release. Also for generally being super helpful over the past year as I've got into modding. Grumpy Old Man, Tajin and sarogahtyp are responsible for creating a performant detection script, which I then adapted and used as a basis for the undercover script, so thank you to those guys too. Also thanks to das attorney, davidoss, Bad Benson, Tankbuster, dedmen, fn_Quiksilver, marceldev89, baermitumlaut and Duda123 for some top optimisation tips. And huge thanks to accuracythruvolume for testing and feedback. Download version 1.21 release candidate here CHANGELOG
  6. Dynamic Animal/Game Spawn Script This script will continuously spawn animals that can be hunted (and butchered with the ravage mod and the mods "Survival systems" module active) in proximity of the player. Showcase Video: (This is just showing the basic functions with speed up despawn times and reduced spawn/despawn distances FYI) Functions of the script: - spawn loop for animals - random number and type of animals - can be butchered (using the ravage mod and a knife) - despawn once player moves away - customizable code How to create, use and Install the script: Step 1 - init.sqf 1. Open notepad. 2. Copy this code -------> [] execVM "animalspawner.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. Step 2 - "animalspawner.sqf" 1. Open notepad. 2. Copy this code ------> from the spoiler below 3. Paste the code below into your notepad doc. 4. Save the notepad document with this name ------> animalspawner.sqf 5. Move the animalspawner.sqf to your mission folder. ========================================= animalspawner.sqf code: Script Dependencies: No dependencies. However, the Ravage mod and the mods "Survival systems" module is required to butcher the animals and process their meat. You can find all about the Ravage mod here: LINK Setting up the Script in the editor: 1. Find the Ravage section in your Editors "Systems" tab. 2. Place the module "Survival systems" Note: you need a "Gutting Knife" (from the Ravage mod) to butcher the animals 5. Place your player and start your mission. Using the script without Ravage mod: - the script runs without the Ravage mod active, no changes needed Credit: the basic template for the spawner came from a fellow ravager, however I can not trace back the specific post anymore. so shout out to all the friendly scripters from the ravage comunity for all their input;)!
  7. Hello, I just a little help with the missileTargetPos command. When running it on the VLS Missile it seems to return a random position mid air near the launcher, but not where the missile is actually intended to go. Is there a reason for this or a different way to find the target position?
  8. GF Fog Script - Mod by GEORGE FLOROS [GR] Description: GF Fog Script , create your desired , Environment. 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 Fog Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initPlayerlocal.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: Create your desired , Environment. The script will spawn a normal fog for player , according the selected options and a large size fog for the vehicles. There are 3 types of Fog for each. It is possible to spawn this , at a certain position , object or unit : name this ex : GF_Fog_3 # These examples are included in the end of the script GF_Fog_3 spawn GF_Fog_Type_2; or for more object with the same spawn : null = {_x spawn GF_Fog_Type_1;}forEach [GF_Fog_1,GF_Fog_2]; Credits and Thanks to : 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: v2.1 Fixed : an error with GF_Fog_Change_spotDistance.sqf. v2.0 Added : GF_Fog_Change_spotDistance.sqf to adjust the AIs spotDistance , an initServer.sqf , to run the GF_Fog_Change_spotDistance.sqf , an option for an FPS limit. Fixed : an error with the fog spawn underwater, an error with the vehicle fog despawn , when the vehicle is destroyed. 1.1 Fixed an error with the vehicle fog despawn. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40262 Armaholic GF Fog Script - Mod
  9. Hello, is there a way to predefine a set of custom loadouts (with mod contents) and assign them via an F menue entry to a player. Kinda simlar to ACE in Arma 3? I would like the players to spawn with just clothes. This can be defined in the editor. Then they go to a crate or whatever, scroll to their respective role and get their loadout automatically. Is there already a solution for this? Script or mod - doesn't matter. If not: Which documentation/classes would I need to look into? Thanks Miller
  10. GF Set Custom Loadout Script - Mod by GEORGE FLOROS [GR] Description: GF Set Custom Loadout Script , Set your Custom Loadout to AI and Players. 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 Set Custom Loadout Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , in the initServer.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: It is also included a mod version , posible to unpack and edit. It is possible to set the loadout also for the spawned units. There is an exclude list available or add in the init of a unit: this setVariable ["Var_GF_Set_Custom_Equipment", true]; More information inside the .sqf Credits and Thanks to : 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: v3.0 Added extended options , in order to spawn a different loadout for each side. Several Fixes. v2.0 Added files for : CUP mod , RHS mod , Unsung mod , with different variables for everyone. Full ACE3 mod list Added options for Ravage mod and ACE3 mod. Several fixes. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40244 Armaholic GF Set Custom Loadout Script Informations about exlude or spawn : There is also available a Mod with userconfig to apply settings:
  11. Simple Bomb Defuse [script] - v1.2.2 Description: Idea was to create simple "mini-game" / "chalenge" when defusing bombs in game, where unit have little time to think and create space for errors. With this script you can add possibility to "screw something" when deactivating mines. Script randomly generate string of 3 color matrix, where unit must identify which color have most appearances in matrix and cut that color wire accordingly. You can stress out unit with timer you set for deactivating the bomb. If unit cut wrong wire or timer runs out, then bomb will explode. Best object to make bomb is burning barrel, but you can use any object, just need to modify little attached objects. I added C4 and light and beeping sound to improve finding bomb in dark. Bomb can be defused with any unit, just need to have toolkit in inventory. In future, I can modify script for demotilion class only if needed. Should be working on multiplayer / dedicated server, need more testing. Instalation: - copy folder "bomb" into your mission folder - include line #include "bomb\cfgFunctions.hpp" into your CfgFunctions class in description.ext file Example: class CfgFunctions { #include "bomb\cfgFunctions.hpp" }; Usage: - place unit in editor - place object in editor (barrel) - In object init line put null = ["object", "time", "kit", "debug"] execVM "bomb\bomb.sqf"; Example: null = [this, 10, true, false] execVM "bomb\bomb.sqf"; Configuration: "object" - object to transform to bomb, default: this "time" - time in seconds for bomb defuse, default: 10 "kit" - boolean value if needed tools to defuse bomb, default: true "debug" - boolean value if need show right wire to cut, default: false Settings: open file ../bomb/settings.sqf in bomb folder where you can change internal settings of script. _choices - array of choices to cut wires, more choices will have more colors to cut, default: red, green, blue _explosion - change classname of explosion, possible values in comments _matrix - show size of maxtrix with colors, default: big _expertMultiplier - if expert is defusing bomb, unit will have more time to defuse bomb, default: 2 (time * 2x) _disableAce3 - disable/enable ACE3 interaction menu Features: - friendly hint with instructions - hint is showing only to defuser - ace3 support - JIP friendly - multiplayer / dedicated server friendly - easy installation - plug & play system - specialist have more time to defuse bomb - custom time for specialist - defusing bomb with ToolKit or DefusalKit - random generation of matrix - custom size of matrix - custom choices (number of wires) - beeping sound - blinking light Planned: - dialog for cutting wires - cutting wires in right order - when wrong cut, timer will accelerate - "slippery hands" ( this is where I move toolkit from unit inventory and spawn it next to him, as he can't cut wires when he dont have toolkit) - probability of second wiring ( first wiring is dummy ) Changelog: v1.2.2 - prevent attaching objects and sounds to object if class is not Land_MetalBarrel_F v1.2.1 - added new config parameter "_disableAce3" to disable ACE3 interaction menu v1.2 - reformat to functions - added multiplayer / dedicated server support (tested) - JIP friendly (tested) - hint showing to only defuser (tested) - battle-tested in real environment - changed to "plug & play" system - added settings.sqf file - added readme.txt file for instructions - cleaned code v1.1 - added ace3 support - added customizable explosion size - added customizable size of maxtrix - added more wires (custom) - specialist have more time to defuse bomb - custom time for specialist (default 2x time) - custom internal settings - added documentation - added simple mission for test v1.0 - public release License: Use it for public, non monetized purposes only. If you have modifications, use pull request in git repo. Will revise/include them in script. Disclaimer: Do not incorporate this script or portions of it in monetized products or servers without asking for permission and obtaining approval from me! Credits: Larrow - fix for c4 attachment MILHAUS_CZ - testing JIP and DEDI Issues: - please use issue tracker - hint showing to every player - not damaging player with ace3 Download: https://bitbucket.org/mikehudak/a3_bomb.vr http://www.armaholic.com/page.php?id=31817 Preview: Media:
  12. Hello, i need some help; im trying to make a humvee like hunter, so with a manned HMG. My thought process was to attach a prowler HMG to the Hunter and the turn everything but the gun invisible. I'm not sure how to do this or if this is the best way to do it.
  13. Hello I want to spawn the explosion of the 30 mm MP-T from the LDF APC using createVehicle. I know you can spawn "HelicopterExploBig" and I was wondering if there was a CFGAmmo for the 30mm explosion.
  14. Greetings to members of the Arma 2 community. And even though A2 is already outdated, it never ceases to be interesting. We need your help with an artillery support script from one of our community users (Bon). The script is excellent in implementation, but there is a condition for the presence of a Game Logic object - Server. But, since not all maps and missions have this module, artillery support does not work properly. Who can help remove the condition on Game logic? So that the script works without it. Help me please. My knowledge in writing scripts is not enough. The authorship of "Bon" will be preserved. I apologize if a duplicate thread has been created or not in that section.
  15. Hello everyone, is there a possibility to add an inventory to a building or an object such as a house or a chest? Thank you
  16. Hello, Consider this key in the stringtable : <Key ID="STR_CID_FREE_CITY_TASK_DESCRIPTION"> <English>Clear %1 of ennemies</English> <!-- more languages --> </Key> Using a local context, I can easily do : private _localizedDescription = format [ localize "STR_CID_FREE_CITY_TASK_DESCRIPTION", _cityName ]; However, I'm wondering if it's possible to use such strings with BIS_fnc_taskCreate I could do [ _side, _taskID, [ format [ localize "STR_CID_FREE_CITY_TASK_DESCRIPTION", _cityName ], "some title", // could be localized too "" ] ] call BIS_fnc_taskCreate; But this will be evaluated server-side and the clients may receive strings in a language that doesn't match theirs I could remotely send the tasks creation on each clients with [ [ _side, _taskID, _cityName ], { [ /* same parameters than previous code */ ] call BIS_fnc_taskCreate; } ] remoteExec [ "spawn", 0, true ]; This may work, but will require extra work to sync the tasks between the clients and the server, update the JIP queue when a task has changed and probably more stuff And in my opinion, this will goes against the purpose of using the Task Framework, which already handle all of this and can send static localized strings to clients So far, the only clean solution I found was changing the description to a generic "Clear the zone of ennemies" and as title the _cityName. This is acceptable, but I was wondering if using formatted localized strings was possible using the Task Framework Thanks
  17. So I wanted to make programmable AB rounds that explode a few meters beyond the turrets current zeroed distance. I thought I could use currentZeroing but it only gives the manually zeroed distances (100,200,300,400,...), however i need to know the distance the gun automatically adjusts to when lasing the range. Is there any way to get that value? Thanks in advance
  18. JBOY Mace Trap for Prairie Fire is released! The jungles of Nam just got a little more dangerous! This is not MP tested yet, but hopefully will work. Please report any bugs found in this thread. Fun release vid: Editor demonstration showing how to set up mace traps: Original pre-release teaser video: Get sample mission here: https://www.dropbox.com/s/erki8qb50f9his9/JBOY_MacePunjiTrapDemo.vn_khe_sanh.7z?dl=0 Credits: Savage Game Design for objects and voice files used in the script. Bohemia Interactive for voice files and sound fx. How to add Mace Traps to mission in the Editor: Copy the JBOY folder from sample mission into your mission folder. Include these two lines (copy from sample mission init.sqf) into you init.sqf file. // ********************************************************************** // Compile JBOY functions // ********************************************************************** _n = execVM "JBOY\JBOY_compileFuncs.sqf"; // Compile general JBOY functions call compile preprocessFile "JBOY\mace\compileMaceScripts.sqf"; // Compile all Mace functions Place a Whip Trap object in the editor. The direction you set the trap will be the direction the mace will swing. Note that AI may be inclined to walk around the trap, so you might want to place more objects on map to funnel the AI path into the trap. In the Whip Trap object's init field, put the following code: [this,'WEST'] spawn {sleep 3; _this spawn JBOY_maceTrapCreate;}; The second parameter above determines who can activate the trap. This script creates a trigger for the trap, so these are the values you canuse for this parameter: "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ANYPLAYER" For a Prairie Fire mission you might want to set it to WEST so only West units activate the trap. This simulates the locals (VC and Civs) knowing to avoid the trap.
  19. I'm trying to make ambient urban combat sounds around a group of players that will be moving through a city by placing units that fire at different intervals with different weapons in order to use less entities than if I were to place squads to fight eachother for the ambience. I have searched high and low for a scrip to put into the Eden Init of an entity to make a unit fire in bursts instead of just 1 shot every x seconds. null = this spawn {_this dotarget t3; sleep 0.5; while {alive t3 and alive _this} do {sleep 0.2; g1 action ["useweapon",vehicle _this,_this,0]; }}; sleep 1 This is the script I'm using, but with this script the AI just shoots once every 0.2 seconds, realoads then fires every 0.2 seconds again. I want the AI to fire a burst of 5 shots, wait for 2 seconds, fire 5 shots and wait for another 2 seconds, then fire a longer burst of 7 shots then wait for 30 seconds. I am terrible at understanding codes like these and every thread I've found on this issue is years old and doesn't answer my question directly but instead basically sais ''Play around until it works'' well I can't cause I'm dumb Sorry if there is an answer for this somewhere and I'm just blind. Thanks for any help I can get!
  20. Hi everyone, this is my issue. Im trying to force the game to display a specific asset on respawn . This is the export code from the virtual garage : _veh = createVehicle ["amf_pvp_01_mag_DA_f",position player,[],0,"NONE"]; [ _veh, ["DA",1], ["showeod",1,"turretshieldhide",1,"showCamonetHull",1] ] call BIS_fnc_initVehicle; So basically, i call my vehicle p1 and write this on the init of the vanilla respawn module : this setVehicleVarName "p1"; [p1,["showeod",1,"turretshieldhide",1,"showCamonetHull",1]]call BIS_fnc_initVehicle; BUT ... did nothing, the vehicle respawn with basic camo texture, no error message on preview during the script exec. BTW there is a mod than a user sent me but it dont work. If you saw an error on my script pls explain to me because i dont understand ..
  21. So currently I have not found many ways with my small knowledge of SQF/arma natives or finding anyway online thats been demonstrated- But I'd like assistance in creating a script. Currently I am using SOG Prairie Fire Exectutor/Random Site modules to place caches that are all removeable via addAction for a search and destroy type mission- With each cache being randomly spawned via module. All of this works and I wish to to map markers to said caches that do spawn, as the Random Site module chooses several different locations. I would like only for (in this instance EAST or OPFOR) to have markers on said objects that are the caches. What method could I use for this? A snippet in initPlayerLocal? Can someone help create a mockup of what that would be? Id like: Markers to be visible for OPFOR only in mission MOST methods for one side markers Ive seen show ALL the markers in the briefing regardless Dont know how to actualize this. In initPlayerLocal? In seperate SQF script? Have them tied to editor placed objects. In this case, the object name/type in the screenshot: Multiple objects that are names cache_(letter)(number) ex. cache_a1 Any help is appreciated. I dont really know where to start code wise.
  22. Good morning, I would like to know if it is possible to put a video in a workshop mod and then show it on a server to all players. Currently I know how to create a mod in the workshop to put custom music but I would like to know if it is possible and how to put a video in the mod to subsequently put a command on a server to be played to all players. I have tried to search but I have not found a way, if anyone knows how to do it I would be very grateful.
  23. Hello! ETHICS is a full solution script for ARMA 3 that provides wide creation and management over statics kill zones like minefields, UXO zones, and trap zones. Built for single-player and multiplayer, ETHICS include kill zone doctrines such as land anti-personnel, land anti-materiel, naval anti-materiel, unexploded ordnance, and booby-trap. How to install / Documentation: https://github.com/aldolammel/Arma-3-Ethics-Minefields-Script/blob/main/ethics-minefields.Altis/ETHICSMinefields/_ETH_Script_Documentation.pdf What to expect from ETHICS script:   Drag and drop a marker on Eden to create a full and unique kill zone such as minefields; Also easy to build naval minefields, Unexploded ordnance zones (UXO), and Trap zones; Ethics control (ON/OFF) to avoid planting explosive devices through civilian areas; Topography control (ON/OFF) to avoid planting over rock clusters and mountains; NEW v1.5 UXO doesn't respect Ethics or topography rules, and can be dropped under the water; NEW v1.5 Boobs-trap doesn't respect topography rules and they are always hidden, never in the open; Anti-personnel (AP) landmines avoid roads and streets; Anti-materiel (AM) landmines can be planted (ON/OFF) only on roads and streets; Classic minefields can be also hybrid, bringing AP and AM mines features; Customize each doctrine's explosive with devices from RHS, CUP, or anyone mod; Set (or not) for each kill zone has a faction owner; NEW v1.7 Set (or not) for each kill zone a percentage of presence, controlling the kill zone spawn probability; Easy explosive devices amount management through the global intensity presets: lowest, low, mid, high, or extreme; Easy way to hide all markers on the map (ON/OFF), even to kill zone owners; Debugging: friendly error handling; Debugging: a hint monitor, and systemChat feedbacks for the mission editor; Debugging: full documentation available. Video demo: Soon. Script config: Dependencies: None 😉 Download: On GitHub: https://github.com/aldolammel/Arma-3-Ethics-Minefields-Script On Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=2926204522 Missions using it: Escape from Kherson: https://steamcommunity.com/sharedfiles/filedetails/?id=2878171355 Sharia in Raqqa: https://steamcommunity.com/sharedfiles/filedetails/?id=1849325560 Adsumus: https://steamcommunity.com/sharedfiles/filedetails/?id=1838939661 Tank hunting: https://steamcommunity.com/sharedfiles/filedetails/?id=2468255648 - - - - - - - - - - - Changelog: Feb, 11th 2023 | v1.8: news, fixes and notes. Known issues: UXO cosmetic smokes are not working properly on Dedicated Server (WIP); Dynamic Simulation looks not work properly with mines; Mines is not editable by the Zeus module yet;
  24. Last content update: 6/13/2018 showing how to use the radius for addAction, using params instead of select, adding to arrays with various commands, altering arrays with various commands, get/setUnitLoadout Last content update: 6/10/2018 going through config files and getting details to sort what you want, using radius with addAction, params, and altering arrays with resize, pushBack, pushBackUnique, set, and append and going over to assist with resize count. Last content update: 5/27/2018 added GUI tutorial for how to make a weapon selector using cfgWeapon Last content update: 5/24/2018 added sector control tutorial Last content update: 5/21/2018 This is my arma 3 scripting tutorial series which is aimed to help both people getting into making their own scripts with fairly detailed simple tutorials as well as for the intermediate person looking to create their own features for their missions. The plans for this series is to almost fully cover everything behind the arma 3 missions that people play on a daily basis and have enough content provided in the videos where people can go off and make their own vision for their mission with the knowledge gained. Most of these videos are made on the fly at 1AM-4AM without any pretesting which should give someone the idea of what goes into finding syntax errors and narrowing down a bug that's causing your feature to not function properly. It is also an excuse for you to cut me some slack if you see mistakes :) . A lot of these tutorials are made with multiplayer in mind since I think most people want to play their missions online with their friends(which is why publicVariable has been utilized so much so new people can get a good grasp on the power those commands have). New videos are added to the playlist almost every day so if your stuck with something, maybe it has been covered in a video. If you have any requests on what you would like to see made then please suggest it here. topics covered so far Scripting tutorial playlist Database tutorials with INIDBI2 playlist GUI/Dialog tutorials playlist
  25. I am pretty new to doing any sort of SQF/init scripting that isnt just frankensteining code together so I would appreciate any help! Simply put, I want to make a fun little roleplay mission where for that mission, a phrase comprised of multiple randomly selected arrays is generated. The Indfor act as captives that are all assigned ONE word from the phrase at random to keep secret. (This is where multiple arrays work better since you can just call the arrays by "word1", "word2", "word3". (I intend to have 4 words, 1 array for each.) And ontop of that I want the entire code phrase to be displayed in its entirety to the Blufor. For this to work, the result of the generation needs to only be prompted once and then have. TLDR: Server generates a code phrase from several arrays. I cant figure out the init code and they usually return as null no matter what I attempt. And to be exact, I dont want people to generate a phrase/array results every time they call; I simply want it generated, stored, and have players access the results. I dont know how efficiently this could be done whatsoever outside of theory crafting nonsensical code. If there is a better alternative please help me out. Please help, Working backwards I am trying to: I inserted the code into initServer.sqf for simplicity; Can execute it as a script later on? Or is a dedicated SQF necessary? This code is almost certainly full of wrong or incorrect syntax/formatting. This is just an outliner of what I am trying. If my method is wrong then please help me goal wise. 2. Have a way to display either a SINGLE result of that array on individual units, preferably just adding a action into their init boxes to get the array/codephrase. I want 2 UserActions I can insert into unit inits; One that displays the codephrase, and one that displays a single array's result- as hints.
×