Replacing main Physics scene with a custom one

I managed to override the UEngine::LoadMap, but not without errors, I also dig towards the creation of the world and so on. If you know more please tell me.