Skip to content

scripted_sequence #6

@Xenthio

Description

@Xenthio

mostly implemented. refer to https://developer.valvesoftware.com/wiki/Scripted_sequence
i've done enough to make all the predisaster sequences mostly work but yeah it's still rather unfinished.

Keyvalues implemented

  • Target NPC (m_iszEntity)
  • Pre Action Idle Animation (m_iszIdle)
  • Entry Animation (m_iszEntry)
  • Action Animation (m_iszPlay)
  • Post Action Idle Animation (m_iszPostIdle)
  • Custom Move Animation (m_iszCustomMove)
  • Loop Action Animation?
  • Synch Post Idles (m_bSynchPostIdles)
  • Search Radius (m_flRadius)
  • Repeat Rate ms (m_flRepeat)
  • Move to Position (m_fMoveTo)
  • Next Script (m_iszNextScript)
  • Ignore Gravity on NPC during Script (m_bIgnoreGravity)
  • Disable NPC collisions during Script (m_bDisableNPCCollisions)
  • On Player death (onplayerdeath)

Outputs implemented

  • OnBeginSequence
  • OnEndSequence
  • OnScriptEventXX

Inputs implemented

  • BeginSequence
  • CancelSequence
  • MoveToPosition

Flags implemented

  • Repeatable = 1,
  • LeaveCorpse = 2,
  • StartonSpawn = 4,
  • NoInterruptions = 8,
  • OverrideAI = 16,
  • DontTeleportNPCatEnd = 128,
  • LoopinPostIdle = 256,
  • PriorityScript = 512,
  • SearchCyclically = 1024,
  • NoComplaints = 2048,
  • AllowNPCDeath = 4096,

Metadata

Metadata

Labels

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions