The Black Wyrm Lair Forums
The Black Wyrm's Lair Terms of Use Help Search Members Calendar

Welcome Guest ( Log In | Register )

> SpellTweakPack release?
Marvin
post Nov 20 2012, 05:49 PM
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 wink.gif
Go to the top of the page
 
Quote Post
 
Start new topic
Replies
Marvin
post Dec 19 2012, 07:55 PM
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!
Go to the top of the page
 
Quote Post

Posts in this topic
Marvin   SpellTweakPack release?   Nov 20 2012, 05:49 PM
Galactygon   Hi Marvin, Thanks for checking every now and then...   Nov 23 2012, 09:06 PM
Marvin   Great news! Have fun in Sweden ;) Greetings...   Nov 27 2012, 08:57 PM
Marvin   Just out of curiosity, is there any way to get the...   Dec 18 2012, 05:43 PM
Galactygon   You could copy the .bam files to your override fol...   Dec 18 2012, 08:56 PM
Marvin   Yeah, I tried that once, but some of the most beau...   Dec 19 2012, 07:55 PM
Galactygon   Here the area of effect of the fireball is changed...   Dec 20 2012, 03:57 PM
Marvin   Hey Galactygon! As promised, I'm checkin ...   Nov 10 2013, 07:39 PM
Galactygon   Hi Marvin thanks for checking in again! That b...   Nov 11 2013, 09:51 PM
aigleborgne   Like Marvin, I am also checking from time to time ...   Nov 24 2013, 08:10 PM
Marvin   Hi, as always, I just wanna ask about any progess...   Apr 12 2014, 02:48 PM
Galactygon   No progress yet unfortunately, I can't make an...   Apr 20 2014, 06:30 PM
Marvin   Wow, it's almost been another year. Any update...   Feb 5 2015, 03:21 PM
Galactygon   I was able to recover all of my old files just ove...   Feb 11 2015, 06:15 PM
Marvin   Great news man. Keep it up!   Feb 12 2015, 03:03 PM
Monkey_King   Hey, does anybody know where the B5 or B6 version ...   Mar 22 2015, 04:29 PM
Galactygon   Yes, that above link works.   Mar 22 2015, 07:33 PM
bobbeurke   Link still working - Thank you for this release.   Jul 29 2015, 12:34 PM
Galactygon   Hope you enjoy playing it!   Jul 29 2015, 08:01 PM
Marvin   It's been another year to the day! My last...   Feb 12 2016, 09:13 AM
Galactygon   I have rewritten one-half of the mod and updated t...   Feb 12 2016, 09:24 PM
Marvin   Awesome! Great to hear that. Keep up the good ...   Feb 13 2016, 04:06 PM
TotoR   Hi Galactygon, This mod is really something ...   May 16 2021, 10:29 AM
Galactygon   Hi TotoR and sorry for the late reply. I've b...   Dec 9 2023, 05:02 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:



- Lo-Fi Version Time is now: 11th August 2025 - 08:21 PM