Creating an Invisible Barrier
From Titan Quest Mod Wiki
Terrain regions allow you to use the Inaccessible terrain tool; however, Grid regions do not. Sometimes you can use scenery to block the path, at other times this isn't practical and you may want an invisible barrier. This is not a tutorial on editing textures, but a brief section using Photoshop is discussed.
Contents |
[edit]
Creating the Texture
Download the invisible.psd here. After unzipping skip to step 5.
- Create a new texture, 512 by 512 pixels.
- Fill it completely in with a solid color, or leave it white - it really doesn't matter.
- Switch to the alpha channel.

- In Photoshop, the alpha channel is a grayscale. White is 100% opaque while black is 100% transparent. Levels of gray in between are just that. Make the alpha channel 100% transparent (in this case black).

- Save your texture as invisible.psd. Ensure that the alpha channel is saved, i.e. 32 bit (24 for color, 8 for transparency) Save the file to C:\Documents and Settings\YOUR USER NAME HERE\My Documents\My Games\Titan Quest\Working\CustomMaps\YOUR MOD NAME HERE\source\Textures
If you have changed the location of your My Documents folder, your path will differ accordingly
[edit]
Importing the Texture
- Open the Art Manager and select your mod.
- Open the Textures file folder. The invisible.psd file should be there.
- Right Click and select "Auto Create Asset"

- Select "texture" and click Okay
- Select DXT3 as the texture type and click okay

- Build your database by pressing F7
[edit]
Changing the Barrier
- Import database record: records\scenerygreece\structure\building\city\delphidecwallhighstraight01.dbr

- Click the "Database" tab
- Copy the entry to another location
- Rename it to invisiblewall
- Right click on the entry to edit it

- Select "Actor Variables" from the left
- Change base texture to the invisible.tex texture (Default will be Texture\invisible.tex)

- Save the entry
- Build your database
[edit]
Placing the Object
The best way to place the object is to use the original wall as a guide.
- Open the World Editor
- Open your mod
- In Editing mode, select the original wall object from the object tool pallet
- Place it in your world.
- When you have the walls where your would like them and at the appropriate height, you will need to replace them.
- Switch to Layout mode
- At the top select Region -> Replace Object

Make sure the region in question is selected. - A list with all the objects in the region will be generated.
- Find and highlight the original wall name and click okay.

- The next list will be a list of all available objects from the database. (It may take a while to load.)
- Find and select the invisiblewall object and click okay.
All the original walls should be converted to invisible walls. - Build All Pathing
- Build All Maps
- Save your mod
- The path mesh preview will show you where the objects are.

