Eliminating the need for starter.fps
by Weston Elliott · in Torque Game Engine · 04/27/2007 (5:06 pm) · 11 replies
Hello. I am making a game using the FPS Starter Kit. Whenever I rename the starter.fps folder to the name of my game and I try to start a mission in the game I get an error that says "Missing particle texture "starter.fps/data/shapes/particles/smoke". How can I change the name of the starter.fps folder without getting these errors? What files contain this info?
Also, is there a way to eliminate the need for the common folder?
Also, is there a way to eliminate the need for the common folder?
#2
This tells the engine to start from the mod folder and will save you a lot of time.
04/27/2007 (7:12 pm)
When using paths use "~" in place of starter.fps (or whatever your mod folder is named.)This tells the engine to start from the mod folder and will save you a lot of time.
#3
04/27/2007 (8:13 pm)
Alright, I changed the path of the file it says is missing in Game/server/scripts/chimneyfire.cs to ~/data/shapes/particles/smoke and I am still getting the same error message...
#4
E.g. ensure whatever you renamed the starter.fps folder to is defined as the $defaultGame variable:
This is in the root main.cs
04/27/2007 (8:38 pm)
Did you change the name of your mod folder in script?E.g. ensure whatever you renamed the starter.fps folder to is defined as the $defaultGame variable:
This is in the root main.cs
$defaultGame = "starter.fps";
#5
" hunting/data/shapes/particles/smoke ". This is what I call a hard code path and some of them will not work unless you keep the hard code path. If you replace this path " starter.fps/data/shapes/particles/smoke " with " ~/data/shapes/particles/smoke " it will not work in all case, least that way it was when I change it for my game.
04/27/2007 (8:51 pm)
Anywhere you see " starter.fps/data/shapes/particles/smoke " you need to change it to your game folder" hunting/data/shapes/particles/smoke ". This is what I call a hard code path and some of them will not work unless you keep the hard code path. If you replace this path " starter.fps/data/shapes/particles/smoke " with " ~/data/shapes/particles/smoke " it will not work in all case, least that way it was when I change it for my game.
#6
04/28/2007 (10:57 am)
Alright, now I changed the path of the file it says is missing in GameName/server/scripts/chimneyfire.cs to GameName/data/shapes/particles/smoke and I am Still getting the same error message....
#7
grep -r starter.fps * GameName
From Windows, you can search the GameName directory for "starter.fps".
Anyplace it turns up, you'll have to go in and edit that file.
04/28/2007 (12:33 pm)
If it's still telling you that it can't find "starter.fps/something_or_other", then something in your GameName directory is still pointing at it. If you have a Un*x-like shell, like MSYS, you can typegrep -r starter.fps * GameName
From Windows, you can search the GameName directory for "starter.fps".
Anyplace it turns up, you'll have to go in and edit that file.
#8
go to GameName\server\scripts\
and go to sgExamples.cs
There's your problem (if it really is the same as mine)
replace "starter.fps" with "~" and you should be fine.
05/22/2007 (6:40 pm)
I had this problem for a while yesterdaygo to GameName\server\scripts\
and go to sgExamples.cs
There's your problem (if it really is the same as mine)
replace "starter.fps" with "~" and you should be fine.
#9
Tony
ps. Its easier just to keep the name "starter.fps"
05/27/2007 (6:09 am)
There are usually many .cs files that you have to go into and make the change. Whenever I change the name of my game folder I have to go into every single .cs file and look for the path to change.Tony
ps. Its easier just to keep the name "starter.fps"
#10
In particular, "starter.fps/data/shapes/particles/smoke" was sgExamples.cs, along with one for Lighting/Arrow (going from memory here, this one didn't cause a crash, but it was an error that was in the console).
If I remember right the starter.fps in 1.4 had a lot more things to change. The 2 starter kits are very different between torque engine versions as far as the layout of how the files are done.
05/27/2007 (10:02 pm)
When I did it in 1.5.2 it was merely changing that one .cs file, and the mission terrain settings.In particular, "starter.fps/data/shapes/particles/smoke" was sgExamples.cs, along with one for Lighting/Arrow (going from memory here, this one didn't cause a crash, but it was an error that was in the console).
If I remember right the starter.fps in 1.4 had a lot more things to change. The 2 starter kits are very different between torque engine versions as far as the layout of how the files are done.
#11
05/27/2007 (10:43 pm)
Had the same problem a bit ago. I got rid of all my .dso's and it took care of it.
Torque Owner Fucifer