Jump to content

change flashlight for a lighter / zippo flame


onaid
 Share

Recommended Posts

is there a way to change the default flashlight / torch for a light more like a zippo/lighter type of light , if that makes sense ? could i use the fire pit plane/ light instead of the flashlight.. just as if you where in the dark woods and light a zippo to see where your going with the light flickering .......if that makes sense

 

cheers

post-9540-0-07402700-1453813376.jpg

Link to comment
Share on other sites

  • 3 weeks later...

On the train on my phone, so typing scripts is too painfull.

 

Lets start simple. The Flashlight is currently a spotlight. Use API to figure out how to make a pointlight instead.

 

Next is adding fluctuation to the intensity of the light. Try looking in to the firepit how that is done. In your fps script, in the update check if Flashlight is active. If so, aplly the fluctuation you found in the firepit script.

 

If you are really stuck let me know, and I will create a basic version for you. Also if you manage to get it working partially, post your script so that we can have a look.

Link to comment
Share on other sites

  • 2 weeks later...

thanks Aggror , fpsplayer.lua dose work but only if i check the flash light on box.

 

 

post-9540-0-42482500-1456708239_thumb.png

 

 

 

problem is flash light is on at start game, where i would like the flash light off at the start of game, also if i leave the box unchecked and then turn on flash light in game with F key it uses default flash light (not the flickering zippo light)

 

if that makes sense, its like by checking the box im turning off or on the part you modified in the fps script ?

and is there a way to adjust light level ?

cheers again

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...