Jump to content

Search the Community

Showing results for tags 'script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL


Jabber (xmpp)








Steam url id







PlayStation PSN














Found 551 results

  1. The concept of " water temperature " and " oxygen concentration " It is a script that gives Water Enhanced • Depending on the time and the water temperature is staying on the surface of the water or water leads to death • Elapsed time until death depends on the time zone month ( season ) in the game • up to the land , if get on a ship and helicopter to recover from hypothermia etc., but the degree of fatigue will be Max • is possible underwater work to avoid such as hypothermia if wearing a wet suit Oxygen Enhanced • leads to death in about 15 seconds, the oxygen concentration is thin at an altitude 3000M more • oxygen concentration if fitted with a jet pilot helmet (A3,RHS,USAF,CUP) is kept normally • in an aircraft , such as a highly regardless of helicopter and jet has been pressurized Download https://drive.google.com/file/d/0B-oJmEA...sp=sharing Ver2.0 ChangeLog [added] World index - water temperature of each map(Map that has not been indexed will be the Standard water temperature). [fixed] fatigue limit increase during wet suit worn only when you are in the land. fatigue limit increase during oxygen helmet mounted only except when the vehicle ride. ---World index List--- "Altis" "Stratis" "Koplic" "bozcaada" "evergreen" "SugarLake" "Gorgona" "Takistan" "Zargabad" "pja310" "Shapur_BAF" "Chernarus_winter" "utes_winter" "anim_helvantis_v2" "ThirskW" "Panthera3" "Chernarus" "Chernarus_Summer" "Woodland_ACR" "ProvingGrounds_PMC" "utes" "Bornholm" "Thirsk" "sfp_wamako" "Napf" "sfp_sturko" "imrali" "imralispring" "pja305" "Sara_dbe1" "SaraLite" "Sara" "Porto" "Intro" "IslaDuala3" "Mog" "lingor3" "wake" "Atlantis" "abramia" "australia"
  2. Working on a little Arma 3 farm simulator action... fairly noob to scripting, don'n know why I can't seem to get it to work. private["_tractor","_crop","_item"]; _tractor = "RDS_Zetor6945_Base"; _crop = nearestObjects[getPos player,["CUP_A2_p_wheat_ep1"],1] select 0; _item= binocular; while { player in _tractor player distance _crop < 10 } do { deleteVehicle _crop; _tractor addItemCargo binocular; }; The binoculars serve as a placeholder for actual wheat, which I will be creating a gear item for. The idea is, if you're in a tractor and you run over a wheat plant, it adds wheat to the vehicle inventory. I call the script via: player execVM "Scripts\Functions\fn_HarvestWheat.sqf"; ...and it doesn't work at all. I run right over the wheat and nothing happens. I'm working on several other similar scripts and none of them seem to work. Help would be greatly appreciated!
  3. Hey boys, i've got a real big problem (the perfect start for a scripting noob ;) ). I started creating a multiplayermission in the eden editor, and i got an AI with an addaction on it. So when all mods are synced, all the player will go to the AI and all can choose the addaction. But if one of them was clicking on it, the script should run for all players at the same time. But in my case, it is not just a script like healing or teleporting. This will be a camerascript. I tried a lot of things, and they worked for me, while testing in the editor, but they are not working in multiplayer on the server. They were running just for each player, and the helis are not flying, just standing there in spawnposition. And one more importend thing, before i post my scripts: When i add a .sqf file, i will get this error: "Preprocess failed with error - Invalid file name(empty filename)" Just when i change to .sqs the script will run in editor. Init's of my AI called Opa_1: (all examples worked in Editor, but not in MP) example 1: if (isServer) then { intro = this addAction ["Legen wir los.", {Opa_1 exec "script\opaintro.sqf";}, nil, 6, True, True, "", "(_target distance _this) < 6"];} example 2: if (isserver) then {[[Opa_1, ["Legen wir los ...","script\opaintro.sqs"]],"addAction",true,true] call BIS_fnc_MP;} example 3: {Opa_1 addAction ["Legen wir los ...","script\opaintro.sqs"];} remoteExec ["bis_fnc_call", 0]; opaintro.sqs/.sqf (i just changed the filename for example 1): ? ((paramsArray select 0) == 0) : goto "del" _camera = "camera" camcreate [0,0,0] _camera cameraeffect ["internal", "back"] showcinemaborder true; opa_1 switchmove "Acts_B_out2_briefing"; opa_1 removeaction intro; ;comment "20:01:58"; _camera camPrepareTarget [-75303.13,29256.81,5625.25]; _camera camPreparePos [23691.55,16276.09,2.44]; _camera camPrepareFOV 0.324; _camera camCommitPrepared 0 ;comment "20:02:27"; _camera camPrepareTarget [84408.05,-62884.46,-6862.32]; _camera camPreparePos [23692.37,16276.17,2.65]; _camera camPrepareFOV 0.195; _camera camCommitPrepared 10 ~10 aheli1 hideobjectglobal false; aheli1 enablesimulationglobal true; aheli2 hideobjectglobal false; aheli2 enablesimulationglobal true; aheli3 hideobjectglobal false; aheli3 enablesimulationglobal true; playmusic "introbg_1"; ;comment "20:19:05"; _camera camPrepareTarget [122550.25,31165.10,2120.64]; _camera camPreparePos [23688.01,16272.10,3.95]; _camera camPrepareFOV 0.696; _camera camCommitPrepared 0 ;comment "20:19:56"; _camera camPrepareTarget aheli2; _camera camPreparePos [23686.90,16279.11,5.23]; _camera camPrepareFOV 0.033; _camera camCommitPrepared 10 ~10 titleCut ["", "BLACK OUT", 1] ~ 4 player cameraEffect ["terminate","back"] camDestroy _camera ? ((paramsArray select 0) == 0) : goto "end" titleCut ["", "BLACK IN", 5] #end exit So the srcipt will execute for the player who hits the addaction, but not for all at the other players (but thats what i want). And the helicopters just will show up for the player which hits addaction. This opaintro-script is the short one for testing. I've got a bigger one, just with more camera positions an more switchmoves an playmusic. If needed, i am able to create a link for the missionto download, but i am using mods on this. I hope they are not important for the solution. So please tell me, it's just a simple thing. And please explain your solution. This trial an error took about 8 hour's right now, and i am going crazy on that, because it is not working on the server.
  4. 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.
  5. Can one of you nice people make a script for me, i want it to detect if a player in a certain white-list uses the F12 key and in sidechat format message people of another white-list group. I tried but i couldn't get it to work.
  6. Long story short, I'd like to get the position for the trigger of the airport entryway doors. The config files for the airport states the following: configfile >> "CfgVehicles" >> "Land_Airport_right_F" >> "UserActions" >> "OpenDoor_7" >> position = "Door_7_trigger"; So, I want to get the position of this door trigger. I've tried using selectionPosition but always get a [0, 0, 0] result (which means it didn't find the memory point). Am I doing something wrong here? Does anyone have a solution for this? This is the code I use to check for the position: * Player object's Init field player addAction ["<t color='#FFFF00'>DEBUG: </t><t>Show memory point 7 on Airport</t>", { execVM "getMemoryPointDoor.sqf"; }, nil, 9999, false, true, "", ""]; * getMemoryPointDoor.sqf private["_airport", "_memoryPoint"]; // Find nearest Airport object within a 100m radius of player _airport = (nearestObjects [player, ["Land_Airport_left_F", "Land_Airport_right_F"], 100]) select 0; if (isnil "_airport") exitwith { hint "No airport object found."; }; // Studying Land_Airport_*_F and its respective configs you'll find that the UserActions for the double sliding door entryways has trigger positions named Door_7_trigger and Door_8_trigger. // I'd assume these refer to memory points on the model? I can find no indication in the config viewer of these points being defined somewhere in the config class for the set pieces. // For this example, I've chosen to use Door_7_trigger. _memoryPoint = _airport selectionPosition ["Door_7_trigger"]; if (_memoryPoint isEqualTo [0, 0, 0]) exitwith { hint "Airport object found, but failed to retrieve memory point position."; }; hint format["Position of memory point: %1", _memoryPoint];
  7. Alex150201

    Spartan Studios

    Hello everyone, I'd like to create this new topic so we, Spartan Studios, can post our missions here for the community to see and play. By Goro: Undead Stratis: 14 January, 2035 You were on routine patrol. During the duty, you've been ambushed by CSAT, and you were shot in chest. NATO transported you onto Mike-26 base and done surgery on you here. You were unconcious 1 week. By the time, NATO decided to raid laboratory. When laboratory was seized, one of the workers dropped bottle with a virus, which was experimental. The virus revives dead people, and kills alive. NATO and civilians abandoned the island, NATO forgot about Mike-26 base. You, along with Adams, Thanos, Frost, Ghost, Larkin must fight in order to escape Stratis. Many, many scripts used, crashsites, custom military sets, many ways escape. Features: -Many crashsites -Unforgetable gameplay -Play the way you want; Escape or explore -Attacking horde of zombies every 5 minutes (Left 4 Dead style) -Custom AI loadout -Many, many more, play the mission and discover them all! Requirements: Zombies & Demons ==Downloads== (Workshop only) SP: http://steamcommunity.com/sharedfiles/filedetails/?id=505438081 COOP: http://steamcommunity.com/sharedfiles/filedetails/?id=506005090&searchtext= Unleashed Hell Intro: You wake up. Your house is ruined. The atmosphere is unpleasant... Looks like nuclear meltdown. You decide to investigate the town. What you find there is shocking... Requirements: Zombies & Demons ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=595127429 Mediafire: http://www.mediafire.com/download/i1wfb3jjgt234uh/Unleashed_Hell_-_INTRO.Altis.pbo Episode 1: After you've been saved by unknown people, you move with them to abandoned house in the middle of nowhere... Features: You gotta find them out by yourself! Requirements: Zombies & Demons ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=596741701&searchtext= Mediafire: http://www.mediafire.com/download/zoidat7gi00y62r/Unleashed_Hell_-_Episode_1_-_Kill_or_be_eaten.Altis.pbo Episode 2: We've barricaded the outpost. I'm sure they will never force these defences. During the meeting outside, we just got some weird radio call... Requirements: Zombies & Demons ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=600971920 Mediafire: http://www.mediafire.com/download/1w6yk68bf2lt35t/S01E02.Altis.pbo Episode 3: Our new friends gave us very valuable information... Requirements: Zombies & Demons ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=602590523 Mediafire: http://www.mediafire.com/download/48ggmmc0x5ur3fx/s01e03.altis.pbo *NEW* Episode 4: We decided to scavenge the airplanes' factory for parts and supplies. Requirements: Zombies & Demons ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=609023786&searchtext=Unleashed+Hell Mediafire: http://www.mediafire.com/download/q6qawnv3otxxedd/S01E04.Altis.pbo By Alex150201: Battleground Series: Altis Battleground: Altis Battleground is a mission about regaining ground for Altis. A special operations group has been tasked with that job, that group is you. Anything needed you have it. Arsenal for gear, ground vehicles, air vehicles and much more. Heavily scripted missions with a lot of scripts written by me and people in the credits. This is in Alpha stage. If you like it I will update it as often as I can. Features: Voice Acting (Most of it done) Virtual Arsenal Realistic Crew (i.e. you can't be the ultimate soldier like a sniper with AT that flies a helicopter and is a diver :D) Shop System Reputation System Side Missions Time Multiplier (for day and night combat) Easter Eggs And more! Planned: Implementing perks in the game More Side Missions Finishing all lines of the voice acting part Requirements: RHS Escalation (USF and AFRF) ==Downloads== (Workshop Only for now) http://steamcommunity.com/sharedfiles/filedetails/?id=525011431 By Zagor64: Nowhere to Hide: Chapter 1 - Incognito: The brutality of ISIS is, sadly,invading our homes everyday.Videos of public beheading, news of childs been forced to enlist and little girls been raped and sold as sex slaves or baby brides are common these days. In name of the jihad holy war against the infidels, many foreign fighters are enlisting under the black flag of the ISIS army, allowing quick advancing and conquering of vast Syrian and Iraqi territory. This is an explosive situation in a already plagued middle easter region. US/NATO has to send a clear message to the high rank officers, financers and puppeteers of the terrorist organization: YOU CAN RUN, BUT YOU CAN'T HIDE!!! You will be working along with the most elites counter-terrorism units of the world; CIA/SOG, SAS, DEVGRU, Spetsnaz GRU ,1st SFOD-DeltaForce for a manhunt across the globe. Enjoy the first chapter of a 5 story-driven dynamic mission. Play with the style that most fit you: use incognito and low profile tactics, or go full Rambo..it's up to you.Mission objectives are randomly placed for replayability. This is my first mission, so please report bugs/problem. Features: -incognito:put your weapons in the backpack and blend in with civis for a stealth gameplay -Custom loadout -EOS spawning sistem -Virtual arsenal paradrop -no base respawn -extraction with smoke/strobe signal -reinforcement troops on stand-by at disposal Requirements: CBA RHS: ESCALATION Leight OPFOR Pack TRYK uniform + CPC TRYK patch CUP terrains pack ==Downloads== Workshop: http://steamcommunity.com/sharedfiles/filedetails/?id=602923129 Mediafire: http://www.mediafire.com/download/04p3jpwmymhkbjd/CHAPTER_1_INCOGNITO.Takistan.pbo
  8. Hello, we are looking for scripters and modellers for our Altis Life server. We want to provide bigger variety of assets to play with, but there are only few guys in our dev squad. Please feel free to let anyone you may know, or yourself just find us at czskaltislife.4fan.cz and ask for myself to talk more in detail and get you as excited as we are...
  9. I've hunted around for some sort of answer for this but have found nothing. I'm not exactly and expert when it comes to the editor so I'll explain the situation. I've been creating a mission in which I want to remove the fatigue system which I have done through a lobby parameter. That part seems to work fine. Now as for the respawning. I've placed the marker with "repsawn_west" and I've got "respawn = BASE; respawnDelay = 10;" in my description.ext and blah blah blah. When I die or choose the respawn option in the mission I don't respawn as the unit but in the death screen I can see that the unit itself has respawned. Which leaves me with the option to quit the mission and nothing else. I'll hazard a guess that it's something to do with my attempt to remove fatigue that's causing it. Any help would be greatly appreciated.
  10. Hello Community, have somebody an idea how to include the BI Group Managment Script into a custom mission? Can't find sources or others. Thank u
  11. Hi all ! I have a small problem, I would like to add a trigger and set two conditions for it's activation. _won is the name of the car. The first is "this", player is present in the area (cicle 3,3 around _won). The second is "!(player in _won)", player is not in the vehicle. I can't find a way to make it work... // _won is the name of the car _trg = createTrigger ["EmptyDetector", getPos _won, false]; _trg setTriggerArea[3,3,0,false]; _trg setTriggerActivation["WEST","PRESENT",true]; _trg setTriggerStatements[ "this && !(player in _won)", "hint 'yes yes yes'", "hint 'no civilian near wonno'" ];
  12. This is one of my first scripts I ever made and I have spent no time to make it more condenced but it works and it's beautifal :D ! In this script it will spawn a US Destroyer (big boat), then attach an Apache to it along with a few other decorative props, and lastly a red, white, and blue smoke trail for your skywritting needs. This was originally in my admin menu I made so Its designed to be in a menu tree on my Action menu. I've removed what I could of that aspect so all you have to do is pick a way to execute this command however I will supply one way for you if you do not know how. This script has no real purpose other than something fun to show your friends. Originall inspiration was from the PapuWarfare test server, I saw Viba spawn in huge boat and fly it around, I was forever inspired to one day get that to work and I have surely built apawn it. <3 Viba and Papu, RIP Server. I also had an automatic cleanup feature in this scrip which you may not like since for testing reasons I had spam my hint box and you may just want to look at this work of art and it automatically removes it shortly afer you exit the vehicle. So here it is! STEPS: 1) Create a text document and save it as "flyingDestroyerT1.sqf" in the MP mission (or SP) folder that you will use in step 2 Example Directory: C:\Users\Joey\Documents\ArmA 2\MPMissions\ReWind%20ExampleMissionName.Chernarus 2) In your mission editor, add a playable unit. Under its initialization field paste this into it: family1 = _unit addAction ["<t color='#9A2EFE'>- </t><t color='#FF0000'>M</t><t color='#FFFFFF'>u</t><t color='#0000FF'>r</t><t color='#FF0000'>i</t><t color='#FFFFFF'>c</t><t color='#0000FF'>a</t> <t color='#FF0000'>A</t><t color='#FFFFFF'>i</t><t color='#0000FF'>r</t><t color='#FF0000'>l</t><t color='#FFFFFF'>i</t><t color='#0000FF'>n</t><t color='#FF0000'>e</t><t color='#FFFFFF'>s</t>", "flyingDestroyerT1.sqf"]; 3) In "flyingDestroyerT1.sqf" copy and paste The code below into the file and save it. ////////////////////////////////////// // // // The Real American Destroyer // // By: ReWind // // Steam: // http://steamcommunity.com/id/45645667867834534/ ////////////////////////////////////// //Identifing Player //Spawning the Apache on players position //Moving player in driver seat of Apache //Spawning Destroyer on players position //Attaching Destroyer to Apache //Getting player Direction before spawn //Telling player the direction they faced //Setting Apache and player direction where player looked _unit = _this select 0; _position = getPos _unit; // you can spawn this anywhere since your player is automatically moved to driver _vehicle = "BAF_Apache_AH1_D" createVehicle (_position); // You may change "BAF_Apache_AH1_D" to any vehicle classname you want and it will function the same _vehicle engineOn true; // False to spawn the vehicle off _unit moveInDriver _vehicle; // !!You NEED this otherwise there is no way to get into the driver seat!! _vehicle allowDamage true; // Set False to make the chopper indestructable (if you crash a heli while invincable it still often times explodes) _vehicle0 = "Land_Destroyer" createVehicle (_position); // There is also another boat I think it is called "Land_Fragetta" not sure but you can interchange them however the props will not allign properly _vehicle0 attachTo [_vehicle,[ 0, 0, 4.5]]; _vehicle0 setVectorDir[0,0,180]; _vehicle0 setDir 180; _direction = getDir _unit; hintSilent format["Based on the direction you were looking, the Object will spawn facing: %1 degrees",_direction]; _vehicle setDir (_direction); _unit setDir (_direction); //Adding other props to give detail _vehicleProp13 = "C130J_static_EP1" createVehicle (_position); _vehicleProp13 attachTo [_vehicle,[7,0,11.5]]; _vehicleProp14 = "C130J_static_EP1" createVehicle (_position); _vehicleProp14 attachTo [_vehicle,[-7,0,11.5]]; _vehicleProp13 setVectorDir[0,0,180]; _vehicleProp14 setVectorDir[0,0,180]; _vehicleProp13 setDir 180; _vehicleProp14 setDir 180; _vehicleProp1 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp1 attachTo [_vehicle,[ 7.65, -25.22, 16.5]]; _vehicleProp2 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp2 attachTo [_vehicle,[ -7.65, -25.22, 16.5]]; _vehicleProp3 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp3 attachTo [_vehicle,[ 7.6, -27.82, 16.5]]; _vehicleProp4 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp4 attachTo [_vehicle,[ -7.6, -27.82, 16.5]]; _vehicleProp5 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp5 attachTo [_vehicle,[ 7.5, -31.3, 16.5]]; _vehicleProp6 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp6 attachTo [_vehicle,[ -7.5, -31.3, 16.5]]; _vehicleProp7 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp7 attachTo [_vehicle,[ 7.5, -33.9, 16.5]]; _vehicleProp8 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp8 attachTo [_vehicle,[ -7.5, -33.9, 16.5]]; _vehicleProp9 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp9 attachTo [_vehicle,[ 7.39, -37.38, 16.5]]; _vehicleProp10 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp10 attachTo [_vehicle,[ -7.39, -37.38, 16.5]]; _vehicleProp11 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp11 attachTo [_vehicle,[ 7.34, -39.28, 16.5]]; _vehicleProp12 = "FlagCarrierUSA_EP1" createVehicle (_position); _vehicleProp12 attachTo [_vehicle,[ -7.34, -39.28, 16.5]]; //Maintaining smokes when player is alive //Spawning Blue Smokes //Attaching Blue smokes to Apache even with back of destroyer //Starting cleanup, when vehicle is not active, smokes stop, props are then removed. Also deletes props if the vehicle explodes while {alive _vehicle} do { if (vehicle player == _vehicle) then { hint "Vehicle Active: True"; _vehicle1b = "SmokeShellBlue" createVehicle (_position); _vehicle1b attachTo [_vehicle,[0,-70.6,4.5]]; _vehicle2b = "SmokeShellBlue" createVehicle (_position); _vehicle2b attachTo [_vehicle,[0,-70.6,4.7]]; _vehicle3b = "SmokeShellBlue" createVehicle (_position); _vehicle3b attachTo [_vehicle,[0,-70.6,4.9]]; _vehicle4b = "SmokeShellBlue" createVehicle (_position); _vehicle4b attachTo [_vehicle,[0,-70.6,5.1]]; _vehicle5b = "SmokeShellBlue" createVehicle (_position); _vehicle5b attachTo [_vehicle,[0,-70.6,5.3]]; _vehicle6b = "SmokeShellBlue" createVehicle (_position); _vehicle6b attachTo [_vehicle,[0,-70.6,5.5]]; _vehicle7b = "SmokeShellBlue" createVehicle (_position); _vehicle7b attachTo [_vehicle,[0,-70.6,5.7]]; _vehicle8b = "SmokeShellBlue" createVehicle (_position); _vehicle8b attachTo [_vehicle,[0,-70.6,5.9]]; _vehicle9b = "SmokeShellBlue" createVehicle (_position); _vehicle9b attachTo [_vehicle,[0,-70.6,6.1]]; //Spawning Red Smokes //Attaching Red smokes to Apache even with back of destroyer _vehicle1r = "SmokeShellRed" createVehicle (_position); _vehicle1r attachTo [_vehicle, [0,-70.6,6.3]]; _vehicle2r = "SmokeShellRed" createVehicle (_position); _vehicle2r attachTo [_vehicle, [0,-70.6,6.5]]; _vehicle3r = "SmokeShellRed" createVehicle (_position); _vehicle3r attachTo [_vehicle, [0,-70.6,6.7]]; _vehicle4r = "SmokeShellRed" createVehicle (_position); _vehicle4r attachTo [_vehicle, [0,-70.6,6.9]]; _vehicle5r = "SmokeShellRed" createVehicle (_position); _vehicle5r attachTo [_vehicle, [0,-70.6,7.1]]; _vehicle6r = "SmokeShellRed" createVehicle (_position); _vehicle6r attachTo [_vehicle, [0,-70.6,7.3]]; _vehicle7r = "SmokeShellRed" createVehicle (_position); _vehicle7r attachTo [_vehicle, [0,-70.6,7.5]]; _vehicle8r = "SmokeShellRed" createVehicle (_position); _vehicle8r attachTo [_vehicle, [0,-70.6,7.7]]; _vehicle9r = "SmokeShellRed" createVehicle (_position); _vehicle9r attachTo [_vehicle, [0,-70.6,7.9]]; //Spawning White Smokes //Attaching White smokes to Apache even with back of destroyer _vehicle1w = "SmokeShell" createVehicle (_position); _vehicle1w attachTo [_vehicle, [0,-70.6,4.3]]; _vehicle2w = "SmokeShell" createVehicle (_position); _vehicle2w attachTo [_vehicle, [0,-70.6,4.1]]; _vehicle3w = "SmokeShell" createVehicle (_position); _vehicle3w attachTo [_vehicle, [0,-70.6,3.9]]; _vehicle4w = "SmokeShell" createVehicle (_position); _vehicle4w attachTo [_vehicle, [0,-70.6,3.7]]; _vehicle5w = "SmokeShell" createVehicle (_position); _vehicle5w attachTo [_vehicle, [0,-70.6,3.5]]; _vehicle6w = "SmokeShell" createVehicle (_position); _vehicle6w attachTo [_vehicle, [0,-70.6,3.3]]; _vehicle7w = "SmokeShell" createVehicle (_position); _vehicle7w attachTo [_vehicle, [0,-70.6,3.1]]; _vehicle8w = "SmokeShell" createVehicle (_position); _vehicle8w attachTo [_vehicle, [0,-70.6,2.9]]; _vehicle9w = "SmokeShell" createVehicle (_position); _vehicle9w attachTo [_vehicle, [0,-70.6,2.7]]; sleep 15; } else { hint "Vehicle Active: False"; sleep 1; hint "Removing inactive spawns and ending script"; deleteVehicle _vehicle; deleteVehicle _vehicle0; deleteVehicle _vehicle1b; deleteVehicle _vehicle2b; deleteVehicle _vehicle3b; deleteVehicle _vehicle4b; deleteVehicle _vehicle5b; deleteVehicle _vehicle6b; deleteVehicle _vehicle7b; deleteVehicle _vehicle8b; deleteVehicle _vehicle9b; deleteVehicle _vehicle1r; deleteVehicle _vehicle2r; deleteVehicle _vehicle3r; deleteVehicle _vehicle4r; deleteVehicle _vehicle5r; deleteVehicle _vehicle6r; deleteVehicle _vehicle7r; deleteVehicle _vehicle8r; deleteVehicle _vehicle9r; deleteVehicle _vehicle1w; deleteVehicle _vehicle2w; deleteVehicle _vehicle3w; deleteVehicle _vehicle4w; deleteVehicle _vehicle5w; deleteVehicle _vehicle6w; deleteVehicle _vehicle7w; deleteVehicle _vehicle8w; deleteVehicle _vehicle9w; deleteVehicle _vehicleProp1; deleteVehicle _vehicleProp2; deleteVehicle _vehicleProp3; deleteVehicle _vehicleProp4; deleteVehicle _vehicleProp5; deleteVehicle _vehicleProp6; deleteVehicle _vehicleProp7; deleteVehicle _vehicleProp8; deleteVehicle _vehicleProp9; deleteVehicle _vehicleProp10; deleteVehicle _vehicleProp11; deleteVehicle _vehicleProp12; deleteVehicle _vehicleProp13; deleteVehicle _vehicleProp14; }; sleep 3; hint "script cycled"; sleep 1} THE REST IS OPTIONAL from this point on 4) IF you want to remove the auto-clean-up feature, simply replace lines 150 all the way to the end of the script seen below else { hint "Vehicle Active: False"; sleep 1; hint "Removing inactive spawns and ending script"; deleteVehicle _vehicle; deleteVehicle _vehicle0; All the way to the last line with this: else { hint "Vehicle Active: False"; sleep 1; hint "Autocleanup: Dissabled"; }; sleep 3; hint "script cycled"; sleep 1} Thats all, if you like this hit me up on steam, I have loads of nutty admin tools I have created, I'd be glad to share some.
  13. Hello again! Alright so, I was wondering how to do this; There's certain items that I want to modify/replace the way they look during an ENTIRE mission - since these objects are spawned through scripts, I can't edit their "init's" to set a texture on them - so I was wondering if there's a script I can run during the entire mission to ALWAYS replace a certain objects texture I tried looking and I found a little about "setObjectTexture" but I'm not very sure on how it works. Though, I'm looking for something like; for example: BackPack_1 replace with "texture1.paa" (This is only for backpacks, uniforms, helmets and vests!) and each time it spawns, it'll have that texture instead of the default automatically. Thanks!
  14. Thread moved to: https://forums.bistudio.com/topic/185831-arma-2-oa-dedicated-server-restart-script-linux-debian-75/
  15. Hello Community, I'm visiting this forum very often and I like to the informative threads here. Now I want to give something back to the community. It is a loadout framework for Arma 3: LoadoutFramework The LoadoutFramework simplifies the creation of unit loadouts in Arma 3. This script based approach uses config class definitions as loadout definitions. Due to this technique, class inheritance is possible and simplifies the mission editors life. Usage Setup Copy the loadoutFramework folder to your mission folder Edit your description.ext and include following: #include "loadoutFramework\base.hpp" class CfgFunctions { #include "loadoutFramework\cfgFunctions.hpp" }; Create Loadouts Every user created loadout is described in loadoutFramework/cfgLoadouts.hpp. In this file, only classes inherited from the Collection-class should be inserted. The Collection-class The Collection-class is the base class for all classes defined in the framework. This class describes the basic loadout-slots used in the framework. class Collection { uniform[] = {}; // Uniform. e.g. {'U_B_CombatUniform_mcam'} vest[] = {}; // Vest headgear[] = {}; // Headgear like helmets goggle[] = {}; // Goggles backpack[] = {}; // Backpack primaryWeapon[] = {}; //primary Weapon primaryWeaponOptic[]={}; // Scope for primary Weapon primaryWeaponMuzzle[]={}; // Muzzle Attachment for prim. Weapon primaryWeaponBarrel[] = {}; // Barrel Attachment for prim Weapon primaryWeaponResting[] = {}; // Weapon Resting Attachment like bi-pods primaryWeaponLoadedMagazine[] = {}; // the loaded magazine secondaryWeapon[] = {}; // secondary Weapon secondaryWeaponOptic[]={}; // same like primaryWeaponOptic see above secondaryWeaponMuzzle[]={}; secondaryWeaponBarrel[] = {}; secondaryWeaponResting[] = {}; secondaryWeaponLoadedMagazine[] = {}; handgun[] = {}; // handgun handgunOptic[]={}; // same like primaryWeaponOptic see above handgunMuzzle[]={}; handgunBarrel[] = {}; handgunResting[] = {}; handgunLoadedMagazine[] = {}; binocular[] = {}; // Binocular Item magazines[] = {}; // all magazines which can be stored in uniform, vest or backpack depending on space. E.g. {{"30Rnd_65x39_caseless_mag_Tracer",3},{"30Rnd_65x39_caseless_mag",6}}; for 3x 30 Rnd 6.5x39mm caseless Tracer and 6x 30 Rnd 6.5x39mm caseless magazines items[] = {}; // all other items (magazines are also possible) which can be stored in uniform, vest or backpack depending on space. Same definition like magazines[]. itemsUniform[] = {}; // all items (magazines are also possible) which have to be stored in uniform. Same definition like magazines[]. itemsVest[]={}; // all items (magazines are also possible) which have to be stored in vest. Same definition like magazines[]. itemsBackpack[] = {}; // all items (magazines are also possible) which have to be stored in backpack. Same definition like magazines[]. linkedItems[]={};// all items which are linked to a special slot (NVG, Map, Watch etc.). E.g. {"ItemWatch","ItemCompass","ItemMap","NVGoggles"}; script[]={};// A script which is executed after applying loadout. }; Every property is defined as an array. This allows the user to define multiple e.g. uniforms. The system chooses then one uniform randomly. Custom Loadout By inheriting the Collection-class (class MyLoadout : Collection), you can define your custom loadout by filling the properties. As class inheritance is possible, you can define additional loadouts based on other loadouts. Additional, you are able to aggregate sub-collections. Maybe you want to have a medical backpack and some weapons with a predefined magazine loadout, you can create some sub-collections which can be added to your unit-loadout. class Weapon_MX : Collection { // ideally added to cfgTemplates.hpp but not necessary primaryWeapon[] = {"arifle_MX_F"}; primaryWeaponOptic[]={"optic_Aco"}; primaryWeaponLoadedMagazine[]={"30Rnd_65x39_caseless_mag"}; primaryWeaponBarrel[] = {"acc_pointer_IR"}; magazines[] = {{"30Rnd_65x39_caseless_mag_Tracer",3},{"30Rnd_65x39_caseless_mag",6}}; }; class AnotherClass : Collection { ... }; class Rifleman : Collection { uniform[] = {"U_B_CombatUniform_mcam"}; vest[] = {"V_PlateCarrierL_CTRG"}; headgear[] = {"H_HelmetB_camo"}; goggle[] = {"G_Combat"}; backpack[] = {"B_AssaultPack_mcamo"}; handgun[] = {"hgun_P07_F"}; magazines[] = {{"16Rnd_9x21_Mag",2}}; itemsBackpack[] = {{"FirstAidKit",3}}; linkedItems[]={"ItemWatch","ItemCompass","ItemMap","NVGoggles"}; class PrimaryWeaponClass : Weapon_MX { // Some Collections added to Rifleman Collection primaryWeaponOptic[]={}; // Change optic to iron sight for this collection }; class AnotherSubCollaction : AnotherClass {}; }; As shown in this example, you can simply overwrite certain properties (primary weapon was changed to iron sight), if you wish to change the loadout for some loadouts. Sub-collections which are not usable standalone, should be created in the cfgTemplates.hpp-file. Applying the Loadout The function BG_fnc_applyLoadout applies the loadout to a unit. Syntax: [<unit>,<loadoutName>] call BG_fnc_applyLoadout; Note: <unit> has to be local! That's it. You can find this script on my GitHub account: GitHub
  16. I've looked around the forum and the functions viewer, but I can't figure out if it's even possible to use End Game's "download intel" mechanic of approaching a laptop (for example), holding space and starting the download, with that GUI and all, in a non-End Game, SP scenario. Since they've released the Revive script, I'm wondering if that is possible as well. As seen in here: https://youtu.be/ehyqh9UAVNg?t=2874
  17. Hi, I am making a rifle range script for arma 3 and I am getting 2 problems: 1) When I run this the debugger returns ""Invalid number in expression on line 13", here is the function. targetPool = [tar1,tar2]; _numTargets = count targetPool; monitorTargets = false; hitNumber = 0; if (_numTargets > 0) then { monitorTargets = true; }; //Loop while we are being asked to while {monitorTargets} do { { if (animationState == "terc" && animationPhase == 1) { hitNumber = hitNumber + 1; hintSilent format["Hit number: %1", hitNumber]; } else if (animationState = "terc" && animationPhase == 0) { _this animate["terc",1]; } else { hintSilent "Miss!"; }; }forEach targetPool; }; 2) This not a fatal issue but it's not ideal. I can't call the function even though I have defined the class in a c++ header file. my description.ext: #include "Functions.h" and my Functions.h: class CfgFunctions { class crane { file = "functions\"; tags = "crane"; class PreTasks { //For funtions to be initialised before init obj's preInit = 1; class setWarInventory{}; class setRidgebackInventory{}; class startRange{}; }; class PostTasks { //for functions to be initialised after init obj's postInit = 1; class stopRange{}; }; }; }; //I forgot to end the CfgFunctions class with }; Thank you for any help.
  18. Hi, everyone, We need a good skilled arma 3 scripter developer ! To finish a multiplayer mission for arma 3 ! The work is almost finished, but not everything is working like it should be ! As there is no mod like this to get inspiration or to simply use others mission framework We need to finish this by ourselves ! but that its not possible since we are not good dev's ! The dev should know how to use arma 3 scripting methods, manage msql databases (extdb2), create own functions, and know how to use arma 3 tools and 3rd party software ! We will pay for the job ! Dev should be free for the job immediately today or tonight ! thanks for contacting me in private for more info ad me as friend on the forum, or on steam look for "DoomneT"
  19. So I'm trying to make survival mission for me and my friends and I want empty vehicles to spawn randomly along the roads, mainly civ vehicles but also a few military ones. I've tried to search around but I suck at searching for arma editing stuff, I don't know why xD I ofcourse want it to be as nice on the fps as possible, aka only spawn vehicles close to the player, maybe 2.5km away? I know that you can use "createVehicle" and how to make it choose a vehicle randomly from an array but I don't know how to make them spawn along the road in a good fashion. Thanks
  20. Hi all, I just want to make constant graphic effect of "grain" / "noise" (call it as you like) in every mission, everywhere. I know arma 3 engine allready have such effect. Regularly i use small addon "ASCZ Post-process Effects" created by EvroMalarkey (http://www.armaholic.com/page.php?id=26113) This addon allow to apply few presets with color and noise changes via Zeus menu. Since i noticed that it very annoying to open Zeus, dig into the menus and select preset every time i start any mission. I opened this addon and noticed that it include only one small config.bin file that have few lines of code. So i understand that mod maker didn't create whole effects from scratch, he only used arma 3 built in effects with his own settings. So maybe it very simple to create small script with only one effect based on arma's engine? I use only one preset and it have only few lines of code to run... (i only changed values related to grain for myself) It looks like: class CfgPostProcessTemplates { class Default { colorCorrections[] = {1,1,0,{ 0,0,0,0 },{ 1,1,1,1 },{ 0,0,0,0 }}; filmGrain[] = {0.10,0.10,0.10,0.10,0.10}; }; Thats all... Maybe it also necessary to call for Postprocess module at the beginning of code or something like that... So maybe some of you can help me and write some small script that will automatically run with every time i start the mission??? I dont have any programming skills at all, but i believe that to write such a script is only metter of few minutes for somebody that understand. I'm not asking to copy - paste whole addon created by other man, jusy to create some small new addon. P.S. Why to add grain to the game? I have pretty big visual experience as photo, video and digital artist, and i can share my opinion that in most cases adding small, slightly visible, amount of luma grain to the picture create effect of more live, more harmonic look to every element of a picture, especially when we talk about noiseless picture that out from computer 3D editor. Just try it... and maybe you will like it too.
  21. HI, i use stats system with armaNET sqlite database, for counting kills and deaths etc.... when using inbuild revive script from BIS and stats system, when you are wounded and have no choice to be revived, the player death counts are 2 after respawn! i hope its clear enough lol i will try to explain better: for exemple player get killed it counts 1 death, and the revive system comes up, if nobody revives you and you respawn then the death count is 2 for the player. that's the problem ! it should not be count 2 deaths but only one, else if you push respawn button in revive system the killticker will say player killed himself. so my question is how can i fix this ? revive system should be ignored in deaths count. Player in revive state is defined as dead.
  22. Here is an execution flow-chart for those who might have difficulty working out how the isServer or isDedicated process works. I'll add some more flow-charts how other things work as well later. Tell me if it's helpful. This is based on Killzone_kids explanation for multiplayer execution states displayed here. http://killzonekid.com/arma-scripting-tutorials-basic-multiplayer-coding-summary/
  23. G'day guys, I'm proud to share one of my best work used for my upcoming mod...DSS! (You can find the page in my signature) Repair Wheel and Engine Script Repairs the wheel or engine of a car or truck. If the wheel or engine is already fixed, it will terminate the request. This script is also MP and SP compatible. USAGE AND TERMS: This script is under protection by the "ADDON MAKERS FOR AUTHORS' RIGHTS": http://amar.arma3.fr/ If you are to use this in your server, mission, etc. Please do give me credit! For those of Altis Life, BP (Breaking Point), and other major mods, you will have to ask me permission in order to use. This script was more intentionally for my upcoming mod, DSS. But since this is a community, I felt generous to contribute a bit of my stuff. ;) To PM me for permission to use or you are have troubleshooting, here is my profile: https://forums.bistudio.com/user/800011-ranwer/
  24. I wrote a little script to help with base building. This is meant for people who want to build static bases on a map with absolute position (not a composition) and just get the simple createVehicle code back. This is essentially what the broken 3D editor does except this uses Zeus so you get all the objects and stuff. Here's the script: private ["_pos","_radius","_collection","_startingInt","_c","_final"]; _pos = param [0, (position player)]; _radius = param [1, 250]; _startingInt = param [2, 0]; _collection = nearestObjects [_pos, ["All"], _radius]; if (count _collection > 0) then { _c = _startingInt; _final = ""; { private ["_obj","_class","_sim"]; _obj = _x; _class = typeOf _obj; _sim = getText (configFile >> "CfgVehicles" >> _class >> "simulation"); if !(_sim in ["soldier","invisible","curator"]) then { private ["_pos","_dir","_fuel","_damage"]; _pos = position _obj; _dir = getDir _obj; _fuel = fuel _obj; _damage = damage _obj; _br = toString [13,10]; _buildStr = format ["_vehicle_%1 = objNull; if (true) then { _this = createVehicle ['%2', %3, [], 0, 'CAN_COLLIDE']; _vehicle_%1 = _this; _this setDir %4; _this setPos %3; };", _c, _class, _pos, _dir]; _final = _final + _br + _buildStr; _c = _c + 1; }; } forEach _collection; copyToClipboard _final; hint "Copied to Clipboard"; }; There are 3 parameters: 0: ARRAY - Position at which the anchor the grabber 1: SCALAR - (Optional, defaults to 250) Radius to use when searching for objects 2: SCALAR - (Optional, defaults to 0) Starting interval number (use this if you want to add on to your base without having to rename variables from 0 to X etc.) All you need to do is put this sort of thing in your init.sqf and then place the Zeus modules on the map in order to enter Zeus (the script will not grab any module objects). player addAction ["Save Composition", { [position player, 200] execvm "zeusGrabber.sqf" }]; player addAction ["Load Composition", "myBase.sqf"]; Output will be something like this. Then to load your objects just call a script with the generated code inside it. _vehicle_0 = objNull; if (true) then { _this = createVehicle ['Land_Communication_F', [3997.9,4011.65,0], [], 0, 'CAN_COLLIDE']; _vehicle_0 = _this; _this setDir 0; _this setPos [3997.9,4011.65,0]; }; _vehicle_1 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Large_F', [3990.86,3984.25,0], [], 0, 'CAN_COLLIDE']; _vehicle_1 = _this; _this setDir 0; _this setPos [3990.86,3984.25,0]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ['Land_ReservoirTank_Rust_F', [4018.19,3981.11,0], [], 0, 'CAN_COLLIDE']; _vehicle_2 = _this; _this setDir 0; _this setPos [4018.19,3981.11,0]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ['Land_IndPipe2_Small_ground2_F', [4025.75,3983,0], [], 0, 'CAN_COLLIDE']; _vehicle_3 = _this; _this setDir 0; _this setPos [4025.75,3983,0]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ['Land_Factory_Main_F', [4011.58,4021.95,0], [], 0, 'CAN_COLLIDE']; _vehicle_4 = _this; _this setDir 0; _this setPos [4011.58,4021.95,0]; }; _vehicle_5 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Large_F', [3978.38,3996.92,0], [], 0, 'CAN_COLLIDE']; _vehicle_5 = _this; _this setDir 0; _this setPos [3978.38,3996.92,0]; }; _vehicle_6 = objNull; if (true) then { _this = createVehicle ['Land_BagBunker_Tower_F', [4009.92,3967.57,0], [], 0, 'CAN_COLLIDE']; _vehicle_6 = _this; _this setDir 0; _this setPos [4009.92,3967.57,0]; }; _vehicle_7 = objNull; if (true) then { _this = createVehicle ['Land_Shed_Small_F', [4036.71,3988.52,0], [], 0, 'CAN_COLLIDE']; _vehicle_7 = _this; _this setDir 0; _this setPos [4036.71,3988.52,0]; };
  25. Hi all. I was about to finish the fifth Arma II campaign mission, "Razor Two", when by some mistake I reverted to the beginning of the mission and all my saved games seemed gone (didn't appear ingame). This bothered me a great deal, because I was playing through it for the third time and finally managed to get all the evidence and get to Bardak in time. I thought I was in luck when I found the saved games in my "home\Documents\ArmA 2\Saved\ca\missions\campaign\missions\C2B_RazorTwo.Chernarus" folder. I opened the last one with the OA executable and reloaded the game successfully. However, although I can finish the mission, it will no longer advance the campaign. Successfully ending the mission does not unlock the following one. Also, after loading the savegame the "Suspend" option in the menu is replaced with "Abort", and it will delete all mission saves, or so the message says. Saving in a new slot and reloading that game doesn't change this. I've tried copying the old save somewhere else, like "home\Documents\ArmA 2\Saved\ca\missions\campaign" but it didn't work either. Only restarting seems to restore the normal menu behavior (and would likely allow me to continue the campaign). Looks like this behavior was intended (perhaps as an anti-cheat measure?) but as I mentioned I have already played through the mission three times and wasted a lot of what little free time I have, and I'd rather make that old save work if it's somehow possible. Does anyone know of a way? Thank you.