Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
buzzy

error in decoration

Recommended Posts

[I have 1 enemy, 1 weapon, 2 ammo types and 1 powerup in DECORATION]
I have the zDOom exe but when I test it, it says some error about the 2 ammo for my weapon has no parent, whats the problem?

Here are examples:
WEAPON -

Actor BuzzyLaser : BuzzyLaser 2009
{
Weapon.SelectionOrder 100
Inventory.PickupSound "misc/blpickup"
Inventory.Pickupmessage "You got the BUZZY LASER!"
Weapon.AmmoGive 30
Weapon.AmmoUse 15
AttackSound "weapons/blf"
States
{
Spawn:
BLSR A -1
Loop
Ready:
LASR A 1 A_WeaponReady
Loop
Deselect:
LASR A 1 A_Lower
Loop
Select:
LASR A 1 A_Raise
Loop
Fire:
LASR A 3
LASR A 0 A_FireBullets (13.4, 9.2, 50, 10, "BulletPuff")
LASR A 7 A_GunFlash
LASR B 7
LASR C 7 A_CheckReload
LASR D 7 A_OpenShotgun2
LASR E 7
LASR F 7 A_LoadShotgun2
LASR G 6
LASR H 6 A_CloseShotgun2
LASR A 5 A_ReFire
Goto Ready
Flash:
LASF A 6 A_FireBullets(10,10,15,30,0,1)
Stop
}
}

AMMO -
actor BuzzyLaserAmmo : Ammo 2100
{
inventory.pickupmessage "Picked up a small buzzy laser sphere."
inventory.amount 15
inventory.maxamount 310
inventory.icon "BLALA0"
ammo.backpackamount 30
ammo.backpackmaxamount 620
states
{
Spawn:
BLAS A -1
stop
}
}

actor LargeBuzzyLaserAmmo : BuzzyLaserAmmo 2101
{
inventory.pickupmessage "Picked up a large buzzy laser sphere."
inventory.amount 30
states
{
Spawn:
BLAL A -1
stop
}
}

POWER-UP
actor RapidFire : PowerupGiver 2103
{
spawnid 138
inventory.pickupmessage "Rapid Fire"
inventory.maxamount 0
inventory.PickupSound "misc/rpfp"
powerup.duration 35
powerup.type "WeaponLevel2"
+COUNTITEM
+INVENTORY.AUTOACTIVATE
+INVENTORY.ALWAYSPICKUP
states
{
Spawn:
RAPD A 6
RAPD B 6 bright
loop
}
}

And my enemy:
actor BuzzyMedic 269
{
spawnid 4
obituary "%o was killed by a buzzy medic."
health 120
radius 20
height 56
mass 100
speed 11
painchance 200
seesound "medic/sight"
attacksound "medic/attack"
painsound "medic/pain"
deathsound "medic/death"
activesound "medic/active"
dropitem
MONSTER
+FLOORCLIP
states
{
Spawn:
MDCB AB 10 A_Look
loop
See:
MDCB AABBCCDD 4 A_Chase
loop
Missile:
MDCB E 10 A_FaceTarget
MDCB F 8 A_PosAttack
MDCB E 8
goto See
Pain:
MDCB G 3
MDCB G 3 A_Pain
goto See
Death:
MDCB H 5
MDCB I 5 A_Scream
MDCB J 5 A_NoBlocking
MDCB K 5
MDCB L -1
stop
XDeath:
MDCB M 5
MDCB N 5 A_XScream
MDCB O 5 A_NoBlocking
MDCB PQRST 5
MDCB U -1
stop
Raise:
MDCB KJIH 5
goto See
}
}

Are they any errors in this DECORATE?

Anyway, the {powerup.type} thing, whats that type that make your weapons faster?

For your weapon, how do you include 3 powerup keys which link to my buzzy laser like on doom 64. One makes the buzzy laser shoots out still a single laser, second shoots out 2 and third shoots out 3.

How do I make my weapon EXACTLY like that one with 2 ammo packs with it (large pack) and (small pack). How, please someone tell me?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×