IMPORTANT EDIT
The original download .zip file had an incorrectly exported .x file which worked in test games, but caused built games to crash. This has now been fixed, and a new, renamed .zip file uploaded. Sorry for the inconvenience, and thanks to Higgins for telling me about the crash. More details about what caused the problem can be found further down this thread, which might be useful to anyone exporting animated .x files from Milkshape.
However, you'll need to do some segment editing to get it to work, so this might not be ideal for beginners.
Normally, you can't put openings into floor segments because they're set to be CSG immune by default (CSG = constructive solid geometry, the technique that FPSC uses for knocking holes in walls). This is to stop door punch CSG calculations from taking a chunk out of the floor as well as putting a door-shaped hole in the wall.
To use the trapdoor you'll need to do a bit of planning, and a bit of segment editing.
The simplest way is to modify a single floor segment. I used the 'Stone' floor segment located in 'WW2/platforms'.
Open 'Stone.fps' with a text editor. The line you need to change is this one;
csgimmune0 = 1
Change the value from 1 to 0 and FPSC can now perform CSG operations on the segment.
Save this modified files as 'Stone CSG.fps'
Launch FPSC and lay a floor of regular 'Stone' segments. Place the trapdoor segment, test the game and see that the trapdoor hasn't punched a hole in the floor.
Go back to the editor, delete the 'Stone' segment under the trapdoor and replace it with your newly created 'Stone CSG' segment. Test again and voila, now your trapdoor opens to reveal a hole in the floor.
The zip file contains full folder path info. For easy installation, just extract all the files to the root of the hard drive on which you have FPSC installed. WinZip will do the rest (assuming you have FPSC installed at the default location).
As with anything I put up here, it's free for use in commercial projects. Just don't redistribute the mesh and/or texture separately.
Cheers
- Graham