Game Development Community

Mission Editor Crash

by Brett Bowen · in Torque Game Engine · 08/15/2002 (6:38 pm) · 6 replies

Every time I try and create a new mission by using the file new mission command I get a crash. An error box shows up but it has several lines to it and all I can catch is the first line or so. Says something about you do not have the proper art work or TGE Engine. Like I said I can't catch all of it before XP takes over with its crashed program box.

I created my own project dir, and rename the fps directory, I am thinking that is the problem because I can create a new mission fine with the stock stuff in the example dir. I'm assuming there is a path somewhere in code that is not right. I've combed through code and can't find it, anyone got an idea of where I need to go??

#1
08/15/2002 (8:22 pm)
Not sure off the top of my head, but if you're using TribalIDE for scripting you can just go Search and 'Find in Files.' You might have to have a project made to do this. Then you can just search for 'fps', and it'll show you everywhere in every script that has 'fps'. I'm assuming that its something in one of the mission editing scripts, 'cause it sounds like you got the ones that load the mod from fps/ directory, etc, or it wouldn't even run.
#2
08/16/2002 (5:30 am)
I did that like right after I posted this post. I changed all of them and it still bombs out. I went to the log file here is the last couple of lines.

*** New Mission: cougar/data/newMission.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: GameStart to index: 16
cougar/client/scripts/game.cs (13): Unknown command zeroScores.
Object PlayerListGui(1227) PlayerListGui -> GuiControl -> SimGroup -> SimSet -> SimObject
*** Phase 2: Download Ghost Objects
Missing terrain texture: cougar/data/fps/data/terrains/grassland/grass
Missing terrain texture: cougar/data/fps/data/terrains/grassland/patchy
Missing terrain texture: cougar/data/fps/data/terrains/grassland/sand
Sending request for file fps/data/skies/sky_sunset.dml
No such file fps/data/skies/sky_sunset.dml.

Looks like its trying to find the fps directory underneath my data directory. Does that help any? I've changed everything that I saw in the scripts.
#3
08/16/2002 (7:13 am)
did you try moving the newmission.mis and .ter into the mission folder?

i jst seen them in the data folder and moved the to the mission folder and they worked just fine
#4
08/16/2002 (8:33 am)
Figured it out, what I had to do was open the newMission.mis file up in notepad and change a couple of the directory references, because they still said fps/etc etc. Then it was able to load.
#5
08/16/2002 (12:28 pm)
I'm glad you got it working. One thing, you said that you opened it up in notepad, so I have to suggest that you go grab a copy of Tribal IDE. It really is a great IDE for working with the scripting. It even provides the ability to do debugging of your script code, very handy.
#6
08/16/2002 (3:22 pm)
yeah I have it, and love it. Just edited that mission file the ol' fashioned way. Thanks for your help.