Difference between revisions of "HPL2/Areas"

From Frictional Wiki
Jump to navigation Jump to search
(Added further reading link)
m (Fixed link)
Line 1: Line 1:
= Areas =
+
=Areas=
  
  
 
General Parameters:
 
General Parameters:
* '''Type''': Type of area. Available values are game specific and should be looked up in the game specific section.
+
 
* '''Name''': Name of the area.
+
*'''Type''': Type of area. Available values are game specific and should be looked up in the game specific section.
* '''Position''': 3D Vector storing the position of the '''area center'''.
+
*'''Name''': Name of the area.
* '''Rotation''': 3D Vector storing the rotation of the area box.
+
*'''Position''': 3D Vector storing the position of the '''area center'''.
* '''Size''': 3D Vector storing the size of the area box.
+
*'''Rotation''': 3D Vector storing the rotation of the area box.
* '''Mesh''': helper mesh file that will be drawn at the center of the area. Useful to set certain types of areas (sticky areas being a fine example)
+
*'''Size''': 3D Vector storing the size of the area box.
 +
*'''Mesh''': helper mesh file that will be drawn at the center of the area. Useful to set certain types of areas (sticky areas being a fine example)
  
 
Specific Parameters: This tab will show inputs instance variables specific for the current area type. Moving the mouse pointer over them will pop up a tip text describing them in detail.
 
Specific Parameters: This tab will show inputs instance variables specific for the current area type. Moving the mouse pointer over them will pop up a tip text describing them in detail.
  
 
==Further reading==
 
==Further reading==
See [[Hpl2:Amnesia:areas|this article]] to learn more about areas.
+
See [[HPL2/TDD/Areas|this article]] to learn more about areas.

Revision as of 00:49, 4 August 2020

Areas

General Parameters:

  • Type: Type of area. Available values are game specific and should be looked up in the game specific section.
  • Name: Name of the area.
  • Position: 3D Vector storing the position of the area center.
  • Rotation: 3D Vector storing the rotation of the area box.
  • Size: 3D Vector storing the size of the area box.
  • Mesh: helper mesh file that will be drawn at the center of the area. Useful to set certain types of areas (sticky areas being a fine example)

Specific Parameters: This tab will show inputs instance variables specific for the current area type. Moving the mouse pointer over them will pop up a tip text describing them in detail.

Further reading

See this article to learn more about areas.