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
    • 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 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
  • 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

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 543 results

  1. Hello all, and thank you for taking the time. I have been looking around plenty on the forums and on threads about scripts and mods, there are a lot of nice content out there - all similar to what I am looking for to some extent, but not fully. This is why I wanted to create a thread and throw my question out there, as I am looking for something like a script with specific functions; I am making something like a cops and robbers mission for my friends to enjoy on MP and dedicated server, one side will be police and one side will be bad guys. Wondering if there is a script out there that when a police is in close proximity to one of the bad guys, it plays a surrender animation on the bad guy, as if the person has been grabbed and caught after trying to run away or get away from the police! Cheers, saddle
  2. Marshall's Tandem Mod for a few months, I've been working on a tandem skydiving mod and today I'm proud to announce that ill be releasing this mod to steam workshop in the next few weeks I am working on the final touches to make this mod be able to move from the Alpha build to open it up for a public Beta. below is some media showcasing the mod and after that is a list of current and future features. Media: Current Features: ACE Compatibility from launch BackpackOnChest by DerZade Compatibility from launch Compatibility with most base and modded parachutes (primarily tested with base game steerable parachute) Compatibility with both walking to deploy (I.e C-130 or C-17) but also from seated air vehicles (I.e Helicopters) Item required to establish a tandem mode Fully Multiplayer Compatible Planed Features: Clipping in and out sound effect Custom animations for the actual fall Custom animations for in-vehicle (Long Term) Below I may or may not have put a small trailer that i quickly made as a showcase i do plan on doing a proper cinematic trailer for the mod in the future How to use the mod on the release: go to an arsenal and get a tandem harness and parachute From land: 2. find a tandem buddy and use ace interact with them and attach them 3. then jump off an edge :)))) From a Vehicle: 2. Jump in a passenger seat in an air vehicle both you and your tandem buddy need to be in a cargo seat 3. use ace interact on the buddy you want to jump with and select jump with tandem (or something like that) Required Mods: ACE BackpackOnChest CBA_A3
  3. Hey Been looking around for a way to teleport a vehicle up in the air X amount of meters in Zeus with no luck. I've tried "BIS_fnc_setHeight" and teleport commands but none them will work. I want to execute the command via the "Execute Code" module from ZEN or via the vehicles init (in Zeus). The vehicle in question will contain players, that's why I wanna be to execute it in Zeus. I can't for my life find something that will work and would love to know if someone is sitting on the secret of how to do this? Looking forward to a hopeful fix.
  4. Multiplayer-compatible reincarnation of spectrum analyser from DLC Contact for use in normal Arma3 This is RU/ENG singleplayer showcase mission: https://steamcommunity.com/sharedfiles/filedetails/?id=2214415193 Features: -automatic generation of UAV&terminals signals -custom signal source by missionmaker on any object (ACE cargo compatible) -realistic signal fade from terrain&distance -UAV&terminals jamming -UAV&terminals friendly-foe identification -multiplayer tested with 120+ players on server and 20+ devices working and nearly 20 signal sources. Thanks red-bear.ru players for it -no addons required Script developed and tested for MP, so some functions dont work proper with AI and in this showcase scenario are simulated with simple scripts (they still work fine in mp with non-ai clients) You can get the latest version of script on my google drive: https://drive.google.com/drive/folders/11j-1GZAlLP5uWU0jrzp1A7_7tqdQjDr8?usp=sharing Quick "How to use in your mission": -place spectrum_device.sqf, sa_ewar.sqf, stringtable.xml (last for russian&other languages support) in your mission folder -call scripts in init.sqf of your mission like this: [] execVM "spectrum_device.sqf"; [] execVM "sa_ewar.sqf"; -give players device&antennas (in unit's init field or sqf file) like this (device&antennas are hidden in VR by default): this addWeapon "hgun_esd_01_F"; this addHandgunItem "muzzle_antenna_02_f"; this addItemToVest "muzzle_antenna_03_f"; -if you need to add a custom signal for any object in your mission by edinting spectrum_device.sqf //Mission settings sa_beacons=[[t1,-1],[t2,563.2]]; (t1, t2-variable name if object, second parametr-frequency of signal, -1 for random. 3rd parametr-base strength of signal. not used=defaul, -1 random, or some value in dBa)
  5. so me and my friends set up a story line and everything is almost perfectly set but I've run into a slight problem.... we made a unit yada yada, i played online to see if our patch was showing and it was, everything looks perfect shows up on the shoulder and on planes cars ect. but when i run the mission i created it seems the patch doesn't show up at all. it still shows the unit tag above my player name so if someone knows a fix to this it would be much appreciated. (running the mission in multiplayer on a lan based server)
  6. Hi all, I've been stuck on this AI artillery problem for half a day now. I have 2 enemy mortars I wish to activate via trigger and script (separately, by that I mean they aren't grouped together and I have 2 triggers calling the script once for each mortar). Testing the trigger and script in game, I was originally getting an error for undefined variables (both _mortar and _target), but now I'm getting an error for "undefined variable in expression _target". In each trigger, I have: script = [mortarNumber, getMarkerPos markerNumber] execVM "eFireMission.sqf"; which, after some tuning, I turned into: markerTarget1 = getMarkerPos marker1; null = [mortar1, markerTarget1] execVM "eFireMission.sqf"; (does this difference do anything? I originally assumed that using "getMarkerPos" in the passed variable would work since "getMarkerPos" returns an array, doesn't it? And for my script, I incorporated a script I saw on the forums through a google search for artillery scripts from 7 years ago (user 2nd Ranger's post in that thread) for an MP mission I'm making for my friends and I: _mortar = _this select 0; //--- name of the mortar, arg passed from trigger _target = _this select 1; //--- central point around which mortar hits, arg passed from trigger if (isServer) then{ for "_i" from 0 to 8 do { _radius = 50; //--- random radius from the center _pos = [ (_target select 0) - _radius + (2 * random _radius), (_target select 1) - _radius + (2 * random _radius), 0 ]; _mortar doArtilleryFire[ _pos, getArtilleryAmmo[_mortar] select 0, 1 ]; sleep 2; //--- delay between rounds }; }; What am I doing wrong? Any help is appreciated, this is my first time scripting for Arma 3, I'm a little lost
  7. So here's my problem: I have a line of code that goes into the init box of a group leader to make the group hunt the player(s) by setting a waypoint at the player's current position, however, the code runs at mission start (obviously because it's an init). I want to know if there's a line of code similar to WaitUntil that will work for the unit's init box in Eden. The reason I want to do it this way is because I don't want to mess with .sqfs/variable names for each individual unit/squad. What I have now is copy/paste-able in Eden and that's what I'm looking for. I've tried: 1) WaitUntil, but that command doesn't work in Eden 2) If TriggerIsActivated, but either I'm getting the syntax wrong or it doesn't work either. 3) enable dynamic sim, which is great, but it still places the waypoint at the start of the mission at the players Alternatively, I could loop the code, but I can't figure out how to use Sleep effectively where it's still performance friendly. Here's the code: if (isServer) then { _null = this spawn { Hunt_players_fnc = { _player = objNull; _players = +(allPlayers - (entities "HeadlessClient_F")); _distance = 100000; { if (alive _x && _x distance (Leader _this) < _distance) then { _distance = _x distance (Leader _this); _player = _x; }; } foreach _players; if !(isNull _player) then { _wp = (Group _this) addWaypoint [getPos _player, (50 + (floor(random 70)))]; _wp setWaypointStatements ["true","_null = this spawn Hunt_players_fnc;"]; _wp setWaypointType "SAD"; _wp setWaypointCombatMode "RED"; _wp setWaypointSpeed "FULL"; }; }; _null = _this spawn Hunt_players_fnc; }; }; Thanks.
  8. Hello. For the past hour or so I've tried to link an addaction to another addaction in the init field of a data terminal. Here's my notes for that init section and the script. //Add an action to a data terminal to open it //When that action is activated by a player, it will add another action //When that second action is activated, it will run an .sqf file that //consists of the nopop variable this addAction ["Startup Terminal", {[KillhouseControl,1] call BIS_fnc_dataTerminalAnimate; this addAction ["Start Killhouse", targetup.sqf}]]; this addAction ["Shutdown Terminal", {[KillhouseControl,0] call BIS_fnc_dataTerminalAnimate;}]; //To-do: Remove action First of all, is there anything I'm doing wrong? Second of all, is there a way to do this?
  9. I've been working on a script the last few days with the aim of spawning an enemy blackfish, having it fly to the nearest player, loiter, and start killing everything in sight. I'm making this for a CTI mission where the players are able to respawn, therefore, I want this thing to be an absolute terror for ground forces until it's destroyed. I've tried several things to make this happen. I've tried: 1) Setting the camouflage coefficient of every unit in the mission to "1", 2) Revealing all units to the pilot/group leader, 3) Setting the groups' skills to 1 4) Separating pilot and crew, where the pilot is set to careless and the crew is set to "Terminator" (a separate issue with this occurred where the gunners/crew group would reset its behavior to "hold fire/defend" even though they were set in the script to combat mode "RED". Unable to resolve that issue, I've abandoned separating the groups. Further, even when set back to RED, it isn't any more effective than having them all in one group. The pilot maintains the proper holding pattern either way. 5) Creating a Seek And Destroy waypoint for the gunner/crew group after separating them from the pilot. 6) Trying to add a "human sensor" to the radar, which is apparently a thing in Arma. https://community.bistudio.com/wiki/Arma_3_Sensors 7) Finally I tried setting unit state to "Aware" to see if they would enter "COMBAT" on their own when spotting an enemy, but they will not unless an enemy vehicle is present, and after the vehicle is destroyed, they usually lose all interest in Infantry. This leads me to believe that they, for the most part, just can't see the infantry on the ground, despite my attempts to make them see. Tanoa is the map I'm using for my mission so the buildings/trees/ground clutter is probably hiding most of the targets from the gunners. Here's the script so far in a mostly working configuration where the plane will spawn, fly to the nearest player, and loiter indefinitely, possibly taking occasional shots at very exposed infantry and vehicles. __________________________________________________________________________________________________________________________________________________ // Spawn a Blackfish to loiter around player and kill any enemies. _plane = createVehicle [(["B_T_VTOL_01_armed_F"] call BIS_fnc_selectRandom), [11567.8,3199.6,0], [], 0, "FLY"]; This spawns the blackfish itself with the variable name _plane _plane addEventHandler ["Fired",{ (_this select 0) setVehicleAmmo 1 This allows it to have infinite ammo }]; _pilotguy = [[0,0,0], WEST, ["B_Fighter_Pilot_F","B_Fighter_Pilot_F","B_Fighter_Pilot_F","B_Fighter_Pilot_F"],[],[],[],[],[],232] call BIS_fnc_spawnGroup; ((units _pilotguy) select 0) moveInDriver _plane; ((units _pilotguy) select 1) moveInAny _plane; ((units _pilotguy) select 2) moveInAny _plane; ((units _pilotguy) select 3) moveInAny _plane; ((units _pilotguy) select 0) setSkill ["spotDistance", 1]; ((units _pilotguy) select 0) setSkill ["spotTime", 1]; This chunk spawns the crew, forces it into the vehicle, and sets their skills and combat mode. group variable name is _pilotguy ((units _pilotguy) select 0) setSkill ["commanding", 1]; ((units _pilotguy) select 0) setSkill ["aimingShake", 1]; ((units _pilotguy) select 0) setSkill ["aimingSpeed", 1]; _pilotguy setCombatMode "RED"; _pilotguy setBehaviour "COMBAT"; private _markerPos = getPos leader _pilotguy; private _playerList = allPlayers apply {[_markerPos distanceSqr _x, _x]}; This bit sets up the "nearest player" part _playerList sort true; private _closestPlayer = (_playerList select 0) param [1, objNull]; _wpcas = _pilotguy addWaypoint [getPos _closestPlayer, 50]; _wpcas setWaypointType "LOITER"; _wpcas setWaypointLoiterRadius 900; _wpcas setWaypointLoiterType "CIRCLE_L"; _wpcas setWaypointBehaviour "COMBAT"; This sets up the waypoint with various specifications, possibly redundant to set the combat mode here as well _wpcas setWaypointCombatMode "RED"; _plane flyInHeight 300; _plane forceSpeed 60; _pilotguy allowFleeing 0; {(driver _plane) reveal [_x,4]} forEach allPlayers; revealing all players might be redundant with revealing all units {(driver _plane) reveal [_x, 4]}foreach allUnits; while {alive _pilotguy} do { {(_x) foreach allUnits setUnitTrait ["camouflageCoef", 1]}; the goal of this line is to have the units' coefficient revert to normal after the blackfish is destroyed sleep 10; _________________________________________________________________________________________________________________________________________________ Thanks in advance for any help.
  10. EduXtilioX

    .

    Thanks
  11. im trying to write a script to tell my artillery gun "art1" to fire near the soldier "s1" 10 times using the below the gun only fires once it seems it gets stuck after one loop for "_i" from 1 to 10 do { _ammo = getArtilleryAmmo [art1] select 4; _dir = round random 360; _dis = 50 + round random 100; _tgt = s1 getRelPos [_dis,_dir]; art1 doArtilleryFire[_tgt,_ammo,1]};
  12. Script Example (which I use in my mission): [ Truck, "<t color='#58D68D'>Enganchar UH60</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_loaddevice_ca.paa", "(_this distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", "(_Caller distance _target < 3) && (Truck_Bar distance Heli_1 < 10)", {}, {}, { null = ["Scripts\Interacciones\Remolcador\Soltar_Heli_1.sqf","BIS_fnc_execVM",false,false] spawn BIS_fnc_MP; [Truck,_actionId] call BIS_fnc_holdActionRemove; }, {}, [], 5, 6, true, false ] remoteExec ["BIS_fnc_holdActionAdd", 0, Truck]; ____________________________________________________________________________________________________________________ When I put this Script in my Init.sqf file, one appears every time a player joins my dedicated server. Is there a way to fix that? the problem is where do I put my script? or is it a typical Arma 3 problem?
  13. I've tried several scripts around the net and thus far none of them seem to worked correctly (or I'm doing it wrong). Basically, I'm looking for something that will report when a NPC kills a player and reports it to chat. Preferably with the grid number. I've tried different handlers to no avail. ie. "Nighthawk was killed by BMP-3" Me and a friend are working on a highly modified Escape from Chernarus mission for our small group. We're really looking at having this for the sake of communication with some of our younger players. Thanks a bunch!
  14. Hello everyone, I've made a custom mission, using custom mods (from the 506th) and additional addons, along with my own custom faction made through ORBAT. The mission works very well, just some oddball errors. To the point: My friend is able to join the server with ease, no hiccups or errors. Everything operates as normal: Joins the server, chooses a slot, I start the mission up, he downloads the mission file just fine, but then the map's loading screen (tanoa) gets stuck at around 85% of the way. On the map brief, his player even goes to the blue rectangle at that point. Hitting continue, he can still hear everything fine, just as if he were actually in the mission and I can see his name on the player he's chosen. We've tried what seems like everything at this point and I'm at a loss: - Deleted all MPMissionCache (on both of ours) - Made sure his mods works in the editor - Made sure we had the exact same mods loaded, AND in order - Applied the "fix", done correctly as done in the video, found in this video where an init.sqf is applied in the mission file and exported to the MPMissions folder, and I load THAT mission in: https://www.youtube.com/watch?v=3Y4JuvoT1Gs - Restarted several times Note that when in the editor and loading this mission, or saving it for the first time in the particular editor session, I get this error: []: 'bin\config.bin/CfgPatches/tiad_506th_Light_Laser_switch/' not an array Also note that when loading the mission on the server we (both) get this error: No entry 'bin\config.bin/CfgWeapons.506th_atrophine'. Mods loaded are as follows (in this order): - 506th IR - Community Based Addons v3.15.1 - 506th IR - Advanced Combat Environment 3.13.2 - 506th IR - Mod Pack 3.3.8 - 506th IR - CUP Terrains - Core - 506th IR - CUP Terrains - Maps - 506th IR - RHS: Armed Forces of the Russian Federation - 506th IR - RHS: GREF - 506th IR - RHS: Serbian Armed Forces - 506th IR - RHS: United States Forces - 506th IR - Task Force Radio (TFAR) v1.0.325 - CBA_A3 - C2 - Command & Control - ALiVE - Ares - Achilles - NIArms All in One - L3-GPNVG18 Panoramic Night Vision - MLO All-in-One Collection - UnderSiege Patches & Insignias Link to download the .rpt file: - .RPT FILE How can I fix this? What am I missing here? I've spent a lot of time making the mission (too much to admit, especially since it was my first ever real attempt at making a polished mission)
  15. Dear all, I've created a gui interface that allows to run some scripts during mission, simply pressing a button. In one of them, by pressing the buttom, the sqf starts, it opens the map and with a map-click creates a marker area where some AI units are spawned. Parameters are directly included in the sqf (area dimension, number of units...). Now I'm forced to define them before the mission. I would like to improve it implementing a dialog box in which directly type the parameters (five number inputs) to be passed to the sqf. So in summary, you click on button, open the dialog window, type the five numbers and then click a "start" button to run the script, passing those numbers. I'm new in scripting and can't find clear information on how to do it. Any help or advice? Thanks in advance
  16. FILE CFS 1.01 (Dropbox, APL-SA license) INTRODUCTION CFS script attempts to guide pointed helicopter along his waypoints using very low altitude similar to contour flight. CFS's control is paused as helicopter approaches current waypoint and resumed, when new waypoint become current. Testing run footage Parameters description: Helicopter - a chopper to be controlled. Desired speed - speed in m/s, that heli will try to maintain most of the time. Default: max config speed. The faster, the more risky flight. Desired altitude - AGL ceiling in meters: controlled heli will strive to maintain that height above the ground as much, as possible. Default: 10. Values below 10 not recommended. Overfly buffer - additional buffer in meters added to calculated minimal height necessary to fly over an obstacle (map object etc.). Default: 2. Values below 2 not recommended. Obstacle detection mode - setting for obstacles detection method. 0 - less CPU hungry, pays attention only to the map objects, ignores editor-placed objects and very few exceptions amongst map objects too (example: Tanoa's sea bridge roadway). 1 - detects non-map objects as well, may cause a bit more bumpy ride, than necessary and recognize as an obstacle also objects, that should be ignored, can be more CPU-hungry. Default: 0 (recommended unless insuffice in certain scenarios). Obstacle detection range - a multiplier of obstacles detection radius. Default: 1, which translates to the bigger of the two: (heli full length + 10) OR 20 meters. Too big radius will eat FPS fast, too low will tend to ignore big objects, that still can be collided with. Emergency pull up - if this is enabled and code would detect, that heli gets dangerously close to the ground, emergency "pull up!" vertical velocity will be added, which often (not always) may help to avoid collision. In such situation it will override sharpness setting. Default: true. Sharpness factor - the lower value, the more smoothed flight, but also more sluggish reactions which increase collision risk. Default: 0.2. Values 0.1-0.2 are risky. Values below 0.1 not recommended. Maximum: 1 (safest, but least elegant). Values above 1 or below 0 may cause weird behavior. Debug mode - added 3D visualisation markers and some numerical data on the screen. Default: false. KNOWN ISSUES & LIMITATIONS CFS was tested with few helicopters (Ghost Hawk, Hummingbird and Huron) and settings along various, demanding paths, but further tests with various settings/on different terrains may still reveal exceptions, where collisions may occur. Although I did, what I could to make it looking as natural, as possible, do not expect fully realistic flight model here. It's simplified, scripted makeshift. CFS will fail, if given map object has its shape bigger, than bounding box. One example found: sea bridges elements (pillars) on Tanoa - manual correction for them included. CFS will not try to pass obstacles sideways nor will try to guide the helicopter below any obstacle even, if possible (high bridges etc.). It will always try to overfly the obstacle instead. CFS guides the helicopter towards current waypoint along the straight line, there's no path preplanning to use terrain, avoid hilltops etc. The code is run per frame to make it fluid and reliable, so it may cause some FPS drops especially over areas with many objects, like forests etc. CODE Initialization: _handle = [heli1] spawn RYD_TI_TimidIcarus;//simple _handle = [heli1,83.3,10,2,1,1,false,0.2,true] spawn RYD_TI_TimidIcarus;//advanced //[helicopter,desired speed (m/s), desired altitude AGL (m), obstacle overfly buffer (m), obstacle detect mode (0/1), obstacle detect range (m), emergency pull up, smoothness factor, debug mode] Ending: removeMissionEventHandler ["EachFrame", RYD_TI_EFEH]; Source:
  17. I need help with a script, Will there still be any way to download this script here? https://forums.bohemia.net/forums/topic/77374-improved-bullet-cam-script/ The Original Download Link Does Not Open.
  18. So like when I enter a trigger I want that the AI that is sitting in a artillery raise the barrel by some degrees and then shoot. If anyone knows another way make a AI shoot with a artillery on a target from like 200m please tell me. Why do I need this? I am trying to make a mission with a BM-21 artillery and I want it to shoot at a target inside of the minimum shooting range like 100m away or something like that. I can use doArtilleryFire but it will only work if the target is above the minimum shooting range
  19. A bang stick in ARMA? Has JohnnyBoy truly "jumped the shark" this time? No, its true... Via a script call, you can give a unit a bang stick. Features: Use action menu to thrust stick at enemy (shark, tuna, or human). Should take down a stinkin' zombie also I reckon! (untested on zombies though) Bang stick tip explodes on impact with flash effect, kills victim, tip disappears, and tip smokes after usage Reload bang stick explosive tip from 3 shotgun shells mounted on stick. Has reload animation, shell visually taken in hand, and loading sound fx. Actions to drop stick or pick up stick. Looks crude because they are hand-made by Tanoan natives. ­čśë Notes: It can be a little wonky for detecting impact on thrusts sometimes. This is fun with Feint's sweet shark mod. But unfortunately, THA Great White shark mod no longer works (this was really fun to use on great whites). The script isn't perfect but will work pretty well in limited scenarios. Download: demo mission link (Demo mission requires Feint's awesome shark mod) Credits: @HallyG thanks for the great underwater blood and bubbles scripts @Feint for the super sweet Shark mod shown in demo
  20. Hi Guys, i'm searching for a simpler way to rotate objects in 3d Space (yaw, roll, pitch). I never try the tranformation and rotation matrix to solve my problem. My Work: I started to work on worldToModel that takes an "Object Model Box 3D Space (named _ModelOrign) as a Parameter and puts "3D World Coordinades" (named _position) of another Object in this model space. private _modelOrign = _this select 0; private _objectOrign = _this select 1; private _position = _modelOrign worldToModel getPosWorld _objectOrign; So I can easily take the saved _position and apply to a targeting Object (named _modelTarget) that is differend rotating in 3D as the Object _modelOrign. Then I just execute the finction modelToWorld and voila the _position is rotating to the rotated _modelTarget in Model Box 3D Space as well. Nice and easy. privat _objectTarget = _this select 0; privat _modelTarget = _this select 1; privat _position = _this select 2; _objectTarget setPosWorld ( _modelTarget modelToWorld _position ) Orientation: to get the orientation of _objectOrign in 3D Space, i used vectorDir and vectorUp of _ modelOrign to get this orientation and apply it to this _objectOrign with the oriantation itsself. Wiki Source: Euler_angles Problem: I've have no idea to combine these two orientations vectors of _modelOrign and _objectOrign to get this problem of the orientation solved. I never used the transformation and rotation matrix. There sould be an easier way to do this. BIS serve an function BIS_fnc_setPitchBank in the past but I've heard that it is not precisely :/. I've never try it out. I'm sceptic about the documentation of vectorModelToWorld explains that it only use vectorDir and not vectorUp. I never try it. im very sure that there is a modern simpler way to solve this problem by a bunch of Arma 3+ vector functions for example addTorque but I do not understand the explanation at all, i'm not english. thank you
  21. StarFish-50124bf6f5acc6e5

    First time modeling

    (im new to this) Hello, im trying to import a 3D building i made in blender into Arma 3. I have already inserted it into object builder and messed around with the LOD's and etc. My issue is the config files needed to make it into a PBO and work within arma as a building / model. I dont really understand where im able to get the configs or even to write them. i've only done this once but forgot to save the files before formatting my computer. I was wondering if anyone has a tutorial or the files needed (where i just rewrite the names inside the script) Any help is appreciated! Thank you
  22. FILE PLS 1.01 (Dropbox, APL-SA license) INTRODUCTION Lately had fun with some procedural maze/labyrinth algorithms, let others have fun too! PLS script takes as input a position, dimensions, wall segment class and used algorithm. Four algorithms implemented: Randomized Kruskal's: fast, somewhat biased towards short dead ends ("kruskal"). Randomized Prim's: also fast and biased towards short dead ends ("prim"). Wilson's: slow, but unbiased/uniform results ("wilson"). Randomized Pseudo Prim's: Prim's with distinctive bias towards long open diagnonals due to additional condition not present in the original algorithm ("pseudoprim"). WIKI article CODE Initialization: [(player modelToWorld [0,10,0]),120,120,"Land_PillboxWall_01_6m_round_F","kruskal"] call RYD_LAB_ConfusedMinotaur; //[Bottom left corner position, x dimension (final dimension will be matched up to wall segment's bounding box real dimension), y dimension (ditto), wall segment class, used algorithm ("kruskal", "prim", "pseudoprim" or "wilson")] Source:
  23. Hello everyone. Let's say I'm running a mission that currently has over 1000 running scripts (diag_activeScripts#0 > 1000): for"_i" from 0 to 1000 do { [] spawn { while {true} do { for "_i" from 0 to 50000 do {true} } } } Each iteration of every script requires about 20 ms to complete, which is well above the scheduler's execution time limit (3 ms). This practically means that if my game is running @60 FPS (16.6 ms per frame) and I have a script at the 1001st position in the queue, it will be executed at least over ~17 seconds later! And this is just the first iteration of my script. There will be a ~17s delay between each iteration. This is only a stress test of course, but still I'd rather my scripts were executed ASAP. I don't mean like 'call', because my scripts are way too demanding for calling. They have to be executed in the scheduled environment. I can think of a dirty method (using a perFrame eventHandler, and executing the code bit by bit), but I was hoping for a more straightforward solution. Does anyone know a way?
  24. Hi. On my mission I put some notifications with BIS_fnc_dynamicText function as tasks are accomplished, i.e., Kill the officer. Init.sqf if (isserver) then { officer_down = false; publicVariable "officer_down"; }; I have created a task with the module and named it "kill_officer" and a trigger. Trigger Condition: !alive officer On Activation: ["kill_officer","succeeded", false] call bis_fnc_tasksetstate; Task_Kill = ["<t font='PuristaBold' t size='0.90' t align='left'>The officer is dead!</t>",safeZoneX+0.10, safeZoneY+safeZoneH-0.15, 20, 1, 0, 888] spawn bis_fnc_dynamicText; officer_down = true; publicVariable "officer_down"; Notifications work perfectly when tasks are accomplished. The problem is when a player goes offline and reconnects in the middle of the mission, all the notifications together that have been completed so far appear again. It is clear that it is something related to JIP, but for more I look for information and read, I cannot understand how JIP really works The mission was played on a dedicated server. I would appreciate any help to fix this problem.
  25. Hi, I'm using a trigger to spawn AI (CSAT) boats and make them move to a waypoint (to chase the blufor boats) and I am getting a "generic code error" when I try to do this. The code I have so far is as follows: group_2 = creategroup east; enemy2 = group_2 createVehicle ["O_Boat_Armed_01_hmg_F ",getmarkerpos "spawn2",[],0,"form"]; enemy2 domove (getmarkerpos "waypoint2") This code is situated in the activation section of the trigger. I have a dot marker set as spawn2 and a circle marker set as waypoint 2 (as I'm spawning a load of ground units at the same time who spawn at spawn1). Any help is greatly appreciated. Thanks
├Ś