/
interact.htm
76 lines (74 loc) · 5.82 KB
/
interact.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
title: "interact.2da"
---
<div class="title_main"> interact.2da</div>
<br />
This file defines the interaction comments between NPCs. The interaction comments themselves are strrefs stored in the CRE file (offset 0xa4), and are grouped into interaction types as per soundoff.ids/sndslot.ids. The engine randomly selects which specific comment to make out of the apportioned range (e.g. INSULT_1 or INSULT_2 etc.). Some interaction types have a response, selected from the response group of the target CRE, if the relevant row/column crossing is set in this file.<br />
First column and row are filled with NPC death variables, while the column/row intersections are marked by the letters indicating which interaction should take place in the interaction circumstance; the list of interaction types is below along with the sound range from soundoff.ids/sndslot.ids:<br /><br />
<table border="1">
<colgroup>
<col width="15%" />
<col width="20%" />
<col width="*" />
</colgroup>
<thead>
<th>Row/Column intersection</th>
<th>Type</th>
<th>Response</th>
</thead>
<tbody>
<tr>
<td>i</td>
<td>Insult [44-46]</td>
<td>Response_to_insult [58-60]</td>
</tr>
<tr>
<td>c</td>
<td>Compliment [47-49]</td>
<td>Response_to_compliment [55-57]</td>
</tr>
<tr>
<td>s</td>
<td>Special [50-52]</td>
<td>None</td>
</tr>
<tr>
<td>0</td>
<td>No interaction</td>
<td>None</td>
</tr>
</tbody>
</table>
<br />
In BG2 ToB we have:<br />
<pre>
2DA V1.0
0
KIVAN ALORA MINSC DYNAHEIR YESLICK CORAN AJANTIS KHALID JAHEIRA GARRICK SAFANA FALDORN BRANWEN QUAYLE XAN SKIE ELDOTH XZAR MONTARON TIAX KAGAIN SHARTEEL EDWIN VICONIA
KIVAN 0 i c 0 0 0 c c 0 0 0 0 c i 0 0 0 i 0 i 0 0 0 0
ALORA i 0 0 i 0 0 0 0 0 0 0 0 0 i i 0 0 0 i 0 i i 0 0
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0 0 0 0 0 0 0 i 0 0 0 0 0 0 0
VICONIA 0 i s c 0 i s s c s 0 0 0 i i 0 s 0 0 i 0 c s 0
</pre>
</div>
</div>