Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripted_sequence #6

Open
12 of 32 tasks
Xenthio opened this issue Aug 25, 2022 · 0 comments
Open
12 of 32 tasks

scripted_sequence #6

Xenthio opened this issue Aug 25, 2022 · 0 comments
Assignees
Labels

Comments

@Xenthio
Copy link
Collaborator

Xenthio commented Aug 25, 2022

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,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

2 participants