I therefore thought that the G-Trax S-701 would look great with a proper headlight and proceeded as follows:-
1. I opened the F7A_default.bin file in RW_Tools and searched for Headlight.xml and found it near the end of the file. The Headlight is a 'Child' addition to the loco, so in effect it can be added to any loco you wish.
The data I required is the block starting
<cEntityContainerBlueprint-sChild d:id="40745592">
<ChildName d:type="cDeltaString">Fwd_Headlight_0</ChildName>
and ending
</cEntityContainerBlueprint-sChild>
I saved this to a text editor by highlighting the data in RW_Tools (highlight it from the left edge to make sure you get all the tab characters), then copied it using Ctrl-C and pasted it into the text editor with Ctrl-V.
By placing the F7 and the S-701 head to head in the text editor, I saw that the headlights were at virtually the same height, so that did not need changing (height above track is the 14th line in the matrix), however the length of the locos is different, so the distance in front of the Loco's COG (15th line and 7.78429 in the F7A) had to be changed. The Cylinder Cocks are placed at around 6.7 in the SPS-701.bin file, so I edited the above text taken from the F7A to 6.90000.
I then pasted the complete text into the <Children> section of the SPS-701.bin (Paste it on a new line after any line '</cEntityContainerBlueprint-sChild>', it does not matter where in the Children section it is placed. This setting seems to work fine, the light is actually inside the front of the boiler, but light illuminates the track with no problems.

The above applied to a U.S. loco, however the principle is the same for UK locos and you should be able to retrieve the code from any locos which already have headlights to add to any others.
Mike