Cant open my game without the FPS starter kit
by Francis · in Torque Game Engine · 05/20/2007 (3:43 am) · 4 replies
I've run into a bit of a problem which I cannot seem to solve. basically everytime I take the FPS starter kit out of my game folder the game wont load. I looked into the console and I guessed that this was what was causeing the problem:
Could not locate texture: starter.fps/data/shapes/lightingPack/Arrow
Unable to load texture: starter.fps/data/shapes/lightingPack/Arrow for decal!
Could not locate texture: starter.fps/data/shapes/particles/smoke
Connection error: Missing particle texture: starter.fps/data/shapes/particles/smoke.
I have edited alot of the scripts and taken out the links to the FPS starter kit and replaced it with my own, but I cant find the link to this. Does anyone have any idea as to how I how I rectify this? Is it even a problem about the "initialising MOD: Fps starter kit" thing?
Its a little annoying because constantly having the semi useless FPS starter kit there just adds and extra 120MB or so to the file and I'd like to get rid of this and have game run without it.
Any help would be appreciated. Thank you.
Could not locate texture: starter.fps/data/shapes/lightingPack/Arrow
Unable to load texture: starter.fps/data/shapes/lightingPack/Arrow for decal!
Could not locate texture: starter.fps/data/shapes/particles/smoke
Connection error: Missing particle texture: starter.fps/data/shapes/particles/smoke.
I have edited alot of the scripts and taken out the links to the FPS starter kit and replaced it with my own, but I cant find the link to this. Does anyone have any idea as to how I how I rectify this? Is it even a problem about the "initialising MOD: Fps starter kit" thing?
Its a little annoying because constantly having the semi useless FPS starter kit there just adds and extra 120MB or so to the file and I'd like to get rid of this and have game run without it.
Any help would be appreciated. Thank you.
#2
Any script that uses "~" in a path name will automatically start with the mod folder specified in the main, main.cs file.
E.g. "~data/shapes/car.dts" would be read by the engine as "starter.fps/shapes/car.dts" or whatever the $defaultGame variable is specified as in main.cs.
05/20/2007 (4:03 am)
Check your main.cs file located in the same location as your Torque executable. This file stipulates the default mod folder to use. I suspect yours is still set to starter.fps. //----------------------------------------------------------------------------- // Torque Game Engine // Copyright (C) GarageGames.com, Inc. //----------------------------------------------------------------------------- $defaultGame = "starter.fps";
Any script that uses "~" in a path name will automatically start with the mod folder specified in the main, main.cs file.
E.g. "~data/shapes/car.dts" would be read by the engine as "starter.fps/shapes/car.dts" or whatever the $defaultGame variable is specified as in main.cs.
#3
Many thanks!
05/20/2007 (8:17 am)
@Joseph Helm: Bingo! It worked! Thanks so much for the help, I've been trying to sort that out for quite a while now. Many thanks!
#4
Windows search "A word or phrase in the file" really comes in use :)
05/20/2007 (8:35 am)
No problem...Windows search "A word or phrase in the file" really comes in use :)
Associate Joseph Euan
starter.fps\server\scripts\sgExamples.cs