spotlight help
Moderator: Moderators
-
echo_rancid
- Captain
- Posts: 264
- Joined: Sat Jan 31, 2004 4:31 pm
spotlight help
I was wondering if somewhere out there someone has a map with a spotlight in it. I would like to see the .map if that is possible, I want to see how it's set up. I found a script of bdogers from the rescue and noticed the spotlights in that map work great. I just need to know how to set them up. Anything would be helpful, (the .map file would be best). Thanks.

-
echo_rancid
- Captain
- Posts: 264
- Joined: Sat Jan 31, 2004 4:31 pm
local.path = $("spotpath" + self.set + "_" + self.group)
example
$spotpath1_1 for a circle of info_splinepath nodes that target the next node so that they form a circle the last node targeting the first node and one of the nodes has the targetname spotpath1_1
to use the script from the rescue you make a script_model ( miscobj/searchlightbase.tik ) with a targetname of spotlight and give it a set number and group number as used above. The name of the path the spolight will follow is taken from those two keys local.path = $("spotpath" + self.set + "_" + self.group) ( the script spawns the actual spotlight you only put the base into your map )
example:
key: targetname
value: spotlight
key: set
value: 1
Key: group
value: 1
example
$spotpath1_1 for a circle of info_splinepath nodes that target the next node so that they form a circle the last node targeting the first node and one of the nodes has the targetname spotpath1_1
to use the script from the rescue you make a script_model ( miscobj/searchlightbase.tik ) with a targetname of spotlight and give it a set number and group number as used above. The name of the path the spolight will follow is taken from those two keys local.path = $("spotpath" + self.set + "_" + self.group) ( the script spawns the actual spotlight you only put the base into your map )
example:
key: targetname
value: spotlight
key: set
value: 1
Key: group
value: 1

