Dividends and weighted values in games with externalities