Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - c4_angel

#1
Removing PfCH from Ioun Stones are implented by EE probably 2.0. I buy this change logically, though it would make a great difference in gameplay. From SRD, Ioun Stones are crystalline stones always float in the air and must be within 3 feet of their owner to be of any use. Not like helmets, Ioun Stones do no protection to wearer's head, which CH deals damages mostly to.

Keep the history or follow Beamdog, I prefer the latter.
#2
Improved Anvil / Random Questions
March 22, 2019, 05:29:41 PM
My tp2 codes for a global check (and patch) to all items with the MASK_XXX issue.

ACTION_DEFINE_ASSOCIATIVE_ARRAY alignment BEGIN
    0x01    =>    0b00001010    //MASK_GOOD
    0x02    =>    0b00000110    //MASK_GENEUTRAL
    0x03    =>    0b00001100    //MASK_EVIL
    0x10    =>    0b00100001    //MASK_LAWFUL
    0x20    =>    0b00010001    //MASK_LCNEUTRAL
    0x30    =>    0b00110000    //MASK_CHAOTIC
    /* only for specific alignment
    0x11    =>    0b00101011    //LAWFUL_GOOD
    0x12    =>    0b00100111    //LAWFUL_NEUTRAL
    0x13    =>    0b00101101    //LAWFUL_EVIL
    0x21    =>    0b00011011    //NEUTRAL_GOOD
    0x22    =>    0b00010111    //NEUTRAL
    0x23    =>    0b00011101    //NEUTRAL_EVIL
    0x31    =>    0b00111010    //CHAOTIC_GOOD
    0x32    =>    0b00110110    //CHAOTIC_NEUTRAL
    0x33    =>    0b00111100    //CHAOTIC_EVIL
    */
END

// set to 1 for do patching otherwise only print the name of the item.
OUTER_SET patch=0

COPY_EXISTING_REGEXP GLOB ~.*\.itm~ override
    GET_OFFSET_ARRAY effect ITM_V10_GEN_EFFECTS
    PHP_EACH effect AS int => offset BEGIN
        READ_SHORT offset opcode
        READ_LONG offset+8 param2
        PATCH_IF opcode=319 && param2=8 BEGIN
            READ_LONG offset+4 param1
            PHP_EACH alignment AS int => flag BEGIN
                PATCH_IF param1=int BEGIN
                    PATCH_IF patch=1 BEGIN
                        WRITE_BYTE 0x1e (THIS BOR ~%flag%~)
                    END ELSE PATCH_PRINT ~%SOURCE_RES%~
                END
            END
        END
    END

    // set power to 0 to only "deactivate" this effect for further use.
    PATCH_IF patch=1 BEGIN
        PHP_EACH alignment AS int => flag BEGIN
            LPF ALTER_EFFECT INT_VAR silent=1 check_headers=0 match_opcode=319 match_parameter1=int match_parameter2=8 power=0 END
        END
    END
    BUT_ONLY
#3
Improved Anvil / Rakshasa
March 16, 2019, 06:25:15 PM
According to wikipedia, they are Lawful Evil.
#4
As a modder myself, I completely understand how difficult to accomplish a story mod (well, the druid stronghold may be treated as a mod itself) and I had never finished one, till now. We are all looking foward it and don't bother if it would be a bit flawed at the first time. IA have several versions itself, isn't it?

Using Github is more than a great idea, everyone can contribute to IA, you can also post unlimited pre-release on Git whenever you want, rather than "fixed locally". And the best of Git is: you need no longer save a bunch of backups on your local disk, Git saves all changes.
I will be the first forker.

QuoteReduce or remove gold/gem/XP gains from gem/coin golems summoned by elemental or greater elemental golems. To compensate, I'd bump the XP for each of the summoners, perhaps by 20k, and have them drop 1.5k gold and a diamond, star sapphire, and rogue stone (used in crafting recipes). While the other gems add flavor, they just contribute to inventory clogs.
To be honest, I am against the first half. To kill more even all of those summoned monsters (not only golems) is a high risky with high incomes tactic. Players can choose do it or not based on the power of the team. The more choices, to some extent, increases the Gameplay to a game or a mod.

I suggest placing those create-randomised-items blocks to a higher priority in the script of monsters. Those blocks are often with low priority, which may cause them never been triggered, if the monsters have been killed too quickly (it's possible without any cheat). There is a workaround of it: to put those blocks in area scripts.

Add on: Use PartySlot[1-6] replace Player[1-6] in those force-positioning cutscenes. Player[1-6] decided by the join order of team members, difficult but still possible to change. But PartySlot[1-6] is the order of the portraits, can be reordered any time. Different class placed in different point could make a great difference in the tough battles, in my mind, the formation should been left for the player to decide rather than somehow unexpectable. Those locally changes I made are: the Twisted Runes (shangalr.bcs), the final battle of SoA (cut85b.bcs) and the Demogorgon battle (s!cutdmi.bcs).
#5
Improved Anvil / Random Questions
March 15, 2019, 02:04:41 PM
Quote from: rbeverjr on March 11, 2019, 01:53:48 AMIf the club is only +5 vs undead, giant humanoid, or monster AND you must be druid or ranger, then I'm only mildly interested anyway. One of the weaknesses of IA to me is that the club frequently departs from DnD rules. DnD has monster categories. To restrict "unnatural" to those 3 categories seems ridiculous to me. Out of all the many categories, why those three?

My notes say that I needed +4 to hit the mithril golem. I use these forums for info, so I want to have things correct. Can someone confirm what weapon is needed vs the mithril golem before I depart to visit him?
First of all, a creature has different "values" of cate: Allegiance, Alignment, General, Race, Gender, Class, Kit. They are all integers set by devs from different .IDS files of the engine, and each of them does not affect others no matter how odd it looks like. I don't mean they all make sence or they are following the PnP rules, but it IS what the engine implented.

See general.ids here, it may be an answer to you.

I will like the fixed TFA, a +5 single weapon for my Cleric/Ranger in early stage of game will be cool since acquiring the Staf of Ryn needs some luck.
#6
Improved Anvil / Random Questions
March 15, 2019, 01:16:52 PM
I have noticed some spells which have damages with save-for-half setting (if intended), are not working as expected, when I was working on the Demogorgon encounter.
To be specific, the spells I have checked are: Death Throes (SPINI93) and Demonic Blast (SPINI95). These spells deal 75% damage if passed the savingthrow, not 50%, Since they has two damage effect and the one with save has the save-for-half flag.

Please ignore this post if these spells are designed to have 75% damage not 50%.

Explaination of that flag:
Spoiler
In original BG2, spells with save-for-half function often spilt the damage effect to two effects, both have half of designed mount of damage, and one with save, another without.
The flaw is sometimes the damage cannnot be exactly the half, e.g. a Fireball cast by a level7 mage which should deal 7d6 damage.
In EE games this flaw is fixed from engine level. The damage opcode now has some flags, one of them (BIT8) is called save-for-half. The spells have no need to and should not to use the splited damage effects.
#7
Improved Anvil / Random Questions
March 07, 2019, 12:48:34 AM
@bulian

Your target is achievable. In my latest walkthrough, I forged Phosphorous, Water's Edge and a Protection Cloak +2 before sailing, left more than 200k gp (only cleaned part of the first floor of WK). And you can get exactly 6 permanency scrolls if you get to the second floor of WK: Torgal, Shadow Dragon, Screaming Statue encounter, Ship of Slavers, the Warden in prison, fire room of the second floor of WK.

But why do you need 2 +4 staves?

@rbeerjr

Unnatural is just a description. Opcodes in Root of Problem checks if the "General" value of your target is set to Undead, GiantHumanoid or Monster, examples given in pre post. General of Raksasha/Githyanki is Humanoid, all races player can choose to be are Humanoid too.

As critto said, the discussion was about whether this is a good idea or not to give a +5 weapon at that stage of the game against many enemies. My answer is yes, with adjusted cost if needed.

First, the proficiency is club, it seems only the BeastMaster will be forced to use it. Too many strong weapons with crushing damage type, TFA +3 is uncompetitive especially costs a precious permanency scroll.
Second, one can get a +3 club (without tohit and damage bonus vs. type but at least a +3 weapon) very early, and the Root of Problem is already +3 vs. type, why should one put resources in TFA? Rimed Club +4 is much better choice.
Third, the TFA is only usable by ranger/druid, who can only put at most 2 slots in proficiency, with lack of 1/2 APR or 1 if improved hasted, and 2 point of tohit bonus,  compared to fighters. A bit stronger itself should not be a problem I think.

Further upgrade suggested by bulian is good, though I still think TFA should keep consistant with RoP conceptually.
#8
Improved Anvil / Random Questions
March 04, 2019, 12:46:19 AM
Yes, the group is quite large Root of the Problem set, almost included all strong enemies introduced/modified by IA, except githyanki and raksasha. Undead (skeleton, lich), GiantHumanoid (golem, fire giant), Monsters(spider, demon, yuanti...).
#9
Improved Anvil / Random Questions
March 03, 2019, 10:22:22 AM
I don't like mismatch either, but it exists since original BG2 like Mace of Disruption +1/+2 which has a +3/+5 enchantment but +1/+2 damage/tohit bonus, Staf of Magi +5 enchantment but +1 bonus. Specific design overrides common sence, I think, so I accept it.
#10
Improved Anvil / Random Questions
February 28, 2019, 09:54:20 AM
I do agree with bulian mostly.

Adjusting the cost/requirments along with changing the damage type of PW/DL is a good idea. But I still think a halberd has multi damage type make much more sence rather than single slashing/piercing. Imaging we were holding a halberd in reality, we could either slash or jab depend on different situation.

I suggested that TFA has a +5 based on the bonus damage to specific foes. If we are going to have a further upgrade, make it +2/+4 and upgraded +3/+5 may be an option?
#11
Improved Anvil / Random Questions
February 27, 2019, 07:45:29 AM
IMHO, due to lacking of APR and other equipped-effects from weapon in off-hand, 2H weapons could be never OP in most circumstances. 2H swords are not nerfed, they have their unique usage and effects, early-gaining, much less cost in forging...
#12
Improved Anvil / Random Questions
February 26, 2019, 05:46:35 PM
I think those two crafted halberds should follow the concept in BG2EE and set the damage type to Piercing/Slashing (more) .

And make Treefolk's Arm with opcode #344 (Enchantment vs. Type) to a +5 vs. unnatural creatures , just like one of base weapon The Root of the Problem.
#13
Improved Anvil / Chinese translation update
February 11, 2019, 10:18:05 PM
Based on IA62 tra files of Chinese, very thanks to Chaser and all other translators.

All new or changed lines are based on differences between IA62 and IA64 English files, but left the names of components English, since UTF-8 coding will become messy codes in the command window of installation, if the players are using Windows with Chinese locale.

Still needs further refinements and fixes, like words describing usabilities which should be removed on EE engine.

You cannot view this attachment.
#14
Improved Anvil / Random Questions
February 11, 2019, 09:40:07 PM
The alignment restrictions to the Judgement Day and The Truth by using opcode #319 seems are not working well, in IA64 installed on BG2EE v2.5.16.6.

Comparing with ax1h01(an axe in vanilla game which forbid use by druid), when power set to 0, the creature who meet the condition forbid to use, and when power set 1 it's just the opposite.

In my test, when the IDS value is set to every particular alignment (LAWFUL_GOOD, CHAOTIC_EVIL, etc), it works as expected. But if the value is set to MASK_XXX with power=0, everyone can use it, and with power=1 which is just like in the  Judgement Day and The Truth item files, nobody can use them.

TL;DR: the #319 seems buggy when checking the alignment by using MASK_XXX condition.

Since the UAI opcode overrides not only the unusable flag but also opcode #319, I suggest just write good-alignment-requirment in the unsuable flag of the item, before you have changed the function level of UAI (or even delete it like you mentioned before).
#15
Improved Anvil / Random Questions
February 07, 2019, 07:56:52 AM
Unfortunately it's just in the install file of IA64, and directly copied to override (line 476 in 01_copy_new.tph).
#16
Improved Anvil / Random Questions
February 06, 2019, 05:15:52 PM
In vanilla BG2EE v2.5.16.6, the effect of Improved Invisible (opcode20, type=1) gives the target a +4 bonus to all saving throw, but in IA64 the pre-buff spell Improved Invisible (SPWII41), there are opcodes (33-37) which give additional +4 bonus making the total of +8. I wonder it's a historical fix to original BG2 which should be removed in EE-only IA, or just intentional。
#17
Hi again, Baronius.

My friend 果子狸 (three characters in Chinese) on a local forum, who don't speak english at all, wish to regist C6 prefix.
#18
Improved Anvil / Random Questions
December 24, 2018, 10:42:33 AM
Hello folks.

The UAI opcode overrides unusable flag(s), and also opcode 319, except NPC restriction (which stored in item_use.2da) and attribute(s) restrictions. IIRC.

That may be the fault caused the overwhelming issue mentioned by chaser.

So, if I may, what is point or the goal, to remove checks in script? Make it clean? IMHO, run them by a hidden creature may be a better workaround.

No? I thinks the most important is make it clear in mind: what do you want.

Thank you.
#19
Thank you, Baronius!
#20
Hello Baronius, could I use c4 please?