Editor 42 grid and Pathmapping/Pathfinding

Help setting up and tips/tutorials for using Editor 42

Editor 42 grid and Pathmapping/Pathfinding

Postby Swaffy » Mon Aug 12, 2013 4:00 am

Here's a picture explaining how to measure the Pathfinding file's pixels in the Editor 42 map editor. Notice how a 2x2 square in Editor 42 makes up one pixel for the Pathfinding file.

This is because when you convert the map's ground texture to a Pathfinding file, the file's size has to be cut in half. So a 2x2 square becomes a 1x1 square (1 pixel). And when a Pathfinding file is converted to a map's ground texture, a pixel becomes a 2x2 square.

Image

It is VERY IMPORTANT to keep this in mind because if on 2x2 square is half white and half black, you won't know if (after converting the textures to a Pathfinding file) the pixel will come out completely black or completely white.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Image
User avatar
Swaffy
 
Posts: 1705
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Return to ED42 (Editor 42) Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest