Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

83 Excellent

1 Follower

About Melody_Mike

  • Rank
    Staff Sergeant

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Melody_Mike

    CAS using drones

    Thank you for responding @beno_83au. I've posted this twice in the Discord as well. You are the first person even to respond. People don't even tell me I'm going about it the wrong way. It seems I may perhaps be breaking new ground here with the communication menu scripting. Of course I have taken a look at the default game scripting for CAS within "A3\modules_f\supports\...". It's about 16 script files and 8 FSM files. Before I reverse engineer the code to not make it an Eden module, remove the unnecessary features, then make it work again as a mission script (in multiplayer!), it'll be a while. But I do like a challenge. Cheers, - MeM
  2. Thank you for this! Seems a lot more robust then other workshop compositions and "reveal" scripts. So if I understand it, the Dest_Zone trigger starts a command in init.sqf that detects a list of enemies within 200m of the trigger. That list is passed (globally) to all artillery units, which then do a range check, have all their targets automatically lased, then fire continuously until there are no more enemies in the list, friendlies are detected, or ammo finished. I guess I have 2 questions: I would like players to cross a large area and not have the AI empty its ammo at first sight: Can I set it with multiple dest_zone triggers? And can I restrict the artillery to fire periodically?
  3. Aim: To enable CAS using unmanned drones for players, without significant bugs, using mission scripting. Issue: The default CAS module (SupportProvider_CAS_Bombing) is rather bugged when synced with a UAV (B_UAV_02_dynamicLoadout_F or O_UAV_02_dynamicLoadout_F). If for example, a bombing run is requested and that UAV is too close, then it will circle the target endlessly, with the player unable to request new runs. Similarly, if the player requests a laser-guided bomb or unguided bomb, but the UAV does not have the correct loadout, it will similarly loiter. See picture below: So there are several easily triggered soft-locks that I wish to design around. Solution attempt #1: Create individual bombing runs (without a constant provider) using the zeus module. Looking at beno83_au 's script (https://forums.bohemia.net/forums/topic/219155-release-mil_cas/ ) I found a reference to the zeus CAS module. This is easily copied and set as a new function in description.ext . I modified the start position of the CAS runs to the start position of my regular CAS provider unit. It allows me to specify the type of run, and respawns the CAS unit, so there's no soft locking due to to loadout OR position. But- It's completely missing the player UI. There's no communications menu, no notifications, no sound. The strike is called using script commands. Solution attempt #2: Recreate the support provider module, remove the "unguided bomb" command menu option, and script respawning modules and units after every CAS. I found that the module 'SupportProvider_CAS_Bombing' uses scripts within modules_f.pbo > supports . I unpacked those, thinking "if I just cut out that single line, then recompiled it all back into functions, this should replace the vanilla function without problems". But they also include a set of FSM 's and BikB dialog files. And I've gotten rather stuck on where to find my relevant line and remove it. This solution would restore the complete UI of the vanilla CAS request, sans loadout error. Deleting the vehicle and recreating the setup would be pretty straightforward. So this is me at the moment. I'm stuck with the user interface of the Close Air Support Modules. The BIKI article on comm menus seems helpful- https://community.bistudio.com/wiki/Arma_3:_Communication_Menu But I am having trouble locating the vanilla menus and editing them. Any thoughts on how I should proceed? With thanks, -MeM
  4. I don't have much experience with this. But I did a search in our bottomless pit of forum posts and found this: It seems the command playMission doesn't work very well, and things behave better when they are organized as a campaign file and then referenced in the campaign description.ext . Hope that helps 😬.
  5. @Solarcode red I removed the comments (init fields don't like those) and removed the optional arguments. Here ya go: this addAction [ "Set weather clear skies", { 0 setOvercast 0; forceWeatherChange; } ]; this addAction [ "Set weather overcast", { 0 setOvercast 0.6; forceWeatherChange; } ]; this addAction [ "Set weather stormy", { 0 setOvercast 1; forceWeatherChange; 0 setRain 1; } ];
  6. Hi @Solarcode red; welcome to the forums! What you describe has been exactly implemented by the following, excellently made mission, by none other than our beloved @Lou Montana: However, if you wish to create your own, a simplistic way would be- Place a laptop object. Paste the following code into its init box: this addAction [ "Set weather clear skies", // title { 0 setOvercast 0; forceWeatherChange; // script }, true, // showWindow false, // hideOnUse "true", // condition 3, // radius false, // unconscious "", // selection "" // memoryPoint ]; this addAction [ "Set weather overcast", // title { 0 setOvercast 0.5; forceWeatherChange; // script }, true, // showWindow false, // hideOnUse "true", // condition 3, // radius false, // unconscious "", // selection "" // memoryPoint ]; this addAction [ "Set weather storm", // title { 0 setOvercast 1; forceWeatherChange; // script }, true, // showWindow false, // hideOnUse "true", // condition 3, // radius false, // unconscious "", // selection "" // memoryPoint ]; Hopefully this will give you an idea how it works. Assuming I have not mistyped anything on my phone . Note: this method has multiple bugs. Changing weather may cause stuttering in multiplayer. Players joining mid-mission (JIP) may find duplicate actions in their menu. And others. But it works fine for a quick mission with friends.
  7. Melody_Mike

    Fog problem in MP

    ACE has a rather complicated weather system that affects things like ballistics and artillery as well. I have had similar problems with scripted weather being removed after a few seconds when ACE was loaded. Have you tried disabling (not loading) the ACE mod from the launcher and tested that?
  8. Melody_Mike


    How many Altian dollars are you willing to spend? More seriously, you have picked a pretty good topic to start playing with scripting. Skim read this: https://community.bistudio.com/wiki/Introduction_to_Arma_Scripting Read the links I sent you and type a command into the debug console ( "Execute" ) when you play a mission from the Eden Editor. Debug console: Example command: player setVelocity [20, 0, 10]; Play around with this, and if you try enough and ask a question that shows you made an effort, someone may help you. Good luck!
  9. Melody_Mike

    BIS_fnc_unitPlay varDone findings

    Thanks Doc! Should help those of us scripting cutscenes, specifically in timing scripts to fire after the unitPlay has finished. Keep it up, sir! ... May I ask what context you were using this in?
  10. Melody_Mike

    player inventory weight script

    The ACE mod displays this value in the inventory by default. It uses this function for the calculation. Note the use of CBA: https://github.com/acemod/ACE3/blob/master/addons/common/functions/fnc_getWeight.sqf But you will have to dig some more into the "common" functions and scripts to find how exactly this value is displayed to the player in their inventory screen. They have a slack and a GitHub where you can message with questions: https://github.com/acemod/ACE3 Good luck!
  11. Melody_Mike


    Heya @asdsadasddsa; welcome to the forums. (I hope I didn't accidentally tag the wrong "asd.." user ) It looks like everyone jumps identically, and that they are not able to change direction/speed once they are in the air. So I am guessing the players have a scripted action that gives them a fixed upward and forward boost when they press a certain key. My guess is that the following commands are used: https://community.bistudio.com/wiki/setVelocity https://community.bistudio.com/wiki/setVelocityModelSpace https://community.bistudio.com/wiki/BIS_fnc_holdKey (one way to assign a button ingame) Good luck!
  12. Melody_Mike

    COVID-20: Vaccine

    I will wager a lot of money that In about 12 years time, there will be a Netflix drama about people living through COVID. Maybe even an action disaster film starring a new retired WWE Wrestler. It was the same with 9/11 in American films and the Cold War in Germany. But not today. I don't want to be reminded of daily problems in my entertainment. Sorry if it feels like a lazy excuse. Your choice of setting has nothing to do with the quality of your mission making. And we all have different ways of working through difficult experiences. But that is the reason I won't download your mission. It looks like a lot of work went into it. So I'm looking forward to future projects. Good luck!
  13. How exactly does it go wrong? If, for example, you cannot get script to work from the unit attributes, then you could give the unit a variable name when editing the mission file, then reference that when entering the code from the server debug console. Eg: if (isServer) then { 0 = [DogCharacterVarName,"Fin_random_F"] spawn { ...
  14. @marki980908 Sure, if the debug console is enabled (or you are the admin), you can execute code in the unit attributes. See: https://community.bistudio.com/wiki/Arma_3:_Debug_Console
  15. Melody_Mike

    Image over HUD Issue

    @GODSPEEDSNAKE I got inspiration for creating a jumpscare in my "horror" mission using BIS_fnc_dynamicText, thanks! May I ask why you made this function, instead of using BIS_fnc_initLeaflet ? Or is the image meant to appear with a different interaction/trigger? Eg: https://community.bistudio.com/wiki/File:a3_orange_leaflets_preview.jpg