Custom Unit Textures

From HIVE
Jump to navigation Jump to search

There are a few ways in which you can change the textures used on a unit.

The first method simply replaces the existing default texture with another one.
The second method uses the Data Editor to change the texture of the Actor.
The third method uses the Trigger Editor to change the catalog entry of a unit.

Some genuinely prize content on this internet site, bookmarked. eeeadgfekcddffde

what are some superior and in demand websites for blogs? ?? . aecadedbfaedkgdg

Trigger Method

The trigger method to swapping textures is almost identical to the above Data Editor method. This can be used as an alternative, however, if you want to swap a unit's texture as the result of or during a trigger.

First start by completing steps 1, 2, and 3 of the Data Editor method. Next open the [Trigger]] Editor (F6) and create a new trigger with all the Events and Conditions you need in order to trigger the change in unit texture.

Now create a new Action (Ctrl + R). Under "Label" click on "Actor". Now find and double-click on the "Send Actor Message" action.

  • Set the Message: to Msg Type: "Texture Select By Id" and the "Texture Catalog Entry Id" to whichever changed texture you want to add (i.e. ReaperA_Diffuse if you followed the above examples).
  • Set the Actor: to whichever actor you are looking to modify. The easiest method is most likely selecting the Function "Actor From Unit" and then selecting the unit based on it's placement on the map or any variable you may have used to create it.

You've now created a trigger that will change the unit's texture.