Difference between revisions of "Creating Primitives"
imported>David Brasher m (Spelling) |
imported>Fg109 (added note to player activation) |
||
Line 11: | Line 11: | ||
[[Image:PrimitiveFromScratch.jpg|thumb|left|Creating a Primitive from Scratch]] | [[Image:PrimitiveFromScratch.jpg|thumb|left|Creating a Primitive from Scratch]] | ||
[[Image:PrimitiveFromSelection.jpg|thumb|right|Creating a Primitive from a Selection]] | [[Image:PrimitiveFromSelection.jpg|thumb|right|Creating a Primitive from a Selection]] | ||
To create a Collision Cube simply click the [[image:CollisionCube.jpg]] button and then click somewhere in the Render Window. This will drop a Primitive with the Scale Gizmo enabled. Now just simply drag the Gizmo arrows to scale the Primitive in that direction. | To create a Collision Cube simply click the [[image:CollisionCube.jpg]] button and then click somewhere in the Render Window. Click on the [[image:IconTrigger.png]] button to create a Trigger Volume instead. This will drop a Primitive with the Scale [[Bethesda_Tutorial_Creation_Kit_Interface#Gizmos|Gizmo]] enabled. Now just simply drag the Gizmo arrows to scale the Primitive in that direction. | ||
<center>{{ProTip|To toggle the scale gizmo on and off, press the '''2''' key.}}</center> | |||
Another way to create a primitive, most useful when making Room Bounds or Triggers, is to have a reference in the Render Window selected when clicking the button of the type of Primitive you want to create. This will create the Primitive at the origin of the selected reference, and at the size of that reference's bounds. | Another way to create a primitive, most useful when making Room Bounds or Triggers, is to have a reference in the Render Window selected when clicking the button of the type of Primitive you want to create. This will create the Primitive at the origin of the selected reference, and at the size of that reference's bounds. | ||
Line 26: | Line 30: | ||
*'''Primitive Type:''' Shows whether the current Primitive is a Box or Sphere. | *'''Primitive Type:''' Shows whether the current Primitive is a Box or Sphere. | ||
*'''Collision layer:''' Sets which collision layer this primitive is. | *'''Collision layer:''' Sets which [[Collision_Layer|collision layer]] this primitive is. | ||
**For Collision Primitives this declares what type of objects can collide with this primitives. | **For Collision Primitives this declares what type of objects can collide with this primitives. | ||
**For Trigger Primitives this declares what types of objects send an event when inside the trigger. | **For Trigger Primitives this declares what types of objects send an event when inside the trigger. | ||
*'''Player Activation:''' This only works for Triggers and allows the player to get a prompt when his cursor is over the Trigger | *'''Player Activation:''' This only works for Triggers and allows the player to get a prompt when his cursor is over the Trigger, which can then be activated by the player and sends an OnActivate event. | ||
**The prompt will be the name on the trigger/activator base object | |||
**There appears to be a bug where the trigger is impossible to activate if its Z rotation is at 0 degrees. | |||
*'''Origin X/Y/Z/:''' Where the origin of this primitive is located | *'''Origin X/Y/Z/:''' Where the origin of this primitive is located | ||
*'''Bounds X/Y/Z:''' The size of this primitive on all axis'. | *'''Bounds X/Y/Z:''' The size of this primitive on all axis'. | ||
*'''Color:''' The RGB values of this primitives color. | *'''Color:''' The RGB values of this primitives color. | ||
*'''Select:''' Click this to open the color picker for an easy way to set this primitive's color. | *'''Select:''' Click this to open the color picker for an easy way to set this primitive's color. |
Revision as of 18:07, 15 April 2012
Overview
The Creation Kit features editor-created primitives which can be non-uniformly scaled. These find their primary use in the creation of trigger volumes, collision volumes, multibounds, and occlusion planes.
This is a quick tutorial on the creation of these primitives.
Creating a Primitive
To create a Collision Cube simply click the button and then click somewhere in the Render Window. Click on the button to create a Trigger Volume instead. This will drop a Primitive with the Scale Gizmo enabled. Now just simply drag the Gizmo arrows to scale the Primitive in that direction.
Another way to create a primitive, most useful when making Room Bounds or Triggers, is to have a reference in the Render Window selected when clicking the button of the type of Primitive you want to create. This will create the Primitive at the origin of the selected reference, and at the size of that reference's bounds.
If your primitive isn't visible, you may have marker viewing turned off. Try toggling the "M" key.
Primitive Properties
Access the Primitive's Properties by double-clicking on the primitive and clicking the "Primitive" tab.
- Primitive Type: Shows whether the current Primitive is a Box or Sphere.
- Collision layer: Sets which collision layer this primitive is.
- For Collision Primitives this declares what type of objects can collide with this primitives.
- For Trigger Primitives this declares what types of objects send an event when inside the trigger.
- Player Activation: This only works for Triggers and allows the player to get a prompt when his cursor is over the Trigger, which can then be activated by the player and sends an OnActivate event.
- The prompt will be the name on the trigger/activator base object
- There appears to be a bug where the trigger is impossible to activate if its Z rotation is at 0 degrees.
- Origin X/Y/Z/: Where the origin of this primitive is located
- Bounds X/Y/Z: The size of this primitive on all axis'.
- Color: The RGB values of this primitives color.
- Select: Click this to open the color picker for an easy way to set this primitive's color.