Jump to content

argent77

Modders
  • Posts

    1,638
  • Joined

Everything posted by argent77

  1. In a mod you would add it like this to prevent that the entry is added multiple times. APPEND "state.ids" "0x80101FEF CD_STATE_NOTVALID" UNLESS "CD_STATE_NOTVALID" CD_STATE_NOTVALID combines all of the individual disabling states as well as the various death states (STATE_DEAD, STATE_FROZEN_DEATH, ...), so it should cover all situations you have previously covered with the death check and individual state checks. The reason why your first code sample (without REPLY) doesn't work as intended is that dialog transitions are checked bottom-up, and the first matching state will be executed. That's always "IF ~~ THEN GOTO EyesandEars" in your case. That can be fixed by reordering your list of transitions.
  2. Is this for original BG2? In that case you might have to add this entry manually to STATE.IDS: 0x80101FEF CD_STATE_NOTVALID
  3. You can probably reduce all those checks to a single check: !StateCheck("rqt5clf1",CD_STATE_NOTVALID)
  4. Effect opcode 262 can be used to increase the visual range You could create an item with this opcode as a while-equipped effect. Default visual range is 14. Max. range seems to be 23.
  5. I can't confirm your claim. In my tests the RESPONSE probabilities were calculated independently for every script block, even if they use Continue(). They were also (more or less) evenly distributed without favoring a specific RESPONSE block.
  6. Bhaalspawn abilities are somewhat randomized by the engine when you start a new character in BG2. Bubb reverse-engineered the exact odds a while ago when I implemented it for EET. The actual probabilities are outlined here: https://github.com/Gibberlings3/EET/blob/master/EET/lib/bhaalspawn_abilities.tpa#L24-L37
  7. Health bar position of the Demogorgon animation (1300.INI) is too low:
  8. Originally posted here: Health bar positions are automatically calculated based on the dimension of the creature animation BAM, unless they are explicitly defined in their associated INI files by the "height_offset" attribute. There are several creature animations with incorrect health bar positions, either because they don't contain the "height_offset" attribute or use an incorrect height. The most obvious cases are 6405.INI and 6406.INI which both define an invisible creature animation for various creatures and helper creatures. But there are more cases, especially in BG2EE and IWDEE, which don't define explicit height positions for any creature animations. BGEE/SoD looks (mostly) fine. In many cases it looks like health bar positions are calculated differently every time a creature is spawned. This could be bug in the game engine when no explicit height value is defined. It seems to use the dimension of the first available animation frame to calculate health bar position. This is especially apparent with creatures that have very dynamic animations, like the Ravager. I have attached a small test mod that spawns creature instances for every available creature animation in a dedicated area for closer inspection. Creature animations to fix: 6405.INI (DOOM_GUARD): [BGEE, BG2EE, IWDEE] Set height_offset=65 6406.INI (DOOM_GUARD_LARGER): [BGEE, BG2EE, IWDEE] Set height_offset=65 1300.INI (DEMOGORGON): [BG2EE, IWDEE] Set height_offset=140 1200.INI (DRAGON_RED ) [BG2EE, IWDEE] Set height_offset=260 1201.INI (DRAGON_BLACK): [BGEE, BG2EE, IWDEE] Set height_offset=260 1202.INI (DRAGON_SILVER): [BGEE, BG2EE, IWDEE] Set height_offset=260 1203.INI (DRAGON_GREEN): [BGEE, BG2EE, IWDEE] Set height_offset=260 1204.INI (DRAGON_AQUA): [BGEE, BG2EE, IWDEE] Set height_offset=260 1205.INI (DRAGON_BLUE): [BGEE, BG2EE, IWDEE] Set height_offset=260 1206.INI (DRAGON_BROWN): [BGEE, BG2EE, IWDEE] Set height_offset=260 1207.INI (DRAGON_MULTICOLOR): [BGEE, BG2EE, IWDEE] Set height_offset=260 1208.INI (DRAGON_PURPLE): [BGEE, BG2EE, IWDEE] Set height_offset=260 A7-AnimTest-v1.zip
  9. Since this animation is mostly used for humanoid-sized creatures I think it looks generally more natural with adjusted health bar positions - even for invisible creatures such as Invisible Stalkers or the Mephit portals. More screenshots:
  10. [BG1,BG2,IWD] Doom Guard creature animations should display damage indicator at correct height Damage indicator for creatures that use the Doom Guard animation is currently shown at the feet of the creatures. A "height_offset" definition with an appropriate value should be added to the respective INI files to adjust it to correct height. Affected animations: - 6405.INI (doom_guard) - 6406.INI (doom_guard_larger) Screenshot: More info in topic: Creature animations with incorrect health bar positions
  11. First step would be to find out why it breaks sometimes. The scripting hasn't changed since oBG2 and looks good in NI. But complex scripting like that probably shouldn't be executed directly in a dialog though.
  12. That sounds like an original game bug. EEFP doesn't touch the door scripting. (Btw, that happened to me as well, especially in oBG2.)
  13. Offset to the script resref is incorrect. It is 0x48 instead of 0x3c (IESDP info). I would also suggest to add the "NULL" argument to READ_ASCII, so that trailing \0 characters are skipped. As subtledoctor mentioned, don't compare the script with "None". This is only a symbolic placeholder in NI to indicate that the script field is empty. Use an empty string instead.
  14. [BG1] Tersus in the Bandit Camp should not give you 6 leather armor if the party consists of fewer than 6 members Tersus always gives you 6 leather armor in his dialog. That's not a bug per se but probably just legacy scripting from oBG1 that has been ported to BGEE. I'd suggest to fix it by adding multiple dialog transitions which check for currenty party size and hand out an appropriate number of leather armor. Edit: I didn't test thoroughly enough. This is only a problem in EET. BGEE seems to have a different targeting behavior than BG2EE and doesn't create additional armor if targets don't exist.
  15. Temple services like Raise Dead or Resurrection are level-dependent while scrolls are not. The higher your level the higher the price of the service. The base prices for these services are actually quite cheap. A level 1 character can be raised for 100 gold and resurrected for 150 gold. Edit: It looks like prices for Raise Dead and Resurrection are capped at 10,000 and 15,000 gold respectively, so they won't rise indefinitely.
  16. Several BAM files that are used for displaying GUI elements use the (pvrz-based) BAM V2 format. These files can produce the same visual glitches around borders as seen by map tilesets. Since BAM V1 supports alpha-blending it should be possible to fix these glitches by converting the affected files to the BAM V1 format. Examples:
  17. Baeloth's appearance starts with a helper creature, spawned via CreateCreature("BAINVI",[2038.2947],S) in AR2900.BCS.
  18. From a technical standpoint it is the order of state trigger entries in the DLG resource that defines the "weight" of a state. That's why WEIGHT only makes sense for dialog states with state triggers. A good example for WEIGHT'ed states is 25SPELL.DLG in BG2 where state 0 is actually considered as the least important state in the opening states order.
  19. It should work with iconv: iconv -f iso-8859-15 -t cp1252 oldfile.txt >newfile.txt
  20. Opcode 42 also worked as intended in my tests, as long as negative amounts are limited to -1. Otherwise, strange things can happen. This is also noted in the IESDP description of the effect. You can add multiple effect instances if you want to reduce the slot amount by more than one slot.
  21. Wares of the Planes is a mod that introduces a large number of weapons and accessories from the Planescape universe to the Baldur's Gate series. The items can be purchased from a unique travelling merchant who is available throughout the whole game series. The mod is available for BG:EE, SoD, BG2:EE and EET. Version 1.2 introduces a good number of new and interesting artifacts from the Planescape universe and fixes several spelling errors. You can grab the mod from the download link below. Download: GitHub Discussion: G3, Beamdog Readme
  22. New release: Wares of the Planes 1.2 This version introduces a good number of new and interesting artifacts from the Planescape universe. A detailed list of item descriptions can be found here: item-descriptions.txt Changelog: Added new items for sale: Vambraces of Evil's Warding, Baku's Horn, Abigail +1, Dûrgaläd +3, Fiendblight +2, Wesley's Hourglass, Wesley's Improved Hourglass (upgraded by Cespenar), Thanatos +2, Thanatos +4 (upgraded by Cespenar) Fixed spelling errors
  23. No, I tested it on an item I was just working on that uses this opcode. It could be that it works differently when applied via kit CLAB.
  24. I can't reproduce this issue in BG2EE. op244 effect drained the exact number of spell from a sorcerer in my tests.
  25. BGEE and SoD are installed as one game. The DLC Merger ensures that both campaigns can be properly modded. BG2EE is a separate game and has to be modded separately.
×
×
  • Create New...