I created this yesterday: http://steamcommunity.com/sharedfiles/filedetails/?id=617731309
An article on how i did it and all the source code, with assets, for the mod its here Light Sword Xcom2 mod tutorial. by vblanco20-1
Yesterday, after a quite huge marathon playing xcom2, wich its quite a nice game, i decided to take a look at the mod SDK. Downloaded almost 50 gigabits with 66 gigs of HDD space. First of all, i took a look at the basic documentaion, and found it does have the full unreal engine editor, modified for xcom2, with ALL the gameplay scripts in unrealscript. I started tinkering with the mod sdk to try to create a lightsaber, just to see the workflow. Lots of nostalgia with the unreal editor, as i havent touched ue3 since i got the ue4 beta. The example weapon mod was good to see how to mod weapons, and there are PDFs with some basic documentation. Not much, but it explains how the xcom2 architecture works. Given that, i decided i could get a lightsaber working in little time. 4 hours later i finalized it and uploaded it into the workshop. The time was spent trying to figure how to get it working, and around 10 minutes were spent modelling the lightsaber. Now that i made an article about how i did it, its actually not hard at all to create new items for the game. The game will have a completely ridiculous amount of mods, given how easy its to mod it, and its modular architecture means you can mix and match mods without a problem. Long War style weapon mods, wich just modify the stats of the weapons a little, will appear really soon. Right now im working on a katana mod, trying to make it balanced for the ninja rangers, as an alternative weapon with different stats that the normal sword.