xdforcezz Posted February 14, 2016 Share Posted February 14, 2016 Just like the title says. I'm trying to make a particular grenade type to be exclusive to the Psi Operative. Anyone knows how to do it.? Link to comment Share on other sites More sharing options...
Lucubration Posted February 18, 2016 Share Posted February 18, 2016 From what I've seen, this is not a simple change. There doesn't seem to be any default support for class-specific utility items. Primary and secondary weapons can be specified in the config files by adding them as allowed weapons for classes, but the actual script that deals with determining whether an item can be equipped by a soldier doesn't seem to have any such filtering for utility items or grenades. As far as I can tell, you would have to extend the game state for units and override the function "CanAddItemToInventory", which is responsible for making determinations on who can equip what. I'm still not sure how to technically accomplish this type of thing myself. It also wouldn't play well with others, causing conflicts with other mods that try to extend that particular class. Link to comment Share on other sites More sharing options...
Recommended Posts