Jump to content


argent77

Member Since 24 May 2010
Offline Last Active Jun 08 2018 06:20 AM

Topics I've Started

[SOLVED] Is BAM V2 supported by ARE background animations?

29 April 2018 - 09:29 AM

I have a BAM V2 file that I want to use as background animation for a couple of maps (in BG2EE). Unfortunately I can't get it to work. The game is always crashing whenever I try to enter the map. Changing flags or setting width/height fields doesn't fix it. Is this format even supported?

 


Fog effects in Enhanced Editions

25 April 2018 - 12:44 PM

I'd like to experiment a bit with fog effects in one of my mods. Apparently both FOGAREA.2DA and FOGPT.2DA can be used to influence fog behavior and appearance.

FOGAREA.2DA (SoD):

2DA V1.0
-1
          ALPHA   CONTRAST  OUTER_RED   OUTER_GREEN   OUTER_BLUE  INNER_RED   INNER_GREEN   INNER_BLUE  PRE_DISPERSE_SECONDS
1         0.75    120       211         211           211         211         211           211
2         0.10    100         0           0           205         224         255           255
3         0.10    100       238         232           170         238         232           170
4         0.10    100       238         232           170         238         232           170      
BD0120    0.25    100         0           0             0         255         255           240         60
BD1200    0.10     70         0           0           205         224         255           255         60
BD3000    0.25     80       210         180           140         210         180           140         60
BD4000    0.10     70       210         180           140         139          69            19         60
BD4400    0.49    110        35          15            15          65          45            45         60  
BD4500    0.49    110        35          15            15          65          45            45         60
BD4700    0.25     80        45          15            15          45          45            45         90
BD5100    0.20     50       176         224           230         175         238           238         60
BD6100    0.90    100       238         232           170         238         232           170         10

And FOGPT.2DA (SoD):

2DA V1.0
-1
    AMOUNT  DURATION  X     Y     U_VEC   V_VEC      
1   35      800       4473   583  -30.0    15.0  
2    5      400       3611  1637   -3.0     0.0 
3   70      400       2560  1920  -20.0   -15.0
4   15      400       1070   960   -1.0    -1.0

Does anyone have more detailed knowledge about what each parameter does mean? Are there more options to influence fog? (Avenger, CamDawg?)


[solved, kind of] Need help with splprot.2da entry of type 0x106 (area type)

30 March 2018 - 03:07 AM

I'm trying to make a consumable item that does only work outdoors. So I tried to use opcode 318 (Protection from spell) with splprot.2da type 0x106 (areatype) where area type doesn't match bit 0 (OUTDOORS).

NOT_OUTSIDE   0x106      0x01       9

But it doesn't seem to work. I also tried different match operators without success. Does this particular type even work?

For now I have to resort to the helper creature approach, but I'd rather do without it.


PS:T Unfinished Business - Reloaded v1.0 now available for PS:T and PST:EE!

27 January 2018 - 11:37 AM

PS:T Unfinished Business - Reloaded is a continuation of Qwinn's original PS:T Unfinished Business (PST-UB). It has been completely overhauled and made available to Planescape: Torment - Enhanced Edition in addition to classic Planescape: Torment.

The mod is available in English, French, German, Italian, Polish, Russian and Spanish.

Links:

 

List of fixes and features:

Spoiler

EFF V2.0 discrepancy between IESDP and Near Infinity

21 December 2017 - 05:15 AM

I've noticed several differences between the EFF V2.0 structures as defined in IESDP and by Near Infinity:

Offset  Size  IESDP structure         Size  Near Infinity structure
0x00    4     Signature               4     Signature
0x04    4     Version                 4     Version
0x08    4     Opcode                  4     Type
0x0c    4     Target type             4     Target
0x10    4     Power                   4     Power
0x14    4     Parameter 1             4     Parameter 1
0x18    4     Parameter 2             4     Parameter 2
0x1c    2     Timing mode             4     Timing mode
0x1e    2     Timing?                 -     -
0x20    4     Duration                4     Duration
0x24    2     Probability 1           2     Probability 1
0x26    2     Probability 2           2     Probability 2
0x28    8     Resource                8     Resource
0x30    4     Dice thrown             4     # dice thrown
0x34    4     Dice sides              4     Dice size
0x38    4     Saving throw type       4     Save type
0x3c    4     Save bonus              4     Save bonus
0x40    4     Set local variable      4     Special (Parameter 2.5)   <-- Same meaning?
0x44    4     Primary type            4     Primary type
0x48    4     Unknown                 4     Unknown
0x4c    4     Minimum level           4     Minimum level
0x50    4     Maximum level           4     Maximum level
0x54    4     Resistance              4     Dispel/Resistance
0x58    4     Parameter 3             4     Parameter 3
0x5c    4     Parameter 4             4     Parameter 4
0x60    8     Resource 2              4     Unknown                   <-- Discrepancy
0x64    -     -                       4     Time applied (ticks)      <-- Discrepancy
0x68    8     Resource 3              8     Resource 2                <-- Discrepancy
0x70    4     Unknown                 8     Resource 3                <-- Discrepancy
0x74    4     Unknown                 -     -                         <-- Discrepancy
0x78    4     Caster X coordinate     4     Caster location X
0x7c    4     Caster Y coordinate     4     Caster location Y
0x80    4     Target X coordinate     4     Target location X
0x84    4     Target Y coordinate     4     Target location Y
0x88    4     Parent resource type    4     Resource type
0x8c    8     Parent resource         8     Parent resource
0x94    4     Parent resource flags   4     Resource flags
0x98    4     Projectile              4     Impact projectile
0x9c    4     Parent resource slot    4     Source item slot
0xa0    32    Variable                32    Variable name
0xc0    4     Caster level            4     Caster level
0xc4    4     Internal flags          4     Internal flags
0xc8    4     Secondary type          4     Secondary type
0xcc    60    Unknown                 4     Unknown
0xd0    -     -                       56    Unknown

Which structure definition is the correct one?