1.0.2 Release:

- Relocated crosshairs so UT ones can still be used.
 - Corrected Item Lore so it mentions the Stunner and Impaler also being enhanced by the Amplifier, in case people haven't noticed.
 - Fix biorifle/napalm glob splash code like in Doom Tournament.
This commit is contained in:
Marisa the Magician 2019-10-28 14:31:45 +01:00
commit efda5e69e5
10 changed files with 39 additions and 44 deletions

View file

@ -24,7 +24,8 @@ This mod's version of the Translator has additional features:
## Amplifier ## Amplifier
When active, dramatically enhances the power of the Dispersion Pistol and ASMD. When active, dramatically enhances the power of the Dispersion Pistol, ASMD,
Stunner and Impaler.
## Dampener ## Dampener

View file

@ -73,7 +73,7 @@ This mod requires GZDoom 4.2.3 or later, and runs on top of Doom Tournament.
## In progress ## In progress
- N/A, this is the 1.0.1 release. - N/A, this is the 1.0.2 release.
## Planned ## Planned

View file

Before

Width:  |  Height:  |  Size: 145 B

After

Width:  |  Height:  |  Size: 145 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 153 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 148 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

Before After
Before After

View file

@ -1,5 +1,5 @@
8 "Unreal Crosshair 1" 15 "Unreal Crosshair 1"
9 "Unreal Crosshair 2" 16 "Unreal Crosshair 2"
10 "Unreal Crosshair 3" 17 "Unreal Crosshair 3"
11 "Unreal Crosshair 4" 18 "Unreal Crosshair 4"
12 "Unreal Crosshair 5" 19 "Unreal Crosshair 5"

View file

@ -741,36 +741,8 @@ Class UNapalmGlob : UNapalm
{ {
int numsplash; int numsplash;
override void AlignSelf() void SpawnSplash()
{ {
Super.AlignSelf();
if ( Scale.x > 1 ) numsplash = int(8*Scale.x)-1;
}
override void OnDestroy()
{
Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch));
while ( numsplash > 0 )
{
for ( int i=0; i<2; i++ )
{
if ( numsplash-- <= 0 ) return;
Vector3 dir = (ofs+(FRandom[FlameT](-.8,.8),FRandom[FlameT](-.8,.8),FRandom[FlameT](-.8,.8))).unit();
A_SetScale(scale.x-0.05);
let d = Spawn("UNapalmSplash",pos+ofs*4);
d.target = target;
d.master = self;
d.scale *= FRandom[FlameT](0.5,0.7);
d.angle = atan2(dir.y,dir.x);
d.pitch = -asin(dir.z);
d.vel = (cos(d.angle)*cos(d.pitch),sin(d.angle)*cos(d.pitch),-sin(d.pitch))*d.speed*FRandom[FlameT](0.3,0.5)*scale.x;
d.vel.z -= 2;
}
}
}
override void Tick()
{
Super.Tick();
if ( isFrozen() ) return;
Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch)); Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch));
for ( int i=0; i<2; i++ ) for ( int i=0; i<2; i++ )
{ {
@ -787,6 +759,23 @@ Class UNapalmGlob : UNapalm
d.vel.z -= 2; d.vel.z -= 2;
} }
} }
override void AlignSelf()
{
Super.AlignSelf();
if ( Scale.x > 1 ) numsplash = int(8*Scale.x)-1;
SpawnSplash();
}
override void OnDestroy()
{
Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch));
while ( numsplash > 0 ) SpawnSplash();
}
override void Tick()
{
Super.Tick();
if ( isFrozen() ) return;
SpawnSplash();
}
} }
Class UNapalmSplash : UNapalm Class UNapalmSplash : UNapalm

View file

@ -538,15 +538,8 @@ Class UBioGlob : UBioGel
{ {
int numsplash; int numsplash;
override void AlignSelf() void SpawnSplash()
{ {
Super.AlignSelf();
if ( !bAMBUSH && (Scale.x > 1) ) numsplash = int(4*Scale.x)-1;
}
override void Tick()
{
Super.Tick();
if ( isFrozen() || !sting_biosplash ) return;
Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch)); Vector3 ofs = (cos(angle)*cos(pitch),sin(angle)*cos(pitch),-sin(pitch));
for ( int i=0; i<2; i++ ) for ( int i=0; i<2; i++ )
{ {
@ -563,6 +556,18 @@ Class UBioGlob : UBioGel
d.vel.z -= 2; d.vel.z -= 2;
} }
} }
override void AlignSelf()
{
Super.AlignSelf();
if ( !bAMBUSH && (Scale.x > 1) ) numsplash = int(4*Scale.x)-1;
if ( sting_biosplash ) SpawnSplash();
}
override void Tick()
{
Super.Tick();
if ( isFrozen() || !sting_biosplash ) return;
SpawnSplash();
}
} }
Class UBioSplash : UBioGel Class UBioSplash : UBioGel