Sign in to follow this  
arno

Light as effect in SCASM

Recommended Posts

Hello again!I'm next to finish my project of La Palma (Spain) and I have a problem with SCASM. These days I had trying to create a light using the effect and libraryobject command in SCASM 2.95, but I don't see any change in fs, I have post the api code here ; %1 = Latitude; %2 = Longitude; %3 = Range; %4 = Scale; %5 = Rotation; %6 = Not used; %7 = Not used; %8 = Not used; %9 = Not used; %10 = Visibility range; %11 = Altitude; %12 = Scenery complexityLibraryObject( %1 %2 %11 0 0 0 0 2 4DF4F26F451910841DD88792A89B6B9E %4 )I've created my object library with the tool of Arno. I'm working with fsarchitect2002.ThanksPablo

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Pablo,Here is an example of a SCASM file containing one Library object and one effect:Header( 0x201 )LibraryObject( 39.99977447 -10.00065164 0.000 1 0.000 0.000 90.000 2 7A326BDD 401C0E16 300375B2 A4797806 1 )Effect( 40.00016022 -10.00093842 0.000 1 0.000 0.000 0.000 2 "wavecontroller" "" )Regards, Luis

Share this post


Link to post
Share on other sites

Hola Luis!At the moment I have only seen the light effect one time and I don't know how I do it! :-newbie If I try to copy your code in the api and I change the de lat/lon by %1 %2 It display a lot of greek houses in the terrain (correct).Well, but if I change the GUID to display my object I don't see nothing... :-hmmm. I have tested the object and it works (it have a effect attached).SaludosPablo

Share this post


Link to post
Share on other sites

Hi Pablo,I notice Luis uses spaces in this GUID, while you show it as one big number. Could it be that that is your problem?Are you sure that you have your library BGL in your scenery folder as well? Else nothing will show of course.

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