Basics of Tricks

From OuroDev

Tricks Basics

Tricks are regular .txt files that you can create using notepad. You will only need to use tricks if you plan on having more textures than _B and _CM, like if you’d want to have a normal map or emissive parts.

  • Open the notepad and type in the following at the top.
  • Texture X_Costume_Tex
  • Replace “Costume” with whatever you want, preferably something relating to the costume you are making the trick for. Remember that name because it will be referenced in the ctm entries.
  • Remember that trick names must be unique across the entire game, so X_MyName_Shirt_Tex is better than X_Shirt_Tex since more than one person might make a shirt
  • The next few lines will be our tricks. Here’s an example of how I set up a simple diffuse, color map, and normal map trick.
Texture X_3dGlasses_Tex
    Base1 GEO_Head_3DGlasses_B
    DualColor1 GEO_Head_3DGlasses_CM
    BumpMap1 GEO_Head_3DGlasses_NM
End
  • Base1 is for _B textures (Base texture) It should reference the name of your _B texture file.
  • DualColor1 is for _CM textures (Color map) It should reference the name of your _CM texture file.
  • BumpMap1 is for _NM textures (Normal Map)It should reference the name of your _NM texture file.

When you are done save the txt file into the destination i2401-bin-server\bin\serverdata\tricks

You can make subfolders within the tricks folder to keep things organized. I usually name my tricks “Costume_Tex.txt”

You can also put multiple trick entries within the same trick text file.

For instance it would look like

Texture X_3dGlasses_Tex
    Base1 GEO_Head_3DGlasses_B
    DualColor1 GEO_Head_3DGlasses_CM
    BumpMap1 GEO_Head_3DGlasses_NM
End
Texture X_4dGlasses_Tex
    Base1 GEO_Head_4DGlasses_B
    DualColor1 GEO_Head_4DGlasses_CM
    BumpMap1 GEO_Head_4DGlasses_NM
End

This is useful for saving clutter if you have multiple versions of the same model, or if you want to keep everything in one nice and tidy pack.