Several questions about legality of putting guns into your game

So I’m understanding from this is that I could put the names and logos of weapons into a game assuming the portrayal of the weapons are accurate and does not reflect negatively upon the weapon and its manufacturer.