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.

UE3 - UT3 Movable spotlights

Discussion in 'Mapping' started by suckafish666, Mar 18, 2011.

  1. suckafish666

    suckafish666 New Member

    Joined:
    Mar 18, 2011
    Messages:
    3
    Likes Received:
    0
    I'm working on a indoor/ outdoor level. the level has lights on the inside and dark when you are outside. I wanted to have triggers turn on and attach spotlights to the players once they get outside ( like watchtowers when someone escapes from prison). I have the trigger done to turn on the lights in kismet, my problem is how to get the lights to turn off the player when they die and how to stop one player from triggering all lights on one player. Thank you for any help.
     
  2. Sjosz

    Sjosz (╯°□°)╯︵ ┻━┻

    Joined:
    Dec 31, 2003
    Messages:
    3,048
    Likes Received:
    0
    I do not believe there is a class of light that distinguishes between players, much less function like you'd want online. (no network supported logic). The only real implementation you're likely to achieve is an offline experience for a single player in the level.
     
  3. suckafish666

    suckafish666 New Member

    Joined:
    Mar 18, 2011
    Messages:
    3
    Likes Received:
    0
    Thank you for the quick response. I had hopes that I would have been able to achieve it some way with kismet. I have been trying to work out this issue for 3 days so far, for my class project.
     
  4. Sjosz

    Sjosz (╯°□°)╯︵ ┻━┻

    Joined:
    Dec 31, 2003
    Messages:
    3,048
    Likes Received:
    0
    There is very little kismet in UT3 that will work in a network environment, especially when it involves players. Unless you want to be looking into building specific network compatible kismet/script for it you're likely not going to solve this.

    Mind you, this is coming from someone who, beyond using a lot of kismet, doesn't know anything about network-related kismet.
     
  5. deviouska24de

    deviouska24de New Member

    Joined:
    Dec 1, 2011
    Messages:
    1
    Likes Received:
    0
    easy fix

    firs, when you choose the light, make sure you use it as an interpActor.
    2. In its properties change collision to touch all.

    in Kismet start with a touch switch when the player comes into contact with the light, it will trigger an event. If you make that event an attach to, then the light will follow him. to remove the light on death or distance, just use a test for player death, and say if the player in the light dies, teleoprt to begining

    for distance have a counter every few second measure the distance if it goes about teleport light back. as for triggers, you can specify who uses what tripper, or you could but each lite on its own trigger
     
  6. N1ghtmare

    N1ghtmare Sweet Dreams

    Joined:
    Jul 17, 2005
    Messages:
    2,411
    Likes Received:
    12
    There is that CTF map (Lighthouse?) tower with a spotlight that highlights the player with the flag...you could check that out.
     
  7. M.A.D.X.W

    M.A.D.X.W Active Member

    Joined:
    Aug 24, 2008
    Messages:
    4,506
    Likes Received:
    5
    ^ CTF-Searchlight

    It doesn't actually use a spot light though, just the light cone points at the flag carrier.
     
  8. N1ghtmare

    N1ghtmare Sweet Dreams

    Joined:
    Jul 17, 2005
    Messages:
    2,411
    Likes Received:
    12
    The code for how it works may still help though.
     
  9. suckafish666

    suckafish666 New Member

    Joined:
    Mar 18, 2011
    Messages:
    3
    Likes Received:
    0
    Thanks for the posts. I'm going to look for that CTF map.
     

Share This Page