create_curve_asset
Create reusable curve assets for value-over-time or value-over-input ramps to replace hard-coded numbers in damage falloff, stat growth, fade timing, or colour gradients.
Instructions
Create a curve asset (CurveFloat, CurveVector or CurveLinearColor) -- a reusable value-over-time or value-over-input ramp for damage falloff, stat growth, fade timing or colour gradients, referenced by assets instead of hard-coded numbers. Channel count follows the type (1 / 3 / 4), and add_curve_key fills it. Different thing from a CurveTable (create_curve_table), which holds many named curves as rows.
Returns: { name, package_path, curve_type, asset_path, curve_class, num_channels, created, already_exists, saved, success, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Asset name to create | |
| curve_type | No | Curve type to create (read the body for the allowed values) | |
| package_path | No | Target content package path where the asset is created (check the body for the default) |