header general

[Submission] Marine Supply Pack

  • MagicWazard
  • MagicWazard's Avatar
  • Moderator
  • Moderator
More
8 years 6 months ago #11 by MagicWazard
Replied by MagicWazard on topic [Submission] Marine Supply Pack
Sorry, I made a retarded little mistake. There shouldn't be a space between the sprite name and frame letter. THIS example works:
Code:
object SupplyPack { frame XPAKA { light GREENARMOR1 } frame XPAKB { light GREENARMOR2 } }

I tested it this time! I didn't test the last example, because I thought my memory was serving me more strongly. :P (I'll go back and edit my last examples, too.)

Please Log in or Create an account to join the conversation.

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
8 years 6 months ago - 8 years 6 months ago #12 by DBJ87
Replied by DBJ87 on topic [Submission] Marine Supply Pack
Thank you. I'll make the modifications and update the description went ready.

When testing with the new changes I noticed this error message.
Code:
"GLDEFS object "SupplyPack" references undefined light "GREENARMOR1"
It's a non-fatal error that's telling me the Green Armor's light GLDef doesn't exist or isn't configured. It didn't show the green glow until I fixed it, by adding the Green Armor's light def, point light in as well.

So the light Defs looks like this now:
Code:
object SupplyPack { frame XPAKA { light GREENARMOR1 } frame XPAKB { light GREENARMOR2 } } pointlight GREENARMOR1 { color 0.0 0.6 0.0 size 48 } pointlight GREENARMOR2 { color 0.0 0.6 0.0 size 32 }

With a message in the file's notes- explaining why I've left it in. It's working now, looks a lot better with the green glow too :)
Last edit: 8 years 6 months ago by DBJ87.

Please Log in or Create an account to join the conversation.

  • MagicWazard
  • MagicWazard's Avatar
  • Moderator
  • Moderator
More
8 years 6 months ago #13 by MagicWazard
Replied by MagicWazard on topic [Submission] Marine Supply Pack
I'm OK with it now. :)

Warning: Spoiler!

Please Log in or Create an account to join the conversation.

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
8 years 6 months ago #14 by DBJ87
Replied by DBJ87 on topic [Submission] Marine Supply Pack

Out of curiosity, are you loading/autoloading "lights.pk3" when playing GZDoom? Are other objects in the game emitting glow effects?


No, the only PK3 file running is the Doom64 Textures pack. At the moment, objects that glow are Spheres, Lights & some enemies, anything that has a GLDEF set up already in use, but like Doom's own armors, power-ups & lights aren't glowing at the moment.

I have got quite a few texture packs added too though.

Please Log in or Create an account to join the conversation.

  • MagicWazard
  • MagicWazard's Avatar
  • Moderator
  • Moderator
More
8 years 6 months ago #15 by MagicWazard
Replied by MagicWazard on topic [Submission] Marine Supply Pack
Ok, I see. GZDoom includes a "lights.pk3" and a "brightmaps.pk3" which define lighting and brightmapping for all of the stock Doom/Heretic/Hexen/Strife content, but neither of the pk3s are loaded automatically by GZDoom; you have to load them manually, or set up your user configurations settings to have them autoload. So that's why the GREENARMOR1/2 lights weren't working until you copied them into the GLDEFs for your submission.

Warning: Spoiler!

Please Log in or Create an account to join the conversation.

  • DBJ87
  • DBJ87's Avatar Topic Author
  • Wicked
  • Wicked
More
8 years 6 months ago #16 by DBJ87
Replied by DBJ87 on topic [Submission] Marine Supply Pack
Yes. That's fixed it, thank you :)

Please Log in or Create an account to join the conversation.