Update: Helixhorned fixed the bug in FLASHLIGHT2.CON. I also add a small fix for FLASHLIGHT1.CON and updated the *.txt files.
* Description/content
When pressing the 'Flashlight' key, you can activate/desactivate it and illuminate dark areas.
The effect does not come from center of the screen, but comes rather from the right shoulder, so you can better see the real-time shadows.
Work only with Polymer mode.
There are two versions included:
FLASHLIGHT1.CON
To make it work, you must include in your map a SECTOREFFECTOR with a lotag of 50, and a palette of 10 (no need to modify the hitag, xvel or other values). If it not there, there will be no effect.
FLASHLIGHT2.CON
This version should make the flashlight work in regular maps (no need to add SE).
Thanks to Helixhorned, this should works normally now.
I have also included a very small map 'flashlight_test.map', to be used with FLASHLIGHT1.CON.
* How to install/make it work:
Simply copy the files into your EDuke32 directory.
Then you can either use the commande line (something like "EDUKE32.EXE -X FLASHLIGHT1.CON") or rename the FLASHLIGHT1/2.CON into EDUKE.CON an launch EDuke32.
Important: don't forget to bind a key for the flashlight! It replaces the 'turn around' key.
* Known Bugs:
- It may lag or glitch in some maps.
- When you're using security cameras, the flashlight is teleporting right to the camera that you're viewing.
- If you're using the HRP or any player model, you may get the player shadow interfering with flashlight. If this happens, check HRPModels_fix.txt to see how to correct this problem
* modification/permission
You can freely modify the code, either for use in your maps, mods or whatever, but don't forget to give credits.
Flashlight_by_Darkus.zip (7.87K)
Number of downloads: 565
Some screenshots:
flashlight_test.map using FLASHLIGHT1.CON
modified E1L2 (SE 50 added with pal 10) dark hallway using FLASHLIGHT1.CON
unmodified E1L1 using FLASHLIGHT2.CON (