I need a little bit of help!!

I need a little bit of help!!

Hammer Mapping — Page [1]
GanJa
2010 Dec 22 • 16
Hello guys.

I want to make a lamp. The lamp is an .mdl but i can't find
a way to adjust the light entity so it emits from the lamp. I tried light_spot too but that didn't do anything.

I searched the whole forum through Google of course but couldn't find my answer.

Also, how can i make it so that in every round the sky goes from morning to night and vice-versa?

Thanks!
 
 
2010 Dec 27 at 09:31 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
You have to use the light_spot entity and target an info_null entity with it.
The light will then shine from the light_spot in the direction of the info_null.
...and that's the bottom line because Mate de Vita said so.
 
 
2010 Dec 27 at 09:40 PST
GanJa
2010 Dec 22 • 16
could u please explain that a little more noobish ?
 
 
2010 Dec 27 at 09:48 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
http://twhl.co.za/wiki.php?id=147
http://twhl.co.za/tutorial.php?id=51 (see the part with light_spot entity)

As for the sky changing from day to night and back between rounds, that's a little more advanced. You'd have to use a method similar to this.
...and that's the bottom line because Mate de Vita said so.
 
 
2010 Dec 27 at 10:06 PST — Ed. 2010 Dec 27 at 10:10 PST
GanJa
2010 Dec 22 • 16
so i create a light_spot inside the model and then add an info_null entity to the place i want the light to go towards then i open properties of the info_null i put name "null1" then i go to light_spot properties and i put in the target field "null1".

Correct? :)

so it worked but i can't see the light on the model :/
it's like the bulb does not exist :(
 
 
2010 Dec 27 at 10:26 PST — Ed. 2010 Dec 27 at 10:44 PST
GanJa
2010 Dec 22 • 16
Someone please??

Sorry for being a pain in the ass!!
 
 
2010 Dec 27 at 11:50 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5485
57,583 ₧
 
 
2010 Dec 27 at 12:04 PST
fedex _

2009 Mar 23 • 901
13 ₧
why dont u just make one


it dont seem that are hard to make it , instead of going through all the shit ,

then when u build the lamp put a light entity and group the whole thing and copy more if need them

melloyellow582 said:
I post sometimes, to make a point.
 
 
2010 Dec 27 at 13:24 PST
GanJa
2010 Dec 22 • 16
so here is what i did!!

Created a cycler entity, pointed to the .mdl file!! Next i added an info_null entity on the floor, after that i created a block as a cylinder and used the "spot" texture and attached it into the lamp model. After that i made a light_spot entity just below the block!! I named the info_null entity "null1" and in the "target" field of light_spot properties i entered "null1"!!

Is that the correct way of doing such thing? :/
 
 
2010 Dec 27 at 13:30 PST — Ed. 2010 Dec 27 at 13:30 PST
Page [1]