Game Development Community

RC2 texture bug and a long term fix suggestion

by David Dougher · in Torque Game Engine · 09/14/2005 (4:35 pm) · 1 replies

Just finished getting the latest RC2 from CVS compiled without a problem and ran the executable. Went to the option to call the editor and it created a new game world - except there were no textures! A check reveals that all the textures are expected to come from fps/data/terrains/grassland.

How about if we make that path a global variable and set it in the beginning of each main.cs file?

so you would have

$pref::terrainTexurePath = "starter.fps/data/terrains/grassland" in the main.cs of /starter.fps

and

$pref::terrainTexturePath = "tutorial.racing/data/highplains" in the main.cs of /tutorial.racing.


Oh yes, and tutorial.base which the editor points to as the default - has no terrain textures at all.

About the author

Owner - Pariah Games, Adjunct Professor - Bristol Community College, Mentor - Game Design - Met School Newport, Mentor - Game Design - Met School Providence


#1
09/17/2005 (8:49 pm)
Wouldn't it be better to just assign some textures once you've made a terrain? :) There's really no defaults we can do that are going to work in all cases, so it seems better for the user to just load some up.