Distance, Theta, Phi, FOV

Those values essentially adjust the viewing angle of the porthole portrait. Unfortunately, there's no easy way to figure out what works best in each specific case. You can try the default values in the XML template, but they won't always work.In that case, you will have to find a unit that uses a similar model/portrait and copy the values from that.Extract eitherin ui/portraits in the data.pack orin ui/portraits in data_2.pack. TW:W1 portraits are found in portrait_settings__.bin and TW:W2 in portrait_settings__2.bin.Open the newly exported bin file with HXD. Make sure data inspector is on (right hand panel with value translations) by making sure it's ticked in View>Toolbars>Data Inspector.Hit CTRL+F to search for the unit with the portrait settings you want to use.Notice there's some text, and some giberishThe text is theof the unit.The first 16 gibberish characters, in groups of 4, are the actual values forin Float.Highlight the four first characters (bytes) and look at the data inspector (right panel) under float. This is your Distance value.The next four are your Theta Value.And, you guessed it, the next four are your Phi Value and the last four are your FOV value.