Omni-bot WikiMain Page | About | Help | FAQ | Special pages | Log in

Categories: ET | Waypointing
Printable version | Disclaimers | Privacy policy

Mount Goal

From Omni-bot Wiki

Goal Instructions 0.8 Mount Goal

Contents

Fastrack

  • /bot goal_create mount <name>
    • this can be set anywhere in the map
  • /bot goal_setproperty vehicle <vehicle goal name>
  • optionally stand at an offset from the goal where the bot should mount from
  • /bot goal_setproperty offset 0
    • optionally define additional offsets
    • a blue line with an index label will be rendered for all offsets

Detailed Instructions

Description

Mount is a goal for the bots to mount vehicles with mountable guns

Setup

See the Fastrack example at the top of the page for an example setup.

Properties

Properties can be set with the goal_setproperty command assuming that the goal has been selected.


group
A group is a method of organizing sets of goals. One advantage to this is that all goals in a group can be enabled or disabled in one line of script rather than seperate goal types requiring additional lines to enable or disable them. Assigning roles to a group is also possible as an alternative to assigning each individual goal a role.


syntax: /bot goal_setproperty group <string groupName>
example: /bot goal_setproperty group myGroup
role
See the section on bot roles.


syntax: /bot goal_setproperty role <role mask>
example: /bot goal_setproperty role 1
vehicle
This property attaches the goal to the specified vehicle.


syntax: /bot goal_setproperty vehicle <vehicle goal name>
example: /bot goal_setproperty vehicle MOVER_tank
offset
Sets a position where a bot should mount the goal from


syntax: /bot goal_setproperty offset <int index>
example: /bot goal_setproperty offset 0
tagname
Sets the name of the goal. This can optionally be set when passed as the optional parameter in the goal_create command. Useful for renaming goals.


syntax: /bot goal_setproperty tagname <string name>
example: /bot goal_setproperty tagname myGoalName
aim
Sets the aiming behavior of the bot while it is mounted. Default is to aim in the direction the vehicle is moving. As such, this is an optional setting.
Valid types are:
  • opposite - aim in the opposite direction the vehicle is moving / facing
  • position - aim towards the given position
  • random - randomly aim around all 360 degrees, calculated every 1.5 seconds
  • velocity - aim in the direction the vehicle is moving / facing


syntax: /bot goal_setproperty aim <string type>
example: /bot goal_setproperty aim opposite
note: when using position, the position is automatically set based on your current aim direction

Video Tutorial Version


Adding a Mount Goal

Retrieved from "http://www.omni-bot.com/wiki/index.php?title=Mount_Goal"

This page has been accessed 776 times. This page was last modified 05:28, 13 July 2010.


Find

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Most Recent Blogs
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...