Wolfenswan
Member-
Content Count
212 -
Joined
-
Last visited
-
Medals
Everything posted by Wolfenswan
-
Splendid work! I've always been yearning to do sth. like this but the velocity calculations were too annoying :D Looking at the script, you seem to create a number of dummy objects. Any performance issues on a dedicated environment? You might want to disable Simulation on the dummy objects as there doesn't seem to be a need to broadcast them over the network. Also: [_objectsHouseArray] spawn { _objectsHouseArray = _this select 0; sleep 15; { deleteVehicle _x; } foreach _objectsHouseArray; }; seems wasteful (selecting array inside array). Why not just _objectsHouseArray spawn { sleep 15; { deleteVehicle _x; } foreach _this; }; ? Furthermore, you could replace the staggered if clauses such as if (!(_x isKindOf "Man")) then { if (!(_x isKindOf "Helper_Base_F")) then { if (!(_x isKindOf "Logic")) then { with if (!(_x isKindOf "Man") && {!(_x isKindOf "Helper_Base_F") && !(_x isKindOf "Logic")}) then { That way you only have one if check with a lazy eval.
-
AI aggressive combat behavior - CreateGroup and JoinSilent - a community topic -
Wolfenswan replied to a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Have you tried out enableAttack? It prevents the group leader from giving commands to his subordinates so they act according to their own knowledge and (for the lack of a better word) judgement. It might be preferable perfomance wise to creating new groups. -
Documentation on and experience with the Disposal Manager?
Wolfenswan posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, I'm currently looking to update an older body removal / clean up script and was looking at utilizing the new disposal manager for that. Has anyone done any further tests with it or does documentation exist besides the little that is already on the biki? How does it fare performance-wise against the usual methods, e.g. a killed EH? -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Edit: I seemed to have misremembered that double-posts would merge automatically. How do I flag my post above to an admin for deletion? I did some testing with the manager and here are my observations. Please comment if I have missed anything. Behavior: - corpses sink into the ground and are deleted after a few sec - wrecks are simply deleted - crew of vehicles is hidden but not deleted (in one instances those corpses kept floating above ground even) Bug? - empty groups remain Mode: - if set to 1, all alive units + men are automatically added to the collector and removed once dead according to the other settings - if set to anything else, only applicable units will be in the collector - if set to anything else than 1, adding units to collector manually does not seem to remove them - according to the wiki the default value for both modes in MP is 2 but in a dedicated environment getNumber(missionConfigFile >> "corpse/wreckManagerMode") returns 0 if not set in the description.ext Bug? Thus - in which scenario would the addToRemainsCollector command be useful, if all modes seem to fill it automatically and it does not work to manually "feed" the manager with units not applicable? - could someone clarify on the FSM thing? For what it is currently doing there seems to be little benefit to run it via FSM what a simple script looping through allDead can achieve? - a mode 4 for "manual" might come in handy to allow better control over how often it checks and feeding it manually. or just allow manual feeding in any mode. -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Disregard. -
Just noticed you put ASR_AI3 as a public repo on github. What's your stance on forks and/or contributions?
-
The new Sector Module
Wolfenswan replied to Ronin[NR]'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Excellent, thanks. -
The Unsung Vietnam Mod 3.0 WIP THREAD
Wolfenswan replied to sgt_savage's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Awesome news! I have very fond memories of playing Unsung in ARMA2, though they mostly revolve around aimlessly stumbling through the jungle, followed by screaming like a little girl and emptying a M60 into the foilage. Good times :D -
The new Sector Module
Wolfenswan replied to Ronin[NR]'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I was about to open a thread for the same question. Does anyone know the answer? Is it a dialog? -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks. Is there a way to set a minimal distance to player units to avoid removal corpses which are right next to players or interacted with? -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Mostly for the experience people had with it. How does it fare performance wise (in MP environment, with x of AI), is it preferable to having an EH register killed units and remove them? Also the documentation on the biki tells me which buttons to push but doesn't really explain the inner works of the Manager, that's why I was asking for further documentation. Maybe someone had already crawled through the code or posted something. -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
The ticket Grumpy posted. I didn't see anything in the comments or the ticket itself that is not on the biki or does talk about perfomance/inner works of the manager. -
Documentation on and experience with the Disposal Manager?
Wolfenswan replied to Wolfenswan's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Wait, that still applies? I figured that due to the corpse- and wreckManagerMode settings it would now also take care of non-respawning/-player units? Also, the ticket author commented at the bottom: -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
F3 Mission Development Framework for Arma 3 F3 v3-2-1 (Hotfix) Released (ACRE2/ACRE/TFR/AGM/Zeus Ready) The F3 team is pleased to announce the release of v3-2-1 of its mission development framework, with optional support for Zeus and popular mods ACRE2, ACRE, TFR and AGM. This release is a hotfix that addresses bugs and compatibility issues with: Radio Systems Support (ACRE2) F3 Spectator script and F3 Simple Wounding System For instructions on how to quickly update a mission from v3-2-0 to v3-2-1 please see: http://ferstaberinde.com/f3/en//index.php?title=Upgrading_from_v3-2-0_to_v3-2-1 To make it even easier to start using F3, our fully illustrated online tutorials for making adversarial and coop missions can help you build your first F3 mission in 1-2 hours. The development team for v3-2-0 has been: Wolfenswan, Head, cptnnick, Snippers and Fer. We would also like to thank the following communities in our wider review and testing team: Folk ARPS | Black sh33p | Bourbon Warfare | Phantactical | Project Awesome | Team One Tactical | The Company If your community uses F3 (or uses it as part of your own mission framework), we'd really love to hear from you. Download F3 from: - http://www.ferstaberinde.com/f3/en/ (English version) (PLEASE DO NOT MIRROR) Discuss F3 at: - BI Forums (http://forums.bistudio.com/showthread.php?149231-F3-Mission-Development-Framework-(F2-for-ArmA-3)) - Folk ARPS Forums (http://www.folkarps.com/forum/viewforum.php?f=44) From the README.md file: About F3 The F3 Mission Development Framework (F3) is the successor to the popular F2 and BAS f mission development frameworks for ArmA 2 and ArmA. The new framework contains many of the features you know from F2, updated to work with Arma 3; new components which take advantage of the new game's special features are planned. For downloads and to find out more please see our online manual: http://www.ferstaberinde.com/f3/en/ (English version) -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
No what you're describing sounds right and is how we do it (and it's working fine for us). I have very little time for ARMA-related things atm. otherwise I'd do more tests myself. Sorry for the hassle. Regarding disabling FFV, see this snippet. -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is very odd as I rewrote it specifically for the FFV system. With an outdated version of F3 preMount I saw similar issues to what you're describing. To be sure: The "crew"-flag needs to be set to true, as otherwise the ffv-seats won't be slotted as they are considered "TURRET" rather than "CARGO" seats. Have you tried disabling the FFV functionality for the vehicle to see if that works? Also, I don't think you answered my earlier question: The to-be-mounted units are present as playable AI, before players join? -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
All you need is the f/spect folder and the correct cfgFunctions section of the description.ext. Make sure to apply the hotfix above though. -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In line 38 description.ext it should read: respawnTemplates[] = {"f_spectator","f_JIP"}; change it to respawnTemplates[] = {"Seagull","f_spectator","f_JIP"}; We're going to release a hotfix soon. -
"Community" WICT for A3
Wolfenswan replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Yeah was talking about the latter and I agree it would be optimal to keep it server-only. -
"Community" WICT for A3
Wolfenswan replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I don't have a bitbucket account but that can be arranged. Any reason for why you prefer it over Github? As for client, I'm happy with Sourcetree or just 360 noscope console commands. Btw., would a client playing in a mission require WICT or is it enough if the server/host runs it? -
"Community" WICT for A3
Wolfenswan replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Looks good, I might be interested depending on what you need. I'm a scripter primarily and have little experience with coding for addons. Also I noticed the A2 version was using the F2 Framework. Would you be interested in a similar collaboration for this one? -
ZBE_Cache AI & Vehicle caching script/addon
Wolfenswan replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: COMPLETE
I don't think the functionality is in by default, or at least not as extensively as it is in Sublime. But there's a ton of extensions for np++ which add all kinds of functionality, including a project/folder-tree -
ZBE_Cache AI & Vehicle caching script/addon
Wolfenswan replied to zorrobyte's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hideobject isn't that relevant when it comes to caching, especially for MP, as it's the CPU-heavy tasks which will tank perfomance. Disabling simulation and AI or deleting/restoring AI are still the best options here. F3 caching is very similar to Zorrobytes (given the same source of inspiration) but has been using the global commands for a while now. From the tests we've conducted there wasn't any difference in the perfomance improvement compared to the non-global variant. A thing to keep in mind is that uncaching many AI at once (i.e. without a miniscule sleep between units) will negatively affect perfomance in any case. For F3's caching I've simply added a check like this: // If the group leader is moving, set his group back next to him if (speed leader _this > 0 && vehicle _x == _x) then { _x setPosATL (formationPosition _x); }; This assumes that the group leaders of a garrisoned group will be inside a building and thus immobile. It's not the perfect solution but given the alternatives (checking for e.g. nearestObject) it seemed to be the least expensive. -
F3 Mission Development Framework (F2 for ArmA 3)
Wolfenswan replied to fer's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is incredibly strange as it is working fine for us. I'm very much inclined to assume it is caused by a mod running on the server but haven't got a clue which one it could be. There are other communities running AGM with F3 and I haven't heard of a similar issue. Do you have access to the .RPTs of the dedi? Out of interest: Can you describe the exact setup of the mission? Is the AI of playable units enabled/disabled? Which respawn-value is set? It is disabled by default. Do you want to remove the components from your mission folder? What you described should work. Are you getting any error messages? There is a bug (we can't do anything about) where the mission will end if you're the only player and select the first person view in the spectator script, but I don't think this applies here. -
[GUIDE] Arma 3 Scripting Guide, Part 1: Variables and Data Types
Wolfenswan replied to dreadedentity's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Looks great! Mind if I link this thread (or directly to the pdf, whichever you prefer) on the sidebar of /r/armaDev? Edit: I think your explanation of local/global/public Variables while correct might be a bit confusing for beginners. I found it helps describing scope as pockets of knowledge and local variables being confined to their own "pocket" while global variables can be accessed (and written!) from anywhere. I understand why you want to avoid tackling scope but at least describing it in a very abstract fashion would be helpful to avoid people getting wrong ideas (such as using only global & pub vars ;) ) Also regarding set/getVariable: You might want to mention to optional public-flag as you're mentioned publicVariables as well. For getVariable I'd def. mention the optional but much more useful method of returning a default value if the variable doesn't exist. Edit2: I've been meaning to flex my neglected webDev skills and was looking for a small project. Feel free to drop me a PM if you want to tackle the website thing, maybe we can brainstorm a little or I can throw you something together.