True FPS Weapon Bipod Mount System

Hello.Just wondering how can i make a weapon bipod system similar to Squad.Any ideas where to start from? Thanks