public class ConfigChangeLocalImpl extends ConfigChangeLocal
Modifier and Type | Class and Description |
---|---|
static class |
ConfigChangeLocalImpl.ConfigChangeLocalUpdate |
Modifier and Type | Field and Description |
---|---|
protected String |
Action
Name of current BDI action.
|
protected boolean |
AutoPickupOff
It enables/disables automatic pickup of the bot.
|
protected boolean |
AutoTrace
True if the bot is using auto ray tracing (is provided with
synchronous ATR messages).
|
protected UnrealId |
BotId
Unique Id of the bot.
|
protected boolean |
DrawTraceLines
if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).
|
protected UnrealId |
Id
Id of this config message.
|
protected boolean |
Invulnerable
If bot is invulnerable (cannot die) or not.
|
protected boolean |
ManualSpawn
True if we have to spawn the bot manually after each death
|
protected String |
Name
The bot's name.
|
protected Rotation |
RotationRate
Bot rotation rate.
|
protected boolean |
ShowDebug
If some additional debug information will be shown in the
UT2004 server console window.
|
protected boolean |
ShowFocalPoint
If true an actor visualizing the location the bot is
actually looking at will appear in the game.
|
protected double |
SpeedMultiplier
Bots default speed will be multiplied by this number.
|
protected boolean |
SynchronousOff
It informs if sending of all GB synchronous messages is
enabled or disabled.
|
protected double |
VisionTime
The delay between two synchronous batches (can range from
0.1 to 2 seconds).
|
SimTime
Constructor and Description |
---|
ConfigChangeLocalImpl()
Parameter-less contructor for the message.
|
ConfigChangeLocalImpl(ConfigChange original)
Cloning constructor from the full message.
|
ConfigChangeLocalImpl(ConfigChangeLocal original)
Cloning constructor from the message part.
|
ConfigChangeLocalImpl(ConfigChangeLocalImpl original)
Cloning constructor from the full message.
|
ConfigChangeLocalImpl(UnrealId Id,
UnrealId BotId,
boolean ManualSpawn,
boolean AutoTrace,
String Name,
double SpeedMultiplier,
Rotation RotationRate,
boolean Invulnerable,
double VisionTime,
boolean ShowDebug,
boolean ShowFocalPoint,
boolean DrawTraceLines,
boolean SynchronousOff,
boolean AutoPickupOff,
String Action)
Creates new instance of the message ConfigChange.
|
Modifier and Type | Method and Description |
---|---|
ConfigChangeLocalImpl |
clone() |
String |
getAction()
Name of current BDI action.
|
UnrealId |
getBotId()
Unique Id of the bot.
|
UnrealId |
getId()
Id of this config message.
|
ConfigChangeLocalImpl |
getLocal() |
String |
getName()
The bot's name.
|
Rotation |
getRotationRate()
Bot rotation rate.
|
ISharedWorldObject |
getShared() |
double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number.
|
IStaticWorldObject |
getStatic() |
double |
getVisionTime()
The delay between two synchronous batches (can range from
0.1 to 2 seconds).
|
boolean |
isAutoPickupOff()
It enables/disables automatic pickup of the bot.
|
boolean |
isAutoTrace()
True if the bot is using auto ray tracing (is provided with
synchronous ATR messages).
|
boolean |
isDrawTraceLines()
if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).
|
boolean |
isInvulnerable()
If bot is invulnerable (cannot die) or not.
|
boolean |
isManualSpawn()
True if we have to spawn the bot manually after each death
|
boolean |
isShowDebug()
If some additional debug information will be shown in the
UT2004 server console window.
|
boolean |
isShowFocalPoint()
If true an actor visualizing the location the bot is
actually looking at will appear in the game.
|
boolean |
isSynchronousOff()
It informs if sending of all GB synchronous messages is
enabled or disabled.
|
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically.
|
String |
toHtmlString() |
String |
toString() |
getCompositeClass, getSimTime
toJsonLiteral
protected UnrealId Id
protected UnrealId BotId
protected boolean ManualSpawn
protected boolean AutoTrace
protected String Name
protected double SpeedMultiplier
protected Rotation RotationRate
protected boolean Invulnerable
protected double VisionTime
protected boolean ShowDebug
protected boolean ShowFocalPoint
protected boolean DrawTraceLines
protected boolean SynchronousOff
protected boolean AutoPickupOff
protected String Action
public ConfigChangeLocalImpl()
public ConfigChangeLocalImpl(UnrealId Id, UnrealId BotId, boolean ManualSpawn, boolean AutoTrace, String Name, double SpeedMultiplier, Rotation RotationRate, boolean Invulnerable, double VisionTime, boolean ShowDebug, boolean ShowFocalPoint, boolean DrawTraceLines, boolean SynchronousOff, boolean AutoPickupOff, String Action)
Id
- Id of this config message. This Id is generated from BotId, string "_CONFCH" is added at the end.BotId
- Unique Id of the bot.ManualSpawn
- True if we have to spawn the bot manually after each deathAutoTrace
- True if the bot is using auto ray tracing (is provided with
synchronous ATR messages). See ATR messages for more
details.Name
- The bot's name.SpeedMultiplier
- Bots default speed will be multiplied by this number. Ranges from 0.1 to 2 (default, can be set in ini in [GameBots2004.RemoteBot] MaxSpeed).RotationRate
- Bot rotation rate. Default rotation rate is: (Pitch=3072,Yaw=60000,Roll=2048) and may be configured in ini file in [GameBots2004.RemoteBot] DefaultRotationRate. (pitch - up/down, yaw - left/right, roll - equivalent of doing a cartwheel)Invulnerable
- If bot is invulnerable (cannot die) or not.VisionTime
- The delay between two synchronous batches (can range from
0.1 to 2 seconds).ShowDebug
- If some additional debug information will be shown in the
UT2004 server console window.ShowFocalPoint
- If true an actor visualizing the location the bot is
actually looking at will appear in the game.DrawTraceLines
- if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).SynchronousOff
- It informs if sending of all GB synchronous messages is
enabled or disabled.AutoPickupOff
- It enables/disables automatic pickup of the bot. If true the items can be picked up through PICK command.Action
- Name of current BDI action.public ConfigChangeLocalImpl(ConfigChange original)
original
- public ConfigChangeLocalImpl(ConfigChangeLocalImpl original)
original
- public ConfigChangeLocalImpl(ConfigChangeLocal original)
original
- public void setSimTime(long SimTime)
ConfigChangeLocal
setSimTime
in class ConfigChangeLocal
public ConfigChangeLocalImpl clone()
clone
in interface ILocalWorldObject
clone
in class ConfigChangeLocal
public UnrealId getId()
getId
in interface IWorldObject
getId
in class ConfigChangeLocal
public UnrealId getBotId()
getBotId
in class ConfigChangeLocal
public boolean isManualSpawn()
isManualSpawn
in class ConfigChangeLocal
public boolean isAutoTrace()
isAutoTrace
in class ConfigChangeLocal
public String getName()
getName
in class ConfigChangeLocal
public double getSpeedMultiplier()
getSpeedMultiplier
in class ConfigChangeLocal
public Rotation getRotationRate()
getRotationRate
in class ConfigChangeLocal
public boolean isInvulnerable()
isInvulnerable
in class ConfigChangeLocal
public double getVisionTime()
getVisionTime
in class ConfigChangeLocal
public boolean isShowDebug()
isShowDebug
in class ConfigChangeLocal
public boolean isShowFocalPoint()
isShowFocalPoint
in class ConfigChangeLocal
public boolean isDrawTraceLines()
isDrawTraceLines
in class ConfigChangeLocal
public boolean isSynchronousOff()
isSynchronousOff
in class ConfigChangeLocal
public boolean isAutoPickupOff()
isAutoPickupOff
in class ConfigChangeLocal
public String getAction()
getAction
in class ConfigChangeLocal
public ConfigChangeLocalImpl getLocal()
getLocal
in class ConfigChangeLocal
public ISharedWorldObject getShared()
getShared
in class ConfigChangeLocal
public IStaticWorldObject getStatic()
getStatic
in class ConfigChangeLocal
public String toString()
toString
in class ConfigChangeLocal
public String toHtmlString()
toHtmlString
in class ConfigChangeLocal
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.