samogon 10 Posted May 28, 2013 Hello,I'm new in modding for ArmA. How to create animations for small arm.I mean trigger,magazine,bolt,ammo chain for MGs etc. I know I need to write model.cfg(consider this done),but does I need to do something in o2 and config.cpp? thank you. Share this post Link to post Share on other sites
da12thMonkey 1943 Posted May 28, 2013 In O2 you need to have the autocenter 0 named property in your Geometry LOD for the weapon for most animations to work properly ingame. Any time you have an named axis defined in your model.cfg you need to create a pair of points/vertexes in your memoryLOD that define that axis (the two vertices act as the start and end point of your axis line), and you also need a series of named selections throughout the visual LODs of the model that relate to the bones you are defining in the model.cfg in order for them to move based on the the model.cfg programming. You can also preview your model.cfg animations in buldozer by using the Enter key to cycle between the animation sources, and the [ and ] keys to move through the phases of the selected source. In most cases the model.cfg is fairly tertiary to the config.cpp. You can adjust the time certain controllers like reloadmagazine and reload take, and the speed of your model.cfg animation will change depending on that there are a few other things like the new weaponMode, zeroing1/zeroing2 and weaponMuzzle animation sources that are pretty useless unless your weapon is configured to have multiple fire-modes, adjustable zeroing or secondary muzzles in the config.cpp. However, there's nothing you have to write in the config.cpp in order to specify what model.cfg to use - this is all worked out between the model.cfg and the .p3d itself. Really it's more of a case that you write the config.cpp to include all the features you want the weapon to have, then write the model.cfg to add animations to those features. Share this post Link to post Share on other sites
samogon 10 Posted May 29, 2013 Thank you.Very helpful. Share this post Link to post Share on other sites