You could set teams to open and then ally with everyone upon death