nodePrefix / nodeSuffix for slots

Discussion in 'Ideas and Suggestions' started by Dummiesman, Apr 20, 2018.

  1. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,685
    What is it?
    nodeSuffix / nodePrefix would be added to a slot, and automagically append/insert this string to any nodes/beams/etc. in the part.

    Purpose/Example Usage


    On the Cessna L-19, I wanted to add rockets. in order to do this, I had to make 4 separate slots, and 4 separate parts, and had to change 4 sets of node names manually. That's a lot of work just to have a few rockets, and it would create a lot of unnecessary data on disk.

    Currently I'm working with JATO, and want to add multiple. I have 2 options
    -Duplicate the part 8 times, change node names, and slot types
    -Make a combined part, which would still require a lot of node name changing
    EDIT : 1,100+ line jbeam file in the end, opted for 2nd option.

    But what about attachments?
    The parts could be structured as follows, for attaching things:

    • main
      • rockets
        • rocket #1 attachment
          • rocket #1 (a part with nodePrefix "r1_", nodeMove, coreSlot)
        • rocket #2 attachment
          • rocket #2 (a part with nodePrefix "r2_", nodeMove, coreSlot)
    etc.
     
    #1 Dummiesman, Apr 20, 2018
    Last edited: Apr 21, 2018
    • Like Like x 3
    • Agree Agree x 2
  2. MrAngry

    MrAngry
    Expand Collapse

    Joined:
    Sep 5, 2013
    Messages:
    612
    Friendly bump to keep this visible.
     
    • Agree Agree x 2
    • Like Like x 1
  3. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,335
    This sounds very useful, I've had to spend a lot of time renaming nodes. Of course I can just replace them all with notepad++, but I don't really trust it. This feature would indeed make modding faster and easier, and the only drawback I can think of is that it could look confusing to new modders.
     
    • Agree Agree x 1
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice