Jump to content

RedBeard2

Members
  • Posts

    120
  • Joined

  • Last visited

1 Follower

Personal Information

  • Location
    Austin, TX

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Apologies to everyone for Google Drive changing the sharing links for the guide and sample. I've updated the links so it should be working once again.
  2. My 3ds Max 2012 is now saying it can't load tbb.dll. I can't see that DLL in my backups, so I'm somewhat at a loss. Ideas anyone? Thanks, Red Beard
  3. One of the reasons you haven't seen an update for months (other than I'm busy) is that custom cockpit models are an order of magnitude more difficult than a custom aircraft model. Aircraft models are relatively simple models with animated parts and table value plugins to get the aircraft in a flyable shape. Cockpits tend to require custom logic. Every gauge needle, light, toggle switch, etc. is an animated item, but it is only the visual representation of a system of logic behind it. You want to control the landing gear? That's really a combination of an electrical or engine driven hydraulic pump feeding pressure to a bunch of hydraulic lines, which are governed by hydraulic valves, which, when open, push on actuators, which force the gear struts in/out, while opposing and including wind forces. All these systems must work together to get an appropriate behavior of state, but in addition, they must work with the visual model as well. In software development, we usually call this separation a Model-View-Controller architecture. In this case, the Model is the logic implementation of the hydraulic, electrical, and engine systems, the View is the 3DS Max model with animated parts, and the Controller is the bit of LUA code that governs how the logic Model is manipulated based on our interactions with the View (i.e. clickable switch). I expect most everyone who is looking for help here couldn't care less about MVC or what it means, but if you are truly going to build a custom cockpit, you need to start thinking like this. The logic model is going to represent the state of the entire aircraft (e.g. gauge values, switch positions, control stick position, and yes, even control surface positions such as flaps and ailerons). This becomes important as you progress beyond basic flight. For example, suppose you have a hydraulic systems failure. If you push the stick to the left, should the ailerons deflect with the stick position? Should the aircraft roll? Should placing the gear handle in the down position lower the gear? How long should it take to lower the gear? The answers to these questions are determined by the logic of the systems in the aircraft and their interaction. The visual representation (e.g. gear dropping, stick deflection, ailerons deflecting) are only the visual representation of the logic model state at any given moment. So, anyone wanting to build custom clickable cockpits needs to think about more than just a switch is something that translates into a LUA function call and I'm done. Yes, ED does provide some simplified systems implementations, but it's not exactly easy to figure out what all they do and how to use them. I have to learn all of this myself prior to being able to boil it down into simple enough chunks for inclusion in a beginners guide. The guide will be updated eventually, but in the meantime, the forums are what we have for Q&A. Red Beard
  4. Followup on the exporter behavior regarding unused bone errors. I'm ok with the current exporter behavior and now use a more elegant method to get around the problem. I place the IK bones in a hidden 3ds Max layer and set the exporter option to not export hidden items.
  5. If you create an empty Cockpit directory in your mod and copy the Su-25T Input directory to your mod, then your mod will default to using the Su-25T cockpit and the animations should work fine. I did this for the latest update to the Beginners Guide.
  6. I just posted an update to the Beginners Guide and now have a more elegant way to handle unused bone errors for IK bones. Put them in a hidden layer in 3ds Max and set the exporter option to not export hidden items.
  7. Ok, just verified that you can hide your unused bones in a 3ds max layer to prevent exporting them. That sure saves a lot of overhead from using dummies or transparent planes to get around unused bone exporting problems. Updates have been made to the first post.
  8. Wouldn't you know. I just released a major update on dealing with animations including using IK bones and how to deal with the "unused bones" warnings on export and this morning I realized there is a simpler way to deal with it by placing the IK bones in a layer that doesn't get exported. I'm going to test that a bit and then I'll probably make a minor update if that works.
  9. Lucky you! I just updated the Beginners Guide with chapter 6, which is all about animation.
  10. At long last, I have a new version ready. This version includes updates to the flight model, a new and more detailed model of the F-104, and animations. It is flyable using the Su-25T cockpit. However, there are some limitations. Not all the animations can be exercised with this cockpit. Also, there are still some animations that are not quite right (pilot visibility for example). I will clean these up in later versions. Textures are very basic right now. Just enough to make the aircraft visible as that will be handled in a later chapter. I was expecting to focus on LODs and the damage model next, but I think coming up with a cockpit will be more pressing, so I think I'll focus on that next. As always, I'm looking for ways to improve this. If you have suggestions, send them my way. Links to the latest version will be updated in the first post of this thread.
  11. Sorry, didn't see this reply. Things have changed in the exporter. When you export, the exporter will fail (not just warn) of any bones that don't have objects attached to them. It used to be ok to just create a dummy for the IK bones and link the dummy to the bone. However, somewhere in the last year or so, the exporter got "smarter" and now checks that the linked object is a mesh that has a material applied to it. This has made the process a lot more tedious for those of us using IK as we now have to create dummy planes with a material applied for each IK bone and then figure out how to make the dummy plane invisible.
  12. Lol! What he said. :-) There is no exact path and file as it varies with each aircraft. If you want to add your own aircraft, then I suggest you start reading The Beginners Guide to DCS World Aircraft Mods. It will take your through, step by step, what you need to do to get your aircraft in flyable condition. It's got over 70 pages of information in it and is not complete yet, but follow along and you should get what you need.
  13. There are 15 parts and 16 joints which must be manipulated in order to get a single landing gear animated correctly in the F-104. This is difficult to do without some mechanical assistance. I understand that IK is not directly supported, which is why I'm using a double bone system. If you are interested, you can see some videos of what I've done here: http://forums.eagle.ru/showpost.php?p=1963896&postcount=1
  14. Ok, it appears that the exporter has become "too smart". I use a double bone system with IK driving the first set of bones and an arg based controller driving the set of second bones that do the actual in game animation. When creating keys, I use IK to move the first set of bones and the align tool on the second set to create key positions. When the exporter used to complain about my IK bone sets being unused, I'd link a dummy to them and the exporter would be happy. Now, the exporter expects the bones to have a poly linked to it WITH a material assigned to it. Then I have to change the poly visibility to invisible as I don't want it to render. Can we get the previous behavior back of allowing a dummy linked to a bone to count as "used"? Barring that, does anyone have any other ideas of how to use a bone without having something rendered?
  15. After extensive testing, I've identified that the 1.2.11 update changed a number of things and broke previously working behavior. I'm still working to identify what's changed and how to fix it, but the following seems to be true: * Model path defaults and/or setup have changed * Sensitivity to missing models can now crash DCS or cause the cockpit not to be loaded / used properly
×
×
  • Create New...