Jump to content

Melody_Mike

Member
  • Content Count

    326
  • Joined

  • Last visited

  • Medals

Everything posted by Melody_Mike

  1. Melody_Mike

    Help with Orbat Group Script

    Hi @Fluxion, welcome to the forums :) The answer to your question is in the example in the BIKI: https://community.bistudio.com/wiki/Arma_3:_ORBAT_Viewer#Working_Example So as far as I know: yeah, they basically just make the briefing more interesting.
  2. So what did you end up with?
  3. I disagree. I believe you can use that function to identify which door your script needs to unlock. Then use the correct "bis_disabled_Door_x" variable to unlock the door. Will give it a go when I get home :).
  4. NSFW I assume? :D Now I agree with you on that the lockpicking scripts I know open doors; they don't unlock them. But if you look at the forum post link I sent, in the GitHub, you'll see it's got a pretty nifty door detection based on ray intersects from the player skeleton: https://github.com/NumbNutsJunior/Active-Lockpicking/blob/master/Other Examples/Lockpicking_Doors.Altis/functions/generic/fn_findTargetSelection.sqf
  5. PS @KutPax is your name a reference to a... banana peel eating alien... by any chance?
  6. Heya @KutPax, welcome to the forums! I think you're looking for the lock command. And before someone beats me to it, this is a damned good script I've used in multiplayer: Happy mission making!
  7. Seeing as it would be a pain in the patella to get AI to interact with an object, and I don't know any mission scripting that creates custom orders for AI, I would design around it and place a vehicle (ambulance, APC, helicopter?) that your AI teammates can get into. Then script a healing function or repeatable trigger around that. Curious what you end up with.
  8. Melody_Mike

    Mission Building Help

    NB: If you have a question, you can always ask. But a specific question is more motivating to answer than "please write out a complete guide / script".
  9. Melody_Mike

    Mission Building Help

    Hey @Thundergrunt 09, PierreMGI gives a pretty good overview on what to do in terms of using Arma scripting (the SQF scripting language). Based on your answer, I get that you're not really used to scripting. If you want things to work like you say you do, then you're gonna have to learn a bit on how things work under the hood. lz = landing zone, the starting position of your helicopter. -> Just put a helipad under your helicopter. Here's an article that gives an overview of what triggers can do. Or watch a YouTube tutorial on triggers. Or, just place a trigger in the editor, and read all the subsections. Give your helicopter variable name yourHelo. Copy and paste the code. Here's another article on how waypoints work. You can also look up each command (such as alive ) and read up on that, if you want to know how that line of code works. With that, I would get back to PierreMGI's answer and get each point to work separately. Then together. Good luck!
  10. Hi @Quebec26, welcome to the forums! A few things here- I understand you want to set up a basic dialogue interaction with an AI character. Indeed it is a good idea to use existing functions for that. The one used to make the interaction in the picture, however, is BIS_fnc_initInspectable (see link). You can just use the examples in the page, and paste that into an AI character with variable name MyLeaflet. It will work fine, but will be buggy in multiplayer, and have this odd "Read" button in the bottom right of the screen. A more complete solution can be made with BIS_fnc_holdActionAdd. But that will take a bit of trial and error, and some more puzzling for multiplayer use. You're probably better off using one of several dialogue scripts already made in the forums. Try those first and see which one you like :).
  11. Yes, that was the line. The function did a pretty spectacular job of burning down my camp =]! And yes, as warned, it also put the metal fences and concrete barriers on fire. If only there was another way to filter those out, or predefine a burn area. You've helped enough. I will try to figure this out on my own. Thanks!
  12. Thank you for the reply. Were you referring to this line: _pos = _pos call BIS_fnc_arrayShuffle; ? I commented that out, but did not really change the behavior of the function. Just thinking out loud: could I just call another instance of you_fnc_houseFire after some time, in order to get multiple tents to burn simultaneously (from a single source)?
  13. @mattis Although the "garbage collector" removes dead AI and vehicles outside of player range, as long as the mission runs, damage to vegetation and terrain objects remain. You can do tasks, without this kind of damage re-setting. Or did you mean something else?
  14. Great script! Have a question, however. I am attempting to burn down a series of tents. The fire starts, damages, and spreads fine between buildings and regular tents (Land_MedicalTent_01_white_generic_inner_F and related). But not for Connector Tent objects (Land_ConnectorTent_01_white_open_F and Land_ConnectorTent_01_white_cross_F). My first guess was that the two family of classnames used in _buildingARR ( ["House", "Building"] ) didn't include those. However isKindOf "Building" returns true for the connector tents. Anyone got any ideas? Thanks! PS And is there any way of getting the fire to branch out and burn multiple buildings?
  15. Oh my goodness. I had even *liked* your post when it came out. I should really bookmark things here....
  16. Hi @WWThomahawkWW, I'm actually also curious how to delete particle effects. I tried deleteVehicle as suggested in the BIKI article on particles (executed globally). I've also regressed and placed an Eden fire module (I think this one) , then deleteVehicle-ing that. Both keep burning. Looks like we are missing some basics on working with particle (emitters). Anyone have an idea?
  17. Melody_Mike

    create an intro and end video in arma 3

    Hiya @SGT Major Ray Jefferson, welcome to the forums! You probably want to experiment a bit with the blackOut and dynamic text functions. I don't know your scripting experience, but a safe bet would be to put them in a trigger for mission start and end. Happy hunting.
  18. @Rhaonoa In case you haven't solved the problem already, the answer to your question is in the BI wiki link PierreMGI posted. You could simply create a new Event Handler for every unit that enters your trigger. Set trigger to "repeatable" and set up a forEach loop that creates a separate EventHandler for every "Man" type unit. You could also consider using two triggers (one in the air, and one on the ground with a 5 second timer) setting allowDamage off and on forEach player. Hope that helps..
  19. Allo allo @mcnools, You can change each post process effect, or a batch of them, in sequence, using ppEffectCommit. You can place these commands either in init.sqf or initPlayerLocal.sqf, or execute them in an external script file from there. My mission ran fine on a dedicated (cloud based) server. Here's an example batch I made using GreenFist's ReColor mod to both design the effect and export it as a script. There are other Post Process mods that help design effects as well. // init.sqf PPeffect_colorC = ppEffectCreate ["ColorCorrections",1500]; PPeffect_colorC ppEffectAdjust [1,1.71479,0,[0,0,0,0],[1,1,1,1],[0.5,0.25,0.25,0]]; PPeffect_colorC ppEffectEnable true; PPeffect_colorC ppEffectCommit 0; // set "fade in" time here in seconds Good luck!
  20. Melody_Mike

    [SP/CO] Force Through Game Mode

    Heya! The link to the Steam workshop page seems dead .
  21. Melody_Mike

    [MP] co40 Domination!

    Cool! Reading the GitHub, I had a question on one of the updates: How did you manage this with mission scripting? Because it would fix the need for loading one of the many (outdated and illegal) ACE without medical mods from the workshop....!
  22. Yes, thank you. The last part especially is what I was looking for. I am aiming to "guide" the players towards the objective (a battlefield) with burning wreckages in the distance. But I don't know what values to put in the smoke effect modules. So my smoke plumes look more like someone drew graffiti in the sky with a fat marker. This should improve immersion.
  23. Bit late of a reply from me. What I meant with the word empathize was "I understand how you feel", not, "I agree, it is our right to ask more content from this hobbyist!". I don't want to condone complaining. Sorry for not wording it clear. Thanks for the suggestion! Is there a large flat object in Eden Editor with hiddenselections (besides 4000 invisible walls), or is making a geometry LOD along with the config mod the only playable way?
  24. This looks great for a large scale background battle. But to make it seem less artificial I was wondering- Where can I find the standard fire and smoke particle settings for an exploded vehicle?
  25. Okey :) To create ticket, you can use this: https://feedback.bistudio.com/w/ft_a3_howto/general/ Login is same as with forums here. I used this system and they did include my suggestion in a patch. I think it would help if you gave context on what you were trying to do. Like literally, what is the hidden vehicle, why is it hidden, and what is the in-game reason why it should get visible? Because yes, hideObject is strange for vehicles (no collisions, but still shooting, particles, and sounds). What happens if you setObjectTextureGlobal an invisible (alpha channel only) texture on the vehicle?
×