Missing File:
by Witchdoctor · in Torque Game Engine · 04/07/2005 (6:01 pm) · 0 replies
Ok I can't figure this one out.
re: getting moveshape.cs to load
I created my own version of the file and have two files in the same dir. moveshape.cs moveshape2.cs. Moveshape is the one that was already there from setup.exe, Moveshape2 is my own typed in version.
exec("CH3/moveshape.cs"); //works fine
exec("CH3/moveshape2.cs"); //fails in console
Missing File: CH3/moveshape2.cs!
I even did an up arrow and only inserted the number 2 to be sure of avoiding typos.
This appears to happen no matter what I call the file or what directory I put it in. I am assuming the root is in fact really the C:\3DGPAi1 since the CH3 is under this and seems to find the moveshape.cs fine. Also trying the bookcode subdirectory seems to work fine on the pre-included script.
I am showing the file extensions in XP Windows Explorer so it is in fact a CS file. Properties agrees.
Hmmm...It seems like I can only load files that came included with the CD and not my own. Going into the CH3/bookcode directory I can compile the preincluded files but none of my own. All mine say "Missing File: ... !"
it has nothing to do with file contents or editor because I copy and pasted movefshape.cs to "Copy of movefile.cs" and renamed it to moveshape2.cs and it still didn't load.
Thoughts?
Doc
re: getting moveshape.cs to load
I created my own version of the file and have two files in the same dir. moveshape.cs moveshape2.cs. Moveshape is the one that was already there from setup.exe, Moveshape2 is my own typed in version.
exec("CH3/moveshape.cs"); //works fine
exec("CH3/moveshape2.cs"); //fails in console
Missing File: CH3/moveshape2.cs!
I even did an up arrow and only inserted the number 2 to be sure of avoiding typos.
This appears to happen no matter what I call the file or what directory I put it in. I am assuming the root is in fact really the C:\3DGPAi1 since the CH3 is under this and seems to find the moveshape.cs fine. Also trying the bookcode subdirectory seems to work fine on the pre-included script.
I am showing the file extensions in XP Windows Explorer so it is in fact a CS file. Properties agrees.
Hmmm...It seems like I can only load files that came included with the CD and not my own. Going into the CH3/bookcode directory I can compile the preincluded files but none of my own. All mine say "Missing File: ... !"
it has nothing to do with file contents or editor because I copy and pasted movefshape.cs to "Copy of movefile.cs" and renamed it to moveshape2.cs and it still didn't load.
Thoughts?
Doc
About the author