Jump to content

Grammarsalad

Member Since 22 Sep 2012
Offline Last Active Yesterday, 04:32 AM

Topics I've Started

Opcode 144 Disable Button in EE

08 July 2018 - 10:29 AM

The IESDP reports that a value of 10 in Parameter 2 has "No effect":

 

https://gibberlings3.../bgee.htm#op144

 

However, in the EE engines, it disables the bard song.  I assume, but I have not verified, that this is also the case with #279: Enable Button.  The IESDP does not say either way about a value of 10:

 

https://gibberlings3.../bgee.htm#op279

 

Detecting feats by script in iwd2

03 June 2018 - 09:34 AM

Is this possible? Specifically, is it possible to detect improved initiative?

IWD2 script actions

03 June 2018 - 09:32 AM

This section displays script triggers rather than actions:

https://gibberlings3...wd2triggers.htm

Contact Other Plane

09 July 2017 - 07:52 AM

Okay, so I'm creating a mod that imports all IWDEE spells into other EE games. The one spell that i have decided to exclude is contact other plane. I just don't know the lore well enough...

But I'm curious: how is EET going to handle this spell? It seems like it will require A LOT of work...

Dynamically create an array (matrix?) at install of filenames

23 June 2017 - 11:45 PM

Okay, here's what I'm trying to do: I want to create an array of filenames of all wands, and then clone an effect in a spell excluding use of that wand using effect 180.  
 
So, the code I have works in that it dynamically patches my spl with only the filenames of wands...but, it copies ALL items into the override folder.  Whenever I try BUT_ONLY, weidu returns an error.  
 
Is there a way for me to do this without copying all items into the override folder?
 
Here's what I have
 
COPY ~proficiency/data/proficiency/b_wnd01.SPL~ ~override~   //
//Now, only excludes wand of fear, WAND02.  (BE SURE TO EXCLUDE WAND02 here)!!!!Need to add all others...
COPY_EXISTING_REGEXP GLOB ~.*\.itm~ ~override~
 PATCH_IF (~%SOURCE_SIZE%~ > ~0x71~) BEGIN
 READ_SHORT 0x1c ~itemtype~
   PATCH_IF (~itemtype~ = 35) BEGIN  //only if a wand
            INNER_ACTION BEGIN
            INCLUDE ~proficiency/lib/wand_list.tpa~
   END
 END
END
//clone
ACTION_PHP_EACH use AS block => rock BEGIN
  ACTION_IF (~%rock%~ STRING_EQUAL ~wand~) BEGIN
     COPY_EXISTING ~b_wnd01.SPL~ ~override~
       LPF CLONE_EFFECT INT_VAR multi_match = 1 match_opcode = 180 STR_VAR resource = EVAL ~%block%~ END
  END
END

My wand_list file has this:

 

ACTION_DEFINE_ASSOCIATIVE_ARRAY use BEGIN


~%SOURCE_RES%~ => wand


END