InfoChangelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
{{todo}}
{{todo}}


=== Outputs ===
== Outputs ==
no special  
no special  


=== Other fields ===
== Other fields ==
==== Keyless fields ====
=== Keyless fields ===
{{DEFINE_FIELD|m_mapName|FIELD_?}}
{{DEFINE_FIELD|m_mapName|FIELD_?}}
{{DEFINE_FIELD|m_landmarkName|FIELD_?}}
{{DEFINE_FIELD|m_landmarkName|FIELD_?}}


==== Function fields ====
=== Function fields ===
* InfoChangelevelTouchChangeLevel  
* InfoChangelevelTouchChangeLevel  
* InfoChangelevelChangelevelThink
* InfoChangelevelChangelevelThink

Revision as of 08:53, 26 April 2025

Stub

This article or section is a stub. You can help by expanding it.

C++ Class hierarchy
InfoChangelevel
CBaseTrigger
CBaseToggle
CBaseEntity
Warning.pngRisk of Confusion:This entity class name indeed doesn't have C at the start as is the usual convention for entities.

Entities linked to this class

Keyvalue

KeyValue method

map <string>
Sets m_mapName ↓ trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")
landmark <string>
Sets m_landmarkName ↓ trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '<landmark>' too long (<length> chars)\n")

Keyfields

no special

Inputs

Input keys

no special

Input functions

CheckpointDoorOpened <?> linked function: OnCheckpointDoorOpened

description todo

CheckpointDoorClosed <?> linked function: OnCheckpointDoorClosed

description todo

[Todo]

Outputs

no special

Other fields

Keyless fields

m_mapName <FIELD_?>

m_landmarkName <FIELD_?>


Function fields

  • InfoChangelevelTouchChangeLevel
  • InfoChangelevelChangelevelThink
  • InfoChangelevelChangeLevelSpeechDelay
  • InfoChangelevelChangeLevelNow

[Todo]


Datamap dump

Left 4 Dead 2 Left 4 Dead 2:


CBaseTrigger - info_changelevel
- m_mapName (Offset 1368) (Save)(32 Bytes)
- m_landmarkName (Offset 1400) (Save)(32 Bytes)
- InfoChangelevelTouchChangeLevel (Offset 0) (FunctionTable)(0 Bytes)
- OnCheckpointDoorOpened (Offset 0) (Input)(0 Bytes) - CheckpointDoorOpened
- OnCheckpointDoorClosed (Offset 0) (Input)(0 Bytes) - CheckpointDoorClosed
- InfoChangelevelChangelevelThink (Offset 0) (FunctionTable)(0 Bytes)
- InfoChangelevelChangeLevelSpeechDelay (Offset 0) (FunctionTable)(0 Bytes)
- InfoChangelevelChangeLevelNow (Offset 0) (FunctionTable)(0 Bytes)

Left 4 Dead Left 4 Dead:


CBaseTrigger - info_changelevel
- m_mapName (Offset 1168) (Save)(32 Bytes)
- m_landmarkName (Offset 1200) (Save)(32 Bytes)
- InfoChangelevelTouchChangeLevel (Offset 0) (FunctionTable)(0 Bytes)
- OnCheckpointDoorOpened (Offset 0) (Input)(0 Bytes) - CheckpointDoorOpened
- OnCheckpointDoorClosed (Offset 0) (Input)(0 Bytes) - CheckpointDoorClosed
- InfoChangelevelChangelevelThink (Offset 0) (FunctionTable)(0 Bytes)
- InfoChangelevelChangeLevelSpeechDelay (Offset 0) (FunctionTable)(0 Bytes)
- InfoChangelevelChangeLevelNow (Offset 0) (FunctionTable)(0 Bytes)