2008-08-10 14:19:47 +00:00
|
|
|
ACTOR Inventory native
|
|
|
|
{
|
|
|
|
Inventory.Amount 1
|
|
|
|
Inventory.MaxAmount 1
|
|
|
|
Inventory.UseSound "misc/invuse"
|
|
|
|
Inventory.PickupSound "misc/i_pkup"
|
|
|
|
|
|
|
|
action native A_JumpIfNoAmmo(state label);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_CustomPunch(int damage, bool norandom = false, bool useammo = true, class<Actor> pufftype = "BulletPuff", float range = 0);
|
|
|
|
action native A_FireBullets(float spread_xy, float spread_z, int numbullets, int damageperbullet, class<Actor> pufftype = "BulletPuff", bool useammo = true, float range = 0);
|
2009-06-27 19:37:53 +00:00
|
|
|
action native A_FireCustomMissile(class<Actor> missiletype, float angle = 0, bool useammo = true, int spawnofs_xy = 0, float spawnheight = 0, bool aimatangle = false, float pitch = 0);
|
2008-08-12 20:19:47 +00:00
|
|
|
action native A_RailAttack(int damage, int spawnofs_xy = 0, int useammo = true, color color1 = "", color color2 = "", bool silent = false, float maxdiff = 0, class<Actor> pufftype = "BulletPuff");
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_Light(int extralight);
|
2008-08-10 14:19:47 +00:00
|
|
|
action native A_Light0();
|
|
|
|
action native A_Light1();
|
|
|
|
action native A_Light2();
|
|
|
|
action native A_LightInverse();
|
|
|
|
action native A_WeaponReady();
|
|
|
|
action native A_Lower();
|
|
|
|
action native A_Raise();
|
|
|
|
action native A_FirePistol();
|
|
|
|
action native A_FireShotgun();
|
|
|
|
action native A_FireShotgun2();
|
|
|
|
action native A_OpenShotgun2();
|
|
|
|
action native A_LoadShotgun2();
|
|
|
|
action native A_CloseShotgun2();
|
|
|
|
action native A_FireCGun();
|
2009-06-09 17:13:03 +00:00
|
|
|
action native A_FireSTGrenade(class<Actor> grenadetype = "Grenade");
|
2008-08-10 14:19:47 +00:00
|
|
|
action native A_FireMissile();
|
|
|
|
action native A_FirePlasma();
|
|
|
|
action native A_FireRailgun();
|
|
|
|
action native A_FireRailgunLeft();
|
|
|
|
action native A_FireRailgunRight();
|
|
|
|
action native A_RailWait();
|
|
|
|
action native A_BFGsound();
|
|
|
|
action native A_FireBFG();
|
|
|
|
action native A_ReFire();
|
|
|
|
action native A_ClearReFire();
|
|
|
|
action native A_CheckReload();
|
|
|
|
action native A_GunFlash();
|
2008-08-13 09:11:19 +00:00
|
|
|
action native A_Saw(sound fullsound = "weapons/sawfull", sound hitsound = "weapons/sawhit", int damage = 2, class<Actor> pufftype = "BulletPuff");
|
2008-08-21 08:04:21 +00:00
|
|
|
action native A_CheckForReload(int counter, state label, bool dontincrement = false);
|
2008-08-10 14:19:47 +00:00
|
|
|
action native A_ResetReloadCounter();
|
|
|
|
action native A_RestoreSpecialPosition();
|
|
|
|
action native A_RestoreSpecialDoomThing();
|
|
|
|
action native A_RestoreSpecialThing1();
|
|
|
|
action native A_RestoreSpecialThing2();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
HideDoomish:
|
|
|
|
TNT1 A 1050
|
|
|
|
TNT1 A 0 A_RestoreSpecialPosition
|
|
|
|
TNT1 A 1 A_RestoreSpecialDoomThing
|
|
|
|
Stop
|
|
|
|
HideSpecial:
|
|
|
|
ACLO E 1400
|
|
|
|
ACLO A 0 A_RestoreSpecialPosition
|
|
|
|
ACLO A 4 A_RestoreSpecialThing1
|
|
|
|
ACLO BABCBCDC 4
|
|
|
|
ACLO D 4 A_RestoreSpecialThing2
|
|
|
|
Stop
|
|
|
|
Held:
|
|
|
|
TNT1 A -1
|
|
|
|
Stop
|
|
|
|
HoldAndDestroy:
|
|
|
|
TNT1 A 1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Actor Ammo : Inventory native
|
|
|
|
{
|
|
|
|
+INVENTORY.KEEPDEPLETED
|
|
|
|
Inventory.PickupSound "misc/ammo_pkup"
|
|
|
|
}
|
|
|
|
|
|
|
|
Actor BackpackItem : Inventory native
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR Armor : Inventory native
|
|
|
|
{
|
|
|
|
Inventory.PickupSound "misc/armor_pkup"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR BasicArmor : Armor native
|
|
|
|
{
|
|
|
|
+Inventory.KEEPDEPLETED
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR BasicArmorBonus : Armor native
|
|
|
|
{
|
|
|
|
+Inventory.AUTOACTIVATE
|
|
|
|
+Inventory.ALWAYSPICKUP
|
|
|
|
Inventory.MaxAmount 0
|
|
|
|
Armor.SavePercent 0.333333
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR BasicArmorPickup : Armor native
|
|
|
|
{
|
|
|
|
+Inventory.AUTOACTIVATE
|
|
|
|
Inventory.MaxAmount 0
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR HexenArmor : Armor native
|
|
|
|
{
|
|
|
|
+Inventory.KEEPDEPLETED
|
|
|
|
+Inventory.UNDROPPABLE
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR DehackedPickup : Inventory native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR FakeInventory : Inventory native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR CustomInventory : Inventory native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
|
|
|
Actor Health : Inventory native
|
|
|
|
{
|
|
|
|
Inventory.Amount 1
|
|
|
|
Inventory.MaxAmount 0
|
|
|
|
Inventory.PickupSound "misc/health_pkup"
|
|
|
|
}
|
|
|
|
|
|
|
|
Actor HealthPickup : Inventory native
|
|
|
|
{
|
|
|
|
Inventory.DefMaxAmount
|
|
|
|
+INVENTORY.INVBAR
|
|
|
|
}
|
|
|
|
|
|
|
|
Actor Key : Inventory native
|
|
|
|
{
|
|
|
|
+INVENTORY.INTERHUBSTRIP
|
|
|
|
Inventory.PickupSound "misc/k_pkup"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerupGiver : Inventory native
|
|
|
|
{
|
|
|
|
Inventory.DefMaxAmount
|
|
|
|
+INVENTORY.INVBAR
|
|
|
|
+INVENTORY.FANCYPICKUPSOUND
|
|
|
|
Inventory.PickupSound "misc/p_pkup"
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR Powerup : Inventory native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
|
|
|
ACTOR PowerInvulnerable : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -30
|
|
|
|
inventory.icon "SPSHLD0"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerStrength : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration 1
|
|
|
|
Powerup.Color 255,0,0,0.5
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerInvisibility : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -60
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR PowerGhost : PowerInvisibility native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
|
|
|
ACTOR PowerShadow : PowerInvisibility native
|
|
|
|
{
|
|
|
|
Powerup.Duration -55
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerIronFeet : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -60
|
|
|
|
Powerup.Color 0, 255, 0, 0.125
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerMask : PowerIronFeet native
|
|
|
|
{
|
|
|
|
Powerup.Duration -80
|
|
|
|
Powerup.Color 0,0,0,0
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
Inventory.Icon "I_MASK"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerLightAmp : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -120
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR PowerTorch : PowerLightAmp native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
|
|
|
ACTOR PowerFlight : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -60
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerWeaponLevel2 : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -40
|
|
|
|
Inventory.Icon "SPINBK0"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerSpeed: Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -45
|
|
|
|
Speed 1.5
|
|
|
|
Inventory.Icon "SPBOOT0"
|
|
|
|
}
|
|
|
|
|
|
|
|
// Player Speed Trail (used by the Speed Powerup) ----------------------------
|
|
|
|
|
|
|
|
ACTOR PlayerSpeedTrail native
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOGRAVITY
|
|
|
|
Alpha 0.6
|
|
|
|
RenderStyle Translucent
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerMinotaur : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -25
|
|
|
|
Inventory.Icon "SPMINO0"
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerTargeter : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -160
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Targeter:
|
|
|
|
TRGT A -1
|
|
|
|
Stop
|
|
|
|
TRGT B -1
|
|
|
|
Stop
|
|
|
|
TRGT C -1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerFrightener : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -60
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerScanner : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -80
|
|
|
|
+INVENTORY.HUBPOWER
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerTimeFreezer : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -12
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerDamage : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -25
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerProtection : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -25
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerDrain : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -60
|
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR PowerRegeneration : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -120
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR PowerHighJump : Powerup native {}
|
2008-08-10 14:19:47 +00:00
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR PowerDoubleFiringSpeed : Powerup native {}
|
2009-05-26 01:16:39 +00:00
|
|
|
|
2008-08-10 14:19:47 +00:00
|
|
|
ACTOR PowerMorph : Powerup native
|
|
|
|
{
|
|
|
|
Powerup.Duration -40
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR PowerInfiniteAmmo : Powerup native
|
2008-08-10 14:19:47 +00:00
|
|
|
{
|
2009-06-07 16:38:19 +00:00
|
|
|
Powerup.Duration -30
|
2008-08-10 14:19:47 +00:00
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
ACTOR MapRevealer : Inventory native {}
|
|
|
|
|
2008-08-10 14:19:47 +00:00
|
|
|
ACTOR PuzzleItem : Inventory native
|
|
|
|
{
|
|
|
|
+NOGRAVITY
|
|
|
|
+INVENTORY.INVBAR
|
|
|
|
Inventory.DefMaxAmount
|
|
|
|
Inventory.UseSound "PuzzleSuccess"
|
|
|
|
Inventory.PickupSound "misc/i_pkup"
|
|
|
|
}
|
|
|
|
|
|
|
|
Actor Weapon : Inventory native
|
|
|
|
{
|
|
|
|
Inventory.PickupSound "misc/w_pkup"
|
|
|
|
Weapon.DefaultKickback
|
|
|
|
States
|
|
|
|
{
|
|
|
|
LightDone:
|
|
|
|
SHTG E 0 A_Light0
|
|
|
|
Stop
|
|
|
|
}
|
2009-06-30 19:20:39 +00:00
|
|
|
|
|
|
|
action native A_ZoomFactor(float scale = 1, int flags = 0);
|
|
|
|
const int ZOOM_INSTANT = 1;
|
2008-08-10 14:19:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ACTOR WeaponGiver : Weapon native
|
|
|
|
{
|
2009-01-18 08:20:29 +00:00
|
|
|
Weapon.AmmoGive1 -1
|
|
|
|
Weapon.AmmoGive2 -1
|
2008-08-10 14:19:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Actor WeaponHolder : Inventory native
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOSECTOR
|
|
|
|
+INVENTORY.UNDROPPABLE
|
|
|
|
}
|
|
|
|
|
2009-06-07 16:38:19 +00:00
|
|
|
Actor WeaponPiece : Inventory native {}
|