Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

OrbitHangar Addons & Comments Addons uploaded at Orbithangar.com will automatically generate a new thread in this forum for comments. The thread link will also be included on the addons page.

Reply
 
Thread Tools
Old 12-07-2018, 10:43 AM   #106
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

That's what I was using. I had it with wheels and the body attached.
Code:
MOLABBDY:MOLBODY
  HGA1 0.0000
  HGA2 0.0000
  HGA3 0.0000
  HATCH 1.0000
  ANT1 1.0000
  ANT2 1.0000
  ANT3 1.0000
  STOW 0 
  UCGO @@0,1,0,0,
  STATUS Landed Moon
  POS -33.4351392 41.1194306
  HEADING 181.10
  ALT 0.740
  AROT -46.328 34.655 28.533
  ATTACHED 0:1,MOLABWHEELS
  AFCMODE 7
  NAVFREQ 0 0
END
MOLABWHEELS:GV_MOLABWHEELS
  STATUS Landed Moon
  POS 3.6301741 26.1519713
  HEADING 295.91
  ALT 0.740
  AROT 156.199 6.763 116.071
  AFCMODE 7
  NAVFREQ 0 0
END
TRAILER:MOLABTRAILER
  STATUS Landed Moon
  POS -33.4375000 41.1184070
  HEADING 181.10
  ALT 1.999
  AROT -116.669 -32.554 131.768
  AFCMODE 7
  NAVFREQ 0 0
END
Code:
ClassName=GeneralVehicle
Module=GeneralVehicle

Empty_Mass = 1000			;[kg] empty mass (almost unused)
Mesh = MOLABTIRES				; meshname
Cockpit_pos = -0.5 2.3 1.5	; [m m m] Position of the cockpit camera
Acceleration = 1.15			; [G] Acceleration factor expressed in Gs
Brake = 2					; [G] Deceleration factor expressed in Gs
Max_Speed = 200				; [km/h] Max Speed
Reverse_Max_Speed = 50		; [km/h] Max Speed in Reverse
Steering_Speed = .1  		; Steering wheel velocity factor
Full_Pedal_Time = 2			; [s] seconds from the beginning of pressing of Acceleration or Brake and the full power is applied
Max_Steering_Angle = 30  	; [DEG] Max steering of the front wheels per side
Height_From_Ground = .74 	; [m] height of the center of gravity from the ground
Always_Upright = FALSE   	;if set to TRUE vehicle will always remain parallel to the ideal ground, without following terrain's inclinations
Four_Wheels_Steering = FALSE ;if true also rear wheels will steer

;Mesh Groups - just specify using space between them

Rear_Right_Groups = 5
Rear_Left_Groups = 6
Front_Right_Groups = 0 3
Front_Left_Groups = 1 4
;Middle_Axles_N = 1
;Middle_Groups_1 = 5 7 0 10


Camber = 0							;[DEG] camber angle of the front wheels, no  camber is implemented for rear wheels.

Listen_From = MOLBODY

BEGIN_ATTACHMENT
C 0 0 -.1  0 1 0  0 0 1  BDY
END_ATTACHMENT
You are right it seems not to steer?
gattispilot is offline   Reply With Quote
Old 12-09-2018, 07:34 PM   #107
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So the MOLAB is made up of 2 gv wheels vessels and 2 non GV vessels that way like the LER the animations will work.

But not sure how to attach the trailer to the main body?


in the cfg for the trailer wheels:
Code:
Listen_From = MOLTRAILE

BEGIN_ATTACHMENT
C 0 0 -.1  0 1 0  0 0 1  BDY
P 0 0 -.1  0 1 0  0 0 1  TW
END_ATTACHMENT
But attachment manager reads 2 parents?

---------- Post added at 01:34 PM ---------- Previous post was at 08:10 AM ----------

So I looked at the trailer example. And it is not a GV cfg.

So I made a dll and cfg for the molab trailer but it doesn't load. No mesh is shown and in the log it doesn't show it
gattispilot is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > OrbitHangar Addons & Comments


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 03:23 AM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.