Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by critto

  1. Well, I guess it proves my suspicions. Thanks for the replies.
  2. Hi everyone. Say, I want to have an item that is restricted to rangers (single, multi- and dual-class). I can't do it by adding two equipping effects #319, one with the values of CLERIC_RANGER (18) / CLASS.IDS (5), power of 1 and the other one with the values of RANGER (12) / CLASS.IDS (5), power of 1.This becomes too restrictive due to how 319 works (as far as I understood it) and none of the ranger-type classes can wear it. Of course, putting either one of those two 319 effects works properly, but either for single or multi/dual class characters. Why does RANGER_ALL not work at all
  3. Hope no one will mind if I dig up my own old thread. Does anybody know if Beamdog has ever fixed the bug #27834 filed a few years ago based on research in this thread? Apparently, they've gotten rid of their old redmine-based ticketing system, so I'm not sure where to look it up now.
  4. Alright, this at least makes sense. I think I tested this before, but I must have done something wrong. I removed DestroyAllEquipment() and now I see that new characters are equipped with the items from 25STWEAP.2DA. Yes it does look like a bug, maybe an engine bug? Strange that no one has noticed it before, especially during the development of EET. From what have I found on the forums, there was some work performed on this subject during development of the mod.
  5. Hi. No, not really, thanks for pointing out. I do now. This only shows that the problem (if it could be called that) has been there for some time now. Unfortunately, there are no clues what causes this behaviour.
  6. Thanks for your reply. Unfortunately, it only covers the things I already know and doesn't really explain the rest > Varscona is chosen if you don't have any of the weapons in the list on your imported save/char Why this item exactly? Is it hard-coded? > My guess is that you got three copies because you imported three characters. Yes, that is pretty logical to assume. Still doesn't explain why the three copies when we call TakeItemListPartyNum only once and pass it 1 as the argument for the amount of items to be selected.
  7. Hello. I'm struggling to understand how it works. So there's this snippet everyone probably knows by heart: IF Global("TakeImportItems","AR0602",0) // Irenicus's Dungeon 1st Floor THEN RESPONSE #100 ... ActionOverride("Table3",TakeItemListPartyNum("IMPORT02",1)) ActionOverride("DuegarClanChief",TakeItemListPartyNum("IMPORT01",1)) ActionOverride("Shelf1",TakeItemListPartyNum("IMPORT03",1)) ... END Shortened for brevity. I create a new game, use "create party" option to import a few chars from character files (Lessa, Abdel, i.e. the ones shipped with BG2, not the actual chars fro
  8. What Jacek wants is to lower saving throws against a specific spell school when spells of that school are cast by a specific character/kit (e.g., conjuration spells when cast by a conjurer). Solution proposed by subtledoctor is definitely easier and more straightforward, but the penalty to saving throws would apply no matter which character casts a spell from the relevant spell school. If I understood correctly, Temnix proposes how to actually restrict this to a particular character/sub-set of characters via spell states. I haven't exactly figured out yet which opcodes are suggested to us
  9. Interesting. I haven't thought about this scenario at all. So many gotchas. Yes. I did some searching on the forum for the exclusion flag and figured that might be an issue. It's a shame, this is a much cleaner solution, overall. Yeah, I finally found those earlier when I was checking out different spells in NI. These aren't listed in IEDSP, so I was clueless at first. Just to be clear, there's no correlation between the exclusion flags and the type of spell? I.e. if the type is set to divine and the exclusion flag is checked for the Jester kit, this would still work? The g
  10. Yes, about divine spells, exactly. Yes, I figured that they are added upon every level-up. This is sort of makes sense. I used the DPLAYER3 script trigger and activated it on demand by turning the party AI on and off, so there's obviously more lag between the events. It didn't occur to me to delay the application of effect. While reading the old threads I got the idea that the 172 opcode is kind of permanent no matter what kind of timing mode you choose. I resorted to adding an ability to every level in CLAB too, but I'll have to play around with the delay as well. It mig
  11. I tried to apply the same AP_* ability I use in CLAB but via a script block upon hitting XP threshold. The spell gets removed from the spell book correctly. So something is definitely wrong with the order of application when it happens automatically via CLAB during the level up.
  12. So, this have been discussed in the past before, like here, for instance. I'm running into the same problem. Situation: I want to remove a normal spell from spell book for specific kits/classes. I prep an ability that applies a permanent 172 opcode with the necessary spell and put it into a CLAB 2da as "AP_*" at the appropriate level. Everything works initially during character creation. The spell is gone. After a level up, it keeps coming back. I've tried adding the AP_* ability at every level up, and it gets applied (judging by the debug Display String opcode I've added to it) but the s
  13. I'll just chime in and say that sometimes a space symbol is not just a space symbol, especially at the end of the line. You might get a lot of headache trying to figure this out, since the files could've been saved under different operating systems and have various hidden line termination symbols applied, etc. To match any space symbol this snippet could be used: [ %TAB%%LNL%%MNL%%WNL%]+ This matches a group consisting of one or more spaces, tab characters or linux/mac/windows new line symbols. Enjoy.
  14. Well, it works. A bit hacky, though. You can't simply put a #273 opcode inside the spell itself, because it dispels its own projectile. I've had to wrap it into a #148 opcode (cast spell at point) in order to achieve a workable solution.
  15. Yep, looks like I missed the second part of your post. AND the footnote in the description of the #273 opcode, despite having read it numerous times. I'll give it a go and see what happens.
  16. It's an AoE cloud-based party-only healing spell. I want to prevent abuse by stacking multiple castings, but the solution you've proposed already solves this. A player could cast multiple instances, but only one heal would apply per round due to the #206 opcode. Having the previous version dispelled would be a more intuitive way for the player to understand the limitations. But, of course, simply blocking multiple applications via #206 and leaving the rest for the player to figure out by trial and error is good enough if there are no cleaner alternatives to achieve this.
  17. True, it protects from any rival copies as well. It's a decent solution, although I'd preferred to dispel the previous instance upon casting a new one.
  18. Following up on my previous question. Is there a way to dispel an AoE spell based on its specific projectile (not with ZoSA via clearair.2da)? I would like to enforce having only single instance of an AoE spell active. Since it applies a list of effects every round to the creatures inside the AoE, I can't use the #206 opcode to apply total protection from the spell's effects.
  19. Wow. Thanks for the help. That wasn't obvious at all. "Ignore center" is really ambiguous. Neither does IESDP's "bit 4: Do not affect direct target" sound very clear.
  20. Hello, everyone. I've been trying to figure out something. Let's say we have two spells: the shaman's writhing fog (SPPR250) and the wizard's Web (SPWI215). I'm trying to understand what is the difference between projectiles (writhing.pro and web.pro). Why does Web affect the caster and Writhing Fog doesn't? I've compared the projectiles and spells, didn't find any meaningful difference. Would appreciate some pointers. Cheers, critto PS: sorry, posted it here by mistake instead of the "Modding Q&A" section.
  21. Hey David. It appears that modify_breach.tpa patches Spell Shield to protect from Breach whereas the readme states that it doesn't penetrate Spell Turning. Which it probably will since ST does not have a #226/#228 opcode set to protect from the Breach's new secondary type. Which behavior is supposed to be correct, in the end?
  22. Thanks guys. I completely forgot that you actually have to specify the amount of charges when placing/creating an item. Figured it would be something simple in the end. However, if that's the case, what does the "# of charges" field do exactly? If I use CreateItem command (from the console, at least), I can create the item with the number of charges higher than the one specified in the ITM file.
  23. There's this item on BG2:EE, Gem of Seeing (ohrscrl1.itm), that casts True Sight per day (recharge after rest). I am trying to convert it to have a limited amount of charges instead. This should be trivial enough in theory, one would think, but I've spent three or four hours today and it frustrates me to no end. Things I've done so far: - set the Magical bit in the Flags field - played around with "maximum in stack" field (set it to 1) - in the "Magical" header: set "drained" field to zero (item remains), set number of charges to 10, remove "recharge after resting" flag, tried to switch
  24. Thank you very much for tests and publishing a bug report! However, if one uses a patch mentioned earlier in this thread, you can summon lots of rabbit even if their gender is SUMMONED because their allegiance is set GOODCUTOFF. I am not sure if this should be mentioned in the ticket as well. Probably, it does.
  25. So yeah, I've studied some of the existing solutions you guys have proposed. In the d0Tweak Pack, as Jarno has described, the author introduces another gender and replaces all references to it in the game's files. In the Tweaks Anthology a simple patch to summlimt.2da is employed. While all this is interesting, it is not much of a help, sadly. As was stated above, the creature (WISH01.CRE) does not have its gender attribute set to SUMMONED. Therefore, tinkering with gender.ids probably wouldn't help. I tried to play around with the Genie creature's attributes and see if anythin
  • Create New...