NightIntruder
Member-
Content Count
732 -
Joined
-
Last visited
-
Medals
-
Arma 3 Creator DLC: CSLA Iron Curtain
NightIntruder replied to Nillers's topic in ARMA 3 - CREATOR DLC
I am rarely here nowadays, but logged in to share my experiences with the DLC. Recently, I bought it without previous researching, for its cold war era setting (among other things) that I wanted to use - specifically the US faction - in Grenada, Panama, Fulda historical scenarios and alike. There is nice UH60A version, and AH1F, among other vehicles. How was I surprised while finding out that not a single helicopter in this DLC is AFM compatible! Three years after the premiere of it. Congratulations BI's QA, well done 😉 Thankfully, I bought the DLC on a sale, but having AFM by default was my obvious expectation on that. Pretty much a disappointment, tbh. PS. I like the other parts of the DLC, a lot of solid work and more assets to play with, there's no doubt about it. However, being mostly focused on helo flying, a realistic AFM is the most crucial part of any official content for myself. -
Have you ever defined animation with non linear move of selections vertex? (for example taru blade's shape change on start, or twisting ammo belt in RHS CH53-GAU21), what is the method for define smooth weights for this kind of anim and what are rules to make it work beside nondicrete model definition in model.cfg), what is function of "space warp" in O2?
-
I rarely visit this forum nowadays.
No, I don't know any better way than non-discret animations and weighting of vortexes. Also, I don't know what space warp does in O2. Better ask DnA, Reyhard or some BI devs about that or simply ask other modders at forum. Bending animations though weighting vortexes isn't a secret knowledge anymore, yet rarely seen being used properly.
-
-
Aircraft wheels and suspension
NightIntruder replied to Invincible120's topic in ARMA 3 - MODELLING - (O2)
Which is basically wheels "suspended" in the air? The damper length in PhysX configuration is counted in meters, while in the model.cfg offset0/1 values are a fraction of the length of a damper's axis (unless said axis has precisely the length of 1 m, which is clearly not the case here). In other words, maxCompression and maxDrop gives you 20cm range of motion of (invisible physx) dampers altogheter, while model.cfg animates the actual (visible models) dampers in the range of 20% of their axes's lenght. This might be the cause of this suspension of wheels in the air (among other things). -
I face some weird animation issues in my addon. It's a plane I ported to A2 several years ago and then tried to port it into A3 but without much success at that time. But, I gave it another go yesterday. Now, when rigged in OB, animated selections in shadow and Geo LODs are working while the same selections in Res LOD - are not. What's more interesting, the same happens in-game - with one exception ie. when the plane is flying everything works as intended (lol). The very moment the plane touches the ground, all animations (flaps, wheels, etc.) stop working and instantly return to their starting position, they won't move again until I take off again. I suspected that the old version of P3D, I have the plane in, might be the main reason for that magic trick. So, I copy&pasted all LODs into a newly created empty P3D - no luck. Sections/hidden selections were temporarily inactivated - no luck. Of course, I checked A3Tools against the consistency of its files, and my other addons I was working on recently, are OK - both in OB and in-game. My next suspect is the "old materials used" flags in RPT, similar to the old problem Eggbeast had with his machinegun for Unsung back in 2016. I really curious if someone ever faced such an issue and knows how to fix it.
-
"west knowsabout unit" locality trouble
NightIntruder replied to twistking's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Welcome to the arma jungle, comrade 🙂 I just realized what the reason behind my unstable blood pressure is! But jokes aside, yeah, this is the famous Yeti. The cause of every joke about "this is arma" here and there - a player or mission/addon maker deeply unaware of the logic of this game or its limitations. And this includes myself as well, sure. We should form a support group and sue BI for turning our lives into psychotic horror, lol. -
retract animation speed
NightIntruder replied to Lopalmcivet _'s topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I would recommend reading this wiki (carefully): https://community.bistudio.com/wiki/Model_Config There's a sample of animationSource which doesn't have the parts you have in yours. Don't try to overcomplicate things if you don't know what you're doing. This will surely come later, lol. Try this: model.cfg class Lmc_riseAndfall //naming convention that uses author's tag is recommended to avoid confusion when some addons would use exactly the same name { type="translationY"; //yes you can use this axis, but... axis = ""; //you have to define an empty axis as well IIRC, otherwise it'll throw an error in RPT source="Lmc_riseAndfall_source"; //I changed the name of source to make it clearer for you selection="retract"; //name of bone to be animated sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; //if you define your custom axis, this must be 1 (obviously ONLY if your custom axis was made in Memory Points LOD) offset0=0; //bear in mind, if you don't define custom axis, the values will represent meters offset1=1; //if you define custom axis, both values refer to the distance (line) between both mem points that make your custom axis }; config.cpp animationSources class AnimationSources { class Lmc_riseAndfall_source { source="user"; animPeriod=5; //made the time of the animation bigger just to have clear comparison initPhase=0; //in what state the animation will initially be after the initlialization of the vehicle in game (in this case: fully lowered/closed) }; }; userActions class UserActions { class Lmc_apc_risemast //meaningful names are helpful, especially after a few months when you'll forget what exactly it was supposed to mean and do { displayName="Rise the sensor mast"; //here, the same as in the above comment. hideOnUse=1; condition="this animationSourcePhase ""Lmc_riseAndfall_source"" < 0.5"; //different scripting commands are used to animate custom animationSources statement="this animateSource [""Lmc_riseAndfall_source"", 1];"; //using animateSource (whenever possible) is reccomended by BI as more efficient and MP-friendly than using regular "animate" }; class Lmc_apc_lowermast { displayName="Lower the sensor mast"; hideOnUse=1; condition="this animationSourcePhase ""Lmc_riseAndfall_source"" >= 0.5 "; statement="this animateSource [""Lmc_riseAndfall_source"", 0];"; }; }; Bear in mind, that in "statement" the scripting command "animateSource" has third parameter - a "speed" multiplier of the animation (optional). Sometimes I found it buggy and had to add the parameter to have a working condition line. If you, for whatever reason, won't have an access to both userActions (it happened to me several times), just change the lines of condition in both actions for checking the regular source of animation, like this: condition="this animationPhase ""Lmc_riseAndfall"" =< 0.5"; //for rise the mast and condition="this animationPhase ""Lmc_riseAndfall"" >= 0.5"; //for lower the mast Also, making comments in lines (preferably in English) may help as well, so whoever would take care of your initial work in the future may have an easier task while working on it. Again, I highly recommend reading the wiki when it comes to the animation system in Arma 3. -
retract animation speed
NightIntruder replied to Lopalmcivet _'s topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Does the animation work in OB2 as intended? Check if you have an additional animation in your model.cfg that controls "refract" component with different animation sources (eg. time). Maybe you use the relevant scripting command in your UserAction in the wrong way(?). Both commands have an additional "speed" parameter, which - if used incorrectly - can act as an "instant" modifier. https://community.bistudio.com/wiki/animateSource https://community.bistudio.com/wiki/animate -
retract animation speed
NightIntruder replied to Lopalmcivet _'s topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Try this: class riseAndfall { type="translationy"; source="user"; selection="retract"; sourceAddress="clamp"; minPhase=0; maxPhase=1; minValue=0; maxValue=1; memory=0; offset0=0; offset1=1; animPeriod=5; }; wiki: https://community.bistudio.com/wiki/Model_Config -
How to find the center of gravity
NightIntruder replied to CN_Lurker_1011's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Yes. Just bear in mind, the vehicle coordinate system differs from the coordinate system used in OB2. So, compare them and adjust them. Sometimes RTD strong damper characteristics can cause this issue. You should be aware that RTD config in XML is "invisible", it doesn't affect standard animations (except RTD-driven animations). Instead, animations react to what is happening with helo body "moved" by the invisible forces of AFM. In other words, AFM is like a skeleton of points to which aerodynamical and gravitational forces are applied. If those forces move the helo fuselage up, at some point dampers will lose contact with the ground and their animations will show that. -
How to find the center of gravity
NightIntruder replied to CN_Lurker_1011's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
MountStation doesn't refer to CoG but "rtd_center" instead. There's an error in the original RTD documentation in this regard, in my humble opinion. Still, this part of the documentation is worth reading carefully to understand how different parts of landing gear affect the position of contact points. -
Functional Aircraft Carrier Projects
NightIntruder replied to DSabre's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Objects falling through the carrier's parts means geometry collision doesn't work on those parts. Either they are in fact working but are not in the right place or they are actually not working due to not being closed/convexed objects, or due to the limits or mesh complexity I mentioned earlier. These are some hints I can share with you regarding a proven method to create a working multipart object: 1. I followed the path of creation set up by BI with their static aircraft carrier when I made static Ark Royal recently -> several carrier parts are positioned by memory points and spawned by a function. It may be helpful for you to look into All-In-One config available on this forum somewhere, or simply into the config of the object in-game. Make sure You're gonna include EventHandlers existing in the BI carrier's config in your own config as well. They handle every change you make to the object in 3DEN - spawning, rotations, deletion etc. 2. I created every carrier part in the center of axis in OB2 to be sure that Geo LOD and Roadway LOD won't exceed the limit of app. 40-50m in each direction. Obviously, the model has to be sliced into such sized parts. 3. I make every Geometry LOD as a triangulated, closed and convexed. After making such LOD convex, I check it against closed vertices again. 4. I created those carrier parts as a combined - each part has other LODs included - Memory, Roadway, FireGeo, etc. 5. I always move Roadway polygons a few centimeters above corresponding polys of Geometry LOD (usually, my Roadway LODs are just copy&pasted&raised copies of horizontal polygons of Geometry LOD). Those polygons have to be triangulated (and I sharp edg'ed them, don't know whether it's obligatory, just my habit). 6. In the central part (in my case it was the second one in the row of 4 parts) I included the full (undivided) resolution LOD. This is the main part of my carrier which contains all animations like radars etc., and all memory points related to deck flood lights and flight line lights. It also has full (undivided) PhysX Geo LOD, as I don't know about any limits size-wise regarding that particular LOD. I just made the PhysX very simple (only 171 faces). 7. Make sure that Geometry and PhysX Geometry LOD in each part don't exceed the limit of 1000 convexed polys - COMBINED. This comes from my own experience, which might not necessarily be in line with official documentation. I just made one simple PhysX in my main part (the second one) and Geometry LODs in each part (which is just the whole geometry sliced into those 4 parts). 8. You may divide the deck flood lights into parts of the carrier if you wish to have more of them but be aware that this game can show only 12 dynamic lights at once in a rendered scene (unless my knowledge is outdated, haven't followed the game's every update). 9. If you want to do fine adjusting of the Geometry LODs you can temporarily move the first Resolution LOD to a newly created LOD 1.5 (or LOD 2) and copy&paste the model of Geometry LOD into the now-empty resolution LOD 1 (or just create LOD 0, if it's not already taken, and copy&paste Geo LOD model into it without touching resolution LOD seating at LOD 1). The idea here is to pretend Geo model as the first resolution model so you can see it in-game from up-close. Do the same with every part of your carrier. This way you can check how those Geo parts fit together and in which direction you need to move memory points which are anchors of those carrier parts for their spawning function. 10. The memory points for the spawning function were created in an empty p3d. It serves as a spawner for the whole composition of parts of the carrier. However, when it comes to your problem, points 2, 3, 5 and 7 may apply, while point 9 can help you to narrow down the cause of your problem. But from your description of the problem, it seems to me you just created the addon in an "old way" with its parts offset'd from the center of axis in OB2, which obviously exceeds the size limits of Geo/Roadway LODs from the start which usually causes player glitching through geometry, and objects/vehicles/player falling through it. I would suggest switching to the "new" path of BI way of making multipart ships. Here is a thread about multipart carrier and the issue you may face when trying non-standard creation procedure: https://forums.bohemia.net/forums/topic/223258-making-multipart-static-ships/ Here is the spawning function you can look at to understand the way the function works: https://community.bistudio.com/wiki/BIS_fnc_destroyer01Init -
Functional Aircraft Carrier Projects
NightIntruder replied to DSabre's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Can you elaborate on that issue more? What happens during that interaction? There are certain limits size-wise when it comes to Geo, Roadway, Physx LODs. How complex Geometry LODs are when it comes to polycount? -
Change mass of Heli work in oposite way for takeoff
NightIntruder replied to h4wek's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Yeah, I told you AFM is the solution. I haven't got problems with AFM or ViV while in AFM, or slingload in AFM for that instance - except if I made bad configs or otherwise did something outside of the typical solutions/guidelines. But as Jackal said - you better forget about it, it's not gonna happen. -
Vehicle in Vehicle Transport - class limit
NightIntruder replied to h4wek's topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Haven't been playing A3 long time, so it's not tested in the case of "CargoNet_01_barrels_F", but if you can use 3rd party solution for your purposes, I'd suggest checking it with BoxLoader mod from SW. I vaguely remember there was a case of a default BI supply item (or items) that works with slingload but doesn't work with ViV. Every addon intended to work with ViV should have a specific set of mem points (eg. such as these ones: { "BBox_1_1_pos", "BBox_1_2_pos" }) in the model and PhysX LOD added. Making your own config patch without adding those in the model will not make it work. Perhaps, they forgot about those supply items of theirs, or it was a deliberate move for some reasons. -
Functional Aircraft Carrier Projects
NightIntruder replied to DSabre's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
If by "carrier" you mean a floatable, drivable ship working in MP environment, there's one great suggestion worthy consideration: drop the idea right away if you don't want to waste your time and get frustrated. In other cases, there's one person you might want to talk with which is @TeTeT.