Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Material Instance Constant


Connoisseur of Bourbon!

Status: Offline
Posts: 2912
Date:
Material Instance Constant
Permalink  
 


Open the generic browser and click on your map package.

In the grey area right click and select 'New MaterialConstant'.
Give it a name and confirm that it's going into your map package. Group is optional!

The properties window for the MIC(Material InstanceConstant) should open automatically looking like the window below.

MIC1.jpg


Next switch back to the generic browser and find a base Material(or another MIC if you want) and click on it so it's highlighted.  I've used a Fluro light, from the LT package, in my example below.
Please note that not all materials have the required vector parameter for colour change!!

MIC2.jpg


Now go back to your MIC and Click the Green arrow in the Parent field to set the selected material as the base for your MIC. (highlighted by arrow 1)

MIC3.jpg

Next expand the 'VectorParameterValues' (bottom one, highlighted by arrow 2 above) to set the colour you want.
You can either manually set the RGBA values or take the easier, and better, option and click the coloured square and pick a colour from the colour chart. (highlighted by arrow 4 above)

Once you have your desired colour, tick the checkbox next to 'LightColor' (highlighted by arrow 3 above) to enable the change.

Next close the MIC and say yes  to save any changes.

Now the important part...Make sure you apply the MIC to an object/BSP within your map before closing the map.  If no objects reference the MIC you'll find that it will be automatically deleted if the map gets closed. Just like level previews...

Other Notes on MIC's:

*  It's possible with Kizmit to change the colour 'on the fly' on MIC's while the map is being played.  eg.. create a flickering light where the material also changes along with the lighting changes.
*  You can set the physical material for any stock material, using the 'PhysMaterial' field shown above,  so the correct footstep sounds can be set.

Hope that helps out with creating MIC's. smile



-- Edited by Lord_PorkSword on Wednesday 5th of May 2010 02:36:58 AM

__________________

I like playing with stuff!



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

excellent :)
thx for that very usefull tuto bro :p

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



...

Status: Offline
Posts: 4235
Date:
Permalink  
 

This is well made m8, good job biggrin


__________________

Stevie's corner
A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.



Connoisseur of Bourbon!

Status: Offline
Posts: 2912
Date:
Permalink  
 

If I feel enthuastic enough I might putup a Tutorial on using Kizmit to change the colour in the near future.

__________________

I like playing with stuff!



Monster Hunter

Status: Offline
Posts: 679
Date:
Permalink  
 

Thanks a ton, Lord. This is way, way, way easier than I ever thought it could be.

Great job

__________________
"There is a fine line between Sanity and Insanity. Luckily I have White-Out."

Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard