Skip to content

Commit

Permalink
[bg, bg2] fill in spell.ids gaps in BG/BG2 from missing SoD spells
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDawg committed Nov 4, 2022
1 parent 810a890 commit 8ff4599
Show file tree
Hide file tree
Showing 35 changed files with 1,428 additions and 629 deletions.
Binary file modified docs/eefixpack_arrays.ods
Binary file not shown.
22 changes: 22 additions & 0 deletions eefixpack/files/baf/bddanc01.baf
@@ -0,0 +1,22 @@
IF
!See([ANYONE])
THEN
RESPONSE #80
NoAction()
RESPONSE #20
DestroySelf()
END

IF
See([ANYONE])
THEN
RESPONSE #20
RandomWalkContinuous()
RESPONSE #20
RandomWalk()
RESPONSE #40
MoveToObject(LastSeenBy(Myself))
RESPONSE #20
NoAction()
END

Binary file added eefixpack/files/bam/bddarka.bam
Binary file not shown.
Binary file added eefixpack/files/bam/bddarkx.bam
Binary file not shown.
Binary file added eefixpack/files/cre/bddanc01.cre
Binary file not shown.
Binary file added eefixpack/files/cre/bddanc02.cre
Binary file not shown.
Binary file added eefixpack/files/eff/bddanc01.eff
Binary file not shown.
Binary file added eefixpack/files/eff/bddanc02.eff
Binary file not shown.
Binary file added eefixpack/files/pro/bddark15.pro
Binary file not shown.
Binary file added eefixpack/files/spl/sppr116.spl
Binary file not shown.
Binary file added eefixpack/files/spl/spwi126.spl
Binary file not shown.
Binary file added eefixpack/files/spl/spwi228.spl
Binary file not shown.
6 changes: 6 additions & 0 deletions eefixpack/files/tph/bg2ee.tph
Expand Up @@ -49,6 +49,12 @@ INCLUDE ~eefixpack/files/tph/clswpbon.tpa~ // tbd, cam: fix non-prof penalties f
COPY_EXISTING ~25stweap.2da~ ~override~
REPLACE_TEXTUALLY ~[ %TAB%]ham07[ %TAB%]~ ~ hamm07 ~
PRETTY_PRINT_2DA

// tbd, cam
// sync bgee/bg2ee spell.ids entries with extra sod spells
ACTION_IF ((!FILE_EXISTS_IN_GAME ~sppr116.spl~) OR (!FILE_EXISTS_IN_GAME ~spwi126.spl~) OR(!FILE_EXISTS_IN_GAME ~spwi228.spl~)) BEGIN
INCLUDE ~eefixpack/files/tph/tbd_missing_spells.tph~
END

CLEAR_IDS_MAP // reload ids, if we end up having any changes

Expand Down
6 changes: 6 additions & 0 deletions eefixpack/files/tph/bgee.tph
Expand Up @@ -138,6 +138,12 @@ WITH_SCOPE BEGIN
END
END

// tbd, cam
// sync bgee/bg2ee spell.ids entries with extra sod spells
ACTION_IF ((!FILE_EXISTS_IN_GAME ~sppr116.spl~) OR (!FILE_EXISTS_IN_GAME ~spwi126.spl~) OR(!FILE_EXISTS_IN_GAME ~spwi228.spl~)) BEGIN
INCLUDE ~eefixpack/files/tph/tbd_missing_spells.tph~
END

LAM "SPELL_IDS" // relaunch so as to take into account the BG2 entries

CLEAR_IDS_MAP // reload ids, if we end up having any changes
Expand Down
61 changes: 61 additions & 0 deletions eefixpack/files/tph/tbd_missing_spells.tph
@@ -0,0 +1,61 @@
// tbd, cam
// sync bgee/bg2ee spell.ids entries with extra sod spells
// why no ADD_SPELL? because we're deliberately filling three holes in spell.ids, not just adding spells
WITH_TRA ~eefixpack/languages/en_us/copy_from_sod.tra~ ~eefixpack/languages/%LANGUAGE%/copy_from_sod.tra~ BEGIN

ACTION_IF !FILE_EXISTS_IN_GAME ~sppr116.spl~ BEGIN // faerie fire

COPY ~eefixpack/files/vvc/spschgi.vvc~ ~override~
COPY ~eefixpack/files/spl/sppr116.spl~ ~override~
SAY 0x08 @52368
SAY 0x50 @52369

APPEND ~spell.ids~ ~1116 CLERIC_FAERIE_FIRE~
APPEND ~hidespl.2da~ ~SPPR116 1 0 0~ UNLESS ~^SPPR116[ %TAB%]~

END

ACTION_IF !FILE_EXISTS_IN_GAME ~spwi126.spl~ BEGIN // dancing lights

COMPILE ~eefixpack/files/baf/bddanc01.baf~
COPY ~eefixpack/files/eff/bddanc01.eff~ ~override~
~eefixpack/files/eff/bddanc02.eff~ ~override~
~eefixpack/files/vvc/spprismt.vvc~ ~override~

COPY ~eefixpack/files/cre/bddanc01.cre~ ~override~
~eefixpack/files/cre/bddanc02.cre~ ~override~
SAY 0x08 @56587
SAY 0x0c @56587

COPY ~eefixpack/files/spl/spwi126.spl~ ~override~
SAY 0x08 @52370
SAY 0x50 @52371

APPEND ~spell.ids~ ~2126 WIZARD_DANCING_LIGHTS~
APPEND ~hidespl.2da~ ~SPWI126 1 0 0~ UNLESS ~^SPWI126[ %TAB%]~

END

ACTION_IF !FILE_EXISTS_IN_GAME ~spwi228.spl~ BEGIN // darkness 15'

COPY ~eefixpack/files/bam/bddarka.bam~ ~override~
~eefixpack/files/bam/bddarkx.bam~ ~override~
~eefixpack/files/vvc/bddarkx.vvc~ ~override~

ADD_PROJECTILE ~eefixpack/files/pro/bddark15.pro~ // already present in bgee, but do anyway to set var

COPY ~eefixpack/files/spl/spwi228.spl~ ~override~
SAY 0x08 @52366
SAY 0x50 @52367
LPF ALTER_HEADER INT_VAR projectile = bddark15 END

APPEND ~spell.ids~ ~2228 WIZARD_DARKNESS_15_FOOT~
APPEND ~hidespl.2da~ ~SPWI228 1 0 0~ UNLESS ~^SPWI228[ %TAB%]~

END

COPY_EXISTING ~hidespl.2da~ ~override~
PRETTY_PRINT_2DA
BUT_ONLY

END
Binary file added eefixpack/files/vvc/bddarkx.vvc
Binary file not shown.
Binary file added eefixpack/files/vvc/spprismt.vvc
Binary file not shown.
Binary file added eefixpack/files/vvc/spschgi.vvc
Binary file not shown.
116 changes: 77 additions & 39 deletions eefixpack/languages/cs_CZ/copy_from_sod.tra
@@ -1,22 +1,52 @@
@62005 = ~Amulet of Protection +1~
@70365 = ~This amulet improves the wearer's Armor Class and Saving Throws versus all forms of attack. The magical properties of the amulet prevent it from being worn with other magical items of protection, including enchanted armor.

STATISTICS:

Equipped abilities:
– Armor Class: +1
– Saving Throws: +1

Weight: 1~
@70382 = ~Girdle of Bluntness~
@70383 = ~Covered in intricate designs sewn into its leather with golden thread, at first glance this girdle seems more decorative than practical. Closer examination is rewarded by the realization that it functions as far more than it appears, bestowing magical protection from hammers, clubs, and other blunt weapons to its wearer.
@52366 = ~Darkness, 15' Radius~
@52367 = ~Darkness, 15' Radius
(Alteration)

Level: 2
Range: 30 ft.
Duration: 1 turn
Casting Time: 2
Area of Effect: 15-ft. radius
Saving Throw: None

This spell causes total, impenetrable darkness. Neither normal nor magical light works in the area of effect. All vision (including infravision) is severely limited; anyone hostile caught in the area of effect is for all practical purposes blinded as per the 1st-level wizard spell. Creatures that leave the area covered by darkness will have their vision restored after 1 round.~
@52368 = ~Faerie Fire~
@52369 = ~Faerie Fire
(Alteration)

Level: 1
Sphere: Weather
Range: Sight
Duration: 4 rounds/level
Casting Time: 4
Area of Effect: 10-ft. radius
Saving Throw: None

This spell outlines one or more creatures with a pale violet glow, making positions and movements easily visible. Outlined creatures are easier to strike, giving them an Armor Class penalty of -2.~
@52370 = ~Dancing Lights~
@52371 = ~Dancing Lights
(Alteration)

Level: 1
Range: Sight
Duration: 2 rds./level
Casting Time: 1
Area of Effect: Special
Saving Throw: None

This spell creates up to four glowing spheres of light (such as evidenced by will-o-wisps) or one faintly glowing, vaguely humanoid shape, somewhat similar to a fire elemental. The dancing lights move randomly without concentration upon such movement by the wizard. Although the lights cause no physical harm, they can distract enemies until either their duration expires or dispersed by weapon or magic.~
@56587 = ~Dancing Light~
@61978 = ~Plate Mail +1~
@61979 = ~Plate mail is a combination of chain armor with metal plates covering the vital areas such as the chest, abdomen and groin. Similar in construction to bronze plate mail, true plate mail comprises chain and leather. In addition, this suit of plate mail is enchanted and gives additional bonuses to the wearer's Armor Class.

STATISTICS:

Equipped abilities:
– Armor Class: +4 vs. crushing attacks
Armor Class: 2 (-1 vs. slashing)
Requires:
12 Strength

Weight: 2~
Weight: 20~
@62005 = ~Amulet of Protection +1~
@62009 = ~Boots of Speed~
@62010 = ~These boots are made from the tanned hide of an animal such as a horse or a cheetah. They are then enchanted to enable the wearer to move nearly as fast as that animal. Footgear of this sort is prized for allowing one to outmaneuver or even escape one's foes. The boots do not fatigue the wearer beyond what would result from moving at a normal rate.

Expand All @@ -26,35 +56,34 @@ Equipped abilities:
– Doubles movement rate

Weight: 4~
@62076 = ~Ring of Free Action~
@62077 = ~Enemies have a hard time slowing this ring's wearer down. The runes etched in the silver band ward off spells designed to impede movement, granting its owner a freedom of mobility others affected by such magic are denied.
@62033 = ~Ring of Fire Resistance~
@62034 = ~The wearer of this ring enjoys partial resistance to flame, whether its origins be in mundane sources, like torches or bonfires, or magical ones, such as fiery dragon breath or spells.

STATISTICS:

Equipped abilities:
The wearer is immune to everything, magical and otherwise, that affects mobility in any way. This includes Haste and Slow spells.
Fire Resistance: +40%

Weight: 0~
@62033 = ~Ring of Fire Resistance~
@62034 = ~The wearer of this ring enjoys partial resistance to flame, whether its origins be in mundane sources, like torches or bonfires, or magical ones, such as fiery dragon breath or spells.
@62052 = ~Ring of Protection +2~
@62053 = ~A ring of protection improves the wearer's Armor Class and Saving Throws versus all forms of attack. The magical properties of such a ring prevent it from being worn with other magical items of protection, including enchanted armor.

STATISTICS:

Equipped abilities:
– Fire Resistance: +40%
– Armor Class: +2
– Saving Throws: +2

Weight: 0~
@61978 = ~Plate Mail +1~
@61979 = ~Plate mail is a combination of chain armor with metal plates covering the vital areas such as the chest, abdomen and groin. Similar in construction to bronze plate mail, true plate mail comprises chain and leather. In addition, this suit of plate mail is enchanted and gives additional bonuses to the wearer's Armor Class.
@62076 = ~Ring of Free Action~
@62077 = ~Enemies have a hard time slowing this ring's wearer down. The runes etched in the silver band ward off spells designed to impede movement, granting its owner a freedom of mobility others affected by such magic are denied.

STATISTICS:

Armor Class: 2 (-1 vs. slashing)
Requires:
12 Strength
Equipped abilities:
– The wearer is immune to everything, magical and otherwise, that affects mobility in any way. This includes Haste and Slow spells.

Weight: 20~
@69262 = ~Scimitar +2~
Weight: 0~
@69261 = ~The scimitar, or "shamshir" as it was originally called, has a single-edged blade with a significant curve and is tapered to an elongated, sharp point. It is perhaps slower than other weapons of the same type, though it compensates by the amount of damage it is capable of. This particular weapon has been enhanced magically to complement the skill of the wielder.

STATISTICS:
Expand All @@ -68,31 +97,40 @@ Requires:
10 Strength

Weight: 4~
@70384 = ~Girdle of Piercing~
@70385 = ~Fabricated from crudely cut, unadorned leather, this loin belt was obviously created with utility rather than beauty (or even comfort) in mind. Though not pretty, it is useful, enchanted with warding spells that grant its wearer some magical protection from the slings and arrows of their enemies.
@69262 = ~Scimitar +2~
@70356 = ~Gauntlets of Weapon Skill~
@70357 = ~These magical gauntlets aid the wearer in the use of weapons. Even an unfamiliar weapon may be used with some skill.

STATISTICS:

Equipped abilities:
Armor Class: +3 vs. missile and piercing attacks
THAC0: +1

Weight: 2~
@62052 = ~Ring of Protection +2~
@62053 = ~A ring of protection improves the wearer's Armor Class and Saving Throws versus all forms of attack. The magical properties of such a ring prevent it from being worn with other magical items of protection, including enchanted armor.
@70365 = ~This amulet improves the wearer's Armor Class and Saving Throws versus all forms of attack. The magical properties of the amulet prevent it from being worn with other magical items of protection, including enchanted armor.

STATISTICS:

Equipped abilities:
– Armor Class: +2
– Saving Throws: +2
– Armor Class: +1
– Saving Throws: +1

Weight: 0~
@70356 = ~Gauntlets of Weapon Skill~
@70357 = ~These magical gauntlets aid the wearer in the use of weapons. Even an unfamiliar weapon may be used with some skill.
Weight: 1~
@70382 = ~Girdle of Bluntness~
@70383 = ~Covered in intricate designs sewn into its leather with golden thread, at first glance this girdle seems more decorative than practical. Closer examination is rewarded by the realization that it functions as far more than it appears, bestowing magical protection from hammers, clubs, and other blunt weapons to its wearer.

STATISTICS:

Equipped abilities:
– THAC0: +1
– Armor Class: +4 vs. crushing attacks

Weight: 2~
@70384 = ~Girdle of Piercing~
@70385 = ~Fabricated from crudely cut, unadorned leather, this loin belt was obviously created with utility rather than beauty (or even comfort) in mind. Though not pretty, it is useful, enchanted with warding spells that grant its wearer some magical protection from the slings and arrows of their enemies.

STATISTICS:

Equipped abilities:
– Armor Class: +3 vs. missile and piercing attacks

Weight: 2~

0 comments on commit 8ff4599

Please sign in to comment.