light questions

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

Moderator: Moderators

Post Reply
neillomax
Lieutenant General
Posts: 880
Joined: Thu Jun 23, 2005 6:57 am

light questions

Post by neillomax »

Is there some way of getting the spot angle right. Sometimes i can't figure out how to make it go where I want. Also, i assume the radius ( 90 or 45 ) means the angle at which the light will flow ?


Is this something I should be doing the same way I make ladders....... north, east, south, and west....north being 0, east being 90 etc.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

spot

Post by tltrude »

I don't remember, but you should make a simple test map and try different numbers. "angles" is for the direction it points and is a three part number--x y z.

Key: angles
Value: 72 -30 45

I think you can also make a script origin (with a targetname) and just tell it to point at it. But, I don't remember how--maybe "target".
Tom Trude,

Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

You can make your light target an info_null to set the angles .

scorpio's description of an info_null :

Used as a positional target for spotlights, etc.
Image
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Question of my own

Post by HDL_CinC_Dragon »

I figured id post this question in here becuase its basically the same thing.


Could i have a static model of the lighted spotlight with a target name of Spotlight and in the script just have it say


local.player = parm.other
$Spotlight aimAt local.player


Or maybe have a script model with the model set to that spotlight model but with the same targetname and scripting?
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

What kind of spotlight are you doing ? If it is a moveable one without ai I wrote a script that uses a menu that lets you design one and writes the script for you to qconsole log .

http://www.mods-r-us.net/forums.php?m=p ... 254d#18953
Image
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

I want the spotlight to point at a player when he walks into a TriggerMultiple. and theres no AI involved its just a little light chillin there waiting for its Cue
Image
Post Reply