Jump to content

Mokka

Member
  • Content Count

    69
  • Joined

  • Last visited

  • Medals

Everything posted by Mokka

  1. Ohhhh, this looks promising! I'll play around with this once I get some time c: Thanks for sharing, pierre
  2. I think this issue has been rectified, at least for now. I have switched over to rapping and packing the pbos with Mikero's PboProject, which works a charm. I cannot, however, make use of the fancy compression subroutine for his MakePbo tool. It seems fine for now, I totally forgot about this post. Thanks for bringing it up again, so it gets some closure :)
  3. Hello there! I stumbled across an issue while working on some ArmA 3 addons. I have two addons, stored in the same folder. The structure right now looks like follows: P:\x\addon1 P:\x\addon2 Both addons have a $PBOPREFIX$, setting their namespaces as the above folder structure. "addon1" has a .hpp file with PreProcessor macros, called macros.hpp And here is, where the fun begins: I want to access these macros from addon1 inside of addon2. I have included the file inside of addon2: // File include-macros.hpp inside addon2 root #include \x\addon1\macros.hpp This works fine while rapping and packing the file using Mikero's MakePBO, actually including the correct file and its contents. If I start the game, having both addons (addon 1 and addon2) loaded, fails with a message: Include file x\addon1\macros.hpp not found I have no idea anymore, could someone please help me out with this? Thank you for your answers in advance!
  4. These sound and look great, Pierre! Thanks for posting them here, much appreciated. I'm going to give them a test run in the near future.
  5. Maybe to specify this even more for you case, you should put the infinite loop in a separate script (let's call loop.sqf) and spawn/execVM this from within your init. // Unit init/init.sqf _loopHandle = spawn "loop.sqf"; //loop.sqf while {true} do { // Stuff here };
  6. Mokka

    Blackfish Take Off Trigger

    Oh, there was one too many ;_; I am also going to edit my original post. God damnit *incoherent german slur mumbling*
  7. My bad, missed the arrayIntersect. Reading, great skill ;_;
  8. Mokka

    Blackfish Take Off Trigger

    https://community.bistudio.com/wiki/Arma_3_Vehicle_in_Vehicle_Transport https://community.bistudio.com/wiki/getVehicleCargo BIKI is your friend. You could use something like: waitUntil { (prowler1 in (getVehicleCargo blackfish) && (prowler2 in (getVehicleCargo blackfish)); }; Not optimised at all, but should give you an idea on how to solve this.
  9. Are you using any additional scripts? The default Arma 3 Respawn system does not allow settings, that make players invincible after they have respawned. https://community.bistudio.com/wiki/Arma_3_Respawn Your issue might be down to using the Vanilla Respawn System/any Third-Party Revive system.
  10. @Grumpy Old Man Would that not only return if the weapon can be suppressed since all you would get is an array of compatible muzzle attachments? As for asserting whether the currently held player weapon has a silencer attached to it, I would simply take KK's approach, as seen here: hasSilencer = player weaponAccessories currentMuzzle player param [0, ""] != ""; As for: There are some interesting values in the config for the common sounds suppressor object. htMin = 1; htMax = 600; afMax = 0; mfMax = 0; mFact = 1; tBody = 100; /----- minRange = 1; minRangeProbab = 0.3; midRange = 150; midRangeProbab = 0.58; maxRange = 500; maxRangeProbab = 0.04; I have no idea what they are, these values might well be a cryptic cake recipe that BIS out in there, but trying things out almost never hurts. There also seems to be a value called "detectRange" in the config for both weapons and suppressors, but the value is 0, in all cases that I have observed so far.
  11. And another nice bit: https://github.com/oOKexOo/AresModAchillesExpansion/wiki/Custom-Music Using CfgMusic seems to be the solution though. I am however unsure if the above information only applies to use with Achilles (ie that Achilles handles Music and Sounds stored in CfgMusic itself) Adding to my above: https://github.com/oOKexOo/AresModAchillesExpansion/blob/69f0b1e9f24372a034a822175a69c1008fa1aedc/%40AresModAchillesExpansion/addons/ui_f/scripts/RscAttributeMusic.sqf This seems to handle adding custom music to the Achilles mod, worth a look if using CfgMusic alone does not resolve your issue...
  12. Have you tried this approach already? It does not make use of units[], but registers the sounds and music in the music library.
  13. Function utilises nearRoads . You should play around with this command and take note of what it returns.
  14. Mokka

    Campaign template

    No worries mate, glad I could help you.
  15. Mokka

    Campaign template

    Oh, I am sorry :D The Arma 3 Samples library is an additional component, not included with the base game. Go to your Steam Library, and hover over the Library Selector and navigate to the "Tools" section: In the Tools section you then look for the Arma 3 Samples entry, and click "Install": Hope that helps :)
  16. Mokka

    Campaign template

    Yes, you are right Larrow. Just checked. @XerXesCZ: See the Arma 3 Samples for an officially released and designed campaign example. Path is: Arma 3 Samples\Scenario_Design\Example_Campaign
  17. Mokka

    Campaign template

    https://github.com/Haymaker-1/arma3-campaign-template This could be of help. Otherwise you could have a look at ADAM by Pwner Actual, which is a nice tool if you want to focus on mission design and building, without having to worry greatly about the scripting aspect: http://www.armaholic.com/page.php?id=29232
  18. Patches in Arma are what you would consider a modification. For ingame CfgPatches (ie. those that the game has shipped with), see BIKI (as usual): https://community.bistudio.com/wiki/Arma_3_CfgPatches_CfgVehicles You would add the names of the CfgPatches as seen above, enclosed in quotation marks, to Larrow's whitelist.
  19. I am not entirely sure, but I'd assume the music for all DLCs is part of the "base update", the patch everyone receives for download and install after release. These things are called a "platform update". You'd have to test this, my recommendation. Unless there is someone here that already has made experiences with cross-DLC use of music?!
  20. I do believe that it's more of a security thing, I do it this way myself as well. "Just to make sure"
  21. This has to do with how the count command works. It expects a boolean statement as result, to indicate counting preferences. https://community.bistudio.com/wiki/count
  22. @Midnighters I am unsure of your intentions, but as of now all I've seen from you if off-putting and insulting. This goes from discouraging people from staying active in the editing/scripting part of this game to issuing comments far off the topic present in a thread. I do not wish any further interactions with you from this point, and this is the nice way of putting things. If you are unwilling to help people because of your "pitiable" past, leave it off this board and for yourself, instead of shedding a bad light on the entirety of the Arma 3 community. Thank you.
  23. Don't thank me, thank the wonderful guys (and maybe gals) that keep the BIKI and surrounding resources alive and healthy. I am just showing you the way, those people made it :)
  24. Have a look at the Altis Life RPG repo on Github. https://github.com/AsYetUntitled/Framework Or more specifically the following query: https://github.com/AsYetUntitled/Framework/search?utf8=✓&q=fed_bank
×