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 659 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. Hello again, I'm working on a 1 versus 1 deathmatch mission (There's a closer description in another Forum-Topic). The respawn is working as well as the rest of it. The last thing I want to add is a scoreboard with the remaining tickets but not like the one when you press 'P' (at least in my case). At first I wanted an always shown indicator like in Tom Clancy's - Rainbow Six Siege at the top middle of the screen. After a while I found this script (Steam-Source). It's not a permanent indicator (which I would prefer) but it shows at least after every respawn a count. This is for the client and this is for the server It could be my mistake but I didn't manage to get this to work and I find the following problem: A dead player is always seen as an civilian. Because of that the script just always runs the "else" path. So the scoreboard shows not the real remaining tickets. As a "fix" of this I found this on steam (Steam-Source) but I didn't manage to do this. Can someone help me fixing the bug for the scoreboard I found? Or is someone able to script a scoreboard like the one in Rainbow Six? Thank you very much for your help!
  3. Hey there! Looking to get an easy UI made for gear selection for my players. I want them to interact with an object, which will bring up a screen; based on their selection(s), certain things will be available, and when they click "Go!" it will give them their loadout. Please reach out to me if you feel you can complete this in a timely manner! Also please include any cost(s) associated!
  4. 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.
  5. 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.
  6. 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!
  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. 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:
  9. 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 :)
  10. 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!
  11. 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??
  12. 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?
  13. 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)
  14. 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"; }; }; };
  15. 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
  16. (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
  17. 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...
  18. GF Ambient Environment Winter Script- Mod by GEORGE FLOROS [GR] Description: GF Ambient Environment Winter 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 Ambient Environment Winter 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 , initPlayerlocal.sqf and the Description.ext , 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 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: Create your desired , Ambient Environment. This is a compilation of scripts and it is also including , the GF Ambient Environment Winter Script. The included Scripts are : GF Breath Script GF ColorCorrections Script GF Fog Script GF Weather Script GF Ambient Environment Winter Script The GF Ambient Environment Winter Script includes , a snow script and ambient sounds, for animals , birds for day and night , man sounds , forest SFX , wind blowing sfx and weather sound according to forecast. The available options can be edited in GF_AEW_init.sqf It is also included a mod version , posible to unpack and edit. 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: v1.2 GF_Breath Script Updated. v1.1 GF_Breath Script Updated. GF_Fog Script Updated. v1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40268&n=last#bottom Armaholic GF Ambient Environment Winter Script- Mod
  19. Hello, everyone! I want to add a script to any kind of video players in the game - tv, laptop, phone, screen. I want to use some kind of addAction script to be able to interact with the video player and when I am done a video shall start. Would you help me with the right script? I've been searching over the net for the past few days with very small success. Thank you in advance!
  20. I want to make a big Sector Control mission in the editor and then export to Singleplayer to play. I put a lot of Sector Control Modules on the map in the editor, I set Spawn AI Modules for BLU and OPF and exported to Singleplayer, in the beginning everything worked as it should, AI spawns, moves, fights with each other and conquers Sector Controls by map, then after I clicked Save & Exit to continue this mission later. But after reloading the save game I noticed that me and the AI (BLU and OPF) can´t capture Sector Controls. Sector Controls do not change color, they remain gray. The modules seem to have stopped working after the reload and need to be reactivated via script? How can I reactivate this? I wish I could save this mission so I could easily reload and continue later. Not that I have to play the whole mission in one piece. This is very important to me! If anyone can help, I will be very grateful.
  21. Hello, I searched a long time for a working restraining script, which works in MP. Long story short, I didn't found one, so I wrote one myself. Yes it's not perfect, so feel free to improve it, but it works. ******************************** Create a file called onPlayerRespawn.sqf (or use your existing one) and put the following code into it: restrain=false; restcaller=false; Create a folder called scripts. Inside this folder create a file called restrain.sqf and put the following code into it: restcaller = false; if (restrain=false;) then { if (player distance cursortarget < 2) then { restcaller = true; [[[],"scripts\restrainTarget.sqf"],"BIS_fnc_execVM",cursortarget,false,false] call BIS_fnc_MP; }; }; player distance cursortarget < 2 --> the number is the max. distance in meters to restrain someone. Change it to whatever you want. Inside the folder scripts create a file called restrainTarget.sqf and put the following code into it: if (restcaller isEqualto false) then { if (restrain isEqualto false) then { restrain=true; player setVariable ["restrain", true, true]; while { player getVariable ["restrain", false] } do { player playMove "AmovPercMstpSnonWnonDnon_EaseIn"; //Animation in if (((!alive player) || (player getVariable["onkill",FALSE]))) then { player setVariable ["restrain", false, true]; }; }; player playMoveNow "AmovPercMstpSnonWnonDnon_EaseOut"; //Animation out } else { restrain=false; player setVariable ["restrain", false, true]; //Set surrender to true player playMoveNow "AmovPercMstpSnonWnonDnon_EaseOut"; //Animation out }; }; restcaller = false; Using the script: You can either use addaction or a keyhandler to execute the script. When you execute the script the player pointed at by the cursor will be restrained (as long as he's in your configured range). Executing the script again will set the player free. If you have any questions or need help with your mission feel free to ask! Cheers Puffin
  22. Hiya, I'm having some trouble with a script for a mission that is supposed to have a vehicle with something like a loudspeaker on it. The plan was to use TFAR for this for the cool effect of being able to actually speak through it and your voice then blaring from the car over radio and this making a bunch of civilians react in different ways. (I'm not having problems with the actual sounds and mod the problem is checking for certain conditions being met) I've found the event that I need to call to check for whenever someone transmits over a radio and set it up so that it only activates using the right frequency. However I also want it to only work when you SPEAK through the radio. There's a boolean that you can check for to see if someone is speaking but obviously if I use this in the event code it is only called once when the button is pressed. So I'm having some problems with how to implement this. Also excuse the shittily written and formatted code this has been cut and pasted through a few times so whenever I get something functional I'm gonna rewrite it a bit nicer. Here's what I got so far: radioBroadcastScript.sqf (executed in init with the argument of "230" just for testing purposes) //These first lines check for the arguments of the script. If none are added it will use the defaults. //First argument is the braodcast frequency. Note this has to be between 30 and 512. DEFAULT is 79.3 if (isNil {_this select 0}) then { _this set [0, "79.3"]; }; //Set the frequency at which the broadcast is detected on. broadcastFrequency = (_this select 0) ; //For each player in a group run the code below { //Register event to unit. This event is from TFAR and is for when someone presses or releases the radio transmit button. ["BroadcastingThroughSpeaker", "OnTangent", { //The event information. Unit object, radio object, radio type, whether it's an additional channel, whether it's a release or press. params ["_player", "_radio", "_radioType", "_additional", "_buttonDown"]; //Checks whether the button is pressed if (_buttonDown) then { //Assigns the currently used radio frequency by the unit to a variable _currentFrequency = _player call TFAR_fnc_currentSWFrequency; //Checks whether the frequency used matches the broadcast frequency if (_currentFrequency isEqualTo broadcastFrequency) then { systemChat format ["%1 is transmitting on frequency %2", name playerObject, _currentFrequency]; }; }; }, player] call TFAR_fnc_addEventHandler; } forEach units group player; And the check for whether someone is speaking is this little line here if (_player call TFAR_fnc_isSpeaking) then I've been kinda trying out a few different options but nothing really works. Also something worth noting is that this should ideally work in multiplayer. Any help would be greatly appreciated! 😄
  23. So I want to create a scifi mission where the players are on an alien planet. Is there a way, other than MCC Atmosphere and the vanilla Post Processing modules, to set a permanent color filter for all players in a mission? I'm thinking something weird like green or purple for an alien atmosphere.
  24. RTS Engine: Script & Game RTS Engine is a script you can use to create your own RTS for ARMA 3. A game mode is also included you can play alone or with friends. You can even play with AI. STEAM WORKSHOP Gameplay video
  25. Hello, I have seen on Google and Steam Workshop and I found something almost the same as my idea. But still not the same sadly. General info: First of all. I am not a script person so for this mission it will be impossible for me to complete it without help. (allot of help) This mission will mostly be working with script's and coding. For thows who knows how please help me/us. I can help by typing class names for all that gona be in play for this mission. This is not like Warfare or Warlord. Here the commanders must die to be victorius. Main Objective: Kill the (playable) Commander's and conquer sectors for ressources (cash). Do not die. How to play this mission: You start of as an commander for one of the sides. You will start with xxx cash (Starting founds) and will recieve xxx time cash for just staying alive. On the map there is sectors your mission is to capture sectors to get more time cash to purchase units. You will be in Zeus mode mostly of the time (reason for calling it RTS) Purchasing units and buildings. You will see that you only have xxx meters arround you were you can put down ure units and buildings. First thing you would like to do is to build a building that you can hide inside, so you are not in the opening. You will than have to purchase units to do your dirty work. You should start off by building Light vehicle HQ so you can purchase (empty)vehicle for your units. Ofcurse build a Barracks HQ to get more advanced units as-well. You will be able to see on map the enemy base is, they can see yours as-well. Once you get enugh foundings you should go to war!. Order the men to infiltrate the enemy base and find the bastard commander to kill him. When all enemy commanders are dead, you win. If you get killed and friendly commander still alive he can buy you a new life for xxx cash. But this mostly wont happen due to every commander are in their same base. (one base for Blufor, Opfor and Independent) Base area most likley 2-500m big. Template picture: https://prnt.sc/vbjuv4 - Yellow circle = Sectors - Blue Rectangle = Blufor Base - Red Rectangle = Opfor Base - Green Rectangle = Independent Base This Mission: I will need .sqf files but I do not know what kind. So What I need help with? - Cash system script //Were I can just type in class name for unit, vehicle etc... And xxx how much it will cost. - Cash engine //how to use the cash. Need building to get new units. If a commander dies than friendly commander can buy him a new life. - Build system //Start by only be able to buy Barracks HQ and Light Vehicle HQ. Than maybe an Arsenal so Zeus can research Heavy Vehicle HQ and Airfield HQ. Must have Arsenal to edit units (use arsenal on units) - Zeus Restriction's //So the Zeus cant deploy units outside Base, can only give orders outside. Zeus remote control can be acessed when buildt an Radio Tower (use arsenal to research it) Enemy units close in makes Zues unable to place units. - Blacklist for units etc. //Parrameter will be used here. Blacklist units for Faction selected on Parrameter. - Whitelist for units etc.// Parrameter will be used here. Whitelist more than one Faction for a side. - Default Faction on Parrameters // Nato, IAF and AAF. Have RHS mod? Can chose different factions. - Sector system // Make Sector a cash income and sector have guards. - Man pop limit // Make Zeus not able to spawn more than xxx total units, Vehicles and Buildings. All seperate and can edit total in parameters. (buildings have one total limit, Vehicle have one and Units.) - Heal system // In Base run Full heal script every xxx sek to heal etc units. Can use parameters to decide how long time. (This will be best if 1 minute are the mimium limit.) - Repair system // Build a Repair vehicle to start Repair script. Repairs all Vehicle and Structures after xxx sek. (Same as above minium limit 1 minute. Parameter option.) - AI Commanders // This is a LONG shoot. But when and if this is possible than I say thank you! But focus first on MP. - Every Start has same Base spot but Side's can randomly rotate on every new game. - to be cuntiniued... Mod compatible? Yes this mission should have Parrameters that makes you able to decide wich Faction Blufor, Opfor and Independent should be. (RHS mod for an example.) Weapons and items well Yes. There will be possible for some weapons. Depend if make unit's gear free or make some popular weapon mod like NIarms avaible. Work with WW2 mod? Lets just be able to finish Standard first before this point. Like this idea of mission? Now I do not know if this mission can even be built or if Server can handle it without lagg. But lets say it is possible to make this mission, than please leave a like and if you want to help me with this I will really apreciate it!!! I beleave this mission can make arma a new level of experiance. PS! Sorry for bad english! And PM me or add me on steam if interested. Regards!
×