sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
697 stars 105 forks source link

DECORATE inheritance in 3D view #884

Open AlpacaNox opened 6 years ago

AlpacaNox commented 6 years ago

SLADE Version: (v3.1.2 Beta 5) Operating System: Arch Linux x86_64

Inheritance in Decorate is either fully or partially ignored in 3D view. So lets say you have 10 sprites of trees, you don't really want them to be different in scale, so you just make them to inherit it all from the first actor (the first tree) but it doesn't work that way, in the editor the scale of the actors who are supposed to inherit it resets to default (1.0) and so to avoid that you end up having to define the same parameters over and over again for each extra actor you'd want to use. A little example:

actor Tree1 21107
{
//$Category Trees
  Height 40
  Radius 20
  Scale 1.0
  +SOLID
  States
  {
  Spawn:
    TR01 A 1
    Loop
  }
}

actor Tree2 : Tree1 21108
{
//$Category Trees
  States
  {
  Spawn:
    TR02 A 1
    Loop
  }
}
Gaerzi commented 6 years ago

Why did you close the issue?

AlpacaNox commented 6 years ago

Using .PK3 and placing all textures in the "patches" folder fixed the first issue for me. The second one is still relevant so reopening.