Page 1 of 1

spotlight help

Posted: Wed Jul 28, 2004 8:49 pm
by echo_rancid
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.

Posted: Fri Jul 30, 2004 4:00 am
by echo_rancid
Anyone, anything about spot lights would be great. If I had to guess I prolly need to make a path for the light to follow, is that correct?

Posted: Fri Jul 30, 2004 6:46 am
by bdbodger
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

Posted: Sat Jul 31, 2004 1:41 am
by echo_rancid
Alright, thanks alot bdbodger.

Posted: Sat Jul 31, 2004 2:31 am
by Krane
I had a spotlight on my map containerz...The problem is that the fps dropped a lot so I got rid of it...

Think about it...but in my site, you can try to d/l the mansions map, I think the site's version still have the spotlight there :wink: