Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Addons > Addon Support & Bugs
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Addon Support & Bugs Support & bug reports for Orbiter addons.

Reply
 
Thread Tools
Old 02-06-2019, 05:07 AM   #1
CTarana45
Orbinaut
Question Custom Ship .Dll's Blocking Refueling?

Can a Custom .DLL file for an addon block the ability to refuel? I'm Trying gas up

Jon's Ragnar Anchorage Station and having no luck! I've tried FUEL 1 and PRPLEVEL 0:1.000!

Thanks!

Christopher
CTarana45 is offline   Reply With Quote
Old 02-06-2019, 04:58 PM   #2
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Weird. Are you doing it with the editor?
gattispilot is offline   Reply With Quote
Old 02-06-2019, 05:20 PM   #3
CTarana45
Orbinaut
Default

Quote:
Originally Posted by gattispilot View Post
 Weird. Are you doing it with the editor?
With the scenario editor running the Propellent Button isn't usable!

BEGIN_DESC
In Moon Orbit Goto http://www.yankeeclippersmobile.com/Orbiter for more information on the Rag Tag Fleet
END_DESC

BEGIN_ENVIRONMENT
System Sol
Date MJD 51981.6690562871
END_ENVIRONMENT

BEGIN_FOCUS
Ship Ragnar_Anchorage
END_FOCUS

BEGIN_CAMERA
TARGET Ragnar_Anchorage
MODE Extern
POS 3.61 -161.49 -9.69
TRACKMODE AbsoluteDirection
FOV 50.00
END_CAMERA

BEGIN_SHIPS
Ragnar_Anchorage:QJRag
STATUS Orbiting Moon
RPOS 1359260.59 -1777710.59 -212.09
RVEL 1175.813 899.088 0.045 AROT 110.00 -10.00 80.00
PRPLEVEL 0:1.000
NAVFREQ 0 0
XPDR 466
END
END_SHIPS


Christopher!
CTarana45 is offline   Reply With Quote
Old 02-06-2019, 05:58 PM   #4
Urwumpe
Not funny anymore
 
Urwumpe's Avatar

Default

Maybe it is because it has no propellant resource......
Urwumpe is offline   Reply With Quote
Old 02-06-2019, 06:24 PM   #5
CTarana45
Orbinaut
Default

Quote:
Originally Posted by Urwumpe View Post
 Maybe it is because it has no propellant resource......
So how do we add that to the scenario?

Thanks, Urwumpe!


Christopher
CTarana45 is offline   Reply With Quote
Old 02-06-2019, 06:43 PM   #6
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

CAn you just click on that vessel in the editor and add fuel? I am getting that and I will check it out.
gattispilot is offline   Reply With Quote
Old 02-06-2019, 06:47 PM   #7
Urwumpe
Not funny anymore
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by CTarana45 View Post
 So how do we add that to the scenario?

Thanks, Urwumpe!


Christopher

In that case, not at all. How would you store fuel without a tank? The station does not seem to be equipped for refueling.



And I think the add-ons have been closed source.
Urwumpe is offline   Reply With Quote
Old 02-06-2019, 06:53 PM   #8
CTarana45
Orbinaut
Default

Quote:
Originally Posted by gattispilot View Post
 CAn you just click on that vessel in the editor and add fuel? I am getting that and I will check it out.
It's greyed out!!

Jon's Cfg File!

; === Configuration file for the QJRagnar Anchorage Space Station ===
ClassName = QJRag
Module = QJRag

XPDR = 466

; === Docking ports ===
BEGIN_DOCKLIST
0.0 997.05 -216.54 0 0 -1 0 1 0 588
0.0 997.05 216.54 0 0 1 0 1 0 578
216.84 997.05 0.0 1 0 0 0 1 0 568
-216.84 997.05 0.0 -1 0 0 0 1 0 558
END_DOCKLIST


Mine from USS Constellation

; === Configuration file for vessel USS Constellation ===

ClassName = Constellation
MeshName = NCC1017
Size = 292 ;Kilometer distance for visual range, and size of re-entry flame.

; All thrusts and weights are oversized to allow this machine to manhandle payloads docked to it.
; The numbers are in millions when in reallity they should be thousands of kilograms/Newtons.


Mass = 10e6 ; empty mass [kg]
MaxFuel = 30e6 ; max fuel mass [kg]
Isp = 11e8 ; fuel specific impulse [m/s], aka fuel efficiency

; === Engine parameters ===
MaxMainThrust = 700e6 ; engine power, but it only affects how fast you use up your fuel, Delta-V is unchanged
MaxRetroThrust = 700e6
MaxHoverThrust = 700e6
MaxAttitudeThrust = 60e6 ; Manuevering engine thruster power
TouchdownPoints = 0 -100 100 -100 -100 -50 100 -100 -50 ;xyz coordinates for footpads, nose/left/right respectively
CameraOffset = 0 0 200

; === Atmospheric flight model ===
CW = 3 3 1
CrossSections = 30 30 10
RotResistance = 2 2 2

; New additions for build 021206
EnableFocus = true ; can you jump (F3) and pilot this ship? True or false
EnableXPDR = true ; Does it have a homing beacon? True or false
XPDR = 050 ; What is the default transponder/XPDR frequency if it is true?
Inertia = 500 500 500 ; how unweildy the craft is in different axis, pitch/yaw/roll axis respectively


; === Docking Port === ;Dock's xyz position, direction of approach, which way is top of hatch, and that hatch's ISD freq
BEGIN_DOCKLIST
0 0 292 0 0 1 0 1 0 051
6 -45 -75 0 0 -1 0 1 0 052
-6 -45 -75 0 0 -1 0 1 0 053
END_DOCKLIST

; === Engine reference points === This ASCII chart is just for a visual aid.
;
; FWD UP
; +z \ | +y
; \ |
; \|_____ RT
; +x

I think Jon's is missing the "Aerodynamic stuff unless it's in the .dll file?
Attached Thumbnails
Fuels.jpg  

Last edited by CTarana45; 02-06-2019 at 10:39 PM.
CTarana45 is offline   Reply With Quote
Old 02-06-2019, 06:57 PM   #9
CTarana45
Orbinaut
Default

Quote:
Originally Posted by Urwumpe View Post
 In that case, not at all. How would you store fuel without a tank? The station does not seem to be equipped for refueling.



And I think the add-ons have been closed source.
That does seem to be the case, no tank no gas!

And Jon's addons were closed source!

Thanks Urwumpe!

Christopher
CTarana45 is offline   Reply With Quote
Old 02-07-2019, 07:02 PM   #10
CTarana45
Orbinaut
Thumbs up

; === Configuration file for the QJRagnar Anchorage Space Station ===
ClassName = QJRag
Module = QJRag

Mass = 10e6 ; empty mass [kg]
MaxFuel = 30e6 ; max fuel mass [kg]
Isp = 11e8
XPDR = 466

; === Docking ports ===
BEGIN_DOCKLIST
0.0 997.05 -216.54 0 0 -1 0 1 0 588
0.0 997.05 216.54 0 0 1 0 1 0 578
216.84 997.05 0.0 1 0 0 0 1 0 568
-216.84 997.05 0.0 -1 0 0 0 1 0 558
END_DOCKLIST


I added three lines to Jon' s Ragnar Anchorage Space Station and now it fuels up fine! I used the Scenario Editor twice to fill and drain the tanks! There are no engines defined to use the fuel!

Mass = 10e6 ; empty mass [kg]
MaxFuel = 30e6 ; max fuel mass [kg]
Isp = 11e8
CTarana45 is offline   Reply With Quote
Thanked by:
Old 02-09-2019, 10:08 AM   #11
Fearless
Orbinaut
Default

What does isp stand for?
Fearless is offline   Reply With Quote
Old 02-09-2019, 10:20 AM   #12
Urwumpe
Not funny anymore
 
Urwumpe's Avatar

Default

Quote:
Originally Posted by Fearless View Post
 What does isp stand for?

Specific impulse. That is the impulse that a rocket engine produces by burning one kg of fuel. Impulse is coarsely said, thrust force accumulated over time. Which is why the unit of specific impulse is Ns/kg, which magically reduces to m/s: The specific impulse is equal to the average exhaust velocity, the average speed at which the molecules of the exhaust leave the engine.



The higher the specific impulse, the less fuel must be burned per second to produce the same thrust. Chemical rocket engines of today reach between 800 and 4600 m/s, electrostatic engines up to 80000 m/s.



As you can expect because of the definition above: The speed of light is actually the limit. (But you would then need to calculate relativistic impulse, not simple Newtonian.)
Urwumpe is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Addons > Addon Support & Bugs


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 09:16 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.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.