Alien Vessel

OHM Alien Vessel 2022-06-15

GB

Member
Joined
Nov 18, 2016
Messages
18
Reaction score
20
Points
18
Location
At sea
GB submitted a new addon:

Alien Vessel - Fantastic vessel with high speed, from movies "Alien" and "Prometheus".

It is fantastic vessel with high speed, from movies "Alien" and "Prometheus" and my invention (mixing).
I play with bump texture so "orbiter_ng" only. Model has virtual cockpit.
Because in Orbiter is not possible to vessel operate from Jockey, I invented additional navigation cabin.
There are three main thrusters - Main, hover and retro.
All you can rotate as a flaps, so you need Fly-By-Wire 2016 01.
Retro thruster in hover mode push vessel down!!!!!!!!!!!!
Anyway for keyboard:
Thrusters...

Read more about this addon...
 

4throck

Enthusiast !
Joined
Jun 19, 2008
Messages
3,502
Reaction score
996
Points
153
Location
Lisbon
Website
orbiterspaceport.blogspot.com
@GB you can add pictures to the addon description just like you do with any other post. You can edit the description at any time, no need to reupload ;)
Addons use the same text editor as posts (because the system is fully integrated with the forum software (y) )
 

spacespa

New member
Joined
Oct 1, 2022
Messages
1
Reaction score
0
Points
1
Location
Small ass town
Could you post the source code for this ship? I wanna make a few edits for myself

Amazing ship btw, basically just what I was looking for
 

GB

Member
Joined
Nov 18, 2016
Messages
18
Reaction score
20
Points
18
Location
At sea
My source codes just now are looking like garbage. I need time for prepare for distribution because only I known what is where.
Just now I am building vessel Prometheus and code was re righting for Alien vessel (Prometheus I started before I did Alien vessel).
I am seaman and in short time i will fly to my vessel. When will be possible I will prepare code.

If you need how connect thruster rotation to control flaps there are samples:

m_back_eng_trak_point[0] = _V(0.0,0.0,0.0);

Animation:

static UINT ThrustGrp[1] = {GRP_GBA_mesh09_GBstick03_VC};
static MGROUP_ROTATE Thrust (1, ThrustGrp, 1, _V(-3.465278,-5.532551,137.3656), _V(1,0,0), (float)(-90*RAD));
anim_thrust = CreateAnimation (0);
p3 = AddAnimationComponent (anim_thrust, 0, 1, &Thrust);
CreateControlSurface3 (AIRCTRL_FLAP, 0.5, 4.5, _V(-3.465278,-5.532551,137.3656), AIRCTRL_AXIS_XPOS, 1.0, anim_thrust);

and:

void AlienVessel::clbkPostStep (double simt, double simdt, double mjd)
{

SetThrusterRef ( th_retro[0], m_back_eng_trak_point[0]);
SetThrusterRef ( th_rmain[0], m_back_eng_trak_point[0]);
SetThrusterRef ( th_main[0], m_back_eng_trak_point[0]);


gb_angle = -3.14;
gc_angle = 3.14;
double Thrustersaxis1 = GetControlSurfaceLevel (AIRCTRL_FLAP);
Thrustersaxis1 = max (gb_angle, min (gc_angle,Thrustersaxis1));
SetControlSurfaceLevel (AIRCTRL_FLAP, Thrustersaxis1, true);

ab_angle = (Thrustersaxis1*1.55) + 1.57;

double sina = sin(ab_angle);
double cosa = cos(ab_angle);


SetThrusterDir (th_retro[0], _V(0,-sina,-cosa));
SetThrusterDir (th_rmain[0], _V(0,sina,cosa));
SetThrusterDir (th_main[0], _V(0,sina,cosa));
 
Last edited:
Top