1
0
mirror of synced 2024-11-13 18:50:50 +01:00
2 Adding or Editing KCL Material ID Presets
KillzXGaming edited this page 2020-01-26 20:02:43 -05:00

KCL collision files use material IDs to apply certain effects to the model of the collision. This can be lava, water, road, particle effects, sounds, and alot more varied options. These IDs are done per game and must be determined by testing out what numbers cause what in game.

Each game has their own set of presets. You can add additional games by making a new .json file located in the "KclMaterialPresets" folder.

A very simple base for this file can be copied here

{
  "GameTitle": "ANewGame",
  "PrismThickness": 30.0,
  "SphereRadius": 25.0,
  "Comments": "",
  "MaterialPresets": {
  }
}

The settings for PrismThickness and SphereRadius can be ignored. These are only necessary for specific games. The GameTitle is what the title of the game you are editing. This will show up in the preset tab.

To add a material entry simply format like this.

"NumberID": "EffectHere",

Example: