How to make a (multitextured) entity for FPSCreator with Sketchup
a mini tutorial by daarboven
This is my first tutorial so bear with me if i don't make myself perfectly clear
For this tutorial you will need:
-GoogleSketchup (which is pretty obvious if you look at the title of this tute)
-the xporter plugin for sketchup, grab it here for free:
http://edecadoudal.googlepages.com/xExporter.rb
and put it in your Sketchup plugins directory.
Thus prepared, let's get our hands dirty (ok, just the tips
)
1)making a simple model (with multiple textures)
Fire up sketchup and make a box. refer to the manual if you don't know how to do this or get a copy of sketchup for dummies(highly recommended and a nice read). Texture the faces of the box with the bucket (use images, NOT colours!), results should look something like this:
Now goto plugins>DirectX>Export Model...
and export to a folder of your choice
the textures will be saved to this folder along with the .x file.
2)setting up the model (and tailoring an .fpe file to our needs)
Now lets close Sketchup and move to our entitybank folder in the fpsc filestructure.
Create a new folder under entitybank and move all files from your sketchup export here.
Now copy over an .fpe file and change the following lines:
desc = [your file description goes here without brackets]
model = [your .x filename goes here without brackets]
defaultstatic = [must be 0 to make your entity dynamic by default]
textured = [leave absolutely blank!]
so our example multibox.fpe reads like this:
;made for daarbovens tutorial
desc = Multitextured box
;ai
aiinit = appear1.fpi
aimain = default.fpi
aidestroy = disappear1.fpi
;spawn
spawnmax = 0
spawndelay = 0
spawnqty = 0
;orientation
model = multibox.x
offx = 0
offy = 0
offz = 0
rotx = 0
roty = 0
rotz = 0
fixnewy = 0
defaultstatic = 0
materialindex = 0
collisionmode = 0
strength = 0
isimmobile = 1
soundset =
soundset1 =
;visualinfo
textured =
effect =
castshadow = 1
;Animationinfo
animmax = 0
anim0 = 0,0
if you want a nice icon instead of the brain-in-a-glass, make a 64x64 .bmp and save it under the name of your entity in the said folder.
3) Let's play!
Run FPSCreator and create a quick test scene. Grab your entity from the entity folder and put it on stage.
Voila, you just made a multitextured entity from scratch!
Now go and create something beautiful...
best regards
Daarboven
*ps: the correct segment scale for the export plugin is 254cm=1 segment width.
I am Jacks complete lack of surprise.