| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hpl3:engine:naming_convention [2017/05/29 15:24] alexkalopsia [Methods] |
hpl3:engine:naming_convention [2017/06/15 10:10] (current) alexkalopsia [Areas] |
||
|---|---|---|---|
| Line 30: | Line 30: | ||
| |Path Node |PathNode{_Description}_[#] |PathNode_MonsterTarget_1 \\ PathNode_ChamberRoute_13 | | | |Path Node |PathNode{_Description}_[#] |PathNode_MonsterTarget_1 \\ PathNode_ChamberRoute_13 | | | ||
| |Player Path |PlayerPath_[Location]_[#] |PlayerPath_Corridor_14 |Area (empty Trigger, not actual PathNodes) \\ used to define a sequence of player's positions | | |Player Path |PlayerPath_[Location]_[#] |PlayerPath_Corridor_14 |Area (empty Trigger, not actual PathNodes) \\ used to define a sequence of player's positions | | ||
| - | |Other Types |[AreaType]{_Description}_[#] |GhoulHole_Chambers_1 \\ SpawnArea_4 | | | + | |Other Types |[AreaType]{_Description}_[#] |GhoulHole_Chambers_1 \\ SpawnArea_4 \\ PosArea_TargetPosition_2 | | |
| \\ | \\ | ||
| Line 72: | Line 72: | ||
| ==== Methods ==== | ==== Methods ==== | ||
| - | ^Type ^Style ^Example | | + | ^Type ^Style ^Example ^Info | |
| - | |Main Callbacks |''On[Subject][Verb]_[Description]'' |''OnPlayerLookAt_ChangeCorpsePose(){} \\ OnEntityCollide_MakeLoudSound(){}'' \\ ''OnMonsterCollide_StartSequence(){}'' | | + | |Main Callbacks |''On[Verb]_[Subject]_[Description]'' |''OnLookAt_Player_ChangeCorpsePose(){} \\ OnCollide_Monster_MakeLoudSound(){}'' \\ ''OnCollide_RingBell(){}'' |[Description] can be omitted if stating the subject hinders the clarity of the method name | |
| - | |Interact |''OnInteract_[Description]'' |''OnInteract_CallElevator(){}'' | | + | |Interact |''OnInteract_[Description]'' |''OnInteract_CallElevator(){}'' | | |
| - | |Death |''OnDeath_[Cause]'' |''OnDeath_MonsterCorridor(){}'' | | + | |Death |''OnDeath_[Cause]'' |''OnDeath_MonsterCorridor(){}'' | | |
| - | |Change State |''OnConnectionStateChange_[Object]'' |''OnConnectionStateChange_PortcullisLever(){}'' | | + | |Change State |''OnConnectionStateChange_[Object]'' |''OnConnectionStateChange_PortcullisLever(){}'' | | |
| - | |End Of Track |''OnEndOfTrack_[MonsterName]'' |''OnEndOfTrack_MonsterCorridor(){}'' | | + | |End Of Track |''OnEndOfTrack_[MonsterName]'' |''OnEndOfTrack_MonsterCorridor(){}'' | | |
| - | |Timer |''OnTimer_[TimerDescription]'' |''OnTimer_MonsterLeaves(){}'' | | + | |Timer |''OnTimer_[TimerDescription]'' |''OnTimer_MonsterLeaves(){}'' | | |
| - | |Sequence |''Seq_[Description]'' |''Seq_CallElevator(){}'' | | + | |Sequence |''Seq_[Description]'' |''Seq_CallElevator(){}'' | | |
| - | |Other |''[Object]_[Verb]'' |''Corridor_SetupAfterDeath(){}'' \\ ''Corpse_Reset(){}'' \\ ''LeftPillar_Move(){} \\ Monster_ClimbWindow(){}'' | | + | |Other |''[Object]_[Verb]'' |''Corridor_SetupAfterDeath(){}'' \\ ''Corpse_Reset(){}'' \\ ''LeftPillar_Move(){} \\ Monster_ClimbWindow(){}'' | | |
| \\ | \\ | ||