Today I investigate ITM-format and effects, that could be implemented to items. I found a list of 343 types of effects. Most of them are clear, but some are not. I want to understand, what are these types for:
- (99) Modify duration - (113) Equip weapon (not sure in it) - (118) Show creature - (121) Visual animation effect - (136) Force visible - (165) Pause target - (168) Remove creature (remove where?) - (180) Disallow item (not understand at all) - (182) Apply effect on equip item (what effect?) - (187) Set local variable (where I set the name of this variable?) - (188) Increase spells cast per round (how it works?) - (206) Protection from spell (how it works) - (208) Minimum HP (amount of HP, that targen could has? Like it's immortal?) - (237) Set image type - (255) Create items (days) (not sure in it) - (264) Drop item (how it works?) - (271) Disable creature - (282) Modify script state - (293) Set persistent AI - (294) Set existence delay - (309) Set local variable (is it works instead of 187, because here I can set the name of my variable?) - (316) Rest (no duration? always 8 hours?) - (319) Restrict item (how it works?) - (322) Protection from area of effect spell - (324) Immunity to spell & message (what is this for?) - (326) Apply effects list (how it works?) - (339) Alter visual animation effect (need explanation) - (342) Override creature data (what is this?)
- What is the difference between (176) & (126) Movement rate bonus - What is the difference between (166) & (31) Magic resistance bonus - What is the difference between (185) & (175) Hold creature - What is the difference between (229) Remove protection by school & (220) Remove spell school protections - What is the difference between (317) & (16) Haste - What is the difference between (318) & (206) Protection from spell - What is the difference between (331) & (127) Summon creatures
You can find a description of all the effects in IESDP. Here is for instance the page for BG II - ToB. For BG2EE and IWDEE, you can find documentation on new effects in the IESDP update forum (the main site hasn't been updated yet).
For instance, the difference between 126 and 176 is explained in the description for 176.
@Isaya, I'll ask you, because you answered me not once, but any other help also will be appreciated. Is there a way to set usage of spell only if certain item is in inventory? For example, my mage has memorized spell "Charm" and I can click on this icon to cast it. But, if there is NO diamond (for instance) in inventory of this mage (or in party inventory, if it could be simplier), than the message "You can't use this spell without a diamond" will appear in textbox and no spell will be casting.
As far as I know, this is not possible so specify that in a spell. I'm not even sure you could use a script to emulate that. There is a trigger to check that a spell is cast (SpellCast, see IESDP triggers for details) that you could combine with a trigger to check for the item. However I don't know if you could prevent the spell from being cast.
You can make a spell fizzle unless a particular item is equipped, and without involving scripts at that, but it's really - I mean *REALLY* - advanced stuff that the engine is not designed to do.
For a simple inventory check, I rather doubt it's possible at all.
PS Also it goes contrary to the existing game design that players might expect, so I wouldn't recommend changing much in that area regardless of possibility.
SPL: - Hostile (10) (Not quite sure what it means) - No LOS required (11) (What is LOS?) - Allow spotting (12) - Non-combat ability (16) (NI in my BG2EE tells me "No hits found", when I try to find any referenses to this flag, so I'm not sure what spell uses it)
The flag "Ex: Toggle recharge (14)" is added by TobEx and determines whether charged items (such as wands) are restored when putting them into bags or selling them in stores. You should read the TobEx docs for more information.
SPL: Setting "Hostile (10)" marks the spell as a hostile action. For example, this bit is not set for healing spells, so you can cast them on neutral characters without turning them hostile.
"No LOS required (11)": I don't know if or how this flag is implemented. (LOS = Line of Sight)
"Allow spotting (12)": No idea.
"Non-combat ability (16)" can be set to prevent casting the spell during combat. There aren't many spells in the game using this flag. The more prominent one is the Pocket Plane ability, which cannot be used during battle.
Argent already explained that. LOS means Line of Sight. Presumably that would mean that you can cast a spell into the fog of war and don't need to be able to see the actual target area.
Comments
- (99) Modify duration
- (113) Equip weapon (not sure in it)
- (118) Show creature
- (121) Visual animation effect
- (136) Force visible
- (165) Pause target
- (168) Remove creature (remove where?)
- (180) Disallow item (not understand at all)
- (182) Apply effect on equip item (what effect?)
- (187) Set local variable (where I set the name of this variable?)
- (188) Increase spells cast per round (how it works?)
- (206) Protection from spell (how it works)
- (208) Minimum HP (amount of HP, that targen could has? Like it's immortal?)
- (237) Set image type
- (255) Create items (days) (not sure in it)
- (264) Drop item (how it works?)
- (271) Disable creature
- (282) Modify script state
- (293) Set persistent AI
- (294) Set existence delay
- (309) Set local variable (is it works instead of 187, because here I can set the name of my variable?)
- (316) Rest (no duration? always 8 hours?)
- (319) Restrict item (how it works?)
- (322) Protection from area of effect spell
- (324) Immunity to spell & message (what is this for?)
- (326) Apply effects list (how it works?)
- (339) Alter visual animation effect (need explanation)
- (342) Override creature data (what is this?)
- What is the difference between (176) & (126) Movement rate bonus
- What is the difference between (166) & (31) Magic resistance bonus
- What is the difference between (185) & (175) Hold creature
- What is the difference between (229) Remove protection by school & (220) Remove spell school protections
- What is the difference between (317) & (16) Haste
- What is the difference between (318) & (206) Protection from spell
- What is the difference between (331) & (127) Summon creatures
For instance, the difference between 126 and 176 is explained in the description for 176.
Is there a way to set usage of spell only if certain item is in inventory?
For example, my mage has memorized spell "Charm" and I can click on this icon to cast it. But, if there is NO diamond (for instance) in inventory of this mage (or in party inventory, if it could be simplier), than the message "You can't use this spell without a diamond" will appear in textbox and no spell will be casting.
I'm not even sure you could use a script to emulate that. There is a trigger to check that a spell is cast (SpellCast, see IESDP triggers for details) that you could combine with a trigger to check for the item. However I don't know if you could prevent the spell from being cast.
For a simple inventory check, I rather doubt it's possible at all.
PS Also it goes contrary to the existing game design that players might expect, so I wouldn't recommend changing much in that area regardless of possibility.
Couldn't find descriptions of these flags in IESDP or Gibberlings forums:
STO:
- Tavern quality 1 (9)
- Tavern quality 2 (10)
- Ex: Toggle recharge (14)
SPL:
- Hostile (10) (Not quite sure what it means)
- No LOS required (11) (What is LOS?)
- Allow spotting (12)
- Non-combat ability (16) (NI in my BG2EE tells me "No hits found", when I try to find any referenses to this flag, so I'm not sure what spell uses it)
I can't say much about Tavern Quality bits.
The flag "Ex: Toggle recharge (14)" is added by TobEx and determines whether charged items (such as wands) are restored when putting them into bags or selling them in stores. You should read the TobEx docs for more information.
SPL:
Setting "Hostile (10)" marks the spell as a hostile action. For example, this bit is not set for healing spells, so you can cast them on neutral characters without turning them hostile.
"No LOS required (11)": I don't know if or how this flag is implemented. (LOS = Line of Sight)
"Allow spotting (12)": No idea.
"Non-combat ability (16)" can be set to prevent casting the spell during combat. There aren't many spells in the game using this flag. The more prominent one is the Pocket Plane ability, which cannot be used during battle.
Ok, so... Somebody knows about:
STO:
- Tavern quality 1 (9)
- Tavern quality 2 (10)
SPL:
- No LOS required (11) (What is LOS?)
- Allow spotting (12)
Sorry to necropost, but... I have noticed a cosmetic difference on the Rumors screen:
No quality (both unchecked) [TVRNQUL0.BAM]
Tavern quality 1 (only) [TVRNQUL1.BAM]
Tavern quality 2 (only) [TVRNQUL2.BAM]
Tavern quality 1 + Tavern quality 2 [TVRNQUL3.BAM]
I suspect that is the only difference as drink price and rumor rate is handled separately.