PivityGmodStore

Configuring materials that the shovel accepts

By default I have tried to make it so most maps grass areas can be used to dig holes in.

However, you might stumble across maps or areas where you can't dig, even if you want that for your specific server.

If that is the case, then you can do the following the add a new material to the accepted digging list. Follow these steps:

  1. Equip a shovel as an admin
  2. Aim at the ground/material that you'd like to add to the list of accepted materials.
  3. Press your 'Reload' button.


Now it should print into the chat something like:

AJACKS/AJACKS_10
67

The first is the specific texture used and the second is the material type. Many different textures have the same material type.

Now find the config tables CH_Farming.Config.GrassMaterials and CH_Farming.Config.MaterialTypes

If you wish to add the specific material, you will put it in CH_Farming.Config.GrassMaterials

If you want to add the material type, then you can most likely find the number already in the CH_Farming.Config.MaterialTypes table and just replace the false with true

**displacement** - ???

**displacement**
68

If the first thing that is printed is **displacement** then you have to whitelist the MaterialType (the number) if you want to dig on that surface.

Can't find what you're looking for?

Contact support