45
edits
(typo) |
(Further detail on file naming) |
||
Line 75: | Line 75: | ||
# Open Effect/bumpspec.eff. You'll find some instructions at the top of the file. | # Open Effect/bumpspec.eff. You'll find some instructions at the top of the file. | ||
# Copy the first set of XML (between the <PropertyList> and </PropertyList> tags into a new .eff file in your aircraft directory. | # Copy the first set of XML (between the <PropertyList> and </PropertyList> tags) into a new .eff file in your aircraft directory (e.g. if you want to apply the effect to wings, create the file bumpspec-wing.eff in aircraft-name/Models/Effects/) | ||
# Edit the new file so that it has an appropriate <name> entry and an <image> entry that matches the normal map you created above. For example, in this case we've created the effect Aircraft/c172p/Models/Effects/bumpspec, and are using the normal map Aircraft/c172p/Models/Liveries/wing-normal.png. | # Edit the new file so that it has an appropriate <name> entry and an <image> entry that matches the normal map you created above. For example, in this case we've created the effect Aircraft/c172p/Models/Effects/bumpspec-wing, and are using the normal map Aircraft/c172p/Models/Liveries/wing-normal.png. | ||
<code> | <code> | ||
<PropertyList> | <PropertyList> | ||
<name>Aircraft/c172p/Models/Effects/bumpspec</name> | <name>Aircraft/c172p/Models/Effects/bumpspec-wing</name> | ||
<inherits-from>Effects/bumpspec</inherits-from> | <inherits-from>Effects/bumpspec</inherits-from> | ||
<parameters> | <parameters> | ||
Line 103: | Line 103: | ||
<code> | <code> | ||
<effect> | <effect> | ||
<inherits-from>Aircraft/c172p/Models/Effects/bumpspec</inherits-from> | <inherits-from>Aircraft/c172p/Models/Effects/bumpspec-wing</inherits-from> | ||
<object-name>wing_1</object-name> | <object-name>wing_1</object-name> | ||
</effect> | </effect> |
edits