Page 1 of 1

SpellMissiles layer

Posted: Sat Feb 29, 2020 6:56 pm
by pango
While trying to understand why spell missiles can be stopped by a mere arrow, I noticed that:
  • objects on the SpellMissiles layer do not collide with one another (good);
  • arrows are on this layer;
  • the spell missiles I sent are not, they're on the Default layer for some reason:
Spell Missile layer.jpg
Spell Missile layer.jpg (99.8 KiB) Viewed 1446 times
That looks like a bug, the prefabs are on the SpellMissiles layer, but instantiating doesn't preserve that info...

Edit: the cloned Magic Missile seems on the right layer, the attached DaggerfallBillboard is not, mmmh

Re: SpellMissiles layer

Posted: Sat Feb 29, 2020 8:17 pm
by pango
Okay, both spell missiles billboards and arrow models didn't inherit the layer from their parent.
I submitted a PR

Re: SpellMissiles layer

Posted: Sat Feb 29, 2020 8:55 pm
by Hazelnut
Nice work! :)

Re: SpellMissiles layer

Posted: Sat Feb 29, 2020 9:37 pm
by Baler
From a visual standpoint this fix is a big deal! Thank You!!

Re: SpellMissiles layer

Posted: Sun Mar 01, 2020 12:18 am
by pango
I was mostly concerned by gameplay effects; It's hard to justify an arrow and a spell simply annihilating each other (or even 2 spells for that matter)...

It means you could protect against powerful spells with just a bow and some arrows (and good reflexes).