Jump to content

[1.11 - 1.3] Community Parts Titles (2021-03-05)


Recommended Posts

What if all parts were named with useful grouping and sorting, just like TD-Decouplers?
TD-06, TD-12, TD-25, TD-37 aren't just placed together in the list, but also sorted from the smallest to the largest.
This is what the mod is trying to do.

The mod is intended and has been tested for the English version of the game.


Q: How this mod works?
A: It is a localization .cfg-files and MM-patches (for mods without localization support).

Q: Does it support mods parts? I use <mod> and want rename some parts.
A: Yes, PR for other mods are welcomed

Q: What changes to other parts (stock or mods) considered appropriate in this mod?
A: ↓

Parts [Re]Name Convention

  1. All in-universe part nicknames (ex. Jumbo, Thumper, R.A.P.I.E.R.) should not be changed.
  2. Part names should be changed as small as possible.
  3. Parts from same group should be placed together.
  4. Parts from the similar groups should be placed nearby.
  5. Parts should be sorted from small to large within their group
  6. Some additional part information can be placed in the name.
  7. Introduced by Squad, 2-digits sizes should be used:
    06, 12, 18, 25, 37=S3, 50=S4, Mk0, Mk1, Mk2, Mk3, 03, 75=S5, A0=S6 (10.0m)
  8. Parts from Stockalike mods usually can be placed within already existing stock groups (they are 'Stockalike' after all)
  9. Parts can create their own parts groups, but still need to be sorted properly

 


Examples (Used and Recommended Techniques)

  • Prepending zeros and numbers for sorting and group placing
    (placing 2.5m Tanks between 1.8m tanks and 3.75 Tanks, sorting 8 → 16 → 32 → Jumbo):

            FX-08 Rockomax Fuel Tank                   // Rockomax X200-8 Fuel Tank
            FX-32 Rockomax Fuel Tank                   // Rockomax X200-32 Fuel Tank
            FX-64 Rockomax "Jumbo" Fuel Tank   // Rockomax Jumbo-64 Fuel Tank

  • Using 2-digits sizes for Adapters or other parts
    (AA-BB for adapter from AA to BB, filled AA-BB tank placed between AA and BB)

            FL-TW0160 Adapter 06-18                     // FL-A150 Fuel Tank Adapter
            FL-R06-20 RCS Fuel Tank                       // FL-R10 RCS Fuel Tank
            RC-25 Remote Guidance Unit                // RC-L01 Remote Guidance Unit

  • More complex Adapters (AAxM+BBxN-CCxK+DDxL)  (AA-BB|CC)

            Adapter 12-12x3 (Tri-Coupler)                 // TVR-1180C Mk1 Stack Tri-Coupler
            Adapter 25-12x4 (Quad-Adapter)            // TVR-400L Stack Quad-Adapter
            Mk2-12+06x2 (Tri-Coupler)                      // Mk2 Tricoupler                     // Mk2 Expansion mod
         
  Adapter 37-12|25 Adaptive (SpaceY)     // SpaceY A3-12 Adaptive Structure  // SpaceY mod

  • Some part-info for sorting (Solid Fuel mass):

            SRB-12-01 "Flea" Solid Fuel Booster           // RT-5 "Flea" Solid Fuel Booster
            SRB-12-20 "Kickback" Solid Fuel Booster  // S1 SRB-KD25k "Kickback" Solid Fuel Booster
            SRB-25-158 Super Heavy 29m (SpaceY)   // SpaceY S229 Super Heavy Lift SRB

  • Adjectives modificators in the end for sorting and grouping

            UH-15 Holding Tank (Large)                  // Large Holding Tank
            
UH-03 Holding Tank (Small)                  // Small Holding Tank
            Scanning Arm 'CRSY' (Light)                 // CRSY Scanning Arm
            Scanning Arm 'K-SPRT' (Medium)        // SPRT Medium Scanning Arm
            Scanning Arm 'OP-E' (Large)                 // OP-E Scanning Arm

  • For sorting: A - shorter, B - short, C - normal, D -long, E - longer

            Mk3 Liquid Fuel Fuselage-B (Short)       // Mk3 Liquid Fuel Fuselage Short
            Mk3 Liquid Fuel Fuselage-C                    // Mk3 Liquid Fuel Fuselage
            Mk3 Liquid Fuel Fuselage-D (Long)       // Mk3 Liquid Fuel Fuselage Long

  •  Jr. < Mr. < Sr. < XL < XXL <  ...

            Clamp-O-Tron Docking Port Jr.                      // Clamp-O-Tron Docking Port Jr.
            Clamp-O-Tron Docking Port Mr.                    // Clamp-O-Tron Docking Port
            Clamp-O-Tron Docking Port (Mr, Shielded) // Clamp-O-Tron Shielded Docking Port

  • Wings Restructured

            Wing Connector Type B (2x1)                     // Wing Connector Type B
           
Wing Structural Type D (2x0.5)                   // Structural Wing Type C
            Wing Structural Type E (0.5x2)                   // Wing Strake
            Wing's Elevon Type 2                                   // Elevon 2
            XL Big-S Spaceplane Tail Fin                      // Big-S Spaceplane Tail Fin
            XL FAT-455 Aeroplane Control Surface    // FAT-455 Aeroplane Control Surface

  • Comm Level to antennas

            C1 Communotron 16-S                               // Communotron 16-S
            C5 Communotron 88-88                             // Communotron 88-88

 

Convention names are included for

  • Stock (+2DLC)
  • Near Future (all 8) + Cryo Engine/Tanks, Kerbal Atomic, Heat Control 
    ReStock+ 1.3.1, Station Parts Expansion Redux, FFT
  • 0.2.x
    KISKAS, KAX, kOS 1.2.1, TAC LS 
    Airplane Plus 25.0, Mk2-Expansion, OpenCockpit 1.3.0
    SpaceY, Fuel Tank Plus, Planetary Base Inc, Kerbal Foundries
    Missing History 1.9.2, Surface Experiment Pack, Tarsier Space Technology
    JX2Antenna, MSP3000, UnmannedBeforeManned, DecouplerShroud
  • 0.3.x
    Universal Storage II 1.8.1.11, RLA Reborn, SCANsat 20.1, Mandatory RCS Part Pack
    BetterSRBs, Dock Rotate, PicoPort, GlassThings, PWB Fuel Balancer Restored
    Kerbonov Kn-2, Mk1PrototypeCockpit
  • 0.4.x
    Snacks, Recycled Parts: Atomic Age 0.1.7, Dmagic Orbital Science,
    Interkosmos, Solid Fuel Cell, Internal RCS, UnKerballed Start, ProbesBeforeCrew
  • 0.5.x
    TransparentPods 1.2.3.3, SmartParts 1.9.16
  • 0.6.x
    Missing Robotics 1.0, KSP Secondary Motion 0.1.1, Wyvern 5 Capsule 0.5, Kiwi Tech Tree 1.4.0
  • 0.7.x
    FarFutureTechnologies 1.0.1, SystemHeat 0.3.7, Kerbal Reusability Expansion 2.9.1  
     

Extras

Also, in the archive (github or spacedock), there is Extras/ with patches, what go further than parts renaming — it can place part to an other category.
Now there are 5 patches (works if there is CommunityCategoryKit):

  • KAS&KIS into one cck-eva category,
  • filling cck-light
  • new cck-universal-storage (if there is UniversalStorage2)
  • hiding NFLV CCK-category in simple view 
  • hiding all cck-parts from the stock categories (they already in the cck-categories)

Hiding cck-parts clears categories, but has a flaw — it makes cck-parts unsearchable.
Active users of the search panel could fix that by removing category_hide_cck_parts.cfg patch.

CKAN

On СKAN you can find 3 items. Extras is highly recommended.
Reinstall CPT, for getting a window with the supported mods

  • Community Parts Titles — the mod itself without the Extra/ folder
  • Community Parts Titles Extras: Category  all patches except the last one from the Extras/ folder
  • Community Parts Titles Extras: CCK - No Duplicates  the last patch from the Extras/ folder

 

Depends

  • Module Manager

Recommends

  • Community Category Kit

 

Download:

Releases page: https://github.com/yalov/CommunityPartsTitles/releases

Link-ChangeLog-blue.svg   Link-Spacedock-blue.svg

CKAN-Indexed-green.svg  speedunitannex.svg?maxAge=3600&label=Lic   CommunityPartsTitles.svg?label=Version&c   total.svg?logo=github

 

Edited by flart
Link to post
Share on other sites

 @sarbian @blowfish Is it possible to use something like this in MM?

[Localization]:NEEDS[FuelTanksPlus] // prepend zero only if it necessary (because FL-T1200)
{
  en-us
  {
    #autoLOC_500526 = FL-T0100 Fuel Tank   // FL-T100 Fuel Tank
    #autoLOC_500529 = FL-T0200 Fuel Tank   // FL-T200 Fuel Tank
    #autoLOC_500532 = FL-T0400 Fuel Tank   // FL-T400 Fuel Tank
    #autoLOC_500535 = FL-T0800 Fuel Tank   // FL-T800 Fuel Tank
  }
}
Link to post
Share on other sites
2 hours ago, Beetlecat said:

tons of mod-added content

for hard-moded 150+ mod game it still impossible to sort them all and no-one can do that, but add some order to stock + few popular mods — it can be done.

Alpha is already ready to use, and I need some feedback for moving to Beta

 

Edited by flart
Link to post
Share on other sites
27 minutes ago, flart said:

 @sarbian @blowfish Is it possible to use something like this in MM?

[Localization]:NEEDS[FuelTanksPlus] // prepend zero only if it necessary (because FL-T1200)
{
  en-us
  {
    #autoLOC_500526 = FL-T0100 Fuel Tank   // FL-T100 Fuel Tank
    #autoLOC_500529 = FL-T0200 Fuel Tank   // FL-T200 Fuel Tank
    #autoLOC_500532 = FL-T0400 Fuel Tank   // FL-T400 Fuel Tank
    #autoLOC_500535 = FL-T0800 Fuel Tank   // FL-T800 Fuel Tank
  }
}

Not currently possible.  KSP localizes the entire game database before MM even runs.  I think MM would have to reload every .cfg from files with localization explicitly turned off, then patch, then re-initialize KSP's localization, then re-localize the entire game database.  It might be feasible, but I don't currently have a sense of what the loading time impact would be for installs with a lot of mods.

Link to post
Share on other sites

@NecroBones Could you run LocalizationTool for your mods (FTPSpaceY, etc) ?

Then I will include titles here, using Parts [Re]Name Convention (see OP)

After that you can send people  wishing to translate your mods to Community Parts Titles mod. Their translations will be welcomed. 

P. S. Although it is not

Quote

a mod for players to use, that adds localization to all of the other popular mods.

but something similar. (the localization needs to satisfy the Convention)

Edited by flart
Link to post
Share on other sites

Alpha-3

           Convention names for

  • Kerbal Atomic
  • Cryo Engine
  • Cryo Tanks
  • Heat Control
  • NF Solar
  • NF Electrical

 

Also was trying a patch for mods without localization... something like this can be used for few parts...

// Little Brother Surveillance Camera
@PART[dmReconSmall]:NEEDS[DMagicOrbitalScience] { @title = Surveillance Camera "Little Brother"    } 
// Big Brother Stereo Surveillance Camera
@PART[dmReconLarge]:NEEDS[DMagicOrbitalScience] { @title = Surveillance Stereo-Camera "Big Brother"} 

 

Alpha-4

 Convention names for

  •     KIS 
  •     Mk2-Expansion (engines) 
  •     NF Launch Vehicles 
  •     NF Propulsion 
  •     NF Spacecraft 
  •     Surface Experiment Pack 
  •     Tarsier Space Technology

 

Edited by flart
Link to post
Share on other sites
  • 1 month later...
  • 2 months later...

I love this idea. I have always hated searching through the tanks or engines trying to remember which parts were which size, cause there was no consistent naming convention, and it only got worse if you used mods..

 

Hmm how about doing the KW Rocketry mod.

 

 

Link to post
Share on other sites

New in the last Beta-5 (since Beta-2)

  • Added on CKAN
  • Added on SpaceDock
  • new:
    • JX2Antenna
    • Airplane Plus
    • Missing History
  • updates:
    • SRBs, Battery, S3-Engines, Antennas, OpenCockpit

 

-----------------------------------------------------------------------

@BlackHat I personally don't use KW, because SpaceY + FuelTankPlus mostly overlap it.

if you want to make this for KW, start with making localization support and committing to KW repo. Then making convention-ization will get easier.

Edited by flart
Link to post
Share on other sites
  • 1 month later...
  • 3 weeks later...

@flart

MM error:

[ModuleManager] Error - node name does not have balanced brackets (or a space - if so replace with ?):
002_CommunityPartsTitles/localization/en-us_patch_kOS/@PART[Cherry

In GameData\002_CommunityPartsTitles\localization\en-us_patch_kOS.cfg
replace in line 9

@PART[Cherry Light]:NEEDS[kOS]:FINAL    { @title = Illuminator (Cherry)                 }  // Cherry Light

with

@PART[Cherry?Light]:NEEDS[kOS]:FINAL    { @title = Illuminator (Cherry)                 }  // Cherry Light

 

Link to post
Share on other sites
  • 2 weeks later...
50 minutes ago, AccidentalDisassembly said:

a curly brace or two is either missing or extra

thanks, fixed in the 0.2.10.1.
Looks like they was in that way from the beginning :)

Edited by flart
Link to post
Share on other sites
  • 2 weeks later...

Version 0.3.0

  • New: 
    • NF-Construction
    • KAS (1.0 & Legacy)
  • Updates: 
    • Engines
    • Girder segments
    • MM v3.1.0
  • Extras\ with patches, what can move parts to other category:
    • KAS&KIS in the one cck-EVA category
    • cck-parts don't appear in the stock categories
Edited by flart
Link to post
Share on other sites
  • 1 month later...

Version 0.3.3

  • new:
    • BetterSRBs
    • Kerbonov Kn-2
  • updates:
    • NF-Spacecraft v1
    • Missing History
    • tanks
    • engines
    • MM v3.1.2

Version 0.3.4

  • update for the ksp 1.6
    uncompatible with ksp 1.3-1.5, because the Adapter 25-37 Kerbodyne Brand is in the tanks now,
    so it should have a new title — Kerbodyne S2-S3 Adapter Tank
    but it share the same #autoloc with the previous version.

     
    Spoiler

    Also moved part failed this perfection for stock parts :/

    hkfNb2R.png

     

Edited by flart
Link to post
Share on other sites
11 minutes ago, flart said:

Version 0.3.3

  • new:
    • BetterSRBs
    • Kerbonov Kn-2
  • updates:
    • NF-Spacecraft v1
    • Missing History
    • tanks
    • engines
    • MM v3.1.2

Version 0.3.4

  • update for the ksp 1.6
    uncompatible with ksp 1.3-1.5, because since ksp 1.6.0 the Adapter 25-37 Kerbodyne Brand is in the tanks,
    so it should have a new title — Kerbodyne S2-S3 Adapter Tank
    but it share the same #autoloc with the previous version.

     

I got caught by the adapter too!

I'd suggest that you keep compatibility by giving it a new title as you suggested. I think that some people may want to keep the old hollow adapter (looking at dasValdez).

Thanks for the update though!  While setting up for 1.6 initially I missed how these did the placement.

Peace.

Link to post
Share on other sites
3 minutes ago, theJesuit said:

I'd suggest that you keep compatibility by giving it a new title as you suggested. I think that some people may want to keep the old hollow adapter (looking at dasValdez).

Thanks for the update though!  While setting up for 1.6 initially I missed how these did the placement.

"Uncompatible" in the quotes, because how mod with just localization and patches can be incompatible? :)
but still, if I will make the last version 0.3.4 as ksp1.3-1.6, then people with ksp1.3-1.5 will get wrong name for the part.
if someone want to unhide old part in 1.6, then they will get wrong name in one case, tank or structural, whatever version they used, 0.3.3 or 0.3.4, because parts share the same #autoloc 

Link to post
Share on other sites

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