Difference between revisions of "Container"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Tania
m (Edited info for Contains Only.)
imported>Qazaaq
(FO4 Style, added to categories, long description, papyrus object, internal links, and minor stuff.)
Line 1: Line 1:
'''Papyrus:''' [[Container Script]]
A container is a type of object that holds a collection of items.
== Editor Dialog ==
[[Image:Container_image.png|700px|thumb]]
[[Image:Container_image.png|700px|thumb]]
 
*'''ID:''' Unique identifier for this form.
==Container Dialog==
*'''Name:''' The name as it will appear in-game.
*'''ID:''' Unique indentifier for this form.
*'''Name:''' Display name.
*'''Weight:'''  
*'''Weight:'''  
*'''Encumbrance:'''  
*'''Encumbrance:'''  
*'''Random Anim Start:'''  
*'''Random Anim Start:'''  
*'''Obstacle:''' If this container dynamically cuts navmesh.
*'''Obstacle:''' If this container dynamically cuts navmesh.
*'''Respawns:''' If this container respawns/resets with the cell.
*'''Respawns:''' If this container respawns/resets with the [[Cell]].
*'''Show Owner:'''  
*'''Show Owner:'''  
*'''Model:''' Displays the model for this object.
*'''Model:''' Displays the model for this object.
**'''Edit:''' Chooses the model for this object.
**'''Edit:''' Chooses the model for this object.
*'''Add Destruction Data:''' Sets the damage states if an object is destructable.
*'''Add Destruction Data:''' Sets the damage states if an object is destructible.


==NavMesh Generation Import Option==
==NavMesh Generation Import Option==
Line 27: Line 30:


*'''Forced Loc Ref Type:'''
*'''Forced Loc Ref Type:'''
*'''Native Terminal:''' Select the terminal linked to this container.
*'''Native Terminal:''' Select the [[Terminal]] linked to this container.


== Keywords ==
== Keywords ==
Lists all the keywords that will be associated with this container.
Lists all the [[Keyword|Keywords]] that will be associated with this container.


== Contains Only ==
== Contains Only ==
A drop down of Formlists. Items in the Formlist are allowed in the container. Items that aren't are refused.
A drop down of [[FormList|Formlists]]. Items in the Formlist are allowed in the container. Items that aren't are refused.


==Item List==
==Item List==
Line 42: Line 45:
*'''Owner:''' Each item in the container can belong to an NPC or Faction.
*'''Owner:''' Each item in the container can belong to an NPC or Faction.
**'''NPC:''' The specific NPC that owns the object. Stealing the object is considered an act of aggression against the NPC.
**'''NPC:''' The specific NPC that owns the object. Stealing the object is considered an act of aggression against the NPC.
**'''Faction:''' The specific Faction that owns the object. Stealing the object is considered an act of aggression against the faction.
**'''Faction:''' The specific [[Faction]] that owns the object. Stealing the object is considered an act of aggression against the faction.
**'''Global Variable:''' Not used.
**'''Global Variable:''' Not used.
**'''Required Rank:''' The minimum faction rank necessary to act as an owner of this object.
**'''Required Rank:''' The minimum faction rank necessary to act as an owner of this object.
Line 49: Line 52:


==Papyrus Scripts==
==Papyrus Scripts==
A list of all the scripts attached to this container.
A list of all the [[Papyrus]] scripts attached to this object.


==Actor Values==
==Actor Values==
List of actor values that will be associated with this container.
List of [[Actor Value|Actor Values]] that will be associated with this container.
*'''Actor Value:''' Drop down for actor values. An actor value can't be added from this list, you must add an actor value to the left of this.
*'''Actor Value:''' Drop down for actor values. An actor value can't be added from this list, you must add an actor value to the left of this.
*'''Amount:''' Current value of this actor value?
*'''Amount:''' Current value of this actor value?


== See Also ==
*[[:Category:WorldObjects|WorldObjects Category]]


[[Category:Editor Reference]]
[[Category:Editor Reference]]
[[Category:Object_Classes]]
[[Category:WorldObjects]]

Revision as of 11:31, 20 April 2017

Papyrus: Container Script

A container is a type of object that holds a collection of items.

Editor Dialog

  • ID: Unique identifier for this form.
  • Name: The name as it will appear in-game.
  • Weight:
  • Encumbrance:
  • Random Anim Start:
  • Obstacle: If this container dynamically cuts navmesh.
  • Respawns: If this container respawns/resets with the Cell.
  • Show Owner:
  • Model: Displays the model for this object.
    • Edit: Chooses the model for this object.
  • Add Destruction Data: Sets the damage states if an object is destructible.

NavMesh Generation Import Option

Sets how the object interacts with navmesh generation.

  • Collision Geometry: Generated Navmesh will test against the collision of the object.
  • Bounding Box: Generated Navmesh will test against the bounding box of the object.
  • Filter: Generated Navmesh will ignore the object completely.
  • Ground: Generated Navmesh will treat the object like it is part of the ground.

Sounds

  • Allow sounds when container animations exist: Only plays the following sounds if the container has an animation.
  • Open: Selects the sound that plays when opened.
  • Close: Selects the sound that plays when closed.
  • Forced Loc Ref Type:
  • Native Terminal: Select the Terminal linked to this container.

Keywords

Lists all the Keywords that will be associated with this container.

Contains Only

A drop down of Formlists. Items in the Formlist are allowed in the container. Items that aren't are refused.

Item List

Each item has a count, an object ID, and may have an owner and a health value. By right clicking in the window, you can add a new item using the values from the drop-down and text fields below.

  • Object: Editor ID of the object to add to the container.
  • Count: Quantity of the particular object found in the container.
  • Health %:
  • Owner: Each item in the container can belong to an NPC or Faction.
    • NPC: The specific NPC that owns the object. Stealing the object is considered an act of aggression against the NPC.
    • Faction: The specific Faction that owns the object. Stealing the object is considered an act of aggression against the faction.
    • Global Variable: Not used.
    • Required Rank: The minimum faction rank necessary to act as an owner of this object.
  • Preview Calculated Result: Displays a list of possible items that could be in the container when the player is at the specified level. Useful only when items in the container are leveled items.
    • Preview Level: Sets the character level for the preview.

Papyrus Scripts

A list of all the Papyrus scripts attached to this object.

Actor Values

List of Actor Values that will be associated with this container.

  • Actor Value: Drop down for actor values. An actor value can't be added from this list, you must add an actor value to the left of this.
  • Amount: Current value of this actor value?

See Also