-
Content Count
762 -
Joined
-
Last visited
-
Medals
Everything posted by Leopard20
-
Is there a way to turn off debug errors? (...not found,etc ) I use some old missions and addons that keep giving me errors (which are non important mostly, like missing linemarker class and stuff). It's kinda annoying.
-
Arabic characters on FontToTga
Leopard20 replied to Lord Crash's topic in ARMA 3 - BI TOOLS - TROUBLESHOOTING
AFAIK Arma doesn't support ligatures (which is needed for "connecting" the characters) -
commanding All-in-One Single-Player Project
Leopard20 posted a topic in ARMA 3 - ADDONS & MODS: COMPLETE
All-in-One Single-Player Project by Leopard20 Short description: All-in-one Single-Player project is (at this time, will be) a collection of 3 separate addons that work in tandem to create the ultimate single-player experience. _____________________________________________________________________________________________ Long description: Hello guys. I'm sure everyone agrees that the current state of ARMA single-player is not really playable (unless you're alone!). The AI are always a burden and hard to manage. Well, in this project, my goal is to change that. Check out the latest development videos on Superior Intelligence (aka Super AI) in the next post! This project will consist of 3 addons: 1. All-in-one Command Menu (Deluxe ver.): The improved and enhanced version of my old , dusty mod, All-in-one Command Menu which itself was basically an improved version of WW AI Menu by Windwalking. 2. Superior Intelligence (WIP) 3. ADDON #3 (WIP) The other two addons are not "command menus" but something entirely different and crucial to the single-player game, and interaction with them will primarily be through All-in-one Command Menu. I will update this thread about the latest development status. Stay tuned! All-in-One Command Menu (Deluxe Version) Current version: v1.5.0 (Jul. 12, 2023) Some of you may have used, seen, or at least heard of my All-in-one Command Menu mod, which added many new capabilities to the vanilla AI. When I started working on that mod, I was completely inexperienced in scripting, and the mod, despite its great feature roster, became a poorly optimized and buggy mess over time. So I decided to rewrite the mod from the scratch; updated the visuals, rewrote most features and added many new stuff. Without further ado, let's jump into the feature list! Release Trailer: Additional Screenshots: Feature Overview: What's new since All-in-one Command Menu classic: This is a complete rewrite of the classic mod, so obviously there's so many changes. Here is some of the most important ones: Manual (MUST READ): Some of this stuff might be a little hard to grasp at first (but once you learn them you realize how easy and intuitive they were!). I'm very busy right now so I'll add a video tutorial later. For now, try to make do with these! Download: Steam Workshop GitHub Dropbox (Outdated) Google Drive (Outdated) Armaholic Installation (non-Steam): Note: The name of the mod folder has changed! Please delete the old "@AIO_AIMENU" folder if you have the classic version. F.A.Q: Donation and Support: If you like my mod and would like to support it, or you just want to buy me a drink, etc., you can become a Patron! Requirements: Community Base Addons (CBA)- 584 replies
-
- 39
-
Advanced Developer Tools by Leopard20 Short description: An addon that adds completely new and revamped developer tools to the game, including a Debug Console with syntax highlighting, Config Viewer with many new features, etc. Long description: If you're a mod/mission maker, then you definitely must've used the Debug Console, the Config Viewer, as well as other in-game tools that can help you test and verify your codes and configs. But when you use those tools, the first thing that strikes you is their clunkiness and a rather user-unfriendly design. For instance, lack of syntax highlighting in Debug Console means that you'll have to actually read every single word of your code in order to make sure you haven't made a typo, etc. That's why most of us use third party code editors such as Visual Studio Code and Notepad++. But this means that you'll have to switch out of the game every time you want to write and test some code. Or let's take a look at the Config Viewer: every time you want to go one level deeper into the config, the whole config viewer must be reloaded! And if you have hundreds of mods loaded, this means you have to spend more time waiting for the Config Viewer to load than actually viewing the config! This is exactly why I made this mod: to make the Arma environment more user friendly to the mod/mission makers. So without further ado, let's take a look at the features! Screenshots: Review Video (Thanks to Instant Arma): Documentation: The documentation is available in the mod folder. You can find the online version here. ⚠ If your input method is set to anything other than English in Windows, some input related features (shortcuts, auto-completion of brackets, etc.) might be broken. I'll try to address this issue in future updates. Download: Steam Workshop Note: This is a preview release. Please provide feedback regarding the mod features, such as design, what you'd like to see, etc. Thank you! Localization: Interested in translating the mod to your language? Or maybe the translation is not good and you'd like to improve it? Please visit the localization repository on GitHub. Known issues: FAQ: Requirements: None (Arma 3 v2.06+)
- 44 replies
-
- 27
-
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
yes. use the Built in (SQF) preprocessor instead (check settings) -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Forgot the default. Thanks As for macros, they're still kinda broken anyway, because right now it checks macros within scopes which is wrong (first you have to preprocess the file then do linting). I have to rewrite it completely but I don't have time rn. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I wouldn't say it "fixes it" but it's better. There's also an auto-medic feature but I don't recommend it. Just tell the AI to heal you manually. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Version 1.5.0 # Added: * Ability to edit all friendly sides in Zeus * Ability to edit enemies in Zeus (you must check the option "Allow editing non-friendly units") # Improved: * Zeus interface can now open slightly faster in bigger maps * Future proof method for detecting medical items (except for ACE and other mods with non-vanilla medical features) # Fixed: * Medical items from GM and SOG were not detected. * Minor fixes to misc medical features https://steamcommunity.com/sharedfiles/filedetails/?id=1893300731 https://github.com/Leopard20/All-In-One-Command-Menu/releases/latest Please note that the Zeus and Medical features might behave differently. Leave a feedback if you notice anything unusual! -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I pushed an update with a workaround. But I checked and I don't have any circular references so I have no idea what it's talking about I'll send a crashdump to the devs for investigation. -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I'm pretty sure I don't have a circular ref anywhere in any of my hashmaps. It's most likely a game bug. I think something similar was reported a while ago in Arma Discord? Anyway, will investigate. Thanks for the report. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi. I'm currently taking a break from gaming. I'll get back to it in a month or two. As for the progress, this is what I am (was) doing: There were some limitations that I couldn't overcome, such as caching object animations which didn't work on wind turbines (and any object with time dependent animations), but they were relatively minor (the turbine, for example, would only cause problems for air vehicles) The new async path finding algorithm is also partly done. But that's just about it. So the development of the new "AI engine" is still far from complete. Unfortunately most of the features I needed were ignored by the devs, and from the looks of it they may never add it. So the project will never look as good/complete as I wanted. -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
V3.0 update: https://steamcommunity.com/sharedfiles/filedetails/?id=2369477168 # Added: * Debugger: Say goodbye to `systemChat`, `hint`, etc. Debug your code using breakpoints like a pro! The debugger has a feature-rich variable viewer to help you monitor your variables. There are 2 ways to set breakpoints: Directly via console, and indirectly using external text editors. 1. Direct: Place breakpoint by clicking next to a line number. To disabled the breakpoint, press Ctrl+ Left Click. To set the breakpoint condition, press Ctrl + Right Click. 2. Indirect: Add '#include "\dbug\debug.h"' at the top of your file. Then place breakpoints using the BREAK macro. In this mode breakpoints are not customizable (disable/condition not available) Breakpoint limitations: 1. You can only place breakpoints before the code is executed. However, you can edit breakpoints (remove/disable/set condition) after the code is executed (if breakpoints were added via console) 2. Breakpoints cannot pause the game in unscheduled environment (because that equals total game freeze). However scheduled scripts can be paused if you want to (available in mod options) * Variable Viewer: Used to view variables in debug mode. It can display different types, e.g. objects/positions are shown in the world, and controls are highlighted using Red boxes. It is possible to add custom watches per variable type using the + button. To remove a watch, select it, then right click on the watch window. * On-the-fly function edit: If you add your functions using CfgFunctions and enable allowFunctionsRecompile = 1, you can edit your functions directly through the console and set breakpoints. This feature can be disabled through mod options. To use this feature, open your function though the Function Viewer. # Improved: * The built-in preprocessor now fully supports all vanilla preprocessor features, and SQFVM PP is now deprecated. Be sure to switch to the Built-in (SQF) preprocessor in Mod Settings. * IntelliSys can now handle macros properly. # Known issues: * IntelliSys caching was broken and it's force-disabled. This makes intellisys slower than before. This issue will be addressed in the next update. Video of breakpoint feature: https://twitter.com/Leopard2O/status/1559221867701047299 -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Yeah left over code due to copy paste. Will remove. Thanks for reporting the problem. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
https://community.bistudio.com/wiki/Scheduler It's not. If it was I would announce it. No need to ask every time. They're not really engine limitations. The engine is capable of the features I want. They're just "locked" (not accessible via scripting commands) Two of the most important ones for me are: 1. No command for manually controlling AI aiming. This limits my AI movement a lot. I have a workaround for it but I'd rather use the native engine aiming, because that would be faster and better looking. 2. No command for controlling vehicles (acceleration and steering). There's only setDriveOnPath which is not sufficient. They don't prevent me from completing the mod, but I might remove some stuff if those features are not added. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Yeah I checked and the group is empty. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I don't know what could be the problem because I simply grab the list of all groups using the allGroups command. Maybe when probability is 0 it still creates the group but it's empty? Anyway, I'll look into. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Ah so it was a classic Steam update issue. BTW you can just right click on the mod and select repair. Anyway, glad it's sorted out. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I made another update. Please test it again. If this doesn't fix it I'm gonna need the full mission to be able to debug the problem because I can't reproduce it at all. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I updated the mod and made some tweaks. Let me know if it still happens. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
There shouldn't be any error. Which variable does it say is undefined? I looked at the code and even tested to be sure but didn't get any errors -
console Advanced Developer Tools
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Update: https://steamcommunity.com/sharedfiles/filedetails/?id=2369477168 # Added: * Function DBUG_fnc_diag_mergeConfigFile: Use it instead of diag_mergeConfigFile to prevent crashes in Config Viewer after using diag_mergeConfigFile. This crash is caused by invalidation of config pointers after merge and I can't fix or detect it using my mod. This function deletes the stored config data to prevent the crash, and there's no need to close the Config Viewer either. Parameters of this function are the same as diag_mergeConfigFile (the function is simply a wrapper) # Tweaked: * Ctrl+S saving in Debug Console is reverted to old behavior (save to profile namespace/edited text box using magic word). To save scripts permanently (which you can access in the Saved Scripts window), use Ctrl+Shift+S. * Newly opened scripts no longer show the "unsaved" red icon. Also, huge thanks to Instant Arma for reviewing the mod! Be sure to check out this amazing video: (German Voice + English subtitles): -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
What revive system do you use? Ideally the revive should only be used with the "Add Revivability" cheat. None of those affect your FPS. That's only used by the tasking system (e.g. giving waypoints) Well I don't say "scheduled has better performance". It basically has no performance impact, at the cost of being less accurate if you have a heavily scripted scenario and/or your FPS is low. The game queues running scripts in the scheduled environment, and only executes 3 ms of a script every frame and moves on to the next script in the next frame, so under heavy load it may take a lot of time for the game to circle back to a script. TL,DR, the script becomes less "responsive". e.g. your medic plays the healing animation but you don't see any healing effect, or the healing takes a lot of time to finish, because my mod only heals during the healing animation, but due to this scheduler behavior it may never see the animation. I recommend unscheduled instead. Under normal usage it doesn't affect your FPS noticeably. As for what affects FPS: 1. Having too many "Super pilots" active 2. Having too many tasked squad units when unscheduled tasking is selected. There's not really anything else in the mod that affects the FPS. The AI themselves hurt your FPS several times more! 😉 -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
This doesn't work because you've wrapped it in a code {} which is not being executed. Also _unit is not defined. You can write it as: { [_x] joinSilent group player; } forEach (units player - [player]) Anyway, this is not the place for this. You can ask scripting related questions here or the #scripting channel in Arma Discord. Discord is preferred because communication is much faster there. -
commanding All-in-One Single-Player Project
Leopard20 replied to Leopard20's topic in ARMA 3 - ADDONS & MODS: COMPLETE
The function itself is AIO_fnc_setBehaviour, called as: [arrayOfUnits, 5] call AIO_fnc_setBehavior Most of what it does is related to the legacy version of the mod. It does the following: 1. Rejoins the AI into your squad (return to formation): [_unit] joinSilent (group player); 2. reset combat mode to yellow 3. enable all AI features (not needed anymore) 4. removes the selected units from the "Fire on my lead" list. I guess the only reason you might need it is to remove the units from the "Fire on my lead" list.