http://pcpartpicker.com/p/89x9Vn
That's roughly what I'd get; I don't have time to refine that further. Sure it's "only" a dual-core with HT but check the benchmarks.
*Having said that, the two titles you list are well threaded so the FX-6300 should do well or possibly even beat the i3-4170 by a small amount. I'd be surprised if it did though.
For other titles you can lose a lot of performance.
The i3-4170 vs stock FX-6300 is about 50% more powerful per core (not counting hyperthreading).
If we assume Passmark is roughly accurate the FX-6300 must be over 80% load to break even (higher load benefits the FX-6300, but lower means the i3-4170 wins). So that's about 25% faster if both processors are at 100% load which is pretty rare for gaming (never?).