Numenor
1st May 2006, 12:07 PM
WaalMasks are special images, included in every window and door, used by the game to "cut a hole" in the wall. The wallmask must obviously match your custom window, otherwise it will look ugly in your game.
Here is a simple method to create a WallMask matching your custom window; this method is especially useful for oddly-shaped windows, even multi-tiles ones.
Clone a Maxis window (be sure to set ON the option "Pull Wallmasks") and re-mesh it at will.
Start the game and build a 2-storey wall as showed in the screenshots; put your custom window on it (I've used a Maxis one only for teaching purpose):
http://thumbs.modthesims2.com/getimage.php?file=286119&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286119)
Press TAB to switch to first-person camera, zoom in to max pressing Z, and position the camera exactly at the center of the window; take a screenshot by hitting C:
http://thumbs.modthesims2.com/getimage.php?file=286118&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286118)
Open your screenshot in a paint program and crop the image along the borders of one wall section (include the whole wall section, and only one section):
http://thumbs.modthesims2.com/getimage.php?file=286117&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286117)
Resize the cropped image to 256x128 pixels;
Following the picture as a guideline, select the part that should be transparent and paint it in pure black; al the remaining part of the image (the solid part) must be painted in pure white:
http://thumbs.modthesims2.com/getimage.php?file=286116&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286116)
Save the image, open SimPE, select the corresponding wallmask image, right click on it and select "Import Alpha" (not just "Import"!); load your image: you should see your new shape in the preview.
Right-click again on the image, choose "Update all sizes".
Commit and save.
repeat for every other wallmask in the package.
----------
Tutorials:Creating_a_suitable_WallMask_for_your_custom_windows_and_doors
Here is a simple method to create a WallMask matching your custom window; this method is especially useful for oddly-shaped windows, even multi-tiles ones.
Clone a Maxis window (be sure to set ON the option "Pull Wallmasks") and re-mesh it at will.
Start the game and build a 2-storey wall as showed in the screenshots; put your custom window on it (I've used a Maxis one only for teaching purpose):
http://thumbs.modthesims2.com/getimage.php?file=286119&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286119)
Press TAB to switch to first-person camera, zoom in to max pressing Z, and position the camera exactly at the center of the window; take a screenshot by hitting C:
http://thumbs.modthesims2.com/getimage.php?file=286118&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286118)
Open your screenshot in a paint program and crop the image along the borders of one wall section (include the whole wall section, and only one section):
http://thumbs.modthesims2.com/getimage.php?file=286117&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286117)
Resize the cropped image to 256x128 pixels;
Following the picture as a guideline, select the part that should be transparent and paint it in pure black; al the remaining part of the image (the solid part) must be painted in pure white:
http://thumbs.modthesims2.com/getimage.php?file=286116&thumbs=1 (http://thumbs.modthesims2.com/getimage.php?file=286116)
Save the image, open SimPE, select the corresponding wallmask image, right click on it and select "Import Alpha" (not just "Import"!); load your image: you should see your new shape in the preview.
Right-click again on the image, choose "Update all sizes".
Commit and save.
repeat for every other wallmask in the package.
----------
Tutorials:Creating_a_suitable_WallMask_for_your_custom_windows_and_doors