![]() |
|
|
#1 |
|
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.
|
|
|
|
|
|
#2 |
|
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 |
|
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.
|
|
|
|
|
|
#4 |
|
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 |
|
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 |
|
|
|
|
|
#6 |
|
There is that CTF map (Lighthouse?) tower with a spotlight that highlights the player with the flag...you could check that out.
__________________
|
|
|
|
|
|
|
#7 |
|
^ 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." |
|
|
|
|
|
|
#8 |
|
The code for how it works may still help though.
__________________
|
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Mar. 18th, 2011
Posts: 3
|
Thanks for the posts. I'm going to look for that CTF map.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|