Hi all
I've been having some rather frustrating problems whilst trying to create
my own custom segments, i.e. the dreaded illegal/invalid mesh error when
trying to test a map with my custom segment in.
I'm well aware of the importance of correct file locations so I went
through the following experiments to try and find a solution to my problem.
Please bear with me on this as I've tried to make this as detailed but
clear as I can as I really need an answer on this:-
1) I took one of the supplied segment files "Chateau Study Room Full"
and copied it to ...segments/user
2) I deleted the BIN and DBO files then renamed the FPS and BMP files
to "bungalow" for ease of identification.
3) At this point I tried placing the segment "bungalow" in my map. It
worked fine but was obviously still pointing to the supplied .x files
in meshbank\ww2... etc.
4) I copied the first .x file referenced in bungalow.fps (floor_a.x)
from meshbank\ww2... into meshbank\user and changed the path in the FPS
file to reflect this.
5) After deleting the DBO and BIN files again I opened FPSCreator and
tried inserting the bungalow segment and testing the game. This time
I got the invalid mesh error.
6) I changed bungalow.fps to point back to floor_a.x in meshbank\ww2,
deleted BIN and DBO, reinserted the segment in my map and tested the game.
Worked fine again!
7) So, in the interests of science, I took an .x file that I had created
in Gamespace and moved it into meshbank\ww2... and modified bungalow.fps
to point to this .x file.
8) Loaded the segment into FPSCreator and tested the map and it worked fine.
So, as you can see, it just didn't seem to be able to find any .x files
that weren't in meshbank\ww2...
As a further experiment (remembering that bungalow.fps is in segments\user)
I copied all the textures referenced in the FPS file to texturebank\user
and all the .x files referenced to meshbank\user and changed the paths in
bungalow.fps so that basically everything was in the "user" folder of
the meshbank, texturebank or segments directories.
When I tried this segment in my map I just got the same mesh error again
as though it couldn't see the .x files.
Can anybody offer any thoughts on this? It's been driving me mad for 2 days
now and until I get to the bottom of this I cannot use any custom segments
and therefore make progress with my game.
I've successfully created custom floor segments which reference .x files
and textures in the user folders so I am aware of the basics of getting
segments in but just don't seem to have any joy with room segments.
I know that some people have created custom segments, I downloaded the
highrise segments to see how they wee done, but those are still
referencing the supplied .x files in the meshbank\scifi... folder and are
merely using different textures rather than using new .x files. Not that
I'm putting them down in anyway, it's just that I have already successfully
changed the textures in segments and am now trying to take it a stage
further.
Thanks in advance for your help and sorry for the length of this post but
I figured that the more info I can give you, the better help you will
hopefully be able to give me
Best Regards
Jason