InfoChangelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(why though)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:


{{linked entities|info_changelevel}}
{{linked entities|info_changelevel}}
== Keyvalue ==
=== 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|landmark|intn=0|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 ===
{{DEFINE_INPUTFUNC|?|CheckpointDoorOpened|OnCheckpointDoorOpened}}
{{DEFINE_INPUTFUNC|?|CheckpointDoorClosed|OnCheckpointDoorClosed}}
{{todo}}
== Outputs ==
no special
== Other fields ==
=== Keyless fields ===
{{DEFINE_FIELD|m_mapName|FIELD_?}}
{{DEFINE_FIELD|m_landmarkName|FIELD_?}}
=== Function fields ===
* TouchChangeLevel
* ChangeLevelNow
==== Think functions ====
* ChangelevelThink
* ChangeLevelSpeechDelay
{{todo}}
== Datamap dump ==
{{l4d2|2}}: {{expandBox|
<pre>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)
</pre>}}
{{l4d|2}}: {{ExpandBox|
<pre>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)
</pre>}}

Latest revision as of 09:04, 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

  • TouchChangeLevel
  • ChangeLevelNow

Think functions

  • ChangelevelThink
  • ChangeLevelSpeechDelay

[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)