jdl wrote:Cbloopy, there is a "ModelAdjuster" in the Editor! Well, it's in the WOP files.
There's a difference between the WOP file having a place to store the model information, and having an adjuster in the editor that lets you change that data in the editor. Remember you asking me how to change the music of the level to something beyond 1-6.ogg? I can do it with a hex editor, but I can't coax the editor to change its behavior on music selection.
If you open up a WOP file, you'll see at the end of the file all the adjusters that are exposed to the editor for the object represented by the WOP file. This is how the editor knows to show the "Dialog" adjuster for an NPC but not for, say, a rock.
There's a place in editor.exe where all the names of object adjusters are grouped together. "TextureName" is in that group, as are familiar ones like "ID" or "Active". But there's nothing there that has the word "Model" in it. I've tried a couple of obvious possibilities in the WOP file, like "ModelName" for example, but none did anything in the editor. So I don't think there's an adjuster like TextureName that can be used to directly change the object's model in the editor. Not unless you hack in new programming in editor.exe, which is beyond even me.
We just need to find out what part of the file it's in, then, you can make the ModelAdjuster!
Keep in mind I never really "made" the TextureName adjuster. It's always there in the editor, just not being used by the "official" WOP files. Like how the missileflower capability is always there but not exposed.
I think it just loads a directory too!
I've already tried putting in (via hex editing) actual file names in that part of the WOP file but it worked terribly. (I was trying to substitute the Thwart's model with the Ice Troll model from MOFI.) The editor just flat out MAV on anything there other than keywords (they all start with "!") referring to existing models in the game. And the game may or may not load the model when you specify it by file. Even if it loads the model, the one time that worked (it was a rock), it has strange effects on the level (it changed the lighting to total darkness even though the level is not set that way).