File tree Expand file tree Collapse file tree 1 file changed +48
-8
lines changed
zscript/HDBulletLib/Ammunition Expand file tree Collapse file tree 1 file changed +48
-8
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,56 @@ class HDB_500LAD : HDBulletActor
35
35
}
36
36
}
37
37
38
+ class HDLoose500Light : HDLoose9mm
39
+ {
40
+ Default
41
+ {
42
+ bouncefactor 0.5;
43
+ }
44
+
45
+ States
46
+ {
47
+ spawn:
48
+ SWCS A 2 NoDelay A_SetRoll(roll + 45, SPF_INTERPOLATE);
49
+ Loop;
50
+ death:
51
+ SWCS # 1{
52
+ actor a=spawn("HD500SWLightAmmo",self.pos,ALLOW_REPLACE);
53
+ a.roll=self.roll;a.vel=self.vel;
54
+ }stop;
55
+ }
56
+ }
57
+
58
+ class HDLoose500Heavy : HDLoose9mm
59
+ {
60
+ Default
61
+ {
62
+ bouncefactor 0.5;
63
+ }
64
+
65
+ States
66
+ {
67
+ spawn:
68
+ SWCS A 2 NoDelay A_SetRoll(roll + 45, SPF_INTERPOLATE);
69
+ Loop;
70
+ death:
71
+ SWCS # 1{
72
+ actor a=spawn("HD500SWHeavyAmmo",self.pos,ALLOW_REPLACE);
73
+ a.roll=self.roll;a.vel=self.vel;
74
+ }stop;
75
+ }
76
+ }
77
+
38
78
class HDSpent500 : HDSpent9mm
39
79
{
40
- states{
41
- spawn:
42
- SWCS A 2 nodelay{
43
- A_SetRoll(roll+ 45,SPF_INTERPOLATE);
44
- } loop;
45
- death:
46
- SWCS # -1;
47
- stop;
80
+ States
81
+ {
82
+ spawn:
83
+ SWCS A 2 nodelay A_SetRoll(roll + 45, SPF_INTERPOLATE);
84
+ loop;
85
+ death:
86
+ SWCS # -1;
87
+ stop;
48
88
}
49
89
}
50
90
You can’t perform that action at this time.
0 commit comments