![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]()
Post
#1
|
|
Forum Member Posts: 41 Joined: 27-September 07 ![]() |
Hey,
still checkng in every 6 months or so, looking for updates. Will the Spell Tweaks be released any time soon? Thx ![]() |
|
|
![]() |
![]()
Post
#2
|
|
Forum Member Posts: 41 Joined: 27-September 07 ![]() |
Yeah, I tried that once, but some of the most beautiful effects don't work that way. Will I have better chances if I edit the .tp2?
Let's just say I wanted to cross out any spell-changes other than graphics and sound from this entry: //\\ //\\ //\\ Fireball //\\ //\\ //\\ BEGIN @23040 DESIGNATED 2304 GROUP @20001 REQUIRE_FILE ~Data/25Dialog.bif~ @2 // ToB check OUTER_SPRINT add_spell_ids "WIZARD_FIREBALL" OUTER_SPRINT add_spell_res "SPWI304" OUTER_SPRINT add_spell_scroll "*" LAUNCH_ACTION_MACRO ~APPEND_LCLIST_SPELLS~ COPY ~SpellPackB6/SpellsAndEffects/Wizard/Level03/Spell_Fireball~ ~override~ ACTION_IF !(FILE_EXISTS ~override/SPRDRASI.bam~) BEGIN COPY ~SpellPackB6/SpellsAndEffects/CommonEffects/Fireball~ ~override~ END COPY_EXISTING ~SPWI304.spl~ ~override~ SAY NAME1 @23040 SAY UNIDENTIFIED_DESC @23041 // Fireball description change // Miloch's code that restores BGI fireball PATCH_IF (SOURCE_SIZE > 0x71) BEGIN //Protects against invalid files READ_LONG 0x64 oa //Abilities offset READ_SHORT 0x68 na //Abilities count FOR ( lp = (oa + ((na -1) * 0x28)); lp > (oa - 1); lp -= 0x28) BEGIN READ_SHORT (lp + 0x26) pj //Projectile PATCH_IF (pj = 234) BEGIN //If projectile set to new fireball WRITE_SHORT (lp + 0x26) 38 //Set projectile to old fireball END END END BUT_ONLY_IF_IT_CHANGES // Changing old BG Fireball to 20-foot radius explosion with BG1 sounds, changing fireball's explosion graphics to // dragonfire (which in turn is overriden by the old graphic, but is denser), and setting the explosion .vvc COPY_EXISTING ~FIREBALL.pro~ ~override~ REPLACE_TEXTUALLY ~TRA_06~ ~LCT_06~ // BG1 launch sound REPLACE_TEXTUALLY ~EFF_M21~ ~LCE_M21~ // BG1 explosion sound READ_SHORT 0x8 pro_type PATCH_IF (SOURCE_SIZE > 0x200 AND pro_type = 3) BEGIN // If area of effect // Area of effect is smaller WRITE_SHORT 0x204 171 WRITE_SHORT 0x206 171 WRITE_BYTE 0x217 15 // Change the explosion animation to dragonfire READ_SHORT 0x200 pro_flags WRITE_SHORT 0x200 (pro_flags BOR 0b0000010000000000) // Enable .vvc to be played WRITE_ASCII_TERMINATE 0x21c "SPFIREPI" // Change the explosion animation to dragonfire WRITE_SHORT 0x21a 79 // Explosion should be dodgeable END BUT_ONLY_IF_IT_CHANGES COPY_EXISTING ~SCRL1G.itm~ ~override~ ~SCRL5Z.itm~ ~override~ SAY NAME2 @23040 SAY DESC @23041 // Scroll of Fireball // Fire-based creatures are immune to fireball. OUTER_SPRINT race_immunity_table "RACESENSITIVE_FIREBALL" LAUNCH_ACTION_MACRO ~ADD_RACE_SENSITIVE_EFFECTS~ // List of sounds we are going to use ACTION_CLEAR_ARRAY ~sounds~ ACTION_DEFINE_ARRAY ~sounds~ BEGIN ~LCE_M21~ ~LCT_06~ END LAUNCH_ACTION_MACRO ~AUDIO_SETUP~ What do I need to cancel to acheive this? Or is such an approach useless? What if I replace the .spl files from your mod with the standard spells from bg2? Would that work? Thx for your great help! |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 11th August 2025 - 08:21 PM |