HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problems with Vertex Modify

12-13-2004, 09:57 PM#1
Janne
I'm trying to edit a very simple MDL model (a cliff doodad) with Vertex Modify. However, when I try to open the model with it, the program says "Run-time error 9: Subscript out of range" and crashes. Any suggestions how I could get this working? The .mdl file is attached to the post I sent to the sticky first thread on this forum.

I will appreciate any help a lot.
12-14-2004, 12:02 AM#2
Oinkerwinkle
The cliff actually has a really rare trait: Having two TVertex chunks. I didn't make any support for this in the program. You can get it down to one chunk pretty easily but doing the following.
  • Open the MDL in Notepad.
  • Scroll down under you see TVertices 71 {.
  • Select everything from that down until you see the next } all alone on a line.
  • Copy that into another text document.
  • Delete that selected chunk.
  • Save your MDL, close notepad, and edit it in Vertex Modify. Don't add vertices (or tell me if you really want to, because then there's more you have to do).
  • Save the MDL, close Vertex Modify and reopen the MDL in Notepad. Paste in the TVertices chunk you copied out before the once that's left there.
12-15-2004, 10:01 AM#3
Janne
Thanks, it works now. This was a great help to me.
12-22-2004, 06:06 PM#4
myself
I've got the same problem, only with the attached mdl. Which TVertices should I delete (TVertices 555{ or TVertices 24{ )?
12-24-2004, 05:28 PM#5
Oinkerwinkle
Yours seems to open fine, myself. Do you have the latest version and everything?
12-24-2004, 06:21 PM#6
myself
hmm, it give me a VertexDelete error when I open it in Vertexmodify or Geosetmerger
12-24-2004, 06:39 PM#7
Oinkerwinkle
The only thing I can think of is redownloading to make sure you have the latest version. Also, you could try converting to MDX and back to MDL in case it's some formatting thing. (Although that wouldn't explain why I can open it.)
12-25-2004, 01:11 AM#8
ElvinArcher123
oinker?? i hope you see this. ive pmed you several times :-P but anyways, is there a way to fix animated models exported with DEX that when they open you get a run time error "script out of range" any ideas?
12-25-2004, 08:13 AM#9
myself
thanks Oinkerwinkle, I've converted it to mdx and back to mdl and then it worked!
12-25-2004, 07:04 PM#10
Oinkerwinkle
Glad it worked, myself.

ElvenArcher: I didn't get any of your PMs about that. Can you post the MDL?