Jump to content

Sign in to follow this  
arno

Light as effect in SCASM

Recommended Posts

Guest projca

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
Guest luissa

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
Guest projca

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...