-
Notifications
You must be signed in to change notification settings - Fork 12
/
DECORATE.UnusedShells
58 lines (54 loc) · 1.08 KB
/
DECORATE.UnusedShells
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//These shells are super varied, but they caused some fps drops. 7 fps difference on my end, but I can't risk it...
//I'm leaving this here for later. Perhaps I'll have some use for it.
/*
ACTOR AmmoShellButSpawns4 : Ammo Replaces AmmoShell
{
Game Doom
SpawnID 12
Inventory.PickupMessage "$GOTSHELLS"
Inventory.Amount 4
Inventory.MaxAmount 50
Ammo.BackpackAmount 8
Ammo.BackpackMaxAmount 100
Inventory.Icon "SHELA0"
Inventory.Pickupsound "SHELPK1"
Scale 0.9
States
{
Spawn:
TNT1 A 1
TNT1 AAAA 0 A_SpawnItemEx ("SingleShell",random(7,-7),random(7,-7),0,0,0,0,0,SXF_NOCHECKPOSITION | SXF_TRANSFERAMBUSHFLAG | SXF_TRANSFERPOINTERS ,0, tid)
stop
}
}
ACTOR SingleShell : CustomInventory
{
Inventory.PickupMessage "Picked up a shotgun shell."
Inventory.Pickupsound "SHELPK1"
Scale 0.9
Radius 10
Height 6
States
{
Spawn:
TNT1 A 1
TNT1 A 0 A_Jump(256,"Spawn1","Spawn2","Spawn3","Spawn4")
loop
Spawn1:
SHEL B -1
Stop
Spawn2:
SHEL C -1
Stop
Spawn3:
SHEL D -1
Stop
Spawn4:
SHEL E -1
Stop
Pickup:
TNT1 A 0 A_GiveInventory("AmmoShell",1)
stop
}
}
*/