Rexturing Brushes Ingame
This tutorial demonstrates how to retexture a brush ingame. Only the specified texture will be changed. To begin, we need to create a marker, or
any other object with no scripts - such as a table
- nearby the area you want to retexture. Thief 1: WindowShade We also have to add both Script->TerrReplaceOff
and Script->TerrReplaceOn. Leave them
both blank for now and load both the textures you wish to use (the texture
to be changed and the texture to replace it with) by using either the
'load_a_texture' or 'add_family' commands. The only other thing that remain to do is to create a BigFloorLever (-446) or similar object and give it a ControlDevice link to the newly created TexChangePoint. Your newly created object's properties should look like this:
Note: If you go into game mode and pull the lever, any surfaces
using the texture specified in the Script->TerrReplaceOff
property will be replaced with the texture specified in the Script->TerrReplaceOn
property. |