+FORCE[X]YBILLBOARD for some things' zscripts

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
axredneck
Posts: 486
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Russia

+FORCE[X]YBILLBOARD for some things' zscripts

Post by axredneck »

I propose to set FORCEXYBILLBOARD for:
  • flying/floating things, fireballs especially
  • effects like RocketSmokeTrail, Blood, TeleportFog etc.
  • spherical powerups like InvulnerabilitySphere or Megasphere
  • floating items from Hexen/Heretic, e.g. mana and bombs
  • flying/floating monsters maybe (Cacodemon etc.)
Also i propose to set FORCEYBILLBOARD for torches, poles and other tall things, and also to add options to "Display Options -> OpenGL Renderer -> Sprite Billboard" to "force" and "prefer" FORCEXYBILLBOARD or FORCEYBILLBOARD.
Sadly all this is not achieveable with "replaces" Decorate/ZScript keyword because it changes name of class and so causes some bugs, e.g. fireballs not leaving decals when hitting walls.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

Re: +FORCE[X]YBILLBOARD for some things' zscripts

Post by Pixel Eater »

I too think this is necessary- I have an incomplete mod on hold that does it the Decorate way. I wasn't aware of the decal issue though and if I recall, it prevented the Icon of Sin from spawning demons as well.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: +FORCE[X]YBILLBOARD for some things' zscripts

Post by Graf Zahl »

You forget that this may break Dehacked mods which replace these items with something non-standard, like additional monsters.
Not to mention that FORCING this is a no-go. Something like PREFERXYBILLBOARD, maybe but it needs to be switchable for compatibility with old mods.
User avatar
axredneck
Posts: 486
Joined: Mon Dec 11, 2017 2:09 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Arch
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Russia

Re: +FORCE[X]YBILLBOARD for some things' zscripts

Post by axredneck »

Graf Zahl wrote:Something like PREFERXYBILLBOARD, maybe but it needs to be switchable for compatibility with old mods.
Totally agree.
Also ability to "extend" classes which are defined somewhere in gzdoom.pk3 can be good alternative.
User avatar
Rachael
Posts: 13999
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: +FORCE[X]YBILLBOARD for some things' zscripts

Post by Rachael »

Graf Zahl wrote:Not to mention that FORCING this is a no-go. Something like PREFERXYBILLBOARD, maybe but it needs to be switchable for compatibility with old mods.
I was pretty much going to say exactly this.

Doesn't sound like it should be too hard for me to do, and in fact, it might be really useful.
User avatar
Nash
 
 
Posts: 17513
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: +FORCE[X]YBILLBOARD for some things' zscripts

Post by Nash »

Rachael wrote:
Graf Zahl wrote:Not to mention that FORCING this is a no-go. Something like PREFERXYBILLBOARD, maybe but it needs to be switchable for compatibility with old mods.
I was pretty much going to say exactly this.

Doesn't sound like it should be too hard for me to do, and in fact, it might be really useful.
Seconded. You handled it pretty well with the "vanilla transparency" issue; I think a similar solution can be applied here.

Return to “Feature Suggestions [GZDoom]”