Modular Stairs

Creating custom modular stairs is as simple as cloning one of the modular stairs in game and then creating a text file or appending your modularstairs.txt file.  

Example of text file:

#HugeLunatic Chic Modular Open Stairs

catalogTextResource HL_ChicStairsMAIN_Open 139

modularStairs 4000
objectID landing     0x00639D13
objectID placeholder 0x00639D12
objectID step        0x00639D14
objectID topStep     0x00639D11
objectID bottomStep  0x00639D0F
catalogTextIndex 0

  • The first line starting with the # is just an information line that the game doesn’t read
  • The next line with catalogTextResource is the line that is required to get your custom stairs in game to have a name and price
  • The remainder are the modular stair number and the GUIDs

 

Creating your text file

The table shows how your GUIDs in your OBJDs are used in the text file. If you want your new stairs to have your custom price/name please start at step 6 in the section below.

Stair GUIDs

 Text File Name
 OBJD Name
 Landing  Hi Stub
 Placeholder      Hi Cutout
 Step  Bridge
 Top Step  Portal
 Bottom Step  Deck End

Creating recolorable stairs

Creating recolorable stairs is the same process as making any other object recolorable, it’s just that you have more resources to change.  A brief overview of what to do with a single subset:

  1. Clone your stair choice.  
  2. Change your meshes as necessary (GMDC)
  3. Get new GUIDs (6 of them)
  4. Add in a MMAT for each subset (6 for a single subset) (I import one from another package then make the changes to the subsetName and name then copy that one)
    1. Import from another package
    2. Change subsetName to your stairs subset name
    3. Change modelname to your stairs cres name including the ##0x1C050000!
    4. Change name to the same filename that your TXMT has
    5. Give each a unique instance
    6. In each one change objectGUID to have one of your GUIDs
    7. In each one use the Hash Generator to get a new GUID for the family string
    8. In each but one change the defaultMaterial to False (one should be True)
    9. In each one change subsetName to your stairs subset name
  5. In GMND add the tsDesignModeEnabled with your subset defined as an array
  6. Add a new Text List (STR#) called Stairs info with an instance number 0x0000008B
    1. 0x000 Stairs price
    2. 0x001 Stair Name
    3. 0x002 Stair Description
  7. Create your text file with your GUIDs (see table above) changing “HL_ChicStairsMAIN_Open” to the package name of your new stairs and selecting a unique number for the “modularstairs 4000”.

For more information and an in depth tutorial on making recolorable subsets, see the one at MTS by Ignorant Bliss.

4 years ago