Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Model Editor Help Combine multiple enemies in Model Editor
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#1
Combine multiple enemies in Model Editor

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.

Trying is the first step to success.
10-14-2014, 12:36 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Combine multiple enemies in Model Editor

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: (Select All)
<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.

(This post was last modified: 10-14-2014, 08:23 AM by Mudbill.)
10-14-2014, 08:12 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Combine multiple enemies in Model Editor

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.

Trying is the first step to success.
10-14-2014, 02:50 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Combine multiple enemies in Model Editor

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

10-14-2014, 03:58 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Combine multiple enemies in Model Editor

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?

Trying is the first step to success.
10-14-2014, 04:19 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Combine multiple enemies in Model Editor

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.

10-14-2014, 04:26 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#7
RE: Combine multiple enemies in Model Editor

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.

Trying is the first step to success.
10-14-2014, 05:25 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#8
RE: Combine multiple enemies in Model Editor

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.

(This post was last modified: 10-14-2014, 07:04 PM by Mudbill.)
10-14-2014, 07:04 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#9
RE: Combine multiple enemies in Model Editor

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

Trying is the first step to success.
10-14-2014, 08:29 PM
Find
MrBehemoth Offline
Senior Member

Posts: 408
Threads: 19
Joined: Feb 2014
Reputation: 40
#10
RE: Combine multiple enemies in Model Editor

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

10-14-2014, 09:28 PM
Find




Users browsing this thread: 1 Guest(s)