Ben1138 / SWBF2Phoenix

A re-implementation of the old Star Wars Battlefront II (2005) game, utilizing the Unity game engine
GNU Affero General Public License v3.0
73 stars 12 forks source link

Implement Map Boundary Check #7

Open Ben1138 opened 2 years ago

Ben1138 commented 2 years ago

Check whether the player “leaves” the map. A Map Boundary is defined as a special path in ZE like this:

grafik

The Zero Editor just allows for oval like convex path shapes. Multiple, overlapping boundaries are possible, like on Hoth:

grafik

Technically, you could also define other shapes by changing the path name inside the .BND world file manually to another path previously defined in ZE. Although I don't know the behaviour of the original game engine when dealing with such shapes, there's probably a reason for the ZE to only allow convex oval shapes.

grafik