News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Mapping

Reply
 
Thread Tools Display Modes
Old 18th Mar 2011, 11:09 AM   #1
suckafish666
Registered User
 
Join Date: Mar. 18th, 2011
Posts: 3
Movable spotlights

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.
suckafish666 is offline   Reply With Quote
Old 18th Mar 2011, 11:24 AM   #2
Sjosz
(╯□)╯︵ ┻━┻
 
Sjosz's Avatar
 
Join Date: Dec. 31st, 2003
Location: Edmonton, AB
Posts: 3,049
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.
__________________
]--[ UCMP ]--[ BioWare ]--[ Portfolio ]--[ HOLP ]--[]--[ Flickr ]-|-[
Sjosz is offline   Reply With Quote
Old 18th Mar 2011, 11:43 AM   #3
suckafish666
Registered User
 
Join Date: Mar. 18th, 2011
Posts: 3
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.
suckafish666 is offline   Reply With Quote
Old 18th Mar 2011, 12:19 PM   #4
Sjosz
(╯□)╯︵ ┻━┻
 
Sjosz's Avatar
 
Join Date: Dec. 31st, 2003
Location: Edmonton, AB
Posts: 3,049
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.
__________________
]--[ UCMP ]--[ BioWare ]--[ Portfolio ]--[ HOLP ]--[]--[ Flickr ]-|-[
Sjosz is offline   Reply With Quote
Old 1st Dec 2011, 10:07 PM   #5
deviouska24de
Registered User
 
Join Date: Dec. 1st, 2011
Posts: 1
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
deviouska24de is offline   Reply With Quote
Old 1st Dec 2011, 11:03 PM   #6
N1ghtmare
Sweet Dreams
 
N1ghtmare's Avatar
 
Join Date: Jul. 17th, 2005
Location: Where least expected
Posts: 2,372
There is that CTF map (Lighthouse?) tower with a spotlight that highlights the player with the flag...you could check that out.
__________________
N1ghtmare is offline   Reply With Quote
Old 3rd Dec 2011, 11:42 AM   #7
M.A.D.X.W
Registered User
 
M.A.D.X.W's Avatar
 
Join Date: Aug. 24th, 2008
Posts: 4,520
^ CTF-Searchlight

It doesn't actually use a spot light though, just the light cone points at the flag carrier.
__________________
"I love you to distraction, and even if you don't love me it doesn't matter, you will merely be my husband.
Please don't be afraid - I do not want to cause you any trouble, I want to be your domestic chattel, the very carpet you walk on...
I want to love you to eternity, I want to rescue you from yourself."
M.A.D.X.W is offline   Reply With Quote
Old 4th Dec 2011, 10:00 AM   #8
N1ghtmare
Sweet Dreams
 
N1ghtmare's Avatar
 
Join Date: Jul. 17th, 2005
Location: Where least expected
Posts: 2,372
The code for how it works may still help though.
__________________
N1ghtmare is offline   Reply With Quote
Old 5th Jan 2012, 11:43 AM   #9
suckafish666
Registered User
 
Join Date: Mar. 18th, 2011
Posts: 3
Thanks for the posts. I'm going to look for that CTF map.
suckafish666 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:03 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer