Ultimate space simulation software

 
ScroogeMcCheapo
Observer
Observer
Posts: 4
Joined: 02 Jun 2025 17:31

Re: General questions about SpaceEngine

02 Jun 2025 17:43

However, when i try get MusicVolume for instance, it returns me the current value of the variable.
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1841
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

Re: General questions about SpaceEngine

03 Jun 2025 09:06

Hi, I wanted to know how to use in a Script interger and float variables? I figured that bollean variable synthax are "Variable = True/false, but when i try to put a float or interger variable in the console, it says "unknown command". Thank you for any Help.
See in the manual https://spaceengine.org/manual/making-a ... o-scripts/ with commands "Set, SetU, SetForce". 
e.g:
Set Brightness 1.11111111111

Get Brightness
Brightness = 1.11111111111

Currently existing variables accepted by the program can be obtained by the command PrintVars from console, see Debug Commands in manual. It will write a list of variables in your se.log file.
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |
 
ScroogeMcCheapo
Observer
Observer
Posts: 4
Joined: 02 Jun 2025 17:31

Re: General questions about SpaceEngine

03 Jun 2025 11:24

Hi, I wanted to know how to use in a Script interger and float variables? I figured that bollean variable synthax are "Variable = True/false, but when i try to put a float or interger variable in the console, it says "unknown command". Thank you for any Help.
See in the manual https://spaceengine.org/manual/making-a ... o-scripts/ with commands "Set, SetU, SetForce". 
e.g:
Set Brightness 1.11111111111

Get Brightness
Brightness = 1.11111111111

Currently existing variables accepted by the program can be obtained by the command PrintVars from console, see Debug Commands in manual. It will write a list of variables in your se.log file.

Oh Okay, Thank you a Lot!
 
spaxetopia
Observer
Observer
Posts: 13
Joined: 08 Mar 2023 17:30

Re: General questions about SpaceEngine

03 Jun 2025 16:39

However, when i try get MusicVolume for instance, it returns me the current value of the variable.
Congrats, you’ve discovered the ancient art of… getting a value from a variable. Next up: changing it, if the devs allow it
 
ScroogeMcCheapo
Observer
Observer
Posts: 4
Joined: 02 Jun 2025 17:31

Re: General questions about SpaceEngine

05 Jun 2025 15:48

Hi, I was wondering if in the current state, it is possible to import a 2D image in SE as an insert? I saw it is possible to import 3D model, and Print Text, but i didn't see anything about inserting Images.

Thank a lot for any help :) 
 
User avatar
Mosfet
Star Engineer
Star Engineer
Posts: 1841
Joined: 24 Oct 2016 11:34
Location: Italy
Contact:

Re: General questions about SpaceEngine

06 Jun 2025 03:10

Hi, I was wondering if in the current state, it is possible to import a 2D image in SE as an insert? I saw it is possible to import 3D model, and Print Text, but i didn't see anything about inserting Images.

Thank a lot for any help :) 
See the manual part for scenario scripts, you could try and use Waypoints. https://spaceengine.org/manual/making-a ... o-scripts/
Among the allowed shapes for waypoints, there's also "Billboard", which is a way to place a 2D image in a specific position.
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
| My mods: http://forum.spaceengine.org/viewtopic.php?f=3&t=80 | My specs: Asus x555ub - cpu i5-6200u, ram 12gb, gpu nvidia geforce 940m 2gb vram |

Who is online

Users browsing this forum: No registered users and 1 guest