Mickyleitor 183 Posted September 22, 2015 Hi guys, I'm doing a custom bipod for the G36 weapon, but It seems im doing something wrong but unable to locate the problem... The 3D model is very simple, just a base and two legs ... two axis on the memory point LOD to animate the legs when the bipod is deployed and so on... In the Buldozer all goes well, when source bipod_legs is 0 the bipod is undeployed and deployed when bipod_legs is 1. Here is a screenshot: https://i.gyazo.com/e0d22d162be914484e4957cb6c8e98ac.png And the 3D model is so simple: https://i.gyazo.com/7399c3aa14364809d0508bb614028d3e.png Well, the issue i've is when I'm in the game and the player deploy the bipod, the axis of the legs is NOT where I've in the memory LOD, It seems has been translated or rotate the axis itself to another place.... In my model.cfg im not animation or moving the axis.. Here is the model.cfg: class CfgSkeletons { class ffaa_bipod_G36_Skeleton { pivotsModel=""; isDiscrete = 0; skeletonInherit = ""; skeletonBones[] = { "bipod_legs", "", "bipod_leg_L", "bipod_legs", "bipod_leg_R", "bipod_legs" }; }; }; class CfgModels { class ffaa_bipod_G36 { skeletonName = "ffaa_bipod_G36_Skeleton"; sectionsInherit = ""; sections[] = {"camo"}; class Animations { class leg_L { type = rotation; source = bipod_legs; sourceAddress = clamp; selection = "bipod_leg_L"; axis = "bipod_leg_L_axis"; minValue = 0; maxValue = 1; angle0 = (rad 0); angle1 = (rad -90); }; class leg_R: leg_L { selection = "bipod_leg_R"; axis = "bipod_leg_R_axis"; angle1 = (rad 90); }; }; }; }; Here this is the bipod deployed in the A3 (See the legs are in the cannon and not under underbarrel slot..): https://i.gyazo.com/838d9c010b1522a41f3dada6de6196e1.png For more info, here is the config: class ffaa_bipod_G36: ItemCore { dlc = "FFAAMOD"; scope = 2; displayName = "$STR_FFAA_BIPODE_G36"; picture = "\ffaa_armas\bipods\G36\UI\icon_bipod_G36_ca.paa"; model = "\ffaa_armas\bipods\G36\ffaa_bipod_G36.p3d"; class ItemInfo: InventoryUnderItem_Base_F { deployedPivot = "bipod"; hasBipod = true; mass = 10; soundBipodDown[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_down",db-3, 1, 20}; soundBipodUp[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_up",db-3, 1, 20}; }; inertia = 0.1; }; Share this post Link to post Share on other sites
da12thMonkey 1943 Posted September 22, 2015 You're missing the autocenter = 0 property in your geometry LOD? Share this post Link to post Share on other sites
Mickyleitor 183 Posted September 22, 2015 You're missing the autocenter = 0 property in your geometry LOD? Damn, I was missing that and fortunately it works! Share this post Link to post Share on other sites