Jump to content

Flashing lights


Recommended Posts

Author: Slave, Raptor-RSF

Skill level: 3

 

 

In this tutorial you will learn how to create basic (flashing) lights in renx or 3dsmax.

 

lightflash.giflightflash_mct_ionb.jpg

 

In the example above is showed the flashing light explained in this tutorial. It works the same as the basic lights, seen on the Ion Beacon and MCT's but with some additional settings.

 

 

Step 1

Download the Tutorial files.

 

 

Step 2

Open renx or 3dsmax and create a plane (size doesn't matter).

lightflash_01.jpg

 

 

Step 3

Rotate the Privot -90 degrees on its y-axe.

lightflash_02.jpglightflash_03.jpg

 

 

Step 4

Modify the setting in the "W3D Export Settings" rollout as shown below.

lightflash_04.jpg

 

 

Step 5

Set up the texture in the "Renegade Material Editor". To edit the light color just click on the "Emissive" colorbar to modify it.

lightflash_05.jpglightflash_06.jpg

lightflash_07.jpglightflash_08.jpg

 

 

Step 6 (optional)

You may rescale the plane to 2x2 meter and lift it to 0,5 meters for ingame testing.

lightflash_09.jpg

 

 

Step 7

Export the file as a normal "Hierarchical Model".

 

If you want to test your flashing light in the game, just save it to w_c4-p.W3D and place it into the renegade "Data" folder. Run Renegade and look at the Proximity C4 (landmine) while its on the ground.

 

Warning: Renaming the file after export may result in errors and game crashes.

 

 

 

Adjusting the lightflash

- If you want the light to have a faster flash, just edit the "VPerSec=..." Argument.

 

- If you want the light to have a different flash pattern, just edit the gradient texture.

 

The flash pattern moves in the direction of the red arrow:

lightflash_gradient.jpg

 

 

 

 

Credits:

 

- Slave (Knowledge of the flashing light and creator of the gmax file)

 

- Raptor [RSF] (Writing this tutorial)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji 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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...