Modding Tools > Lucas' Simpsons Hit & Run Map Builder > SketchUp Models > Collision Tags > FenceCW / FenceCCW

FenceCW / FenceCCW

This tag is used to create Fences.

These are infinitely high vertical collision that's typically used to keep the player within the bounds of the map.

Usage

To use this group tag, you must first Include any of the following XML files:

  • Zone.xml

Then you must execute any of the following ModelOutputInstructions on the tagged group or a group containing it:

  • BaseZone
    • Recommended.
  • Entities
    • Not recommended.

Syntax

GroupName [FenceCW]
GroupName [FenceCCW]

The two different tags determine the direction the fences are facing.

Group Structure

This tag should be applied to a group that only contains lines.

Examples

This is an example of a group with this tag applied to it:

fence example

Furthermore, the example video below shows lines being drawn counter clockwise to form a complete shape. Afterwards, the face that was created is deleted.

A group containing the lines as drawn would have collision facing outwards with the [Fence] tag and inwards with the [FenceCCW] tag.

Example Video

Other Tags

There are no other other tags that can be used with this tag to configure it further.

Version History

1.0

Initial release.

Donut Team © 2024 · v4.0