Moo Moo Armageddon Posted March 3, 2020 (edited) edit: it has been fixed thanks to whoever commented Orignal post: WHAT THE HELL IS WRONG IT KEEPS TELLING ME " Script error, "Knee Deep In The Crap.wad:DECORATE" line 162: Parent type 'cannonball' not found in Execution could not continue. Script error, "Knee Deep In The Crap.wad:DECORATE" line 162: Expected '{' but got ':' instead." HERE THAT FUCKING GODFORESAKEN CODE: ACTOR aCannon: Weapon Replaces RocketLauncher 29999 { Weapon.SelectionOrder 40 Weapon.AmmoUse 1 Weapon.AmmoGive 10 Weapon.AmmoType "Rockets" Inventory.PickupSound "weapon/ak27pickup" inventory.pickupmessage "HOLY SHIT IS THAT A ACTUAL FUCKING CANNON" states{ spawn: CANI A -1 loop select: CANO A 1 A_Raise loop Deselect: CANO A 1 A_Lower loop Ready: CANO A 1 A_WeaponReady loop Fire: CANO ABC 4 Goto Shoot3 Shoot3: Cano c 0 A_PlaySound ("weapon/cannonshoot", CHAN_Weapon, 1) cano c 0 A_Recoil (30) cano c 0 A_FireCustomMissile ("CannonBall",0,1,0,-8) cano c 4 cano c 0 A_Refire ("Shoot3") goto ready } } ACTOR CannonBall: Actor 20001 { +Randomize Decal "Scorch" Radius 6 Height 8 Speed 20 Damage 21 DeathSound "weapons/plasmax" States{ Spawn: CANI B 1 loop Death: CANI B 1 stop } } Edited March 3, 2020 by Cut The Chit Chat YT fixed 0 Quote Share this post Link to post
0 Jimmy Posted March 3, 2020 I believe you need a space before every colon sign when defining an actor. This: ACTOR aCannon: becomes: ACTOR aCannon : 0 Quote Share this post Link to post
1 -TDRR- Posted March 3, 2020 ACTOR CannonBall: Actor You don't inherit from actor, you are supposed to remove the ": Actor" part and just skip to specifying the DoomEd number and start proper actor definition, like this: ACTOR CannonBall 20001 { 0 Quote Share this post Link to post
0 Jimmy Posted March 3, 2020 Also, be sure to change the AmmoType the cannon weapon uses to "RocketAmmo" - that's the proper classname used by the rocket ammo type. 0 Quote Share this post Link to post
Question
Moo Moo Armageddon
edit: it has been fixed thanks to whoever commented
Orignal post:
WHAT THE HELL IS WRONG IT KEEPS TELLING ME "
Script error, "Knee Deep In The Crap.wad:DECORATE" line 162:
Parent type 'cannonball' not found in
Execution could not continue.
Script error, "Knee Deep In The Crap.wad:DECORATE" line 162:
Expected '{' but got ':' instead."
HERE THAT FUCKING GODFORESAKEN CODE:
ACTOR aCannon: Weapon Replaces RocketLauncher 29999 {
Weapon.SelectionOrder 40
Weapon.AmmoUse 1
Weapon.AmmoGive 10
Weapon.AmmoType "Rockets"
Inventory.PickupSound "weapon/ak27pickup"
inventory.pickupmessage "HOLY SHIT IS THAT A ACTUAL FUCKING CANNON"
states{
spawn:
CANI A -1
loop
select:
CANO A 1 A_Raise
loop
Deselect:
CANO A 1 A_Lower
loop
Ready:
CANO A 1 A_WeaponReady
loop
Fire:
CANO ABC 4
Goto Shoot3
Shoot3:
Cano c 0 A_PlaySound ("weapon/cannonshoot", CHAN_Weapon, 1)
cano c 0 A_Recoil (30)
cano c 0 A_FireCustomMissile ("CannonBall",0,1,0,-8)
cano c 4
cano c 0 A_Refire ("Shoot3")
goto ready
}
}
ACTOR CannonBall: Actor 20001 {
+Randomize
Decal "Scorch"
Radius 6
Height 8
Speed 20
Damage 21
DeathSound "weapons/plasmax"
States{
Spawn:
CANI B 1
loop
Death:
CANI B 1
stop
}
}
fixed
Share this post
Link to post
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.