GOTH, I think a nice little effect to add onto this now would be for the flashlight to get dimmer as the battery power gets lower.....
You could do this by simply editing the ambience levels when you change the HUD.....
I think that'd take this to the next level....
-=EDIT=-
Here we are:
;Artificial Intelligence Script
Flahlight script
;Header
desc = flashlight s4real fog edit by game freak16 and edited by:(SEF)DEATH
;Triggers
;==============================================================================================================================================================
;Hud's to show.
;==============================================================================================================================================================
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\flash.dds,hudname=flash,hudhide=1,hudmake=display,state=9
:state=9:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\1.tag,hudname=1,hudhide=1,hudmake=display,state=10
:state=10:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\2.tag,hudname=2,hudhide=1,hudmake=display,state=11
:state=11:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\3.tag,hudname=3,hudhide=1,hudmake=display,state=12
:state=12:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\4.tag,hudname=4,hudhide=1,hudmake=display,state=13
:state=13:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\5.tag,hudname=5,hudhide=1,hudmake=display,state=14
:state=14:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\6.tag,hudname=6,hudhide=1,hudmake=display,state=15
:state=15:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\7.tag,hudname=7,hudhide=1,hudmake=display,state=16
:state=16:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\8.tag,hudname=8,hudhide=1,hudmake=display,state=17
:state=17:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\9.tag,hudname=9,hudhide=1,hudmake=display,state=18
:state=18:hudreset,hudx=11,hudy=90,hudimagefine=gamecore\text\flashlightv3\10.tag,hudname=10,hudhide=1,hudmake=display,state=1
:state=1,scancodekeypressed=33:hudshow=flash,sound=audiobank\flashswitch\flash.ogg,ambience=50,timerstart,state=2,fog=1,fogred=5,fogblue=5,foggreen=5
:state=2,scancodekeypressed=0:state=3
;==============================================================================================================================================================
;Hud timers
;==============================================================================================================================================================
:state=3,timergreater=1:hudshow=1
:state=3,timergreater=4000:ambience=48,hudunshow=1
:state=3,timergreater=4000:ambience=46,hudshow=2
:state=3,timergreater=8000:ambience=44,hudunshow=2
:state=3,timergreater=8000:ambience=42,hudshow=3
:state=3,timergreater=12000:ambience=40,hudunshow=3
:state=3,timergreater=12000:ambience=38,hudshow=4
:state=3,timergreater=16000:ambience=36,hudunshow=4
:state=3,timergreater=16000:ambience=34,hudshow=5
:state=3,timergreater=20000:ambience=32,hudunshow=5
:state=3,timergreater=20000:ambience=30,hudshow=6
:state=3,timergreater=24000:ambience=27,hudunshow=6
:state=3,timergreater=24000:ambience=24,hudshow=7
:state=3,timergreater=28000:ambience=21,hudunshow=7
:state=3,timergreater=28000:ambience=18,hudshow=8
:state=3,timergreater=32000:ambience=15,hudunshow=8
:state=3,timergreater=32000:ambience=12,hudshow=9
:state=3,timergreater=36000:ambience=9,hudunshow=9
:state=3,timergreater=36000:ambience=6,hudshow=10
:state=3,timergreater=37000:ambience=3,hudunshow=10
:state=3,timergreater=37000:hudunshow=flash,sound=audiobank\flashswitch\flash.ogg,ambience=0,state=1,fog=0,fogred=0,fogblue=0,foggreen=0
;==============================================================================================================================================================
;Huds to unshow when the key is pressed
;==============================================================================================================================================================
:state=3,scancodekeypressed=33:hudunshow=flash,sound=audiobank\flashswitch\flash.ogg,ambience=5,state=4,fog=0,fogred=0,fogblue=0,foggreen=0
:state=4:hudunshow=1
:state=4:hudunshow=2
:state=4:hudunshow=3
:state=4:hudunshow=4
:state=4:hudunshow=5
:state=4:hudunshow=6
:state=4:hudunshow=7
:state=4:hudunshow=8
:state=4:hudunshow=9
:state=4:hudunshow=10
:state=4,scancodekeypressed=0:state=1
;End of Script
Now the light will slowly get dimmer as the timer progresses, I recommend having ambience at 0 for this to work though, as whe the batteries go flat it would look like the room got darker than before... :S
I have returned, after 28 days of exile, fear me!