Finally managed to render that goddamn vent smoke.

This commit is contained in:
Mari the Deer 2020-04-23 05:07:30 +02:00
commit 426c602e5a
28 changed files with 74 additions and 1 deletions

View file

@ -117,6 +117,65 @@ Model "Sparkster"
FrameIndex XZWZ A 2 0
}
Model "Sparkster"
{
Path "models/extra"
Model 3 "SparksterVent_d.3d"
AngleOffset -90
Scale -0.005 0.0025 0.005
DONTCULLBACKFACES
Skin 3 "VentSmoke0.png"
FrameIndex XZWY A 3 0
Skin 3 "VentSmoke1.png"
FrameIndex XZWY B 3 0
Skin 3 "VentSmoke2.png"
FrameIndex XZWY C 3 0
Skin 3 "VentSmoke3.png"
FrameIndex XZWY D 3 0
Skin 3 "VentSmoke4.png"
FrameIndex XZWY E 3 0
Skin 3 "VentSmoke5.png"
FrameIndex XZWY F 3 0
Skin 3 "VentSmoke6.png"
FrameIndex XZWY G 3 0
Skin 3 "VentSmoke7.png"
FrameIndex XZWY H 3 0
Skin 3 "VentSmoke8.png"
FrameIndex XZWY I 3 0
Skin 3 "VentSmoke9.png"
FrameIndex XZWY J 3 0
Skin 3 "VentSmoke10.png"
FrameIndex XZWY K 3 0
Skin 3 "VentSmoke11.png"
FrameIndex XZWY L 3 0
Skin 3 "VentSmoke12.png"
FrameIndex XZWY M 3 0
Skin 3 "VentSmoke13.png"
FrameIndex XZWY N 3 0
Skin 3 "VentSmoke14.png"
FrameIndex XZWY O 3 0
Skin 3 "VentSmoke15.png"
FrameIndex XZWY P 3 0
Skin 3 "VentSmoke16.png"
FrameIndex XZWY Q 3 0
Skin 3 "VentSmoke17.png"
FrameIndex XZWY R 3 0
Skin 3 "VentSmoke18.png"
FrameIndex XZWY S 3 0
Skin 3 "VentSmoke19.png"
FrameIndex XZWY T 3 0
Skin 3 "VentSmoke20.png"
FrameIndex XZWY U 3 0
Skin 3 "VentSmoke21.png"
FrameIndex XZWY V 3 0
Skin 3 "VentSmoke22.png"
FrameIndex XZWY W 3 0
Skin 3 "VentSmoke23.png"
FrameIndex XZWY X 3 0
}
Model "Sparkster"
{
Path "models"

Binary file not shown.

Binary file not shown.

BIN
models/extra/VentSmoke0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

BIN
models/extra/VentSmoke1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
models/extra/VentSmoke2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
models/extra/VentSmoke3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
models/extra/VentSmoke4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
models/extra/VentSmoke5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
models/extra/VentSmoke6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
models/extra/VentSmoke7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
models/extra/VentSmoke8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
models/extra/VentSmoke9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View file

@ -673,13 +673,27 @@ Class Sparkster : SWWMWeapon
XZW2 A 12 A_StartSound("biospark/prefire",CHAN_WEAPON,CHANF_OVERLAP);
XZW2 A 1 A_FireSpark(0);
XZW2 NOPQ 2;
XZW2 A 0 A_JumpIf(!(player.cmd.buttons&BT_ATTACK)||(invoker.ClipCount<=0),"Vent");
Goto Ready;
AltFire:
XZW2 A 0 A_JumpIf(invoker.ClipCount<=0,"Reload");
XZW2 A 12 A_StartSound("biospark/prefire",CHAN_WEAPON,CHANF_OVERLAP);
XZW2 A 1 A_FireSpark(1);
XZW2 RSTU 2;
XZW2 A 0 A_JumpIf(!(player.cmd.buttons&BT_ALTATTACK)||(invoker.ClipCount<=0),"Vent");
Goto Ready;
Vent:
XZW2 A 12
{
A_Overlay(PSP_WEAPON+2,"VentFlash");
A_OverlayFlags(PSP_WEAPON+2,PSPF_RENDERSTYLE|PSPF_FORCESTYLE,true);
A_OverlayRenderStyle(PSP_WEAPON+2,STYLE_Add);
A_StartSound("biospark/hiss",CHAN_WEAPON,CHANF_OVERLAP);
}
Goto Ready;
VentFlash:
XZWY ABCDEFGHIJKLMNOPQRSTUVWX 1;
Stop;
Zoom:
XZW2 A 0 A_JumpIf(invoker.ClipCount<4,"Reload");
XZW2 A 12 A_StartSound("biospark/prethird",CHAN_WEAPON,CHANF_OVERLAP);
@ -708,7 +722,7 @@ Class Sparkster : SWWMWeapon
XZW3 X 2 A_StartSound("biospark/meleeend",CHAN_WEAPON,CHANF_OVERLAP);
XZW3 YZ 2;
XZW4 ABCD 2;
Goto Ready;
Goto Vent;
User1:
XZW2 A 2
{