Author Topic: How to specify different asset bundle other then goodiebox?  (Read 3194 times)

Offline swizzlewizzle

  • Newbie Mark III
  • *
  • Posts: 43
How to specify different asset bundle other then goodiebox?
« on: January 23, 2018, 06:41:07 am »
Trying to port in a custom ship for a mod i'm putting together.

However, using whatever/myprefab.prefab automatically is looking for this inside goodiebox, which is the main asset bundle for vanilla game ships..

Instead, I have made my own assetbundle "swfa_main" and put my prefab in there, but I don't see a way to access it when changing the fleetships XML to use my visuals.

Could you folks please let me know how to specify that I am pulling prefabs from my swfa_main bundle instead of goodiebox?

*Edit: setting  visuals_bundle="swfa_main" on the entity makes it work correctly.

Can I suggest in your model import tutorials you mention this? It seems the tutorials are designed to assume badger or whoever is importing vanilla ships.

*Editedit: Since I am porting from max, i'm having the same problem Chris had in his speedrun where the model wasn't pointing the right direction.. I don't have ooti mesh whatever plugin though so it would be nice if an alternative to this could be provided to fix the model's orientation. :)

**Answer to editedit: Use "resetXform" and pivot to origin, then set your rotation correctly following the X axis (https://forums.autodesk.com/t5/3ds-max-forum/fbx-export-rotation-issue/td-p/7137491)

**Final edit: Just wanted to compliment the AI war 2 team and how well you folks have put together your system for modding. It's unbelievable how easy it is to get ships in the game, as well as modifying the base game code via C#. SO much easier and more powerful than what Stellars, SOASE, etc... have -- the ability for modders to do amazing stuff with the game you are building is pretty mind blowing.
« Last Edit: January 23, 2018, 07:46:20 am by swizzlewizzle »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: How to specify different asset bundle other then goodiebox?
« Reply #1 on: January 23, 2018, 09:44:14 am »
Wow, you solved all of your questions before I could even get here, and you only started like 4 hours ago. :D

I'm really glad that you got all that working, and that it's been working well for you.  I definitely am going to do new videos for modders, as the existing ones were for internal use more than modders, but I figured I would be able to at least partly kill two birds with one stone with them.  The dedicated modder videos will hopefully be more concise and have extra info like that.

Just out of curiosity, what sort of mod are you working on. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline swizzlewizzle

  • Newbie Mark III
  • *
  • Posts: 43
Re: How to specify different asset bundle other then goodiebox?
« Reply #2 on: January 23, 2018, 07:27:36 pm »
Will let you know when I release v1.0 ;)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: How to specify different asset bundle other then goodiebox?
« Reply #3 on: January 23, 2018, 08:06:45 pm »
Will let you know when I release v1.0 ;)

So THAT'S how it's going to be.  ;D
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk