#Explosive Traps and Hanging Cans

11 messages · Page 1 of 1 (latest)

cursive coral
#

This short tutorial will teach you were to find the basic traps of the game to place them in your level, and how to use them.

#

Hanging Cans

#

1) You will find the Hanging Cans under Entities/prefabs/traps/trap_hang_cans

#

2) You can also add some pre-made decor to your can for a more distinctive look.

  • Just go to the Properties window and select a model for one of the available Objects.
  • There will be only one model available to select for each object.
  • Click "OK" to confirm your selection
  • You now have some extra decoration on your hanging cans trap!
#

Dynamite

#

1) To place a Dynamite trap, you must first place a group

  • Go to Entities/General/group or hold G and click on any surface in your scene.
#

2) In the Properties window, go to Group/Reference

  • Select traps/trap_grenade or traps/trap_grenade2
#

3) To change the length of the rope, you have to change 3 values.

  • The Restrictor (Object 0): Acts as the invisible collision box that will trigger the trap.
  • restrictor_size: Only edit the second value (Y). Make sure that it's just the right size to capture the whole length of the rope.
  • restrictor_shape: Only edit the second value (Y). Has to be the same value as restrictor_size so that the restrictor is correctly placed on the trap.
  • The Rope (Obect 1): The visual representation of the rope.
  • rope_scale_x: Only edit the first value (X). It will stretch or shorten the model to fit your needs but make sure to keep it at a reasonable value to avoid strange noticeable distortion in the model.
#

Jerrycan

#

1) Repeat the step 1) or Dynamite to place a group on your level.

  • In the Properties window, go to Group/Reference
  • Select traps/trap_jerrycan_1_1
#

Final tip: Make sure to keep both Dynamite and Jerrycan traps on the ground since the rope physic is not real and cutting/triggering the trap will result in an unexpected floating rope.