Kim,
This is how I do it:
1. Make a plane, or box, or whatever...this is a real piece that will show in the sim.
2.Make the poly, or whatever you will use to attach the effect...convert it to editable mesh.
3. At this point, if I'm planning on a dusk-to dawn light, I will clone the editable mesh object. So far we have 3 pieces. one object that will show in the sim, and two editable mesh objects. Let's call them Plane_01, Box_01, and Box_02. The boxes are the editable mesh.
4. Since there are two boxes occupying the same space, you may have to select the second one with the selection list. At any rate, select one of them.
5.Run the attachtool script from the FS Tools menu. Check the "Effects" box ONLY.
6. Select the proper effect to be attached, then in the parameters box, put DAY=0,NIGHT=1. Press the "attach to selected geometry" button.
7. Repeat steps 4 through 6 for the other box, but put DAWN=1,DUSK=1 in the parameters box.
8. Name the file and save it. Run the LOD Name tool to assign a guid to the object (and hence the .mdl).
9. Export the file as an FSX .MDL.
At this point, I open notepad and click on FILE > Properties click the Custom tab , highlight and copy the GUID and friendly names, then save the file as friendlyname.txt. Place the .mdl, and you're ready to go.
Caveat: this may not be the best, or the way that anyone else does it, but it works for me. It was also written from my desk, that does not have GMAX installed...so I may have changed some terms due to memory lapse.
JimD
Arno, Please put the objects/files below in our "Scenery Bank" when it is revitalized.