[DECORATE] Player Skins are freezing instead of playing death animation

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
SkeletronMK666
New User
Posts: 8
Joined: Wed Aug 25, 2021 2:34 pm
Contact:

[DECORATE] Player Skins are freezing instead of playing death animation

#1

Post by SkeletronMK666 » Sat May 21, 2022 6:17 pm

i have a mod that's under time constraints to be released. the custom character's death animation doesn't play sometimes, this goes for custom skins and bots as well.
i will post the bot info and DECORATE for the mod.

Code: Select all

ACTOR T800Classic : playerpawn
{
  Speed 1
  Health 100
  Radius 16
  Height 56
  Mass 100
  BloodType "Sparks"
  PainChance 100
  painsound "T80/T"
  DeathSound "TERM/DIE"
  Player.Face "TE8"
  Player.DisplayName "Terminator"
  Player.StartItem "CLIP", 50
  PLAYER.STARTITEM "LongSlide"
  Player.StartItem "T800Fists1"
  Player.Soundclass "player"
  Player.WeaponSlot 1, "T800Fists1", "TChainsaw1"
  Player.WeaponSlot 2, "LongSlide"
  Player.WeaponSlot 3, "SPAS12","Winchester"
  Player.WeaponSlot 4, "TERMMinigun, M82Carbine"
  Player.WeaponSlot 5, "40mmGrenadeLauncher"
  Player.WeaponSlot 6, "PulseRifle1"
  Player.WeaponSlot 7, "LAZERCANNON","SuperMachinegun","SuperGrenadelauncher", "TriBarrelShotgun", "PlasmaGatling"
  States
  {
  Spawn:
    ENDO A -1
    Loop
  See:
    ENDO AABBCCDD 3
    Loop
  Missile:
    ENDO E 12 bright
    Goto Spawn
   OtherMissle:
    END1 A 12 bright
	Goto Spawn
  Melee:
    ENDO F 6
    Goto Missile
  Pain:
    ENDO G 4 A_Pain
    ENDO G 7
    Goto Spawn
  Death:
    ENDO H 10
    ENDO I 10 A_PlayerScream
    ENDO J 10 A_Fall
    ENDO K -1
    Stop
  XDeath:
    ENDO O 8 A_XScream
    ENDO P 8
    ENDO Q 8 A_Fall
    ENDO QRS 8
    ENDO S -1
    Stop
	}
}



SKININFO:

Code: Select all

{
name = "Custom"
scale = 1.0
sprite = CUST
face = TE8
dsplpain = TERM/PAIN
class = "T800CLASSIC"
}

{
name = "Neon"
scale = 1.0
sprite = CNDO
face = TE8
dsplpain = TERM/PAIN
class = "T800CLASSIC"
}


if anyone wants to look at the mod further, DM me and i will send you a link to the TEST build i am currently working on. thank you!

User avatar
penguin
 
Posts: 82
Joined: Tue Aug 28, 2018 5:05 am
Location: Japan
Contact:

[DECORATE] Re: Player Skins are freezing instead of playing death animation

#2

Post by penguin » Thu May 26, 2022 6:03 am

If the death sprites has a K frame (S frame) or later, it freezes in the middle.

Post Reply