limb o,1,3 : offset limb o,1,0,0,-125<br>
 add limb to light map pool o,1 : inc o<br>
 add light map light 400,90,800,500,255,0,0,50,1<br>
 add light map light 200,90,400,500,0,255,0,50,1<br>
 add light map light 800,90,200,500,0,0,255,50,1<br>
 texturesize=16 : texturequality=1 : lightmapsavepath$="lightmaps"<br>
 if path exist(lightmapsavepath$)=0 then make directory lightmapsavepath$<br>
 create light maps texturesize,texturequality,lightmapsavepath$<br>
 if file exist(tfile$)=1 then delete file tfile$<b