Yelling doesn't work as a coach. These are grown men. They'll either work or they won't. Shaming them might help, for a time, but at the end of the day you need a leadership group of players who can motivate and instill a losing-is-unacceptable mentality.
How you do it is simple. You don't party after a loss. You don't go and have fun. You are so devastated that you go back and think about everything that went wrong. Winning becomes an addiction, your only reward. You only let yourself enjoy things when you are winning.