so i want the arrows from a game from Script error, "Example.zip:decorate.txt" line 25:
Invalid state parameter a_firecrossbowpl1
it is saying this because i havent got the image for the arrows that fire out
.okay i bet you wouldnt of understod what i just said but im trying to make my tompson mashine gun fire arrows and im not sure where to get the images from so i can source these to my gun so it wont complain where do i get the arrows im modding zdoom so zdoom doesnt have that projectile or the weapon so where can i optaion it.
full stops is all i know im trying,
edit:
Code: Select all
ACTOR SuperAutoShotgun : Weapon replaces Chainsaw
{
Inventory.PickupMessage "Your mum Boom!! boom!!."
Weapon.AmmoType "Clip"
Weapon.AmmoUse 2
Weapon.AmmoGive 50
Weapon.SlotNumber 3
AttackSound "weapons/shotgf"
States
{
Spawn:
SHOT A -1
Stop
Ready:
TSTG A 1 A_WeaponReady
Loop
Select:
TSTG B 1 A_Raise
Loop
Deselect:
TSTG C 1 A_Lower
Loop
Fire:
CRBW D 6 A_FireCrossbowPL1
CRBW EFGH 3
CRBW AB 4
CRBW C 5 A_ReFire
Goto Ready
}
}
ACTOR CrossbowFX1
{
Game Heretic
SpawnID 147
Radius 11
Height 8
Speed 30
Damage 10
Projectile
RenderStyle Add
SeeSound "weapons/bowshoot"
DeathSound "weapons/bowhit"
States
{
Spawn:
FX03 B 1 BRIGHT
Loop
Death:
FX03 HIJ 8 BRIGHT
Stop
}
and this
ACTOR CrossbowFX2 : CrossbowFX1
{
Game Heretic
SpawnID 148
Speed 32
Damage 6
States
{
Spawn:
FX03 B 1 BRIGHT A_SpawnItemEx("CrossbowFX4", random2[BoltSpark]()*0.015625, random2[BoltSpark]()*0.015625,
0, 0,0,0,0,SXF_ABSOLUTEPOSITION, 50)
Loop
}
}
and this
ACTOR CrossbowFX3 : CrossbowFX1
{
Game Heretic
SpawnID 149
Speed 20
Damage 2
SeeSound ""
-NOBLOCKMAP
+WINDTHRUST
+THRUGHOST
States
{
Spawn:
FX03 A 1 BRIGHT
Loop
Death:
FX03 CDE 8 BRIGHT
Stop
}
}