Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  

Lighting Methods in Emergency 4


Description

A brief description of different lighting methods, benefits and the drawbacks.
Hello all, this tutorial will touch on the basics of lighting in Emergency 4, an essential part of a mod that can make the difference between a great mod and a mediocre mod. First off I'll touch on the different things you'll encounter in the editor.

[b]Coronas[/b]
This is the most basic part of a light and can be placed wherever you want to see the glow. There's many options for colours, which can come stock, or designed through photo editing programs.
[img]http://i.imgur.com/Q29tT3p.png[/img]
Here you can see the drop down menu letting you select the types of coronas. They're generally pretty basically named, so it shouldn't be too hard to figure out what one you'd like. If you're lighting a unit that has different colour/shades of lights than you see here, you can make a corona file and name it your own, as seen with my corona4_nfk_red.tga.
Files are saved :
Mod:Textures\Coronas and saved as targa files, 32x32 for best results.

Generally speaking again, less is more however more coronas is not the most damaging thing you can do

[b]Radiation[/b]
This is a very controversial part among modders. Too much will ruin your lights, your unit and possibly the game experience. The modders I spoke with on this had divided opinions on how much to use and why.

[b]No radiation, period: [/b]While this will certainly increase the overall performance of your units, and prevent any radiation related issues, it's the most extreme and not really necessary.

[b]Basic Radiation Only: [/b]This means only placing subtle radiation on brake and headlights. This means that you have at least the basics, but doesn't give you a glowing effect or the ground effects you associate with emergency vehicles in real life.

[b]Heavy Radiation[/b]: Putting a radiation box for every flash does provide a realistic lighting effect, which looks great in youtube videos and show cases but it is hard on the old engine that runs this game. Although a unit or two on a map may work well with heavy radiation, when combined with the high poly models that are commonplace now as well as the effects happening in the game, FPS will drop and the mod will become virtually unplayable.

[b]Strategic radiation: [/b]As you can tell, this is my preference, so I am biased on this, but where the game is older, even maximized systems will struggle without optimization of every part of the game, including lighting effects. Generally speaking, vehicles will have a main light system, maybe a full sized light bar, or interior lighting systems. The trick is to find the main system functioning and place radiation around it in a way that looks close.

[img]http://i.imgur.com/azs7gUk.png[/img]
Placing a radiation block near the light will work. For Ambulances where they have perimeter lighting, flash patterns can be emulated following a similar method, just moving the radiation to the lighthead.

A standard LED Lightbar is likely to have a 1-2 pattern, where sides flash opposite to each other. This is particularly common in ambulances and police vehicles. By placing radiation on one light for each flash on each side will help produce a realistic ground effect without being too heavy on resources. While it will not emulate ground effects for perimeter lights or other area lighting, it gives enough detail for bird eye view, like in this game. This type of radiation works best on patterns such as seen on this lightbar:
[color=rgb(187,187,187)][font=Roboto][size=2][url="https://youtu.be/IxwxcNC8SQQ?t=24"]https://youtu.be/IxwxcNC8SQQ?t=24[/url][/size][/font][/color]

For vehicles such as fire trucks or vehicles with one rotating light can achieve ground effects that are not taxing, but still can look aesthetically pleasing. Fire Trucks have a weird lighting layout many times, such as the Ladder in Hoppah's LA Mod. The trick lies in placing radiation on sides where lightbars would shine in real life, but by placing them in alternating time flashes as well as slight location differences. When activated, the ground effects will show a flashing effect. It differs from unit to unit, but can be achieve with some playing around and timing.

I complied some images in an [url="http://imgur.com/a/tnH42"]album here[/url] to show you what I'm talking about.

[i]How to make realistic lights[/i]

[b]LED Lights: [/b]As vehicles get newer, agencies have been shifting to LED for their superior performance in many areas including brightness, visibility, cost and maintenance. These are pretty easy in comparison to halogen lights, especially the way this game was designed.

Start by placing the corona in the area you want, switch to polygon mode and begin drawing by clicking to place corners. You should try to create a box around the lighthead. What this does is puts a glowing area that is supposedly lit up by the light when it flashes.
[img]http://i.imgur.com/wRteLhf.png[/img]

Back to light mode, you can set flash frequency and intensity. The former is of course how fast the light blinks and the latter is how quick it turns off. A higher intensity will mean a shorter, quicker blink. When you feel as if you're ready, you can copy and paste the light, changing the flash offset value, which will change timing. Depending on the speed at which your light flashes and the pattern you're trying to emulate, you will range anywhere between. A 1 is on when 0 is off.
For reference, for a standard alternating strobe type pattern, I set speed of 4.00, two lights on either light head, 0.00 and 0.50 offset for the first light, and 1.00 and 1.5 for the other light, all with a 0.95 intensity. Play around with it, see what works for you.

[b]Rotating Lights: [/b]This is something that everyone has a totally different way of doing, and you'll probably change your method a dozen times before you find something you like. There's a bunch of methods, so I'll outline some that I've used and been told about.

[i]Single corona: [/i]This is the first one that was very popular seen in mods. It's featured in the LA mod and based off of the idea that you see a blink when the light flashes. It's the way the base game started. It's light, but it doesn't look all that great. Don't do it, you're better than that if you're taking the time to read this.

[i]4 alternating coronas in a square pattern: [/i]So this is the first way I learned, and it's by placing them in a tight square, with a high intensity, speed and an offset of 0.25 each. This creates a spinning type effect when zoomed out a little bit. The problem is, this means 4 lights for every effect. Not only that but there is also the lack of a "blink" that you see when looking at a light in real life.

[i]4 alternating coronas in a square pattern with flash: [/i]I've seen some mods with this lately, it's meant to address the blink you see in real life. You still get a rotating effect and the flash. This addresses one issue, but adds another when it puts in an additional light. The blink is usually timed with one of the other lights' offset

[i]2 coronas with flash: [/i]So this is the one I personally use now, as well as many other people coming up. The method is placing two coronas, usually 0.50 offset apart. On models with clear lenses, it's easier to do this. I recommend trying it on this type first as it's easier to place them. Hoppah has a pack in his LA mod to practice on. I place the coronas on either side of the rotator beacon. In the middle then, I place a larger corona, at half way between the offsets (0.00, 0.50 = 0.25) at full intensity to create that blink. I personally also change the corona type to a different one. I may use 5_red for either side and _redlight for the flash. That works for me and my units, but you need to do what works for you and more importantly the units you're representing.

Hopefully this provides a brief overview of the basics, some methods on how to get you started and explains some choices. If you have any questions, comments or your own thoughts to add, please let me know in the comments section


Recommended Comments

Corona 5_Red and orange are custom coronas from one of those packs. I can't find it in my default copy of Em4 or in some other mods. My personal preference though for rotator lights are redlight for the shockwave and 10_red for the slower flash.

Share this comment


Link to comment
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Add a Comment

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×