override-material

Overview

This VS block allows you to choose a material preset from the list of created presets. 

Inputs

activate

Sets the preset in the skeleton.

deactivate

Clears the preset. The skeleton will use the default preset.

Outputs

finishFires an event when a material preset has been set.

Refs

target

Takes the current model from the target and applies the preset to all entities using this skeleton.

Properties

Preset Allows you to choose a material preset from the list.

Usage examples

For example, if you want to create a water barrel prefab and make the same barrel empty in one situation and full of water in another situation.

You can create a few material presets with different types of liquid. 

Add a logic\chooser with a liquid and select the necessary preset.

Then you can add a logic that, a few seconds following the hit, the material will change to an empty barrel material.

Shortcuts

  • N/A

See also


On this page:


Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.


EULA