Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.
If I can remember, I think you only need to install wine, then the June10 DX runtime and your good.
Install the DX runtime to an empty folder. It will create a lot of files. Look for DXSETUP.exe and run that.
Creating the animations like this seems to do the trick:
-- Spin the jettisoned satellite
function sat_spin()
if sat2_status < 1 then
vi:set_animation (anim_Sat2, sat2_proc)
else
vi:set_animation (anim_Sat2, 0)
end
end
Thanks!(y)
Mesh 0 isn't the same mesh every time. I'm clearing the meshes at each stage.
I'll get it pretty soon here. I just need to figure out the continuous rotation with out creating the animation again and again.
I'm missing a fundamental problem here somewhere. If you notice I did not create my animations in the "config" section of the third stage or the satellite.
I didn't put them there because they didn't work if I did. They should have though. I'm missing something that should be obvious.
I have rotation animations on the third stage and payload of a multistage vehicle.
Everything's fine until the jettisoned payload starts to rotate. It stutters for a second, rotates the wrong way for a few seconds, then changes direction and works normally.
Maybe an animation expert can help me...
I'm trying to make a thrust level indicator in a vc using a sketchpad rectangle.
this toggles it between 0 and 1:
for i = 0, 1 do
if vi:get_thrusterlevel(thmain) == i then
pSkp:rectangle(0, i*1024, 1024, 0)
end
end
But how do I make it proportional?
I got the effect I wanted using sketchpad:
function redraw_panel_rcsmode(surf)
local pSkp = oapi.get_sketchpad(surf)
local pOld = pSkp:set_font(rfont)
pSkp:set_textcolor(_RGB(97,160,80))
pSkp:set_textalign(SKP.CENTER, SKP.BASELINE)
pSkp:set_backgroundcolor(0, 0, 0)...
I'm hoping to use a lighted button effect for NAVMODE and RCSMODE in a simple VC. I've got NAVMODE working fine with this code:
function redraw_panel_navmode(surf)
for i = NAVMODE.KILLROT, NAVMODE.HOLDALT - 1 do
if vi:get_navmode(i) then
oapi.blt(surf, tex4, (6-i)*85.3, 0...
I'm trying to animate a nosecone (for a docking port) using the ShuttleA as a guide and converting the code to Lua.
I have this so far:
function activate_nose(DoorStatus, action)
local close = (action == DOOR_CLOSED or action == DOOR_CLOSING)
nose_status = action
if action <= DOOR_OPEN...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.