I built a long range quad using a XL8 frame. For a long range drone, I wanted to have GPS, compass, barometer and maybe Sonar sensor. All this components are for navigation, they will allow you to have position hold and altitude hold modes. The body of the frame is exactly like any other racing quad frame which doesn't have much space to install extra modules. I designed and printed out some extension pieces to install all the modules I mentioned above.
Here the link to the video in which I show the test results with GPS position hold mode and barometer altitude hold mode: