Jump to content
Sign in to follow this  
CamDawg

IWDEE: New opcodes

Recommended Posts

You could "fake it" by applying 326 first (using another .spl with a single instance of 139) and then 318 (the no message variant).

Share this post


Link to post

regarding 324. Any way to change string 26818 to different one? I'd like to use this effect in BG2:EE but it shows up wrong desription.

Maybe in the new patch. You don't have strref 99389, i guess?

Share this post


Link to post
Maybe in the new patch. You don't have strref 99389, i guess?

Nice to hear it. BG2:EE patch 1.3 indeed has string 99389 with "Unaffected by effects from <RESOURCE>" but the engine directs this opcode to string 26818 - default one used in IWD:EE.

 

You could "fake it" by applying 326 first (using another .spl with a single instance of 139) and then 318 (the no message variant).

thanks, I will try it out.

Edited by K4thos

Share this post


Link to post

It would be awesome to see some of the hardcoded text softcoded so that only the tokens they use are hardcoded.

Share this post


Link to post
On 10/30/2014 at 2:19 PM, CamDawg said:

Spell Effect: Seven Eyes [335]

Parameter 1: State
Parameter 2: Type

Description:
This effect sets the spellstate defined under 'State', increases the seven eyes stat and grants the special ability named in the resource field.
'Type' selects the blocked spell or effect, the blocking criteria are listed in 7eyes.2da thus works like a very selective spell trap.
The special field may be used to define separate eye groups (it will remove 336 opcodes of the same type).

I don't understand what goes into parameter2.  Is "type" meant to be the row number in 7eyes.2da?

7eyes.2da has its field for spellstate... I assume they need to match?

Share this post


Link to post

Yes, the next time the specified row from 7eyes.2da is triggered, the effect will terminate, removing the spell it granted (if any), and decrementing 'parameter1' of any opcode 336 effects whose 'parameter2' matches the 'special' field of the opcode 335 effect.

The spellstate in 7eyes.2da and opcode 335 don't have to match, but for most purposes you will want them to match.

Share this post


Link to post
Posted (edited)

I was thinking for a Missile Snaring ability, if the number of columns is arbitrarily extensible, you could have it block every arrow/bolt/bullet/dart item RES in the game.  But, that might be annoying to set up and finicky in practice.  I probably won't bother.

That's annoying about .EFFs.

Edited by subtledoctor

Share this post


Link to post
1 hour ago, subtledoctor said:

I was thinking for a Missile Snaring ability, if the number of columns is arbitrarily extensible, you could have it block every arrow/bolt/bullet/dart item RES in the game.  But, that might be annoying to set up and finicky in practice.  I probably won't bother.

It would be far simpler to just trigger it on missile damage.

Share this post


Link to post
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×