Hi!
I've followed the instructions of the Wiki abou creating gmax ( i'm actually using 3dsmax ) apron light but its not working.
I've created the boxes, transformed to Edit. Mesh, edited and ran the Script ( i've used the effect fx_navwhi ( see below )), exported to .X using Panda Exporter. Then i've used the FS2004 MakeMDL to generate the MDL and XML and finally used bglcomp.exe to generate the BGL. Look at the image ( the blue boxes are the "light" boxes that the script renames ).
Here is my script:
What am I doing wrong?
Fergo
I've followed the instructions of the Wiki abou creating gmax ( i'm actually using 3dsmax ) apron light but its not working.
I've created the boxes, transformed to Edit. Mesh, edited and ran the Script ( i've used the effect fx_navwhi ( see below )), exported to .X using Panda Exporter. Then i've used the FS2004 MakeMDL to generate the MDL and XML and finally used bglcomp.exe to generate the BGL. Look at the image ( the blue boxes are the "light" boxes that the script renames ).
Here is my script:
Code:
strAttachNumber = 0
for obj in $box* do
(
obj.name = ("attachpt_fx_navwhi" + (strAttachNumber as string))
strBufferText = ("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?> <FSMakeMdlData version=\"9.0\"><Attachpoint name=\"attachpt_fx_navwhi" + (strAttachNumber as string) + "\"> <AttachedObject> <Effect effectName=\"fx_navwhi\" effectParams=\"\"/> </AttachedObject> </Attachpoint></FSMakeMdlData>")
setUserPropBuffer obj strBufferText
strAttachNumber += 1
)
What am I doing wrong?
Fergo

