1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

maximum light radius...

Discussion in 'Programming' started by a-nation.com, Mar 1, 2002.

  1. a-nation.com

    a-nation.com Project Leader for Ugas Daos TC MOD

    Joined:
    Dec 26, 2001
    Messages:
    19
    Likes Received:
    0
    Is there a way in uscript to make the maximum light radius greater than 255?? Nearly infinite would be perfect, but doubtful.

    Thanks...
     
  2. Captain Kewl

    Captain Kewl I know kewl.

    Joined:
    Feb 13, 2001
    Messages:
    794
    Likes Received:
    0
    Wouldn't wanting the maximum light radius to be greater than 255 kind of miss the point of the maximum light radius being 255 in the first place? :)
     
  3. a-nation.com

    a-nation.com Project Leader for Ugas Daos TC MOD

    Joined:
    Dec 26, 2001
    Messages:
    19
    Likes Received:
    0
    uhm...

    mister funnyman...

    We want to only put 2 light sources in our level, from the same direction... it will be radiating above a city/town... so it needs to be somewhat realistic... not having 32 light sources, throwing off shadows in every direction but from the main sources of light, the 2 suns that rotate around the planet during the day...
     
  4. a-nation.com

    a-nation.com Project Leader for Ugas Daos TC MOD

    Joined:
    Dec 26, 2001
    Messages:
    19
    Likes Received:
    0
    Light Class

    Do you think if I expan the light class and make LightSaturation like 999, it would work??

    class Light extends Actor
    native;

    #exec Texture Import File=Textures\S_Light.pcx Name=S_Light Mips=Off Flags=2

    defaultproperties
    {
    bStatic=True
    bHidden=True
    bNoDelete=True
    Texture=Texture'Engine.S_Light'
    bMovable=False
    CollisionRadius=24.000000
    CollisionHeight=24.000000
    LightType=LT_Steady
    LightBrightness=64
    LightSaturation=255
    LightRadius=64
    LightPeriod=32
    LightCone=128
    VolumeBrightness=64
    }
     
  5. WheatPuppet

    WheatPuppet Corriganism

    Joined:
    Jan 22, 2002
    Messages:
    85
    Likes Received:
    0
    Doesn't the NonIncandescance light effect produce huge ammounts of light (as if the lightradius were massive)? That might get what you want without needing new code.
     
  6. aspie

    aspie It's all good baby.

    Joined:
    Feb 24, 2001
    Messages:
    315
    Likes Received:
    0
    or a cylinder light, but i think your restricted to height there
     
  7. Captain Kewl

    Captain Kewl I know kewl.

    Joined:
    Feb 13, 2001
    Messages:
    794
    Likes Received:
    0
    Nonincident light spreads pretty far. But you won't have good shadow effects, I don't think.
     
  8. Tiggy

    Tiggy New Member

    Joined:
    Sep 15, 2000
    Messages:
    24
    Likes Received:
    0
    Re: Light Class

    LightSaturation is a byte value, limiting it to 0-255. The same thing goes for LightHue and LightBrightness.
     
  9. a-nation.com

    a-nation.com Project Leader for Ugas Daos TC MOD

    Joined:
    Dec 26, 2001
    Messages:
    19
    Likes Received:
    0
    kewl

    I will test out the NonIncandescance light and see how it works out...

    thanks..!
     
  10. Call me Erdrik

    Call me Erdrik Arch Mage

    Joined:
    Nov 24, 1999
    Messages:
    334
    Likes Received:
    0
    Tagging all the ground surfaces with the HighShadowDetail property should fix that.
     

Share This Page