Jump to content

ColdJ's Military Planes


ColdJ

Recommended Posts

3 minutes ago, Ariel Kerman said:

Anyways, in the remote case i want to come back to BDA, how can i make the bay doors in the F 22/35 open faster? The animation plays quickly in the Editor, but very slowly in flight.

That was on purpose as realistically they would not just snap open. But give me some time and I will see if I can do anything in the config to speed it up. Otherwise the animation would have to be redone in the model file, which would mean a new .mu.

Link to comment
Share on other sites

4 minutes ago, ColdJ said:

That was on purpose as realistically they would not just snap open. But give me some time and I will see if I can do anything in the config to speed it up. Otherwise the animation would have to be redone in the model file, which would mean a new .mu.

Yeah i appreciate the nice detail of the bay door dont just snap open, but still, the doors move a little bit faster IRL. Actually im interested in the explanation if you dont mind, as i will moving into the modding world of KSP as soon as i finish my last career in JNSQ, so everything i can learn in the way is welcome. Can the animation lenght be adjustable in the configs? How? I though the anim data such as key frames is stored in the .mu file

 

Link to comment
Share on other sites

5 minutes ago, Ariel Kerman said:

Can the animation lenght be adjustable in the configs?

Not the length, but the speed, using a plugin made by @linuxgurugamer. I am experimenting at the moment to get it right, then I will give you details of what to edit in the config.

Here is the plugin link in the meantime for you to get and install in GameData. I will assume if you have done BDarmory in the past that you already have Module Manager.

https://spacedock.info/mod/2345/ModuleAnimateGenericEffects#info

Link to comment
Share on other sites

Ok @Ariel Kerman

If you have the plugin installed then you can edit the "F35BodyAfter.cfg" file using Notepad. Open in it and scroll to near the very bottom. And you will see.

    MODULE
    {
        name = ModuleAnimateGeneric
        animationName = Bay
        layer = 8
        startEventGUIName = Open
        endEventGUIName = Close
        actionGUIName = Toggle Bay
        //defaultActionGroup = Gear
    }

You want to replace it with this.

    //MODULE
    //{
        //name = ModuleAnimateGeneric
        //animationName = Bay
        //layer = 8
        //startEventGUIName = Open
        //endEventGUIName = Close
        //actionGUIName = Toggle Bay
        //defaultActionGroup = Gear
    //}
    MODULE
    {
        name = ModuleAnimateGenericEffects
        animationName = Bay
        startEventGUIName = Open
        endEventGUIName = Close
        actionGUIName = Toggle Bay
        //defaultActionGroup = Gear
        layer = 8
        deployEffectName = deploy

        postDeployEffectName = deployed
 
        postDeployEffectLength = 5.0
        retractEffectName = retract

        postRetractEffectName = retracted
 
        postRetractEffectLength = 5.0

        animSpeed = 2    
    }

 

I have just commented out the original so that is still there to be reverted to if needed and contains the info. Then added the module used by the plugin. This doubles the animation speed to 2 times. I believe you can increase it further if you feel you need to. Just save the file, making sure you didn't overwrite or remove any brackets from the surrounding modules and the plane will now have faster doors.

The same can be done for the F22 "F22BodyME.cfg"  At the bottom find

    MODULE
    {
        name = ModuleAnimateGeneric
        animationName = Bomb
        layer = 9
        startEventGUIName = Open
        endEventGUIName = Close
        actionGUIName = Toggle Doors
        //defaultActionGroup = Gear
    }

And replace with.

 

  //  MODULE
   // {
       // name = ModuleAnimateGeneric
      //  animationName = Bomb
      //  layer = 9
       // startEventGUIName = Open
       // endEventGUIName = Close
      //  actionGUIName = Toggle Doors
        //defaultActionGroup = Gear
  //  }

    MODULE
    {
        name = ModuleAnimateGenericEffects
        animationName = Bomb
        startEventGUIName = Open
        endEventGUIName = Close
        actionGUIName = Toggle Doors
        //defaultActionGroup = Gear
        layer = 9
        deployEffectName = deploy

        postDeployEffectName = deployed
 
        postDeployEffectLength = 5.0
        retractEffectName = retract

        postRetractEffectName = retracted
 
        postRetractEffectLength = 5.0

        animSpeed = 2    
    }

And if you plan to start modding then you might want to read my thread.

 

Link to comment
Share on other sites

@ColdJ I wasnt able to see your reply due the Forums getting drunk as usual (what is happening?), so thx for the explanation and the module tweak works very well for the F-22 :cool:

Yep, im already following your thread now...

Edited by Ariel Kerman
Link to comment
Share on other sites

On 8/15/2024 at 10:44 PM, ColdJ said:

@Alpha_star

Are you enjoying the Soviet supplement?

Trying it, and video is currently WIP.

A bug sometimes makes engine plumes dissapear but the lighting effects remain intact. Doesn't affect game experience and I'll try to avoid it while recording footage.

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...