Jump to content

gamemaster76

Members
  • Posts

    99
  • Joined

  • Last visited

About gamemaster76

gamemaster76's Achievements

  1. That did it! thanks! I was trying to put BGEET and it didn't work but EET only worked. That's the thing, no where in my code it references a .tra file there we go. Thanks!
  2. Ok? Do you mean rewrite the name in the clastext.2da file? I'm not sure if that would be different then the other files. Would it be something like this?: COPY_EXISTING ~clastext.2da~ ~override~ SET_2DA_ENTRY 58 ~ Dragon Disciple (Fire)~ Would this change it both places were the name is referenced?
  3. I have a mod that adds more Dragon Disciple kits for each element. I have everything working except for renaming the original kit. Right now I'm just rewriting the string. Sloppy but I can't figure out how else to do it. Except now I decided to install the Enhanced Edition Trilogy mod to merge both Baldur's Gate games into one. And now the mod doesn't recognize it has either BG2EE or BG1EE ( the mod is in the BG2EE directory). The code is: "REQUIRE_PREDICATE GAME_IS ~BGEE BG2EE IWDEE~ ~This component can only be installed on BGEE, BG2EE, and IWDEE games.~ /....\ ACTION_IF GAME_IS ~BGEE~ THEN BEGIN // For BG1EE STRING_SET 31976 ~dragon disciple (fire)~ // Changes original kits name in character creator STRING_SET 31977 ~Dragon Disciple (Fire)~ END ELSE ACTION_IF GAME_IS ~BG2EE~ THEN BEGIN // For BG2EE STRING_SET 74302 ~dragon disciple (fire)~ // Changes original kits name in character creator STRING_SET 74303 ~Dragon Disciple (Fire)~ END ELSE ACTION_IF GAME_IS ~IWDEE~ THEN BEGIN // For IWDEE STRING_SET 37252 ~dragon disciple (fire)~ // Changes original kits name in character creator STRING_SET 37254 ~Dragon Disciple (Fire)~ END " So either how do I skip the need to check what game and just have it look for the kit name an rewrite it; Or how do made this code work with EET? Edit: the error message I get is: This component can only be installed on BGEE, BG2EE, and IWDEE games. weidu_external/lang/english/ubsetup.tra file not found. Skipping...
  4. ouf good to know...then this might be a case were its better to just make it manually and pack it in with the mod. Thanks!
  5. Ill keep this one in mind, I already have most of the code I need to make it work otherwise, but if the last part is too complicated ill try this.
  6. ouf.. ok so I'm trying to do all this in Weidu, I figured out how to add the penalty, but I cant figure out how to clone the entire spell effect. The closest I can find is the CLONE_EFFECT function... but I don't think that actually for ability effects, only the specific opcodes within them.
  7. Yeah but then I don't learn how to code the more basic stuff. And in cases were there's a lot of files that I could otherwise just make my own, if I need to update something I just update some lines of code instead of having to open every file and edit. So I made sure to get in the habit of only using code when possible.
  8. I'm making a mod of the Beast Master kit and one of the changes I want to do is replace the rangers Charm Animal ability with one that has a penalty to the target. After this I need to change the Beast Masters 2DA file to give it this new spell. But since Rangers get Charm Animal 15 times, I don't want to put 15 lines of almost the exact same code, so I want to use a For loop to make things simpler... except I'm having trouble figuring it out. The file is CLABRN04.2DA. Charm Animal is GA_SPCL311 and its set from level 1 and every 2 levels after that: 1 2 3 4 ABILITY1 GA_SPCL311 **** GA_SPCL311 **** etc. The copied ability I named spclcbm.SPL. So I need GA_SPCL311 replaced with GA_spclcbm. I tried reverse engineering For loops from other posts but I need direct help: COUNT_2DA_COLS cols READ_2DA_ENTRIES_NOW rows cols FOR (cols = 1; cols < 40; ++cols) BEGIN READ_2DA_ENTRY_FORMER 1 cols cols ~spell~ PATCH_IF ~%spell%~ STRING_EQUAL_CASE ~GA_SPCL311~ BEGIN SET_2DA_ENTRY 1 cols 40 ~GA_spclcbm~ END END
  9. Problem is that is messes up find familiar for other classes. Unless there's a way so that if its a beast master, it will THEN alter an existing familiar but wont if its anything else. Or you uninstall the mod before a different playthrough to get the regular familiar. I just wanted it to be more useful aside from just granting an HP buff and then being in the bag forever. Besides, aside from the familiar I'm also moving the summon animal spells the kit gets to lower levels and it will get access to the IWD version of Conjure Animals. So there will be plenty of beasts around. Also the Charm Animal will give enemies a penalty, so those beasts in the wild are more likely to fail. Also weapon proficiencies will be restored.
  10. well poop... yep... I guess that idea is out, maybe go the permanent companion route? Add a polymorph to the companion to turn it into something else? Then the companion needs to become stronger as you level up so I need to make a bunch of scaled up versions.... But there are mods that do that already. So I might have to scrap this idea then...
  11. I was thinking of adding a permanent companion but I had no idea how to do it. My plan was just to make it a ferret with 75% in thief skills that doesn't lower you constitution score if it dies. Although I just ran into another wall, the opcode for find familiar uses FAMILIAR.2DA to see what to give you, but it only exists in BGEE, IWDEE and BG2EE don't seem to have it, and I cant find equivalents in them. I'm assuming theres 2 of them in BG2 since the familiars have higher stats in ToB.
  12. Ah! That's perfect!.... but how do I make it so that Find Familiar checks both your alignment and your kit before casting? So far I have this but no idea how to implement the check: COPY_EXISTING ~spcl342.SPL~ ~override/spcl342.SPL~ LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ // Find Familiar changes alignment to NG if a beast master. INT_VAR opcode = 57 target = 1 timing = 0 duration = 0 parameter2 = 33 probability1 = 100 insert_point = 0 END LAUNCH_PATCH_FUNCTION ~ADD_SPELL_EFFECT~ // Find Familiar changes alignment to LG if you are a NG non-beast master. INT_VAR opcode = 57 target = 1 timing = 0 duration = 0 parameter2 = 17 probability1 = 100 insert_point = 0 END
  13. Ooooh that's interesting. Is this doable in Weidu? If so how would a zero second change work?
  14. oh! ok now I get it, thanks! So how would I make it that the bonus increases at certain levels if I did it like that?
×
×
  • Create New...