Game Development Community

A newb needing help with directories

by Francis · in Torque Game Engine · 03/21/2007 (6:34 am) · 1 replies

Ok, so a few days ago I deleted all the useles stuff from the "example" folder I had copied and then edited to create my game in. However my game still looks in the FPS starter kit for textures, particles etc. So while thats still there I have to keep the fps starter kit files in my folder where all they do is take up space.

I find it strange because it seems to load half the stuff from my game folder and the other half from the FPs folder.

How do I go about changing the directories the engne looks in for these things?

#1
03/21/2007 (7:01 am)
Make sure the paths are correct in your scripts and that they're using relative paths.

example: "~/data/shapes/player/player.png"

Terrain textures get hard coded into the terrain file. To change that just reassign the correct texture in the editor and save the file. I believe there may be a resource floating around to change that to use relative paths also.