spotlight help

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
echo_rancid
Captain
Posts: 264
Joined: Sat Jan 31, 2004 4:31 pm

spotlight help

Post 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.
Image
echo_rancid
Captain
Posts: 264
Joined: Sat Jan 31, 2004 4:31 pm

Post 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?
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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
Image
echo_rancid
Captain
Posts: 264
Joined: Sat Jan 31, 2004 4:31 pm

Post by echo_rancid »

Alright, thanks alot bdbodger.
Image
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post 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:
Image
Post Reply