Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom lamp
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#1
Custom lamp

Hey,

I'm creating a custom model for a CS. I wanted to make it a lamp so the player can lit the entity, but I didn't add any billboards or lights. When I go in-game, I can't lit the 'lamp'. I copied everything from another lamp in the model editor, so it can't be that.
Did I miss something?
06-10-2013, 07:57 AM
Find
JonnyAnomaly Offline
Member

Posts: 179
Threads: 20
Joined: Nov 2012
Reputation: 14
#2
RE: Custom lamp

Did you make sure to set it to a lamp entity in the user variables in the model editor?
06-10-2013, 08:03 AM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#3
RE: Custom lamp

(06-10-2013, 08:03 AM)JonnyAnomaly Wrote: Did you make sure to set it to a lamp entity in the user variables in the model editor?

Of course, I'm not that stupid Tongue
06-10-2013, 08:09 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Custom lamp

Make sure the "CanBeLitByPlayer" option is ticked.

"Veni, vidi, vici."
"I came, I saw, I conquered."
06-10-2013, 09:01 AM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#5
RE: Custom lamp

(06-10-2013, 09:01 AM)JustAnotherPlayer Wrote: Make sure the "CanBeLitByPlayer" option is ticked.

It is.

Does it need to have a light and a billboard?
06-10-2013, 09:30 AM
Find
Fatalist Offline
Member

Posts: 122
Threads: 8
Joined: Dec 2012
Reputation: 8
#6
RE: Custom lamp

Lets try this:
Open "View --> Outline", select main body of the lamp (for example, Body_1), click "Edit attachments" and select everything. Click "Ok".

(06-10-2013, 09:30 AM)Smoke Wrote: Does it need to have a light and a billboard?
Yes, add any pointlight or spotlight.

(This post was last modified: 06-10-2013, 09:42 AM by Fatalist.)
06-10-2013, 09:37 AM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#7
RE: Custom lamp

(06-10-2013, 09:37 AM)Fatalist Wrote: Lets try this:
Open "View --> Outline", select main body of the lamp (for example, Body_1), click "Edit attachments" and select everything. Click "Ok".

(06-10-2013, 09:30 AM)Smoke Wrote: Does it need to have a light and a billboard?
Yes, add any pointlight or spotlight.

Worked! Thanks!
(This post was last modified: 06-10-2013, 09:47 AM by OriginalUsername.)
06-10-2013, 09:45 AM
Find




Users browsing this thread: 1 Guest(s)