Custom Lightstyle Generator v1.0

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Loulimi points.
  • Post: Give Loulimi your thoughts on this Tool.
  • Vote: Help Loulimi win the Monthly Awards.
  • Rate: Give this Tool a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tool.
  • Watch: Get notified when this Tool is updated.


Sign up

Already a Bananite? Login

Allows you to create your own "Custom Appearance" in the light properties easily.

############################################# Custom Lightstyle Generator Version 1.0 ############################################# by Craig McLaren (CRAZG) For Half-Life level designers. - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - Based on the Light Generator by koekjesbaby - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - ÷ - This is freeware - if you payed for it, you got sucked in big time. Feel free to redistribute unmodified on any medium (with or without sounds). ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ Development Software Information:> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Coded in Microsoft Visual Basic 6.0 Graphics created using Paintshop Pro 6.0 Sounds stolen from various arcade games. ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ Installation:> ^^^^^^^^^^^^^^ This program requires VB6.0 runtimes and; * comdlg32.ocx * mscomctl.ocx This program will run from any directory after installation and does not create any external files. Optional Sounds ''''''''''''''' Put "clg_button.wav" in the same directory as the executable for the default button sound. Create "CLG_Media" directory in the same directory as the executable for different button sounds. These sounds override the default button sound: * clg_about.wav * clg_copy.wav * clg_paste.wav * clg_prev_off.wav * clg_prev_on.wav * clg_rand.wav ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ Security Information:> ^^^^^^^^^^^^^^^^^^^^^^ This program will not attempt to make any network connections. This program will not create, modify or delete any files - it stores only ascii to the clipboard (RAM). Run this program at your own risk, I accept no responsibility for any damage or loss it may cause. Beware of modified files! Download only from a trusted source. For example: ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ Useage:> ^^^^^^^^ Use the mouse to draw your lightstyle by moving the mouse over the display area. Hold down the left mouse button to draw. Click the right mouse button to set the end marker for the lightstyle. Below the display area you will notice the text changes as you draw. You can also edit the text by typing in the textbox. The light power is relative to the character's position in the alphabet: 'a' is black, 'z' is fullbright. Every character increment is a 4% difference in light power. The randomize feature is handy for adding random interference effects. Use the copy button (or ctrl+alt+c) before trying the randomize feature; so you can paste the current lightstyle back if you're not happy with the results. You can preview the lightstyle by clicking the preview toggle button (or ctrl+p). The preview animates at about the same speed as it would in Half-Life. Click on either the "Ambient Light" or "Light" colour boxes to change their colour. When you are happy with the lightstyle you have created; click the copy button and paste it into a text document. Put a note or discription with the new lightstyle so you can identify it later. Lightstyles you have created can then be copied from the textfile, and pasted into the properties dialog box of a light entity ("Custom Appearance"/"pattern" keyvalue) in your favorite level editor. For a light entity in Half-Life to use a custom appearance; it must be a dynamic light. This simply means that the light entity must have a targetname (usually used to trigger the light on and off). A light with no targetname stays on permanently, and is therefore not dynamic. If you're thinking "But I don't want to turn my light on and off", don't worry; you never have to trigger the light - just give it a name, it will start on. If you use the same lightstyle for several light entities, give them the same targetname if possible (remember, if turned on or off, all entities with the same targetname will react). Giving them the same targetname will make them count as only one lightstyle on a surface - even though it may come from several sources. The maximum different lightstyles on a single surface is four. You may notice after compiling the map that dynamic lights illuminate only a large circle surrounding the entity. By using the option "-coring 0" (without quotes) in the hlrad.exe command line; dynamic lights will illuminate normally. The default value for coring is "1". See hlrad.exe documentation for more info. If you don't know what hlrad.exe is, visit and find out about Zoner's Half-Life Tools, download and use them to compile your maps - they are the best ;) ÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ Hotkeys:> ^^^^^^^^^ Ctrl + P Toggle preview animation. Ctrl + R Apply randomization. Ctrl + Alt + C Copy lightstyle character string (ascii) to clipboard. Ctrl + Alt + V Paste ascii from clipboard. Ctrl + L Choose preview light colour. Ctrl + A Choose preview ambient light colour. Ctrl + H Display "About" message box. Ctrl + M Minimize application. Ctrl + Q Quit application.



None found


Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share


Key Authors
Craig McLaren (CRAZG)


Loulimi avatar
Loulimi Offline
Member Joined 4y
215 points Ranked 16731st
5 medals 1 rare
  • Submitted 5 Tools Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Submitted 1 Tool Medal icon

Are you the owner? Request Ownership
Send a Private Message to the submitter






Date Added
4y tracking pixel