Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
---
title: "Effects"
---
<div class="title_main"> Effects</div>
<br />
<div class="actionHeader">Introduction</div>
Effects (aka opcodes) are one of the main methods of affecting creatures in the IE, and are used in spells and items. Different effects are implemented in each revision of the IE, though several effects are common to two or more revisions (though the effects may work slightly differently). Effects typically have several parameters, including a timing mode (i.e the length of the time effect should remain active), a resource key (to reference another file) and a target type (to indicate which creatures to affect). Not all effects respect all parameters.<br />
<br />
<div class="actionHeader">Effect numbers</div>
Each revision of the IE implements different effects. The list of effects for a specific revision of the IE is often increased by any expansion packs for the actual game (e.g. BG2 : ToB adds several new effects to BG2 : SoA). The number of effects available in each revision of the IE is presented below.<br />
<br />
<table border="1" width="98%">
<colgroup>
<col width="10%" />
<col width="12%" />
<col width="12%" />
<col width="*" />
</colgroup>
<thead>
<tr>
<th>Engine revision</th>
<th>Start effect</th>
<th>End effect</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<tr>
<td>BG1</td>
<td>0</td>
<td>175</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>BG1 : TotS</td>
<td>0</td>
<td>191</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>BG2 : SoA</td>
<td>0</td>
<td>297</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>BG2: ToB</td>
<td>0</td>
<td>317</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>BG(2): EE</td>
<td>0</td>
<td>367</td>
<td>Since game patch 2.0</td>
</tr>
<tr>
<td>PST</td>
<td>0</td>
<td>212</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>PSTEE</td>
<td>0</td>
<td>383</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>IWD1</td>
<td>0</td>
<td>265</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>IWD1 : HoW</td>
<td>0</td>
<td>???</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>IWD1 : TotL</td>
<td>0</td>
<td>296</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>IWD2</td>
<td>0</td>
<td>457</td>
<td>Effects 299 to 399 do not exist</td>
</tr>
</tbody>
</table>
<br />
<div class="actionHeader">Effects</div>
<a href="bg1tots.htm"> BG1 </a><br />
<a href="bg2tob.htm"> BG2 </a><br />
<a href="bgee.htm"> BG(2)EE </a><br />
<a href="iwd1totl.htm"> IWD1 </a><br />
<a href="iwd2.htm"> IWD2 </a><br />
<a href="pst.htm"> PST </a><br />
<a href="pstee.htm"> PSTEE </a><br />
<br />
</div>
</div>