Rust Wiki

Revision Difference

Cinematic_Animations#548928

<cat>Dev.Cinematic</cat> <title>Cinematic Animations</title> <upload src="739b0/8d7b040e82e10b9.jpg" size="159767" name="rust-wiki_anims_header.jpg" /> # Cinematic Animation Commands These commands are currently a work in progress and mostly used internally for video specific projects. ## Play Animation Use the following command to trigger a player cinematic animation: `cinematic_play <anim name> <optional playername/id> <optional speed>` A list of publicly available cinematic animations can be found by using the [list command](/rust/Cinematic_Animations#animationlist). The optional player name/id parameter can be either a player or bot name. If no player name is parsed, the animation playback will be set to the player triggering the command. The optional speed parameter will adjust the playback rate of the animation. `1.0` = 100%, `0.5` = 50%, etc. ## Stop Animation Use the command `cinematic_stop <optional playername/id>` to stop playback of a cinematic animation. The player animation will be returned to an idle state. Same as the [play command](/rust/Cinematic_Animations#playanimation), the stop command can either be assigned to a player or bot name. If no player name is parsed, the animation of the current player triggering the command will stop. ## Animation List Use the command `cinematic_list` to print a list of all the available cinematic animation names and the total length for each animation. Below is a list of the current available animation names: + idle_stand + point + thumbsup + victory + wave + preview_thirsty_all + preview_hurt_arm_all + preview_choking_all + preview_cold_all + preview_fatigued_all + skydiving_land + hat_tip + Debug_TPose + idle_stand_handcuff + idle_stand_handcuff_nonloop + sleeping + loot_ground_start + loot_ground_exit + loot_ground_loop + wounded + wounded_loop + climb_idle + loot_ground_1 + loot_ground_2 + loot_ground_4 + loot_ground_3 + sit_boat_passenger + sit_down + stand_up + talk_01 + talk_02 + talk_03 + talk_04⤶ + talk_05⤶ + bow_01 + exclaim_01 + scared_01 **Some animations play in a loop.** ## Server Previewing Use the server convar `server.cinematic 1` to allow all players on the server to preview triggered cinematic animations. By default the player/administrator calling the `cinematic_play` command can only see the animations client side.