Bot System: Difference between revisions

From Vintage Story Wiki
Marked this version for translation
(Preparing for translation)
(Marked this version for translation)
 
Line 3: Line 3:
__TOC__
__TOC__
<translate>
<translate>
<!--T:10-->
Vintage Story comes with some rudimentary interface to control creatures and humanoids through commands, which is mostly aimed for video recordings. Here's how to use it:
Vintage Story comes with some rudimentary interface to control creatures and humanoids through commands, which is mostly aimed for video recordings. Here's how to use it:


== Spawn in a bot ==  
== Spawn in a bot == <!--T:11-->


<!--T:3-->
<!--T:3-->
Line 27: Line 28:
* <code>/entity spawn animalbot-drifter-nightmare</code>
* <code>/entity spawn animalbot-drifter-nightmare</code>


== Select a bot ==  
== Select a bot == <!--T:12-->


<!--T:4-->
<!--T:4-->
Line 37: Line 38:
Legend: ''flexiblepos'' means either [x y z] coordinates as defined in the coordinate hud, absolute coordinates through [=x =y =z] or coordinates relative to the player with [~x ~y ~z], you can also do [~ ~ ~] do use exactly the players position.<br>
Legend: ''flexiblepos'' means either [x y z] coordinates as defined in the coordinate hud, absolute coordinates through [=x =y =z] or coordinates relative to the player with [~x ~y ~z], you can also do [~ ~ ~] do use exactly the players position.<br>


=== Immediate ===  
=== Immediate === <!--T:13-->


<!--T:7-->
<!--T:7-->
Line 46: Line 47:
* <code>/npc exec playanim animcode</code> players given animation. Valid ones for animals, if supported by the respective animal: hurt, die, eat, walk, cry, shamble, lowshamble, sleep, sit, listen, hide, idletwitch, drill
* <code>/npc exec playanim animcode</code> players given animation. Valid ones for animals, if supported by the respective animal: hurt, die, eat, walk, cry, shamble, lowshamble, sleep, sit, listen, hide, idletwitch, drill


=== Queued ===  
=== Queued === <!--T:14-->


<!--T:8-->
<!--T:8-->
Confirmedusers
1,783

edits