|
19 | 19 | # Installation: |
20 | 20 | # 1: Edit your "plugins/Denizen/config.yml", find "File:", and "Allow read" and "Allow write" inside, and set them both to "true", then use "/denizen reload config" |
21 | 21 | # 2: Copy the "scripts/dmodels" folder to your "plugins/Denizen/scripts" and "/ex reload" |
| 22 | +# 2.5: NOTE: If you do not use the plugin Citizens, you can exclude the "dmodels_citizens" file. |
22 | 23 | # 3: Note that you must know the basics of operating resource packs - the pack content will be generated for you, but you must know how to install a pack on your client and/or distribute it to players as appropriate |
23 | 24 | # 4: Take a look at the config settings in the bottom of this file in case you want to change any of them. |
24 | 25 | # |
|
123 | 124 | # Input definitions: |
124 | 125 | # root_entity: The root entity gotten from 'dmodels_spawn_model'. |
125 | 126 | # target: The entity to be attached to. |
| 127 | +# auto_animate: (OPTIONAL) set to 'true' to indicate the model should automatically apply animations based on the entity it's attached to. See 'core animations' list below. |
126 | 128 | # Flags: |
127 | 129 | # Every entity spawned by DModels has the flag 'dmodel_root', that refers up to the root entity. |
128 | 130 | # The root entity has the following flags: |
|
131 | 133 | # 'dmodel_anim_part.<ID_HERE>': a mapping of outline IDs to the part entity spawned for them. |
132 | 134 | # 'dmodels_animation_id': only if the model is animating automatically, contains the animation ID. |
133 | 135 | # 'dmodels_anim_time': only if the model is animating automatically, contains the progress through the current animation as a number representing time. |
| 136 | +# 'dmodels_attached_to': the entity this model is attached to, if any. |
| 137 | +# 'dmodels_temp_alt_anim': if set to a truthy value, will tell the model to not play any auto-animations (so other scripts can indicate they need to override the default) |
134 | 138 | # Additional flags are present on both the root and on parts, but are not considered API - use at your own risk. |
135 | 139 | # |
| 140 | +# ######### |
| 141 | +# |
| 142 | +# Core Animations: |
| 143 | +# Some systems within DModels look for certain core animations to exist, and will use them when relevant. |
| 144 | +# For example, the with the 'dmodels_attach_to' task, with the 'auto_animate' flag enabled (or the 'npcmodel' command which enables it by default), will apply animations to match the attached entity. |
| 145 | +# List: |
| 146 | +# 'idle': default/no activity idle animation. |
| 147 | +# 'crouching_idle': default/no activity idle animation, while crouching (sneaking). |
| 148 | +# 'running': the animation for moving at normal speed. |
| 149 | +# 'sprinting': the animation for moving very fast. |
| 150 | +# 'jump': the animation for jumping in place. |
| 151 | +# |
136 | 152 | ################################################ |
137 | 153 |
|
138 | 154 | dmodels_config: |
|
0 commit comments