Scripts / Flashlight Question

Author
Message
PROUDPIXELS | Flo
9
Years of Service
User Offline
Joined: 31st May 2015
Location: Germany
Posted: 25th Nov 2015 13:23 Edited at: 25th Nov 2015 15:26
dear GG community,
its possible to flickering the light of the flashlight?
it works perfect on the "flickering light Script" with other types of lights. why not on the flashlight?
I hope there is a solution.
Sincerely Flo
Bolt Action Gaming
GameGuru Tool Maker
11
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 30th Nov 2015 15:05
The only thing I could think would be to modify this:
https://forum.game-guru.com/thread/213504
and change the decal to be something that makes the entire flashlight look dimmer then insert your flicker code into his torch code by having it pop the image randomly.

It's very viable from that context, I think.
I'll see what I can whip up for you if I have time.

Recently updated my review blog.

http://gamegurureport.blogspot.com
Bolt Action Gaming
GameGuru Tool Maker
11
Years of Service
User Offline
Joined: 24th Oct 2013
Location: Harrisburg, PA (USA)
Posted: 30th Nov 2015 15:22
So just giving you what I could throw together with zero testing whatsoever (I'm at work).



Obviously this is a complete cludge of landman's cool torch hack. But it should get the job done.
Basic concept is you invert the concept to only apply a blanket sized transparency image which will dim the flashlight once in a while when a random value is met. It's very simplistic and ideally you'd use something like smallg's flicker script instead but I felt this would work for now so here you go
The zip file has all the necessary files, hopefully in the right order.
Recently updated my review blog.

http://gamegurureport.blogspot.com

Attachments

Login to view attachments
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 30th Nov 2015 17:07
i have requested Lee include the flashlight on/off function via lua already as he was adding new commands and he said he will include it in the next update so a flickering flashlight should be possible next week if he remembered to include it.
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, AMD R9 200 series , directx 11
PROUDPIXELS | Flo
9
Years of Service
User Offline
Joined: 31st May 2015
Location: Germany
Posted: 30th Nov 2015 19:01
Thanks for the answers.
That's great, I look forward.

Login to post a reply

Server time is: 2024-12-30 16:00:02
Your offset time is: 2024-12-30 16:00:02