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

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. Hi. How can I make vehicles face a particular direction? (similar to how you order your units to face a direction, so that the vehicle does it willingly!)
  2. Hello, this is a simple script to halo jump a player. Does it work in Multiplayer? Yes, MultiPlayer and SinglePlayer. What does this script do? This script allows a player to HALO on a given point on a map. How do I use this script? Place the script in Select an object on the editor and place the following line into its init to allow HALO from the action menu: (remove <t color='#37A9E7'></t> to show it as plain white like any other action) //If script is in scenario root directory this addAction["<t color='#37A9E7'>H.A.L.O. Jump</t>","[player] execVM 'halo.sqf';"]; //If script is in other scenario directory this addAction["<t color='#37A9E7'>H.A.L.O. Jump</t>","[player] execVM 'yourFolder\halo.sqf';"]; halo.sqf //Uncomment following line if used as function //_unit = param[0]; //Uncomment following line if used as script _unit = _this select 0; _haloAltitude = 1000; //Opening map and handling click openMap true; mapclick = false; onMapSingleClick "clickpos = _pos; mapclick = true; onMapSingleClick """";true;"; waituntil {mapclick}; _haloLocation = clickpos; _unitLoadout = getUnitLoadout _unit; cutText ["H.A.L.O. in progress...", "BLACK OUT", 1]; sleep 1; openMap false; _unit setPos _haloLocation; _unit addBackpack "B_Parachute"; //Halo [_unit, _haloAltitude] call bis_fnc_halo; sleep 2; cutText ["", "BLACK IN", 1]; waitUntil {(getpos _unit select 2) < 2}; //Giving loadout back sleep 1; _unit setUnitLoadout _unitLoadout;
  3. Greets guys (and girls if there are any) ! I need a script bu which only pilots can use choppers and planes. Can anyone explain how to do that? Thanks
  4. Greets guys (and girls if there are any) ! I need a script bu which only pilots can use choppers and planes. Can anyone explain how to do that? Thanks
  5. Hi. I have a script that handles a group of 3 units. One of the group is a leader , another is just a rifleman and the third one is a gunner of a static weapon. In a script I can select the leader by the following code: _leader = leader _group //(_group is not defined here but lets pretend it is) I can select the rest of the units with: _restofunits = (units _group - [_leader]); This way I have 2 units left, but I need to select one of them, what would the code be ?
  6. "So gory, that Bohemia Interactive once banned it from the Workshop!" "The most badass mod you've ever used." Adds various elements of gore to ArmA3 such as blood splatters, blood sprays, blood pooling, bleeding, gibbing, and other misc details. For Multiplayer: Servers and clients must run the addon. Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=667953829 Github: https://github.com/zooloo75/BloodLust/ Requires CBA! The addon must be running on the server and all clients. YOU MAY NOT RUN BLOODLUST ON A MONETIZED SERVER WITHOUT MY PERMISSION! Support my endeavors with a generous donation using the "Donate" button below. Donations go towards coffee/beer and stuff. Thank you for your generosity! 🙂 Changelog:
  7. I'd like to give some turrets an IR Laser pointer. It looks like addWeaponTurret will not work since there is no weapon for IR Laser Pointer. Is there any way of achieving this effect? Thanks for any tips.
  8. 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
  9. Hello! im trying to make a script that spawns 1-3 helicopters on a random location on a map and they starts to patroling. what i have so far is this : _vehicle = createVehicle [ "B_Heli_Light_01_F", player getPos[ 100, getDir player ], [], 0, "FLY" ]; createVehicleCrew _vehicle; this is spawning it in the air but i cant seem to find anything that makes it spawn random, this makes it spawn over the player head. i know that BIS_fnc_randomPos exists but cant seem to get it to work. i also need the script to add " [group _unit, getPos _unit, 1000] call BIS_fnc_taskPatrol; " to the helicopters init field to make it start patroling. and maybe if we are pushing it, maybe having to loiter a little around each waypoint i feel like i got almost all the pieces to the puzzle but have lost my glasses so i cant put it together... i hope you guys can help.
  10. When the normal Prairie Fire napalm effects end, there is no visible damage to trees, bushes, grass and buildings. This is bad for immersion. This script improves on that by detecting where the napalm bombs impact, and replacing trees, bushes and buildings with burnt and burning trees/bushes/buildings. These scripts work for airstrikes called via the Air Support module or airstrikes created via scripts. Download sample mission Credits: @aliascartoons for his excellent Fire scripts. All fires on trees, bushes, buildings, vehicles and men are created using his scripts. Thank you Alias! (I have modified these slightly to use arma sounds so the sample mission does not require his sound files or description.ext) @pierremgi for pointing me to the Prairie Fire airstrike scripts. How to add to your mission: ...I will add in these instructions tomorrow! 🙂
  11. DynamicCamo (Updated Version 1.5 ) 17/5/19 What does it do? It takes account of players stance, uniform and environmental factors to adjust the players and/or AI unitTrait CamouflageCoef and audibleCoef A low camouflageCoef and audibleCoef gives greater camouflage to the unit and makes it harder for ai to see and hear you. Units appear to be created with camouflageCoef set t0 1 as default. This script dynamically resets this depending on a number of factors. It does this each time player changes stance and at set intervals. This is not just a "stealth" or Ghillie script and will provide camo benefit in all infantry combat. No distinct handling of urban environment at this time. Maybe later. Why? Player may feel AI are not sufficiently impaired in detecting player by factors such as uniform camo, light level, rain, Overcast level, Fog, and Wind, and Trees, Bushes and rocks near player. Script allows player to determine what impact these factors will have on AI ability to detect player or ai unit by sight and sound. It does not alter AI ability to detect movement. When the script is run on an ai unit it impacts the ability of other ai iunits to see or hear that uit depending on environmental factors etc just as for player. What influences the Dynamic Camo? Units stance, units uniform, Fog, Rain, Overcast, light level,wind and bushes or trees and some other objects ( rocks, telephone poles so far) adjacent to unit. Changes happen automatically on change of stance (a minimum 3 second cooldown is built in.) and at scheduled intervals of around five seconds. Can the effect be adjusted ? User can adjust impact of the Dynamic camo by passing the range for the impact for both caounflageCoef and AudibleCoef . These are passed as arguments when calling the script. See guide to adjusting the effect. Installation Copy script as camoscript.sqf to mission folder. In player init ( and/or the init of any other ai unit you want to have dynamicCamo running on) put camo = [this, "DEBUG", 0,1,0,1,5] spawn compile preprocessFile "camoscript.sqf"; will run script in DEBUG mode with a five second recalc delay and a full effect.. Remove DEBUG to turn off and just play. IMPORTANT - the script monitors keys associated with stand/crouch and prone through the use of User1. It will work if you don't do this but you will only get the automatic calculation every five seconds and not the additional stance change triggered recalculation. Go to the menu - controls>custom controls > User1 and ensure you set both the prone key AND the crouch stand key for User1. ( usually z and x keys) If you want to use a different User number select User2... User20 as desired, set keys as stated and change User1 to your desired User,n in script. USE You don't need to do anything other than occasionally crouch, stand up , go prone and watch the different camouflageCoef that is being set for you. Try at night V day, with and without rain, fog etc and watch result. In general I am trying to adjust the impact of the various factors so that they combine together sensibly. User can adjust impacts via linearconversion. If anyone doesn't understand anything please ask. Script prints calculated values when DEBUG on. A BRIEF GUIDE TO ADJUSTING THE EFFECT - NOTE 1- It takes quite low values of camouflageCoef to make detection quite hard so this version comes with the factors and the result scaled towards that direction. 2 - I am tuning the impact of factors as the script develops. If you want to try your own tuning try the graph calculator link below then adjust linear conversion output ranges or specific values ( eg for stance) as required. The values currently in the script give a fairly good out of the box result though. Further Development Plans 1) make specific calculation for audibleCoef- done.2) weighting for unit being near bush(s) - done 3) same for tree(s) 4) parameterise adjustables so that they are supplied by array? done 5) handling of weighting for uniform ( ie ghillie suits etc) done ( may upgrade further) 6) test and weight for inside building 7) useable for squad and other ai. (partly done) 8 ) consider MP and JIP compatibility. Version/ Update Notes This is an annotated fully working version. I trust the annotations make the script self explanatory. Version 1.1 - included setting of audibleCoef. Make unit harder to hear. Separate scaling of effect for audibleCoef to allow user to define how much they want impact on audibleCoef. Version 1.2 - handling of light level significantly improved around dawn and dusk. Light level impact adjustable via linearconversion. Version 1.3 - audibleCoef calculation now uses specific factors which can be weighted separately from those for camouflageCoef. Other tweaks include adjustment of range values Version 1.4 - 1) script now auto recalcs every 5 seconds as well as on stance change. Soldier can keep lower stance camo max five seconds on bob down and up. 2) calculated values shown by systemchat and hint for camouflagecoef , audiblecoef and number of trees/bushes/hides found in 2m radius. Turn of by setting DEBUG to empty string in call ie camo = [this,"DEBUG"] spawn etc. See installation. 3) calculation now influenced by near proximity of trees bushes and hides to player. 4) sleep after stance change calculation shortened to 2s for better responsiveness. Version 1.5 1) script now has parameters which can be passed to it allowing easy adjustment of Dynamic Camo impact. See USE. 2) Script now gives different DynamicCamo depending on uniform type. 3) Script works with ai to ai. Ai running the script benefit from DynamicCamo. 4) Recalc interval can be specified per instance of the script. The Script - The script was starting to clutter up this first post so I have removed it. The script is available via the download link for the test scenario at the bottom of this post. If you have any problems getting it from there let me know. All comments welcome. I set up this graphical calculator to show how the function works - just mess with the sliders. https://www.desmos.com/calculator/buiia4zs2j Test scenario mission with v1.5 https://www.dropbox.com/s/xf6x34963ixjue0/camouflagescript.Altis.zip?dl=0 Watch camo level change on stance change. Watch values change as you move about (script in this version also shows opfor man knowsabout unit value with debug set.) Try to escape across the patrolled fields. For me the effect is a bit strong at this point but you can change values in script call. See adjusting the effect above. Make sure to set User1 keys to x and z as instructed above before playing or recalc on stance change wont work. Sept 2022 - Now available on steam Workshop as a MOD whcih autoruns on player unit at teh start of any scenario, ,mission etc with standard settings giving a reasonable camo impact. THis autorun dynamic Camo can be stopped and mission makers can still use their own parameters or mess with debug mode using the mod.
  12. Hi! I'm looking to force a custom display on top of the arma 3 loading displays. But currently I can't do it. Anyway all works except when I press the "ok" button in the lobby. That's when arma switches its displays to the top. And no way to counter it. I tried several ways: - used a oneacheframe with the command "createDialog ["displayName", true]" - used a oneacheframe with the command "createDisplay "displayName"" - used a oneacheframe with the command "createDisplay "RscText"; _dsp ctrlSetBackgroundColor [0,0,0,1];" - to override the arma 3 base classes in the config.cpp with their "onLoad" - create a control on the current display. - used an init.sqf (with respect to its initialization order) - used a preInit function (mission and mod side) - used a prestart function Do you have any ideas? Thanks in advance ^^
  13. Trying to make notifications. Arma returns "missing semicolon on line 2", but there is clearly different problem. Code: Techincally, is ctrl-c, ctrl-v from bohemia docs. Code reach line 2 for sure, but after that I have no idea. //////////////////// NOTIFICATIONS ////////////////////////////// class CfgNotifications // error here "class [#]CfgNotifications" { class Default { title = ""; iconPicture = ""; iconText = ""; description = ""; color [] = {1,1,1,1}; duration = 5; priority = 0; difficulty[] = {}; }; class TaskCompleted1 { title = "TASK COMPLETED"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; description = "Poor vehicle."; }; }; //////////////////// NOTIFICATIONS END //////////////////////////// Please tell me, that I missed something obvious. I tried to comment out line by line, but for no succes.
  14. Adds battery to night vision googles, it uses "desiganator battery" from ACE3 and it can be changed via ACE action menu. Requires ACE3 Feactures: - Adds battery to NVGs - Thermals consume double - Time acceleration how to use: - Download Script from here: https://github.com/Flyingtarta/clv_nvg_battery - Paste folder on mission root - add to description.ext: class CfgFunctions { #include "clv_nvg_battery\functions.hpp" }; class RscTitles { #include "clv_nvg_battery\gui\interfaz.hpp" }; Battery last 5 hours. Script is under developement and ill be a mod in a future if there is some problem when using it you can disableit midgame with: missionnamespace setvariable ["TARTA_NVB_BATTERY_EXIT",true,true];
  15. Hello everyone, I was hoping to find some help here. I just recently started tinkering with scripts to make missions for me and my friends to play. I want to implement a Huron that will fly to one randomly selected marker from an array of markers and place a cargo container, then fly off. The heli should start after a given time after mission start. For that I have a script that works in singleplayer, but not in multiplayer. 1) I have a systemchat message that displays when the script runs but it only shows on my machine. What do I need to do here? the relevant code is: systemChat str(format ["You can hear a Helicopter in the distance."]); 2) If I launch the mission in Editor MP, the debug message informs me that the variable _heli for my huron is "undefined variable in expression". I don't understand why it considers it "undefined". the relevant code is this: _heli_spawn = [_spawn, 0, _heli_class, West] call BIS_fnc_spawnVehicle; _heli = _heli_spawn select 0; ---------------------------------------------------------- Whole script is this (taken from some guy in the forum and slightly edited for my needs): P.S. i have the following in the init file: 0 = ["B_Heli_Transport_03_F","Land_Cargo10_military_green_F","spawn","destination",10] execVM "slingload.sqf"; Thank you guys in advance.
  16. Hello, Disclaimer: This is my first time delving into arma mission files, a have a small idea of what I am doing, but do not know what these files or folders should look like, nor have I ever dealt with a script before. Thank you for any help in advance. I am trying to set the addon free radio script into my LAN Antistasi Plus server. I have done what the video tutorial and what the written tutorial say to do, but cannot seem to get it to work. The script in question: https://forums.bohemia.net/forums/topic/200791-release-addon-free-arma-radio/ these are the photos of my folders, description.ext, and init.sqf file: https://drive.google.com/drive/folders/14UhTYxi86fVse8sKlMElOdvngPFOnRse?usp=sharing (Idk how elese to link photos, I am horribly unsavvy with tech, sorry for odd formatting. Again, thank you.) -PlagueDoctorCat
  17. Hello, A server owner has tasked me with creating a script to teleport him and his group of admins to a position on the map determined by a mouse click. We're doing this via "player addAction" and he already has a trigger set up to "removeAllActions player" when done. The owner needs the action to first open the map, where he will LeftAlt-LMB click on a position, and the script to teleport him and his group to that position without breaking formation. For the sake of simplicity, could the addAction possibly be put in the Init field of a playable character which execVM's a squiff? I also found this elsewhere on the forum: fnc_teleportGroup = { params ["_group", "_position"]; private _leader = leader _group; { private _dir = _leader getDir _x; private _dist = _x distance2D _leader; _x setPos (_position getPos [_dist, _dir]); } forEach units _group - [_leader]; _leader setPos (_position getPos [0, 0]); }; [group player, [x,y,z]] call fnc_teleportGroup; How can this be modified to both open the map on the addAction's activation and close it after the teleport is done? I want the xyz to be replaced with the leader's relative coords. Like a translation of a shape whose vertices are members of the group, except done with a script. I used to be able to do this but in the years since 2015 I have lost my ability and patience to write scripts myself. Big, ginormous thanks in advance.
  18. Korskyi

    arma3 editor

    Greetings Arma players! I hope you are doing well. Recently I bought Arma3 and spent quite an amount of time in this game, needless to say, I have enjoyed it so far. Then I decided to try something new - create my own mission (Like a single operation nothing big). Now I am learning what this magnificent thing called "Eden editor" is, many things are understandable but here comes the more complicated part - scripting. The idea of what I have in mind is next: there is a task to clear the city out of enemy units after it's completed the marker on the map should change to another type and the player will receive a task to defend a position and after that comes an enemy attack of a few prepared npc's. I know it's not the best idea for a newbie to start with something complicated, but I'm really fired up for this. So I was wondering if you, honored arma veterans, could give me some advice or tips on where to start or which direction I should take. Thank you in advance!
  19. I'm using Ace mod and there is that plasma sack with the id as follow: ACE_plasmaIV_250 Well, I'm trying to remove it from my inventory when I reach the trigger area with the command : this removeItem ACE_plasmaIV_250; ...but nothing happens I've also tried use: this removeItemFromBackpack ACE_plasmaIV_250; with the item in my backpack but still nothing happens... :l Any idea? tks in advance!
  20. GF Temperature Script - Mod by GEORGE FLOROS [GR] Description: GF Temperature Script - Mod , the values are based on real measures. 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 Temperature Script - Mod 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/ ArmA 3 | Notepad ++ SQF tutorial https://www.youtube.com/watch?v=aI5P7gp3x90 and also use the extra pluggins (this way will be better , it will give also some certain colors 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: The Values are based on real measures and there are 4 different options according to the selected climate. 1 = Hot Desert Climate , 2 = Mediterranean Climate , 3 = Subarctic Climate , 4 = custom The changes are affected from : month time Sun Elevation overcastForecast fogForecast rain gusts Altidude Sea Deep Sea Depth The Temperature Variables are : GF_Temperature_Sum_Air GF_Temperature_Sum_Sea It is possible after the script initialisation , to use them in other scipts etc. This scipt will be used in the future , for other projects as well. It is also included a mod version , posible to unpack and edit. Credits and Thanks to : Big thanks to CarlGustaffa for his Sun elevation code. https://forums.bohemia.net/profile/742616-carlgustaffa/ 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: v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40349 Armaholic GF Temperature Script - Mod
  21. I wrote a simple script to automate the IDAP de-mining drone. You can use it for cutscenes etc, or just sheer laziness. You input the drone, a centre position to start, and a radius. It will disarm bigger mines/satchels/uxos first so that they detonate the smaller ones (saves you some time). It won't work on underwater mines or underwater mines that have been placed on the land (for good reason). It only carries 4 de-mining bombs so it will automatically land where it started and rearm. Once it is finished it lands and turns itself off. I was going to put in a rearm from crate option, but the magazine classname it uses doesn't have a picture so it errors whenever you look in the crate. In the end I cut that rubbish out and just had it land, pause for a few seconds to simulate rearming then taking off again. I couldn't get it to change altitude reliably (because Arma), so even though the flyInHeight is set to 10, it seems to hover at about 50 metres. I think it's ok for what it is though. Thanks to Evil Organ for gifting me the DLC, which was really nice of him Feel free to improve on this and so on. :) Script: fnc_demine = { params ["_drone","_origin","_radius"]; private _startPos = ASLtoAGL getPosASL _drone; _drone setBehaviour "careless"; _drone setSpeedMode "limited"; _drone flyInHeight 10; _drone removeAllEventHandlers "fired"; _drone addEventHandler ["fired",{ (_this select 0) setVariable ["deminer",_this select 6]; }]; private _pad = _drone getVariable ["pad",objNull]; if (not isNull _pad) then { deleteVehicle _pad }; _pad = createVehicle ["Land_HelipadEmpty_F",_startPos,[],0,"can_collide"]; _drone setVariable ["pad",_pad]; private _noMags = false; private _mines = []; waitUntil { _mines = allMines select {_x distance2D _origin < _radius and {not (getTerrainHeightASL getPosWorld _x < 0)} and {toLower typeOf _x find "underwater" == -1}}; if not (_mines isEqualTo []) then { _mines = _mines apply { [ getNumber (configFile >> "CfgAmmo" >> typeOf _x >> "hit"), _x ] }; _mines sort false; _mines = _mines apply {_x select 1}; private _mine = _mines select 0; _drone doMove ((ASLtoAGL getPosASL _mine) vectorAdd [0,0,50]); waitUntil { sleep 5; (vectorMagnitude velocity _drone < 1 and {unitReady _drone}) or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone fire "BombDemine_01_F"; waitUntil { sleep 0.5; isNull (_drone getVariable ["deminer",objNull]) }; _mags = magazinesAmmoFull _drone; _noMags = if ([] isEqualTo _mags) then {true} else {if(_mags select 0 select 1 > 0) then {false} else {true}}; sleep 3; }; _mines isEqualTo [] or {_noMags} or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; call { if (_noMags) exitWith { _drone doMove ASLtoAGL getPosASL (_drone getVariable ["pad",objNull]); waitUntil { unitReady _drone or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone land "land"; waitUntil { sleep 0.5; isTouchingGround _drone }; sleep 3; _drone removeMagazines "PylonRack_4Rnd_BombDemine_01_F"; _drone addMagazine "PylonRack_4Rnd_BombDemine_01_F"; if (alive _drone) then { [_drone,_origin,_radius] spawn fnc_demine } }; if (_mines isEqualTo []) exitWith { _drone doMove _startPos; waitUntil { unitReady _drone or {fuel _drone isEqualTo 0} or {not (canMove _drone)} or {not alive _drone} }; _drone land "land"; waitUntil { sleep 0.5; isTouchingGround _drone; }; _drone engineOn false; _pad = _drone getVariable ["pad",objNull]; if (not isNull _pad) then { deleteVehicle _pad }; } } }; Here's a test mission (I don't think you need to own the dlc to play it as you don't technically use the assets) https://drive.google.com/open?id=0B1kzYgzONxC0RGN6cE9VMVlUZnM 0,0,0 to start demining!
  22. Hi all! I have this simple script of fuel consumption working in EDEN editor pretty well: _veh = vehicle player; _rate = 0.003 ; _loadMultiplier = 0.003 ; _tooSlowRate = 0.004 ; _tooFastRate = 0.008 ; _speedMult = 0; while {true} do { if ((alive _veh) and (_veh != player) and (isengineon _veh) and ((fuel _veh) > 0)) then { _crew = count( crew _veh); _load = _crew * _loadMultiplier; _speed = speed _veh; if(_speed < 30 ) then { _speedMult = _tooSlowRate; }; if(_speed > 90 ) then { _speedMult = _tooFastRate; }; _realLoad = _rate + _load + _speedMult; _veh setFuel ( (fuel _veh) - _realLoad); }; sleep 5; }; But it's not work on dedi server(( Can anyone help with this? P.S. Server mod: AltisLife 4.4r4, if it mean something... Tryed both - server and client sides...
  23. Hi Guys, Background I want a simple script that spawns certain random vehicles from a pool at random intervals and attacks a random player. Here using the example of helicopters, the whole thing will follow later for jets, ground vehicles, etc. Distances and timings are greatly reduced for testing. Choice of Randomplayer is double made because of testings. Observation The script starts as expected, but when the helis reach the AO over Player they don't really attack with main or ship guns. Rarely a short salvo but no real attack. Trials doFire normally lets AI auto-aim, so I've tried without doTarget as well. But same result. If I read the table at the bottom of the BI Wiki, (Link: https://community.bistudio.com/wiki/fireAtTarget) fireAtTarget could be a solution.# What I wanted to avoid was spwawing AI, forming groups, occupying a vehicle and then acting via waypoints. Since I would like to send random vehicles from a larger pool and that would make things very extensive. Script My Question Do you have any tips and recommendations that could help me with my desired scenario goal of dealing with the AI? Am I on the right track or should I solve it completely differently? Thanks for your support.
  24. JBOY Punji and Willy Pete Victim FX Here's some fun visual effects to make your awesome Prairie Fire missions a little more visceral: Download the sample mission here Issues: Untested in Multiplayer. If one of you guys wants to test that out for me and give me feedback, that would be great. To implement in your missions, copy the JBOY folder from the sample mission into your mission folder, and copy the lines from the init.sqf into your init.sqf. Credit: Thanks to @HallyG for the blood spray particle fx.
  25. GF Drop Loot Script by GEORGE FLOROS [GR] Description: GF Drop Loot Script , Enemies , will drop items or add to their inventory , when killed , configurable . 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 Drop Loot Script please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included in the description.ext and 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: The Loot is configurable 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: v2.0 Code optimization, added configurable items inside uniforms, added setting options and small additions inside the script, changed the name of all the scripts , starting now with GF . Version 1.0 - first release Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39889 Armaholic download GF Drop Loot script
×