Jump to content
Sign in to follow this  
arno

Red light

Recommended Posts

Firstable hello to all the forum.I am fighting to create a red light on the top of an hangar just a red bulb.I made in gmax a little cube 10 Cm named Light_nav or beacon assign material light_nav or beaconwith a diffuse red color .I know I have to tweek the .asm file so I change it, but nothing light up in fs.Did you know where I make wrong?I know I have to comment-out the asm and also 0.asm like tweeking for land light but maybe I am totally wrong.I work with 2004 sdk and FS9.Thank's for suggestion..asm;db 'D','I','C','T' ;param_extension_dictionary label dword ; dd 28; dict_0_g_lightStates equ 152; dd 2,152,4, 057F0E99Dh, 04E9C0523h, 0BB12B6BCh, 0063FE72Fh;param_extension_dictionary_end label dword ;bounding_box_riff_start label word; db 'B','B','O','X' ; dd bounding_box_riff_end - $ - 4; real4 -73.248, 0.000, -58.619 ; real4 73.248, 40.083, 58.694 ;bounding_box_riff_end label word 0.asm; IFMSK nolgt_1, dict_0_g_lightStates, LIGHT_NAV_MASK BGL_LIGHT LIGHT_NAV, -62.631, 40.083, 58.637, 20, 0.60, 0.40, 0FFFF0000h, 0.000000, 0.000000, 1.000000 ; source poly num = 2682; nolgt_1 label BGLCODE; IFMSK nolgt_2, dict_0_g_lightStates, LIGHT_NAV_MASK BGL_LIGHT LIGHT_NAV, 62.600, 40.083, 58.694, 20, 0.60, 0.40, 0FFFF0000h, 0.000000, 0.000000, 1.000000 ; source poly num = 2683; nolgt_2 label BGLCODE BGL_RETURN


 

 

Share this post


Link to post
Share on other sites

What you have done looks correct, but only I would not comment out the BBOX section, better put that one back in.


Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...