Jump to content

Flight path recorder. Record a flight and then chase it around! V1.2


Snjo

Recommended Posts

Last question I swear:

Is a release planned for soon? I want to play with these.

(I'm not sure if this is against the rules so don't hurt me)

It's pretty usable already, but there are some tweaks to do, so not very far out for the first update I think.

Link to comment
Share on other sites

What I think would be a really neat feature is the ability to generate a random path, from say KSC 1 to KSC 2 with random changes in elevation and maneuvers, but maybe always keeping a set altitude above the ground.

Link to comment
Share on other sites

v1.3

This is the final version before this mod becomes a combination of Flight Path Recorder and Persistent Trails. I just couldn't leave a half-assed version on spaceport :)

New features:

-The current vessel is saved and loaded with the path. (It's still possible to use simple models by editing the path file, like in the included paths)

Current limitations:

-Struts and fuel lines will not be reproduce correctly in the dummy plane.

Download

Edited by Snjo
Link to comment
Share on other sites

Those planes! Haha another great thing made by you man! have you tried the kmp plugin yet? You should try to host an small server with your parts, imagine 3,4 these planes ramaning around hahaha. This record tool can be usefull watching those failed attempts and figuring out what you did wrong hehe.

Cheers

Link to comment
Share on other sites

This mod has now been fully merged with Persistent Trails, and is up on spaceport.

Check the Trails thread. An updated OP is coming there tomorrow, but the download is updated.

kDxAXTU.png

I apoligize if you already know this, but modded parts don't load with the recorder.

I've only tested B9 so far, but I'm guessing it goes for more than just B9.

There's supposed to be a car there by the way.

That's odd. It will load whatever model is in the folder of the part in question. If for some reason there are several models in that folder, it might pick the wrong one. Which parts were you using?

If you post a craft file, I can check out why they behave oddly.

The code used by both plugins for loading craft is the same, so your input would help out.

Link to comment
Share on other sites

I think I found the error.

[LOG 11:58:43.835] Loading crf file, format 1, C:/Users/Cooly/Desktop/Kerbal Space Program/KSP 0.22 Modding Install/KSP_Data/../GameData/PersistentTrails/PluginData/Craft/UntiXexcar.crf

[LOG 11:58:43.837] Finding model B9.Cockpit.MK2 failed, returning blank GameObject

[LOG 11:58:43.838] Finding model B9.Cockpit.MK2.Body.LFO.2m failed, returning blank GameObject

[LOG 11:58:43.839] Finding model B9.Cockpit.MK2.Adapter.M125.2 failed, returning blank GameObject

[LOG 11:58:43.841] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.843] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.843] Finding model B9.Aero.Intake.Mount failed, returning blank GameObject

[LOG 11:58:43.845] Finding model B9.Aero.Intake.CLR failed, returning blank GameObject

[LOG 11:58:43.847] Finding model B9.Engine.Jet.Pod.Small failed, returning blank GameObject

[LOG 11:58:43.848] Finding model B9.Engine.Jet.Pod.Small failed, returning blank GameObject

[LOG 11:58:43.849] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.850] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.851] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.853] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.854] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.854] Finding model B9.Structure.SN.Strut failed, returning blank GameObject

[LOG 11:58:43.855] Finding model B9.Aero.Intake.CLR failed, returning blank GameObject

[LOG 11:58:43.856] load craft file error: System.NullReferenceException: Object reference not set to an instance of an object

at PersistentTrails.Utilities.parseVector3 (System.String inString) [0x00000] in <filename unknown>:0

at PersistentTrails.CraftLoader.loadCraftFromFile (System.String fileName) [0x00000] in <filename unknown>:0

[LOG 11:58:43.877] initialized replayBehaviour, ghost at trackPos =(-443.9, -463.4, -643.1)

It may because I don't have B9 fully installed, I will keep checking.

Link to comment
Share on other sites

Ah, b9 uses periods in his part names. Problem is, KSP translates that to underscores for no good reason. Fixed the issue, I'll push the code update out so it's in the next release, thanks for the bug reporting!

Link to comment
Share on other sites

That's just the default state of those models. Later on I will have to run some code to turn off the lights by default, cause stuff gets super bright if you have some stock landing gear on there.

Doing accurate control of animation states is a bit out of scope, or at least very low on the todo-list :)

(Yes, I know correctly deploying landing gear would be cool. I try not to think about it. Argh!)

Link to comment
Share on other sites

I haven't tried it yet, but it seems a pretty good mod if you have to ship Kethane around with planes on routine. Right now I'm thinking if you got that working you could read a book or something while it automatically takes off, flies, and lands at a Kethane rig.

I'm just wondering if this would work with rovers. Since it would be much more time saving if you didn't have to drive the rovers miles across the Munar surface to your main Munbase from a kethane rig in a crater.

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