Jump to content

Future Astronaut

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Future Astronaut

  1. 8 hours ago, ColdJ said:

    Glad you got that sorted. Being able to use 3.3 will make it much easier for you and allow for you to use the latest .mu plugin which has many great improvements. I highly recommend you try out the latest BforArtists fork of blender, it has the option to have the blender key set up if you want but graphic user interface and mouse controls make for a much easier experience.

    Good luck, looking forward to seeing your future work.

    Thanks! I think I'll stick to the official Blender for now. It's easier and faster to get help via Discord.

  2. I know it's been a while. My laptop's charging port broke and I had to get it fixed for a week. I also had to figure out why no Blender versions higher than 2.83 worked. Turns out that my drivers were REALLY old. I got those updated so now Blender 3.3 works. I also just upgraded to Windows 11 from Windows 10 so overall I haven't really been able to do much work. I hope to resume work on this and my contract mod (Extreme Plane Contracts) tomorrow.

  3. 32 minutes ago, Stone Blue said:

    Do you perchance use LibreOffice as your .cfg/text editor?
    If so, LO creates a temp file of the one you have open, in the same location, and usually the same name with extra characters...
    it gets removed once you close the actual file you are working on...

    I use Notepad.

  4. 2 hours ago, Stone Blue said:

    Idk... you could maybe start with a better "standard" folder layout.

    what is not loading? the static, or the part, or both?

    I would change the file extension of the ~$barge.cfg.
    I dont know what that file is, but with a .cfg extension, KSP is trying to load it.

    You could try renaming it to ~$barge.cfg~

    Also, a good troubleshooting tool is to review the KSP.log file, looking for stuff related to your mod.

    Also, I see the original release, had a version of KerbalKonstructs packaged with it. I assume you are *NOT* installing that, and are instead using the latest release of the mod?

    I'm using the latest release. There is no $barge.cfg file.

  5. 1 hour ago, Stone Blue said:

    Replace all the `mesh =` lines, with MODEL{} nodes:
    https://wiki.kerbalspaceprogram.com/wiki/CFG_File_Documentation#Model_Parameters

    I would leave the model (s) & textures in the static's folder. (IF they are indeed identical)

    You should be able to get away with a single config file for the *part*, in the Part folder.  No other files/copies needed in the Part folder.
    Just point the `model =` key at the .mu in the static folder. No need to use the `texture =` keys.

    I tried this but it doesn't load. Can you please tell me what I'm doing wrong here? https://drive.google.com/drive/folders/1Auvc87Q6lKngiNmEOMRS8gMCh3AZgOuZ?usp=sharing

  6. 19 minutes ago, Stone Blue said:

    Replace all the `mesh =` lines, with MODEL{} nodes:
    https://wiki.kerbalspaceprogram.com/wiki/CFG_File_Documentation#Model_Parameters

    I would leave the model (s) & textures in the static's folder. (IF they are indeed identical)

    You should be able to get away with a single config file for the *part*, in the Part folder.  No other files/copies needed in the Part folder.
    Just point the `model =` key at the .mu in the static folder. No need to use the `texture =` keys.

    Thanks!

  7. 4 hours ago, HebaruSan said:

    The download contains two copies of most of the files, one in "droneship" and one in "Parts/droneship":

        - GameData/Space_X_barge_lander-2.0/droneship
        - GameData/Space_X_barge_lander-2.0/droneship/~$barge.cfg
        - GameData/Space_X_barge_lander-2.0/droneship/12742034_1032627080127323_2116658299148049853_n.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Antena.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/barge.cfg
        - GameData/Space_X_barge_lander-2.0/droneship/barge.mu
        - GameData/Space_X_barge_lander-2.0/droneship/Barge_texture.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Barge_texture_tile.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Building.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Fence.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Ground_steal 1.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Interioir.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/PLatform_texture.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Tex_0025_0.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Tex_0031_0.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Tex_0038_0.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Tex_0041_0.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Tex_0043_0.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/Truck.mbm
        - GameData/Space_X_barge_lander-2.0/droneship/TruckEM.mbm
        - GameData/Space_X_barge_lander-2.0/Parts
        - GameData/Space_X_barge_lander-2.0/Parts/@thumbs
        - GameData/Space_X_barge_lander-2.0/Parts/@thumbs/SpaceXDroneship_icon.png
        - GameData/Space_X_barge_lander-2.0/Parts/droneship
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/12742034_1032627080127323_2116658299148049853_n.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Antena.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/barge.cfg
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Barge_texture.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Barge_texture_tile.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Building.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/droneship.mu
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Fence.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Ground_steal 1.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Interioir.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/PLatform_texture.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Tex_0025_0.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Tex_0031_0.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Tex_0038_0.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Tex_0041_0.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Tex_0043_0.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/Truck.mbm
        - GameData/Space_X_barge_lander-2.0/Parts/droneship/TruckEM.mbm

    You probably only need one of each.

    One is for a Kerbal Konstructs static.

  8. This adds a SpaceX Droneship to land your rockets on! It includes a static for Kerbal Konstructs and a VAB part. This is a continuation of Space X Barge Lander, which only had a KK static. I added the VAB part. In the future, I hope to add more parts related to SpaceX's Fleet, such as tugs. It's not perfect yet, but I'm working on it. I want to thank @ColdJ for his continued help with this, my first part mod.

    Dependencies:

    KerbalKonstructs (if you want the static)

    ModuleManager

    Download from:

    SpaceDock

    CKAN

    Github

    License: MIT

  9. 2 minutes ago, ColdJ said:

    Hi @Future Astronaut Trying to workout what you are doing, If the config that Hebarusan put up is of your original then it appears to be a mess.

    Could you tell me what your part is meant to be?

    Could you tell me the folder path?

    For example: C:\KSP1.12.2\Kerbal Space Program\GameData\Belafonte\Parts\BelaComplete.cfg

    And could you copy the config into a spoiler so that I might have a look at it and see if I can fix it for you.?

    The part is a boat to land rockets on (like SpaceX). The folder path is C:/KSPTest/GameData/Space_X_barge_lander_2.0/Parts/droneship/droneship.cfg    Here's the entire folder of the mod. https://drive.google.com/drive/folders/1PQlDkYjRcGOFDF8I1eVffI7ZyIFFSqZ6?usp=sharing

    The Space_X_Barge_lander_2.0/droneship folder is Kerbal Konstructs. That's working fine but the VAB part doesn't. 

  10. 15 hours ago, HebaruSan said:

    Well that one was pretty easy. "Utility" only has one 'l'.

    [LOG 20:42:38.742] PartLoader: Compiling Part 'Space_X_barge_lander-2.0/Parts/droneship/barge/droneship'
    [LOG 20:42:38.958] EffectList: Created 15 effect types
    [ERR 20:42:39.035] PartLoader: Encountered exception during compilation. System.ArgumentException: Requested value 'Utillity' was not found.
      at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
      at ConfigNode.ParseEnum (System.Type enumType, System.String vectorString) [0x00000] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.ReadValue (System.Type fieldType, System.String value) [0x00516] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.ReadObject (System.Object obj, ConfigNode node) [0x00143] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.LoadObjectFromConfig (System.Object obj, ConfigNode node, System.Int32 pass, System.Boolean removeAfterUse) [0x0001a] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at PartLoader.ParsePart (UrlDir+UrlConfig urlConfig, ConfigNode node) [0x001a9] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at PartLoader+<CompileParts>d__56.MoveNext () [0x00685] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
    
    [ERR 20:42:39.036] PartCompiler: Cannot compile part

    I fixed that but it doesn't work yet. https://drive.google.com/file/d/1HadcMiuFH73qSSSPXrT0nFN-TVemlv33/view?usp=sharing

  11. 6 hours ago, HebaruSan said:

    Well, here's the next group of messages:

    [LOG 14:01:23.126] PartLoader: Compiling Part 'Space_X_barge_lander-2.0/Parts/droneship/barge/droneship'
    [LOG 14:01:23.281] EffectList: Created 15 effect types
    [WRN 14:01:23.338] PartLoader: Cannot replace model texture with 'Space_X_barge_lander-2.0/Parts/droneship/textures/Barge_Texture'
    [LOG 14:01:23.462] PartLoader: Part 'Space_X_barge_lander-2.0/Parts/droneship/barge/droneship' has no database record. Creating.
    [LOG 14:01:23.463] [DragCubeSystem]: Drag cubes not found or cannot be read for part Part. Generating New drag cubes.
    [LOG 14:01:23.489] DragCubeSystem: Creating drag cubes for part 'droneship'
    

    I'm not sure what that means, or if it's really an error message, since the log levels are WRN and LOG rather than ERR. But if that is an error, then the key part is "Cannot replace model texture", which suggests a problem with the "texture = Barge_Texture.mbm" line. Looking at the configs in GameData/Squad/Parts, they either don't set the texture, or they specify the full relative path from GameData to the file. So maybe try removing it (presumably it defaults in from the .mu file?) or setting it to "Space_X_barge_lander-2.0/Parts/droneship/textures/Barge_Texture" explicitly?

    Another guess, I notice the cfg says Barge_Texture with a capital T, but the file you uploaded to Google Drive is Barge_texture.mbm with a lowercase t. I wouldn't expect that to matter on Windows, which I assume you are using, but there's no harm in making those consistent just in case.

    A third guess, the other lines that I see setting textures don't include the ".mbm" part. So maybe that's confusing it?

    It's also conceivable that it's loading fine, and it might be time for more detail in the problem report than "doesn't work".

    This is getting a bit far afield from things I understand, so you might need to find somebody with more experience in part modding soon.

    I made some changes to the config file based on other mods but it still doesn't work. I've put in this folder the model, textures, the config file, and the log. https://drive.google.com/drive/folders/103bpHKyHoohlhVH1_kRUqz3XiadrJu64?usp=sharing

  12. 24 minutes ago, HebaruSan said:

    For what it's worth, I'm not expecting that any particular one of these fixes will make it work immediately. The things we've fixed so far are necessary but not sufficient. Based on what I've seen, I'm quite sure there are many errors in this config, and I'm not attempting to identify every single one of them in one pass. It's much easier to let the game do that for us.

    Here's the next problem, also found by searching the log for "barge" and scanning for problems:

    [LOG 13:28:02.992] PartLoader: Compiling Part 'Space_X_barge_lander-2.0/Parts/droneship/barge/droneship'
    [LOG 13:28:03.511] EffectList: Created 15 effect types
    [ERR 13:28:03.732] PartLoader: Encountered exception during compilation. System.ArgumentException: Requested value '13s' was not found.
      at System.Enum+EnumResult.SetFailure (System.Enum+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument) [0x00023] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.TryParseEnum (System.Type enumType, System.String value, System.Boolean ignoreCase, System.Enum+EnumResult& parseResult) [0x0017a] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.Parse (System.Type enumType, System.String value, System.Boolean ignoreCase) [0x00010] in <9577ac7a62ef43179789031239ba8798>:0 
      at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
      at ConfigNode.ParseEnum (System.Type enumType, System.String vectorString) [0x00000] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.ReadValue (System.Type fieldType, System.String value) [0x00516] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.ReadObject (System.Object obj, ConfigNode node) [0x00143] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at ConfigNode.LoadObjectFromConfig (System.Object obj, ConfigNode node, System.Int32 pass, System.Boolean removeAfterUse) [0x0001a] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at PartLoader.ParsePart (UrlDir+UrlConfig urlConfig, ConfigNode node) [0x001a9] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
      at PartLoader+<CompileParts>d__56.MoveNext () [0x00685] in <39c0323fb6b449a4aaf3465c00ed3c8d>:0 
    
    [ERR 13:28:03.733] PartCompiler: Cannot compile part

    The key part is "System.ArgumentException: Requested value '13s' was not found", which means somewhere you've got "13s" where it isn't allowed. Looks like that's on the "category" line. I'm guessing you meant that to be 13, and accidentally inserted an 's' when you were trying to save?

    I fixed that but it doesn't work yet. Here's the new log file. Thanks so much for helping me! I'm very new to modding.

    https://drive.google.com/file/d/1HadcMiuFH73qSSSPXrT0nFN-TVemlv33/view?usp=sharing

  13. 16 minutes ago, HebaruSan said:

    Ahh, OK, that makes sense. You have "part" in all lowercase letters, which is why it says "Cannot find Part of type 'part'".

    Capitalize the P.

    Loading KSP now. I will let you know if it works.

    16 minutes ago, HebaruSan said:

    Ahh, OK, that makes sense. You have "part" in all lowercase letters, which is why it says "Cannot find Part of type 'part'".

    Capitalize the P.

    @HebaruSanUnfortunately, it still doesn't work. Here's the log. https://drive.google.com/file/d/1HadcMiuFH73qSSSPXrT0nFN-TVemlv33/view?usp=sharing

  14. 4 minutes ago, HebaruSan said:

    OK, here's the error (about halfway through, found by searching for "barge" and looking for problems):

    [LOG 20:31:14.380] PartLoader: Compiling Part 'Space_X_barge_lander-2.0/Parts/droneship/barge/droneship'
    [ERR 20:31:14.416] PartCompiler: Cannot find Part of type 'part'
    
    [ERR 20:31:14.417] PartCompiler: Error parsing config
    
    [ERR 20:31:14.417] PartCompiler: Cannot compile part

    Normally I'd expect this to mean that you set "type = part" somewhere, but I don't see that. Looking more closely, I'm guessing this isn't right:

        module = Strut
    

    Every part in the GameData/Squad/Parts folder has "module = Part" instead. I'd try that next.

    I saw that before and did that but still didn't work. This log file is from after I already fixed that. Here are the files including the model, textures, and cfg. https://drive.google.com/drive/folders/16vqf0ib5ZrTk0AIDf1jgFkr9zmp7Qn_Q?usp=sharing

  15. 1 hour ago, HebaruSan said:

    Looks like you're missing the "PART { }" syntax, try this:

    PART
    {
        // Kerbal Space Program - Part Config
        // SpaceX Droneship
        //
    
        // --- general parameters ---
        name = barge <-- must be the same as the directory name you use to hold everything!
        module = Strut
        author = Future Astronaut
    
        // --- asset parameters ---
        mesh = droneship.mu
        scale = 0.1
        texture = Barge_Texture.mbm
        specPower = 0.1
        rimFalloff = 3
        alphaCutoff = 0
    
        // --- node definitions --- Placeholders, we’ll fix these next!
        node_stack_top = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0
        node_stack_bottom01 = 0.0, -0.7, 2.5, 0.0, 1.0, 0.0
        node_stack_bottom02 = 0.0, -0.65, -2.5, 0.0, 1.0, 0.0
    
        // --- editor parameters ---s
        cost = 500
        category = 13s
        subcategory = 0
        title = Droneship
        manufacturer = Future Astronaut Corporation
        description = Want to land rockets in the ocean?
    
        // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
        attachRules = 1,0,1,1,0
        stackSymmetry = 1
    
        // --- standard part parameters ---
        mass = 0.4
        dragModelType = default
        maximum_drag = 0.2
        minimum_drag = 0.3
        angularDrag = 2
        crashTolerance = 50
        maxTemp = 2000
        fuelCrossFeed = True
        breakingForce = 160000
        breakingTorque = 160000
    }

    Still doesn't work. https://drive.google.com/drive/folders/16vqf0ib5ZrTk0AIDf1jgFkr9zmp7Qn_Q?usp=sharing

×
×
  • Create New...