Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Pottus

GLDEFS for armor pickups

Recommended Posts

This is a custom definition I use, which has a smaller glow radius than some of the other definitions:

// Armor Helmet
pulselight ARMORBONUS
{
    color 0.0 0.6 0.0
    size 4
    secondarySize 6
    interval 1.0
}

object ArmorBonus
{
    frame BON2 { light ARMORBONUS }
}

Share this post


Link to post

I have it set to this, but I'm not sure if the sizes are correct even though it looks pretty close I was hoping someone knows the exact values.

PointLight GREYARMORA
{
Color 0.5 0.5 0.5
Size 40
}

PointLight GREYARMORB
{
Color 0.5 0.5 0.5
Size 30
}

Object GREYARMOR
{
Frame ARM3A0 { Light GREYARMORA }
Frame ARM3B0 { Light GREYARMORB }
}

Share this post


Link to post
Pottus said:

....I was hoping someone knows the exact values.

There isn't a "standardized" or "exact" value - authors tend to individualize the properties, depending on preference. However, if you're referring to the values that are part of the GZDooM package, here is a definition for the green armor, which is included in lights.pk3:

// Green armor
pointlight GREENARMOR1
{
    color 0.0 0.6 0.0
    size 48
}

pointlight GREENARMOR2
{
    color 0.0 0.6 0.0
    size 32
}

object GreenArmor
{
    frame ARM1A { light GREENARMOR1 }
    frame ARM1B { light GREENARMOR2 }
}
And, because I prefer a much smaller glow radius, here's a definition I use for a custom armor actor:
// LiteArmor
pointlight LITEARMOR1
{
    color 0.0 0.6 0.0
    size 32
}

pointlight LITEARMOR2
{
    color 0.0 0.6 0.0
    size 16
}

object LiteArmor
{
    frame ARM3A { light LITEARMOR1 }
    frame ARM3B { light LITEARMOR2 }
}

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×