Quadravol dropped casings.

This commit is contained in:
Mari the Deer 2022-08-18 08:53:39 +02:00
commit 7b0198b2c1
6 changed files with 37 additions and 4 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r339 \cu(Thu 18 Aug 00:00:10 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r339 \cu(2022-08-18 00:00:10)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r340 \cu(Thu 18 Aug 08:53:39 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.3pre r340 \cu(2022-08-18 08:53:39)\c-";

View file

@ -1,3 +1,19 @@
Model "QuadravolCasing"
{
Path "models"
Model 0 "QuadravolCasing_d.3d"
Skin 0 "QuadCell_Used.png"
Scale 0.02 0.02 0.02
AngleOffset -90
USEACTORPITCH
USEACTORROLL
FrameIndex XZW1 A 0 0
ZOffset 1
FrameIndex XZW1 B 0 0
}
Model "Quadravol"
{
Path "models"

View file

@ -58,7 +58,7 @@ Model "SheenCasing"
USEACTORROLL
FrameIndex XZW1 A 0 0
ZOffset 0.5
ZOffset 0.75
FrameIndex XZW1 B 0 0
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After

View file

@ -121,7 +121,11 @@ Class Quadravol : SWWMWeapon
Vector3 origin = level.Vec3Offset(Vec2OffsetZ(0,0,player.viewz),-8*x+8*y-16*z);
if ( invoker.wascharged )
{
Console.Printf("\cg// TODO - Drop Casing\c-");
let c = Spawn("QuadravolCasing",origin);
c.angle = angle;
c.pitch = pitch-90;
c.vel = x*FRandom[Junk](-2.5,-1.5)+y*FRandom[Junk](.5,1.)-(0,0,FRandom[Junk](2.,5.));
c.vel += vel*.5;
return;
}
if ( invoker.Ammo1.Amount >= invoker.Ammo1.MaxAmount )

View file

@ -1,5 +1,18 @@
// Quadravol projectiles and effects
Class QuadravolCasing : SWWMCasing
{
Default
{
BounceSound "quadshot/casing";
}
override void PostBeginPlay()
{
Super.PostBeginPlay();
heat = 0;
}
}
Class OnFireLight : PointLightFlickerRandomAttenuated
{
OnFire of;