Addons as part of main unit mesh [Solved]

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Addons as part of main unit mesh [Solved]

Post by Oceans14 »

After reading and applying the contents of the addon tutorials, I've been trying to add the components I want in xsi and export the whole shebang, rather than use the odf, but it isn't working. For example, I made a null and child cube, positioned it on the unit, froze transforms, etc (everything from the documentation) and then, because I wanted to make the addon cube part of the unit mesh, I made the null a child of the unit's dummyroot. Exported... nothing. It doesn't even show up in the viewer. I'm clearly missing an important step here.

Edit: MissingTexture had a similar sounding problem a few posts ago, but with the exception of batch exporting I've tried those solutions already without success.
Last edited by Oceans14 on Sun Oct 18, 2015 1:22 pm, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Addons as part of main unit mesh

Post by AceMastermind »

You don't need the null, just insert the cube into the unit hierarchy and envelope it to the appropriate bone/s.
Addon instructions are for addons only, they don't apply here when adding things to units in XSI.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Addons as part of main unit mesh

Post by Oceans14 »

Would it go under dummyroot or rep_inf_ep3trooper?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Addons as part of main unit mesh

Post by AceMastermind »

Yeah under dummyroot is fine.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Addons as part of main unit mesh

Post by Oceans14 »

Okay, so I went to Animation>Set Envelope and then it asked if I wanted to envelope as a modeling or animation operator. I tried both (separately) but neither worked. When imported to swbf viewer it crashed with an out of bounds error. I enveloped to bone_ribcage, since that was the closest bone to the placed object.

Edit: Actually I just checked and my addon object has some bad faces, that's probably my problem.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Addons as part of main unit mesh

Post by AceMastermind »

If you export the unit without the added geometry does it still crash SWBFViewer?
Oceans14 wrote:I went to Animation>Set Envelope and then it asked if I wanted to envelope as a modeling or animation operator.
You can just press Yes when that dialog pops up.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Addons as part of main unit mesh

Post by Oceans14 »

No, just the unit is fine. I tried using the polygon reduction tool on the addon mesh but it didn't do much.
Hidden/Spoiler:
Image
Edit: Got the first addon to export out successfully after reading http://www.gametoast.com/viewtopic.php? ... er#p502391 this thread. The mesh required triangulation.

Haven't tested the addon's behavior in-game yet... should be interesting.

Edit 2: Everything is working as it should. I appreciate your help Ace.
Post Reply