Jump to content

New Air Intake not working


Recommended Posts

Hey folks, I can't for the life of me get my new intake working. I've got the empty game object labelled "Intake", it's in the heirarchy of the game object with the PartsTool component, and is oriented correctly, that is, Z+ is facing forward relative to the part.

The air intake places properly in the hangar and shows up fine when I launch, it even contains the initial amount of air resource, but it doens't take in any more air once the engine is started.

Here's some images to show my setup, and the config file too:

dIrBsep.jpg

8VhpeFw.jpg

PART

{

name = Avro_intake_Left

module = Part

author = Orthanc

mesh = model.mu

rescaleFactor = 1

node_stack_back = -0.02808678, 0.0, 0.0, 0.0, 0.0, 0.0

TechRequired = aerodynamicSystems

entryCost = 4500

cost = 1000

category = Aero

subcategory = 0

title = Avro Air Intake Port

manufacturer = Avro Aerospace

description = Avro's patented port-side intake for air-breathing jet engines, designed to be very efficient to maximize the intake of air at higher altitudes.

attachRules = 0,1,0,0,0

// --- standard part parameters ---

mass = 0.01

dragModelType = default

maximum_drag = 0.2

minimum_drag = 0.2

angularDrag = 1

crashTolerance = 10

maxTemp = 5000

MODULE

{

name = ModuleResourceIntake

resourceName = IntakeAir

checkForOxygen = true

area = 0.1

intakeSpeed = 10

intakeTransformName = Intake

}

RESOURCE

{

name = IntakeAir

amount = 2

maxAmount = 2

}

}

Kj6f8KS.jpg

InXexkC.jpg

WUfjUOC.jpg

So yeah, any help would be great, I have no idea what I'm missing here.

Also if you haven't noticed this is part of an 'Avro Arrow' peice set I'm working on, literally just the intake and cockpit are the only parts not done, everything else works, I might be releasing an alpha of the parts next week if I can get over those 2 hurdles.:)

Link to comment
Share on other sites

Try making the Intake transform a child of the model mesh instead of the parent GameObject for the part

So instead of (I think?)

intakeL (GameObject parent)

>AVRO_intakeL (model mesh)

>>AVRO_intakeL (collider)

>Intake (transform)

Try

intakeL

>AVRO_intakeL

>>Intake

>>AVRO_intakeL

By dragging the transform and setting its parent to the model

[Edit] This is the arrangement which ended up working for me at any rate

H391uo5.png

Edited by NoMrBond
Add picture
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...