Expression ground_quad??

Users who are viewing this thread

zippy1991

Recruit
I've been trying to add a new scene all day but each time i click on the menu to go there i recive this error:
File:\src\agent.cpp
Expression ground_quad.
how can i get rid of this??
Please help
 
I see nobody else has replied - I don't have a good answer but will tell you that I have had that error when I was trying different meshes and bodies and scene files. If there is a mis-match of some sort (but I cannot tell you what actually causes it) between them, that is one the common errors to get.

If you are modding by changing existing files, my best suggestion is to try and use base files that work together already (e.g. arena mesh, and bo_arena, and scn_arena.obj) to start with.

You might find that some of them will work ok with other file combinations, but not always. so that is the best way to start out - with compatible elements at the beggining.

PM me if this is not clear.

DE
 
Hmm, another possibility is that you've got objects in the scene (especially entry points) defined in the SCO file which are outside the scene's defined boundaries.
 
Janus said:
Hmm, another possibility is that you've got objects in the scene (especially entry points) defined in the SCO file which are outside the scene's defined boundaries.

Ahh, that makes sense - from what I remember, the SCN files caused me the most trouble - had to create a basically empty one to use. So that would fit...

DE
 
Yeah, I've had that problem with scenes which is why I mention it... I don't remember the exact error message it gave though, it might be a different one that he's getting. Still something to look out for though.
 
Actually I'm pretty sure this is caused by a physical object (e.g. player or troop) standing on a space below which there is no collision mesh to support it, so it falls to infinity.

I got this several times when I made mistakes in my experiments in generating the collision mesh for my new scenes.
 
That's what I meant by "defined boundaries". In my case, it was having entry points outside of the area covered by generated terrain, since I had switched the generated terrain seed from one with a medium area to one with a small area and left the entry points where they were.
 
This error occurs when ever i try making a new scene useing the unnofficial edtior. I wan't to generate a scene and i tryed with several terrain codes but none worked. it workes with a scene like zendar or a tavern but not with terrain codes. :evil:
 
zippy1991 said:
This error occurs when ever i try making a new scene useing the unnofficial edtior. I wan't to generate a scene and i tryed with several terrain codes but none worked. it workes with a scene like zendar or a tavern but not with terrain codes. :evil:

Make sure your "generated scene" checkbox is ticked.
 
Like what Janus said, your new terrain is probably smaller than your old one so your entry point 0 is out of bounds. Another possibility is that your entry point is below ground level.
 
When you get the error, have you tried clicking ignore, even if it gives the error several times? In my case (after clicking through several "ignore"s) I was able to still get into the scene and edit it to fix the placement of the entry points and save the scene.
If that doesn't work, try copying the scn_generated_scene.sco over the new SCO file if you haven't already tried that.

If neither of those works, I'm out of suggestions.
 
Back
Top Bottom