Saltar al contenido principal

Kit chaos

25 herramientas. Generado a partir del código fuente del plugin; no lo edites a mano.

Las descripciones de las herramientas y de los argumentos se muestran en inglés porque reflejan el schema de las herramientas (el mismo texto que el agente recibe en tools/list).

Guía​

Use this kit with UE5 and the experimental Geometry Collection plugin enabled.

  1. Create a collection. sourceMesh (UE 5.1+) converts a static mesh into the collection: chaos.create_collection {"folder":"/Game/Destruction","name":"GC_Crate","sourceMesh":"/Game/Props/SM_Crate"}. Without it the collection is empty.
  2. chaos.inspect_collection and chaos.list_collection_properties show the reflected settings.
  3. Change one setting at a time with chaos.set_collection_property (or the collision, damage and clustering variants), using names returned by the list call, e.g. EnableClustering, Mass.
  4. Run the audits (chaos.audit_collection, materials, size-specific data).
  5. Place it: chaos.spawn_collection_actor {"asset":"/Game/Destruction/GC_Crate","label":"Crate"}.
  6. Inspect and edit the component by actor label (chaos.inspect_component, chaos.list_component_properties, chaos.set_component_property with e.g. bNotifyBreaks).
  7. Remove test actors with chaos.delete_collection_actors {"actors":["Crate"]}.

Fracturing itself (Voronoi, slicing, cluster surgery) lives in Fracture-mode commands that Unreal keeps private; they are not scriptable here. Cache recording and field-driven damage need a PIE-safe asynchronous owner and are intentionally not exposed by this synchronous kit.

Herramientas​

Leyenda. riesgo 0 = solo lectura, 1 = operación inofensiva del editor, 2 = modifica un asset, 3 = elimina/reemplaza un asset, 4 = proyecto/configuración/build, 5 = potencialmente destructivo (las llamadas por encima de MaxAutoRisk requieren "_confirm": true). modifica = se ejecuta en una transacción (edit.undo la revierte). requiere PIE / requiere mundo = se rechaza sin una sesión PIE / sin un nivel abierto. requiere el plugin = no disponible cuando el plugin está desactivado. dryRun = acepta el argumento dryRun. smoke = cubierto por edit.self_test.

chaos.audit_collection (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.audit_component (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
actorstringobligatorio. Actor label or name.
componentstringOptional component name.

Devuelve: target, values, message, count.

chaos.create_collection (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
folderstringobligatorio. Destination content folder.
namestringobligatorio. Bare asset name.
sourceMeshstringOptional StaticMesh to convert into the collection (UE 5.1+), for example /Engine/BasicShapes/Cube; empty creates an empty collection.

Devuelve: target, values, message, count.

chaos.delete_collection_actors (riesgo 3, modifica, destructivo, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Deletes editor-world actors that own a Geometry Collection component.

ArgumentoTipoDescripción
actorsarray of stringobligatorio. Labels/names of editor-world actors that own a Geometry Collection component.

Devuelve: target, values, message, count.

chaos.get_cache_settings (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
actorstringobligatorio. Actor label or name.
componentstringOptional component name.

Devuelve: target, values, message, count.

chaos.get_clustering_settings (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.get_collection_property (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected editable property name.
valuestringUnreal text value for the property.

Devuelve: target, values, message, count.

chaos.get_collision_settings (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.get_component_property (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected component property name.
valuestringUnreal text value for mutations.

Devuelve: target, values, message, count.

chaos.get_damage_settings (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.get_fracture_settings (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.get_materials (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.get_runtime_state (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
actorstringobligatorio. Actor label or name.
componentstringOptional component name.

Devuelve: target, values, message, count.

chaos.get_size_specific_data (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.inspect_collection (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.inspect_component (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
actorstringobligatorio. Actor label or name.
componentstringOptional component name.

Devuelve: target, values, message, count.

chaos.list_collection_properties (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.

Devuelve: target, values, message, count.

chaos.list_component_properties (riesgo 0, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
actorstringobligatorio. Actor label or name.
componentstringOptional component name.

Devuelve: target, values, message, count.

chaos.set_cache_setting (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected component property name.
valuestringUnreal text value for mutations.

Devuelve: target, values, message, count.

chaos.set_clustering_setting (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected editable property name.
valuestringUnreal text value for the property.

Devuelve: target, values, message, count.

chaos.set_collection_property (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected editable property name.
valuestringUnreal text value for the property.

Devuelve: target, values, message, count.

chaos.set_collision_setting (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected editable property name.
valuestringUnreal text value for the property.

Devuelve: target, values, message, count.

chaos.set_component_property (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected component property name.
valuestringUnreal text value for mutations.

Devuelve: target, values, message, count.

chaos.set_damage_setting (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, smoke)​

Sin descripción.

ArgumentoTipoDescripción
propertystringobligatorio. Reflected editable property name.
valuestringUnreal text value for the property.

Devuelve: target, values, message, count.

chaos.spawn_collection_actor (riesgo 2, modifica, UE 5.1+, requiere el plugin GeometryCollectionPlugin, requiere mundo, smoke)​

Spawns a GeometryCollectionActor in the editor world using a Geometry Collection asset (e.g. one made by chaos.create_collection with sourceMesh).

ArgumentoTipoDescripción
assetstringobligatorio. Geometry Collection asset path.
labelstringobligatorio. Actor label for the new GeometryCollectionActor.
location{x,y,z}World location in centimetres.

Devuelve: target, values, message, count.