Difference between revisions of "HPL2/Entities"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
m (Mudbill moved page Hpl2:Tools:editors:level editor:entities to HPL2/Entities without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Entities =
+
=Entities=
  
 
General Parameters:
 
General Parameters:
* '''Name''': Name for the entity.
+
 
* '''Active''': If the entity should start as active. When set to inactive, the entity will be drawn dissolved according to the "Disabled mesh coverage" setting in options.
+
*'''Name''': Name for the entity.
* '''Position''': 3D Vector storing the position in world.
+
*'''Active''': If the entity should start as active. When set to inactive, the entity will be drawn dissolved according to the "Disabled mesh coverage" setting in options.
* '''Rotation''': 3D Vector storing the rotation.
+
*'''Position''': 3D Vector storing the position in world.
* '''Scale''': 3D Vector storing the scale of the placed object.
+
*'''Rotation''': 3D Vector storing the rotation.
* '''Entity File''': file name (.ent) for the entity.
+
*'''Scale''': 3D Vector storing the scale of the placed object.
 +
*'''Entity File''': file name (.ent) for the entity.
  
 
Specific Parameters:
 
Specific Parameters:
 
This tab will show inputs instance variables specific to the current entity. Moving the mouse pointer over them will pop up a tip text describing them in detail.
 
This tab will show inputs instance variables specific to the current entity. Moving the mouse pointer over them will pop up a tip text describing them in detail.
 +
 +
==Further reading==
 +
See [[HPL2/TDD/Entity Types|this article]] to learn more about entities.

Latest revision as of 18:27, 15 August 2020

Entities

General Parameters:

  • Name: Name for the entity.
  • Active: If the entity should start as active. When set to inactive, the entity will be drawn dissolved according to the "Disabled mesh coverage" setting in options.
  • Position: 3D Vector storing the position in world.
  • Rotation: 3D Vector storing the rotation.
  • Scale: 3D Vector storing the scale of the placed object.
  • Entity File: file name (.ent) for the entity.

Specific Parameters: This tab will show inputs instance variables specific to the current entity. 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 entities.