(0012267)
|
StrikerMan780
|
2015-05-13 04:03
(edited on: 2015-05-13 19:12) |
|
Here's some example Decorate. This is a weapon from a mod of mine with a lot of stuff cut out to work partially without the other content, should reproduce the bug perfectly fine. Just make a text file called decorate.txt, drop this code in it, save, and drag+drop the txt on Zandronum.exe, it'll load.
actor NewShotgun : Weapon
{
Tag "Remington 870 Magnum"
Weapon.BobSpeed 1.5
Weapon.BobStyle "InverseSmooth"
Weapon.BobRangeX 0.75
Weapon.BobRangeY 1.5
Decal BulletChip
obituary "%o chewed on %k's boomstick."
radius 20
height 16
weapon.selectionorder 1300
weapon.kickback 100
Weapon.AmmoType "Shell"
weapon.ammouse 1
weapon.slotnumber 3
states
{
Ready:
SHTG A 1 A_WeaponReady
goto Ready
Deselect:
SHTG AA 0 A_Lower
SHTG A 1 A_Lower
goto Deselect
Select:
SHTG AA 0 A_Raise
SHTG A 1 A_Raise
goto Select
Fire:
SHTG B 0 A_GunFlash
SHTG B 0 Radius_Quake(2, 3, 0, 1, 0)
SHTG B 0 bright A_PlayWeaponSound("weapons/shotgf")
SHTG B 0 Bright A_FireBullets (6.6, 3.5, 10, 5, "BulletPuff")
SHTG B 1 Bright A_SetPitch (pitch-2)
SHTG C 1 A_SetPitch(pitch+0.8)
SHTG D 2 A_SetPitch(pitch+0.6)
SHTG E 2 A_SetPitch(pitch+0.4)
SHTG F 2 A_SetPitch(pitch+0.2)
SHTG G 2
SHTG H 2
SHTG IJKL 2
SHTG M 0
SHTG MNOPQRS 2
SHTG A 2
SHTG A 0 A_Refire
goto Ready
Flash:
SHTF A 2 Bright A_Light1
SHTF A 0 Bright A_Light0
stop
}
}
|
|