Custom Scene Help

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Custom Scene Help

Post by Interkarma »

I've added some quick control to the DaggerfallBillboard editor script. This makes it possible to add custom billboards to scene. Here's the process in brief.
  1. Grab latest code from today.
  2. Setup scene as usual and set Arena2 path in DaggerfallUnity singleton.
  3. Create an empty GameObject.
  4. Add DaggerfallBillboard component to this GameObject
  5. Enter the archive and record index in Custom area of DaggerfallBillboard inspector. For example, the well shown is from TEXTURE.212, index 0. Thus archive=212, index=0.
  6. Click "Set Billboard Texture" button.
  7. Click "Align To Surface) to align base of billboard with a surface 4 units or less below billboard. Position billboard centre roughly above desired surface before trying to align.
CustomBillboards.png
CustomBillboards.png (191.76 KiB) Viewed 1798 times
Billboards set in this manner should work just like one added by RMB layout. They should align to scene camera in editor, player camera in game, and save/load with your custom scene. They should also animate normally while playing the scene.

I hope this achieves something close to what you were looking for. :)

User avatar
kingOfWyrms
Posts: 49
Joined: Fri Aug 07, 2015 3:46 am

Re: Custom Scene Help

Post by kingOfWyrms »

Looks great, setting it up now.

Post Reply