Frictional Games Forum (read-only)
[MDL ED] Combine multiple enemies in Model Editor - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [MDL ED] Combine multiple enemies in Model Editor (/thread-26767.html)

Pages: 1 2


Combine multiple enemies in Model Editor - FlawlessHappiness - 10-14-2014

Hey!

Is it possible to put more entities, (Meaning more .DAE files), under the same .ent file?

So that I somehow add another file to the .ent file, can play around with it in the model editor, then save the two models under the same name.


RE: Combine multiple enemies in Model Editor - Mudbill - 10-14-2014

Never experienced it myself, so I would guess no. Maybe there is a way to trick the editor into accepting it, but it seems to me it was never intended to do that. Importing a second .dae file wipes the previous one (as you've probably already noticed).

You can try editing the ent file through text, and duplicate this entry:
PHP Code:
<Mesh Filename="model.dae">
    <
SubMesh Active="true" ID="0" Material="" Name="pPipe1" Rotation="0 0 0" Scale="1 1 1" SubMeshID="0" Tag="" WorldPos="0.0219399 0 -0.0853681" />
</
Mesh

I strongly suspect that this will render the file unparseable by the editor, but you might as well give it a go.


RE: Combine multiple enemies in Model Editor - FlawlessHappiness - 10-14-2014

Hm, no.
No luck at all.

Depending on which mesh is named first, that's the one that will show up, and only that.

I guess I'll have to create a workaround.

Compounds are not an option.


RE: Combine multiple enemies in Model Editor - Mudbill - 10-14-2014

Import both .dae files into Maya and export them as a single model file?


RE: Combine multiple enemies in Model Editor - FlawlessHappiness - 10-14-2014

Yes, that would work.

I just need to teach myself Maya first.
I know it doesn't sound hard, but I'm surely gonna mess something up, aren't I?


RE: Combine multiple enemies in Model Editor - Mudbill - 10-14-2014

It should be easy enough. Each mesh has its own material, and they can keep that material even if they're exported together. Essentially all you need to do is to import both of them, then export them again. You can then move them separately in the Model Editor and assign individual bodies.


RE: Combine multiple enemies in Model Editor - FlawlessHappiness - 10-14-2014

I can move them seperately in the model editor? Is that true!?

I did not expect that! I would've thought They're exported as 1 single model, from Maya... Wow..
I should definitely give it a go.


RE: Combine multiple enemies in Model Editor - Mudbill - 10-14-2014

For example the cabinets, they use separate bodies so that you can move the doors without moving the main body. This is because it has 3 sub meshes. It's all in a single .dae file though. You can choose to combine the entire model into a single mesh if you want, but then it can only use a single material as well.


RE: Combine multiple enemies in Model Editor - FlawlessHappiness - 10-14-2014

Understood. Whenever I get to the part where I have to create them I might return.. Smile


RE: Combine multiple enemies in Model Editor - MrBehemoth - 10-14-2014

You could copy/paste the xml inside the dae file ....... but that's some complicated lookin shizzle.