Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / How do I flashlight script?

Author
Message
Rickoise
15
Years of Service
User Offline
Joined: 19th Nov 2009
Location:
Posted: 19th Nov 2009 21:45
Okay i have the flashlight script and I've tried looking everwhere but it seems that I'm having a little trouble with where to place it


Quote: ";Artificial Intelligence Script Flashlight script ;Header
The Official Community Guide to FPS Creator – Revision 3 Page 103
desc = flashlight by s4real fog edit by game freak16 and edited bySEF)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
The Official Community Guide to FPS Creator – Revision 3 Page 104
: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"
Rickoise
15
Years of Service
User Offline
Joined: 19th Nov 2009
Location:
Posted: 19th Nov 2009 22:32
yeah I know I am a noob )= but this game is for a class I'm taking in college
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 20th Nov 2009 23:35
Put it on a dynamic light or triggerzone.

Since the flashlight needs to be running EVERYWHERE in the level, you need to use something that runs its script all of the time... which dynamic lights and zones do.


The one and only,


Trace517
15
Years of Service
User Offline
Joined: 21st May 2009
Location: Sacramento, CA
Posted: 18th Dec 2009 21:35
Wouldn't that be similar to the night vision script from fpsfree.com? Except no green.

Login to post a reply

Server time is: 2024-11-25 05:34:13
Your offset time is: 2024-11-25 05:34:13