This is
not a Aprils Fool
This is
not a Joke
This is
not a Lie
This was made fully by me (
Zizaco)
This is
Free to use anywere you want
I dedicate this to:
All FPSC Comunity members!
All who belived me!
Thats impossible to make a Flashlight Script!
YES
So!? Are you liering right?(that youve done a Flashlight)
NO!
HOW?
I've just edited the FPSC-Game.exe source!
Screens?
Here they are! XD
With no light! But when you got near...
...you got it
ILLUMINATED!!
Wow! How does it works?
It works like:
There is not a light bulb following the player. No. But there is a shadow penumbra envolving the hole map! When the player gets near the wall, that part of the shadow disapear!
The player have a light area around him, (flashlight) and that "iluminates
" the map
The other think thats make the shadow disapear is the lightbulbs (lightmap).
Does it slowdown the game?
NO!
In real it does it runs more fast! cause the areas that is fully covered by the shadow will not be rendered! it works like a fog!
So your game will runs faster then wiouth it
How does i get this to work in my game!!!!?
In the next post i will attach the modified FPSC-Game.exe. Just put it in yourgamedir overwrite the original file and run.
PS:I know that no one likes to download .exe files, so if dont are secure to download this file please let any MOD download it first and say if the file is secure
Its just a recompilled FPSC-Game.exe
So after you get this new .exe go to the "[YourGameDir]FileslanguagebankEnglishgamebankmygame" and opens the "setuplevel.fpi" in Notepad.
So change the lines of the
Fog and
Ambience. They should be the 7º and 8º lines, to:
:state=0:fog=1,fogred=230,foggreen=230,fogblue=230
:state=0:ambience=25,ambiencered=255,ambiencegreen=255,ambienceblue=255
Save it and Close it.
Go to the "[YourGameDir]FileslanguagebankEnglishtextfiles" and open the "fpsc-050.ini" change it to:
Save it and close. Ok now look in the languagebankenglishtextfiles folder and modify fpsc-050.ini so that the number is 629 instead of 625, now open fpsc-050.txt and add lines to the end of the file like this:
Save it and close.
Now go to [YourGameDir] put the modified FPSC-Game.exe on that. Rename to "YourGame".exe and run!
I hope you liked it!
Tips and Tricks
To desable/enable flashlight just do a switch follow the player and when its activated turn on/off the fog. Cause this flashlight system uses the fog to create the shadow. So you activating/deactvating you enable/disable the Flashlight.
NEXT UPDATES(Coming Soon)
A Lens Flare Thats gona be on the camera direction.(done)
A key (Problably
G) to disable and Enable the Flashlight
UPDATES 28/06/2006
Light Mask (Lens Flare)
Now, your flashlight will not look like a torch, it will be a spotlight like in RealLife
. I hope you like this update.
Screens:
How does it Works?
I've created a light mask, that only let the lighted area aparear thought the alpha areas of this image:
How i get it to work?
Download the next atached file (flashlight.dds)
Put the flashlight.dds in the "[YourGameDir]/Files/gamecore/huds"
Go to "[YourGameDir]/Files/languagebank/English/gamebank/mygame" and Open the "setuplevel.fpi"
Find the line:
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=128,hudblue=128,hudsizex=1024,hudsizey=768,hudimage=gamecorehudszoom.tga,hudhide=1,hudtype=4,hudmake=internal
And overwrite by this:
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=128,hudblue=128,hudsizex=1024,hudsizey=768,hudimage=gamecorehudszoom.tga,hudhide=1,hudtype=4,hudmake=internal
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=128,hudblue=128,hudsizex=1024,hudsizey=768,hudimage=gamecorehudsflashlight.tga,hudhide=0,hudtype=4,hudmake=internal
Ok, Noew run the FPSC-Game.exe and Enjoy
Best Regards! Zizaco!
Sorry for my bad inglish!