Posts: 949
Threads: 153
Joined: Jan 2012
Reputation:
0
Do you know of any? I've tried to billiard type things (19121 - 19125ish) but they don't seem to cause light with a textdraw-overlay. (The whole purpose of my gamemode), so could someone give me some object IDs that cause light? I put it into discussion because I've never seen this topic anywhere before (I've searched aswell) and it's not exactly me needing scripting help.. so, yeah. Discussion is welcomed.
Posts: 1,534
Threads: 129
Joined: Jan 2012
Reputation:
0
Open map editor and search for "mirage", "bally", "flamingo" and "neon".
Posts: 162
Threads: 5
Joined: Oct 2012
Reputation:
0
@[HLF]Southclaw: that little light is spotlight object. And you can use it for flares and etc
[HLF]Southclaw
Unregistered
Which "little light"? My image had around 30 light objects...
And the only one that actually emits light is the Hydra Flare, which as I've said before, flashes epileptically.
Posts: 162
Threads: 5
Joined: Oct 2012
Reputation:
0
Use Map Editor and create spotlight object and you will see that emits light.
[HLF]Southclaw
Unregistered
What actual object ID though? That's what this post is all about!
[HLF]Southclaw
Unregistered
Oh those, I've already tried them and they don't emit light properly, just a texture that always faces the camera.
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
Such texture is called a lens flare. :P
I don't think there are any other objects that emit light on the environment. Objects like the PointLights do emit light on players and vehicles, but not on objects/the map, if I remember correctly. On your screenshot the street lamp emits some light on the ground too, maybe there's a suitable street light for you?
[HLF]Southclaw
Unregistered
Quote:
Originally Posted by Basssiiie
Such texture is called a lens flare. :P
I don't think there are any other objects that emit light on the environment. Objects like the PointLights do emit light on players and vehicles, but not on objects/the map, if I remember correctly. On your screenshot the street lamp emits some light on the ground too, maybe there's a suitable street light for you?
|
Like I've said the Hydra Flare does emit light just like street lamps do. I can't find a street lamp small enough and setting the material is out of the question as I intend to attach it to the player (not with AttachObjectToPlayer)
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
If you're attaching the object with SetPlayerAttachedObject, can't you make the model as tiny as possible, and stick it inside the body of the player? (So it can't be seen?) It might be possible that the light glow won't change size. Although, I'm not sure if there are any limits on scaling objects in SetPlayerAttachedObject.