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 / Flashlight script!

Author
Message
Bruno Giannotti
13
Years of Service
User Offline
Joined: 12th May 2011
Location:
Posted: 13th May 2011 06:12
Hello everyone.

I'm using FPSC by some weeks, and I am almost in Alpha stage of my horror game...But when I decided to test it, I realised that the game is not scary at all...principally because of the light...so I adjusted my game to "dark" reaaaallly dark. and I couldn't see ****, so I tried to add lights but then I got an weird freeze when building it...So my only option is a flashlight. I found one in a topic where you only need to extract the files to gamecore/guns/user/...Well it didn't worked, I mean it doesn't show up in the Entities menu. But actually there is an "torch" item, which you can even pick it up but it doesn't light anything...ALL I want is a flashlight which I can equip like an weapon...Any chances?


Thank you,
Kravenwolf
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 13th May 2011 12:53
Quote: "Well it didn't worked, I mean it doesn't show up in the Entities menu."


That's because you need to extract the entity files that should have come with the download somewhere in your entitybank folder so you'll have a pick up item for those gunspec files. And the 'torch' item is simply an item with the default pickup1.fpi script attached to it. So it won't do anything when you pick it up because it's not being told to do anything else.

There are several various flashlight scripts on the forum, ranging from a black outline HUD that covers the screen to simulate the flashlight effect, to an actual dynamic light attached to the player position. Even one or two that require batteries to keep 'lit' If you can't get the one you have now working, I would suggest searching through some of these other alternatives (search bar bottom-left of the page), and finding one that works best for you.


SIDENOTE:

Quote: "ALL I want is a flashlight which I can equip like an weapon"


EAI has an 'LED' flashlight pack in the GC Store for 50 points that can be equipped like a weapon. Downside to equipped flashlights is that you can't use them when you pull out another weapon to shoot an enemy (unless you have Project Blue so you can duel wield). So you'll essentially be engaging enemies in the dark.

Kravenwolf

Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 13th May 2011 13:18 Edited at: 13th May 2011 13:19
If it helps, WASPV2 mod offers several flashlight/torch options, including the option to attach a light to a weapon via the gunspec

http://forum.thegamecreators.com/?m=forum_view&t=178118&b=21

http://jimjamsgames.yolasite.com
Bruno Giannotti
13
Years of Service
User Offline
Joined: 12th May 2011
Location:
Posted: 13th May 2011 19:10
You were right Wolf. it wouldn't be nice to shot enemies in the darkness and also I couldn't adjust the darkness righ...always too dark so I adjusted it back to Normal, downloaded the "Fake" Flashlight script, worked perfectly, exacly the way I wanted , I can equip it with any weapon, and the whole ambience is dark.

Thank you so much,


Bruno

Login to post a reply

Server time is: 2024-11-24 08:44:15
Your offset time is: 2024-11-24 08:44:15