Jump to content

BG2: Opcode #x ... This effect sets stat #y to ... questions.


Recommended Posts

Posted

Example: opcode #66:

 

#66 (0x66) Graphics: Transparency Fade [66]
Parameter #1: Fade Amount

...

This effect sets stat #60 (TRANSLUCENT) to param #1.

There's more, opcodes 71, 109, 135, 153-158, 165, 175 and so on...

Where are these "stat"s located ? And is there a list of all of them ? And yes, I understand that not all of them might be effected, so this is just out of curiosity.

Posted

These are stored in the CRE structures, so consult IESDP. There are several versions of the format, so make sure to look at the appropriate one (iwd2 in this case). Of course, not all stats are saved.

 

You can see a list in gemrb, but I'm not sure it'd really be useful.

Posted

176 LOCKPICKINGCP
177 STEALTHCP
178 TRAPSCP
179 PICKPOCKETCP
180 HIDEINSHADOWSCP
181 DETECTILLUSIONSCP
182 SETTRAPSCP

 

While we're on STATS, what does the "CP" indicate?

Posted

probably copy, since the main ones come early. I see that for bg2, stats.ids is pretty complete — check that out.

Posted

These are stored in the CRE structures, so consult IESDP. There are several versions of the format, so make sure to look at the appropriate one (iwd2 in this case).

Erhm, I am talking about the BG2's Effect Opcodes... so the bold texts, and thus this whole topics title text are left over from IWD2 or did I miss something ?

Posted

Not all stats got a saved base value. For example:

 

55 TURNUNDEADLEVEL
56 BACKSTABDAMAGEMULTIPLIER
57 LAYONHANDSAMOUNT
58 HELD
59 POLYMORPHED
60 TRANSLUCENT
61 IDENTIFYMODE
62 ENTANGLE
63 SANCTUARY
64 MINORGLOBE
65 SHIELDGLOBE
66 GREASE
67 WEB
DLTCEP mentions the stat, because the CheckStat trigger can detect these (no need of wasting a detectable spell hack on them).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...