Stealth Droid Forum Regular
Joined: 21 Feb 2007 Posts: 46
|
Posted: Tue Sep 11, 2007 10:54 pm Post subject: Is this code any good? |
|
|
Tried decorate... not too good yet, I'm sure, but I tried...
| Code: |
ACTOR Doom3Chaingun : Weapon replaces chaingun
{
+AMMO_OPTIONAL
Inventory.PickupMessage "Ripper Chaingun (Slot 4)"
Inventory.PickupSound "misc/d3pickup"
Weapon.SelectionOrder 1300
Weapon.AmmoType "Clip"
Weapon.AmmoGive 40
Weapon.AmmoUse 1
Weapon.AmmoType2 "Clip"
Weapon.AmmoUse2 6
Weapon.sisterweapon Doom3Chaingun2
Weapon.Kickback 300
AttackSound "weapons/d3chngunf"
States
{
Spawn:
MGUN A -1
LOOP
Ready:
D3CG A 1 A_WeaponReady
LOOP
Deselect:
D3CG A 1 A_Lower
LOOP
Select:
D3CG A 1 A_Raise
Goto Select
Fire:
D3CG A 1 A_JumpIfInventory("Clip", 1, 1)
goto ready
D3CG A 3 A_GunFlash
D3CG B 3
Goto ready
AltFire:
D3CF A 0 A_FireCustomMissile("Tracer",0,0,-2,0,0)
D3CF A 0 A_FireCustomMissile("Tracer",0,0,-1,1,0)
D3CF A 0 A_FireCustomMissile("Tracer",0,0,0,2,0)
D3CF A 0 A_FireCustomMissile("Tracer",0,0,2,0,0)
D3CF A 0 A_FireCustomMissile("Tracer",0,0,1,-1,0)
D3CF A 0 A_FireCustomMissile("Tracer",0,1,0,-2,0)
D3CG ABABABABABAB 2
goto ready
Flash:
D3CF B 0 A_RailAttack(18,6,0,none,none,0,0)
D3CF A 2 A_FireBullets(6, 0, -1, 0, "BulletPuff", 1)
D3CF B 1
D3CF B 0 A_RailAttack(18,6,0,none,none,0,0)
D3CF A 2 A_FireBullets(6, 0, -1, 0, "BulletPuff", 1)
D3CF B 1
Stop
}
} |
Modified from the Doom 3 Weapons mod. |
|