setsurface

All about writing scripts for Celestia in Lua and the .cel system
Topic author
alan_federman
Posts: 60
Joined: 10.01.2003
With us: 21 years 8 months
Location: Silicon Valley

setsurface

Post #1by alan_federman » 06.11.2003, 17:01

I can't seem to get setsurface to work, i.e.



setsurface {name "BlueMarbleDDS"}

or setsurface {name "redmars"}


anyone get this to work? I am using 1.3.1 pre 11


Also I can; seem to get

renderflags {set "Clouds"} or clear clouds to work.


Clues???
Alan Federman

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 1 month
Location: Germany

Re: setsurface

Post #2by Harry » 06.11.2003, 17:39

alan_federman wrote:I can't seem to get setsurface to work, i.e.



setsurface {name "BlueMarbleDDS"}

or setsurface {name "redmars"}


anyone get this to work? I am using 1.3.1 pre 11

Works here (on Linux), at least for earth. Did you make sure earth (or mars) is selected prior to setsurface? And check exact name, here this would be "BlueMarble DDS" (note the space).

Also I can; seem to get

renderflags {set "Clouds"} or clear clouds to work.

Clues???


Try "cloudmaps" instead of "clouds" :)

Topic author
alan_federman
Posts: 60
Joined: 10.01.2003
With us: 21 years 8 months
Location: Silicon Valley

Post #3by alan_federman » 06.11.2003, 23:44

Thanks - my bad -- missing a space in the file name. DUH!
Alan Federman


Return to “Scripting”