Jump to content

Edited CFG copy but in-game name and description didn't change.


Galane

Recommended Posts

Here's an edited CFG to make a no LFO structural version of a MK2 to MK1 adapter. I changed the CFG file name and the internal name and in-game name, and added to the description. The part shows up under structural, reflecting the category change from Propulsion. The cost, mass, and lack of LFO also work correctly.

But the game still calls it "Mk2 to 1.25m Adapter Long" instead of "Mk2 to 1.25m Adapter Long Structural" and isn't displaying the changed description. Older KSP versions, it was enough to just change the three names and description of a copy of the CFG in another location under GameData.

The part functions as changed with the lower mass etc. Is there a part name/description cache that needs refreshed or deleted to force a refresh? Or will I need to make copies of the model and texture under new names and further edit the copy of the CFG? That would remove the memory saving from making new parts by editing the properties of stock parts with new CFG files.

PART
{
    name = Smk2_1m_AdapterLong
    module = Part
    author = Porkjet
    rescaleFactor = 1
    node_stack_top = 0.0, 1.875, 0.0, 0.0, 1.0, 0.0
    node_stack_bottom = 0.0, -1.875, 0.0, 0.0, -1.0, 0.0
    node_attach = 0.0, 0.0, 0.7, 0.0, 0.0, -1.0, 1
    TechRequired = highAltitudeFlight
    entryCost = 17500
    cost = 384
    category = Structural
    subcategory = 0
    title = #autoLOC_500556 //#autoLOC_500556 = Mk2 to 1.25m Adapter Long Structural
    manufacturer = #autoLOC_501624 //#autoLOC_501624 = C7 Aerospace Division
    description = #autoLOC_500557 //#autoLOC_500557 = A generic Mk1 to Mk2 adapter that was left to dry a bit too long and stretched out. Then the fuel and oxidizer tanks fell out. True story. Lighter, cheaper, just as strong. You can trust us.
    attachRules = 1,1,1,1,0
    mass = 0.228
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.3
    angularDrag = 2
    crashTolerance = 50
    breakingForce = 50
    breakingTorque = 50
    maxTemp = 2500 // = 3000
    emissiveConstant = 0.8
    fuelCrossFeed = True
    bulkheadProfiles = size1, srf, mk2
    tags = #autoLOC_500558 //#autoLOC_500558 = aircraft airplane jet mk1 mk2 plane
    MODEL
    {
        model = Squad/Parts/FuelTank/mk2Adapters/long
    }
    MODULE
    {
        name = ModuleLiftingSurface
        useInternalDragModel = False
        deflectionLiftCoeff = 0.6
        dragAtMaxAoA = 0.3
        dragAtMinAoA = 0.1
    }
}

Link to comment
Share on other sites

Your changed title/description are behind // tags that tell the part loader to ignore everything behind them, so all that's loading is the localized title/definition referenced by the #autoLOC string, and since those are unchanged, the game is still grabbing the referenced title and description of the standard Mk2 adapter short. if you don't care about localized names, then simply change the title line to '"title = Mk2 to 1.25m Adapter Long Structural" and the description line to " description = A generic Mk1 to Mk2 adapter that was left to dry a bit too long and stretched out. Then the fuel and oxidizer tanks fell out. True story. Lighter, cheaper, just as strong. You can trust us."

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