InfoChangelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
== Keyvalue ==
== Keyvalue ==
=== KeyValue method ===
=== KeyValue method ===
{{KV|map|intn=0|string|Sets m_mapName trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")}}
{{KV|map|intn=0|string|Sets {{↓|m_mapName}} trimmed to first 31 characters, will print warning if longer than 31 ("Map name '<map>' too long (<length> chars)\n")}}
{{KV|landmark|intn=0|string|Sets m_landmarkName trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '<map>' too long (<length> chars)\n")}}
{{KV|landmark|intn=0|string|Sets {{↓|m_landmarkName}} trimmed to first 31 characters, will print warning if longer than 31 ("Landmark name '<map>' too long (<length> chars)\n")}}


=== Keyfields ===
=== Keyfields ===
Line 19: Line 19:


=== Input functions ===
=== Input functions ===
* CheckpointDoorOpened
{{DEFINE_INPUTFUNC|?|CheckpointDoorOpened|OnCheckpointDoorOpened}}
* CheckpointDoorClosed
{{DEFINE_INPUTFUNC|?|CheckpointDoorClosed|OnCheckpointDoorClosed}}
{{todo}}
{{todo}}


Line 27: Line 27:


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


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

Revision as of 08:50, 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 '<map>' 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)