Jump to content

Dedmen

BI Developer
  • Content Count

    2910
  • Joined

  • Last visited

  • Medals

Everything posted by Dedmen

  1. People need to learn how to make non-fullscreen screenshots that don't show 80% useless empty space :D Also no need to argue about the perf. call compile format is just stupid. PERIOD *slams fists on table*. Thanks for watching. Now to the news with Karen Bablewitz.
  2. Put this into debug console and benchmark it missionNamespace setVariable ["abc", 123]; vs call compile format ["%1 = %2", "abc", 123];
  3. Dedmen

    Multiple Game Breaking Errors

    First error. Could be something is binarizing your description.ext. Or ""The-Programmer\theprogrammer_dialog_master.cpp"" contains garbage. Include files are normally named .hpp. Maybe some crappy tool is binarizing that one because it thinks .cpp is a config? These weird characters at the start.. Something is really messed up with your stuff. Do you obfuscate the mission file or something?
  4. Dedmen

    When will we get a VR support ?

    Arma 3 is End-Of-Life. So if it doesn't support it yet then the answer is no.
  5. call compile format combination is almost always stupid. missionNamespace setVariable [_x select 0, (_x select 1) createUnit [_CorpSpawnPosition, newGroup]];
  6. Dedmen

    Buy DLC Pack Does not activate

    Inform yourself before buying something. https://www.projectargo.net/blog/uncategoriezed/unofficial-argo-servers-support-only
  7. Chemlights https://github.com/acemod/ACE3/blob/e5a15d200f44df5fccc0bc5575d18d80b35538dd/addons/chemlights/CfgAmmo.hpp#L51 It's important to know that placed Chemlights are Ammo classes. But items in your inventory and in Arsenal are Weapon classes.
  8. Dedmen

    Random CTD

    For crashes always collect the crashdumps and create a Feedback Tracker issue. If Arma crashes it's Arma's fault. A mod isn't supposed to be able to crash the game.
  9. Dedmen

    Bohemia Game Servers?

    https://www.projectargo.net/blog/uncategoriezed/unofficial-argo-servers-support-only
  10. No https://community.bistudio.com/wiki/sort And the arrayIntersect variant should be faster anyway. though arrayIntersect will fail if you have duplicates in one of the arrays. But (count (_array1 arrayIntersect _array2)) == (count (_array1 arrayIntersect _array1)) can solve that
  11. ASDG/CBA Joint Rails is doing that. Cross-post and answer here: https://github.com/CBATeam/CBA_A3/issues/969
  12. Dedmen

    Howitzer Problem

    This was cross-posted twice into ACE Slack and into atleast 3 Discord servers. He already found his answer in Arma Discord.
  13. This is the CBA thread.. Sounds like you wanted ACE? And the Medical module doesn't exist anymore. Everything switched to CBA Settings.
  14. Most of it can easily be automated using file indexing like the workshop crawler does. Just block upload if someone else already uploaded the exact same file. But to prevent abuse allow the author to dispute the claim and THEN get a real human involved to solve the conflict. Abusing the anti-abuse system just earns people a ban, which means any of their uploads are automatically declined, without ability to dispute.
  15. Dedmen

    Arma 3 Kills Me and I get no FPS

    20 fps sounds about what you should expect. Don't see the problem? This is Arma, it's not your usual shooter game.
  16. Dedmen

    Limit weapons in arsenal

    Correct. Arsenal has either infinite or none. Nothing inbetween.
  17. Arma is 95% single threaded. Windows Task Manager cannot show that correctly.
  18. init.sqf is a bad name. There are preInit, Init, PostInit. Calling your preInit function init is confusing. your "init.sqf" that is executing at preInit. Is executing at preInit (Hah.. Funny..) PreInit runs before init.sqf, And before editor placed objects are spawned. Before Module functions are executed, before unit init scripts run. Yeah that to. Unless you start with -world=empty. Because Arma loads a mission behind the main menu. Yes That would be about what postInit does. I thought you wanted it to run before Editor unit init scripts. waitUntil alive player would wait till after the unit init scripts. Unless you put the waitUntil inside your spawned script. So that the script from unit init will kill it again. But you still need your preInit to run before mission start.
  19. The folder names have to match the files you have on disk. You can't just replace space by _ in one place and not the other. Also didn't I say that already? Why are you trying to go the hard way instead of just taking the easy way? Oh wait.. I also already told you that You know what? I'm out. Have fun.
  20. We already got them though... Why should we get them again? :D
  21. Shouldn't be needed. Terminate shouldn't care if you pass in a script that's already terminated. How do you execute the code from addon level? Actually not. Sounds like he want's the addon one to execute first. Meaning preInit.
  22. Arma is basically always on 100% load anyway.. sooo... You'd probably only feel it in your fps being lower. It's just adding a piece of code to an array and removing it again. Basically the same as with "normal" EH's. Btw stacked EHs is a bit unclear. The Engine addEventHandler/addMissionEventHandler are also stacked. But I assume you mean the BIS_fnc Still bad. Because of Eventhandlers being recompiled. Depending on how much code you have in the eventhandler. This is most likely better addMissionEventHandler ["EachFrame",{ call LEO_fnc_EachFrameCode; }]; The BIS function is more performance friendly and can also pass arguments to the handler. No. Totally not true. Depends on the command and depends on what exactly you are talking about. a nearestTerrainObjects over the whole map is not faster than a simple call {hint "hi";} And as we are talking about Eventhandlers. The actual execution of the Eventhandlers is most likely slower as they have to recompile their entire script which BIS_fnc_addStackedEH only does once for all the stacked EH's.
  23. Dedmen

    Scenario saved files...

    My Documents\Arma 3 - Other Profiles Or you've set them via a startparameter on the Arma Launcher. But one usually doesn't do that by accident. The -profiles parameter
  24. Dedmen

    Insignia problem

    I don't see the point of the waitUntil discussion. You want to replace it by a condition and a sleep to make sure the script only runs once per frame. Well that's exactly what waitUntil does. Just more compact and easier to read.
×