Jump to content
dtmdragon

Can you make a cockpit node disappear with an edit to the cockpit.ini file like with an aircraft lod & the data.ini file?

Recommended Posts

Is there a way to make a node disappear in the cockpit using the cockpit.ini file the same way you can for a node on an aircraft lod? eg to do it with an aircraft .lod you add the following to the data.ini file:

 

[AircraftData]

Component[xxx]=no_nose_ecm

 

// Mods ------------------------------------------------------

 

[no_nose_ecm]

ParentComponentName=Nose

ModelNodeName=nose_ecm

DestroyedNodeName=nose_ecm

DetachWhenDestroyed=TRUE

HasAeroCoefficients=FALSE

Share this post


Link to post
Share on other sites

Add to Cockpit.ini

Item Move

 

///--cockpit moves---

 

Instrument[031]=

Instrument[032]=

Instrument[033]=

Instrument[034]=

Instrument[035]=

Instrument[036]=

Instrument[XXX]=Move1 <---------XXX Next number inline

 

 

[Move1]

Type=AIRSPEED_INDICATOR

NodeName=Armored_Glass <---------------Node Name

MovementType=POSITION_Y

Set[01].Position=-100

Set[01].Value=0.0

Set[02].Position=-99

Set[02].Value=1.0

 

 

//End of Move-----------------------------

 

If it's a parent node all the children will vanish also.

Edited by RAVEN

Share this post


Link to post
Share on other sites

Cheers for the help but unfortunately it didn't quite do the trick. It is the joystick I want to remove and doing what you wrote above just made it lay down horizontally pointing forwards??

 

Here is the original cockpit.ini lines for the joystick I want to remove:

 

[stickRoll]

Type=CONTROL_STICK_ROLL

NodeName=SideStickBase

MovementType=ROTATION_Y

Set[01].Position=-15.0

Set[01].Value=-1.0

Set[02].Position=15.0

Set[02].Value=1.0

 

[stickPitch]

Type=CONTROL_STICK_PITCH

NodeName=SideStick

MovementType=ROTATION_X

Set[01].Position=15.0

Set[01].Value=-1.0

Set[02].Position=-15.0

Set[02].Value=1.0

Edited by dtmdragon

Share this post


Link to post
Share on other sites

for SF2, theres a simple function to remove a mesh:

 

[stickRoll]

Type=INACTIVE

NodeName=SideStickBase

 

[stickPitch]

Type=INACTIVE

NodeName=SideStick

Share this post


Link to post
Share on other sites

That did the trick- Thank you!

 

for SF2, theres a simple function to remove a mesh:

 

[stickRoll]

Type=INACTIVE

NodeName=SideStickBase

 

[stickPitch]

Type=INACTIVE

NodeName=SideStick

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..