Download presentation
Presentation is loading. Please wait.
Published byDeborah McGee Modified over 6 years ago
1
AI bots Sai-Keung Wong Chiao Tung University, Taiwan, ROC
Reference:
2
Bot Add a trigger Add a note In content browser Actor classes->note
3
In Kismet, Create a touch trigger event Create an actor factory Connect “trigger”::touched to “actor factory”::spawn actor Connect “note” to “Actor factory”::Spawn point
4
Select “actor factory” Set its properties:
Controller class: UTbot Give default inventory: UTWeapon_LinkGun Pawn class: UTPawn
5
Save and test. Walk and touch the trigger.
The bot isn’t moving.
6
Bot firing Now, make the bot firing
7
Right click at “spawned” Select
Add a variable to hold the bot that just produced by the actor factory. Right click at “spawned” Select Create new object variable
8
Create an action for firing
Right click->action->AI->firing at
10
Connect “actor factory”::finish
to “start firing at”::in Connect the newly created variable to “start firing at”::target
11
Create a player variable.
12
Connect the variable “player”
to “start firing at”::”fire at”
13
Save and test. Walk and touch the trigger.
14
Stop bot firing after 3 seconds.
Create a delay Create “stop firing”. Connect them as shown below/
15
Save and test.
16
Bot moving Create “Move to actor” and connect.
Assign a name to the bot: b00
17
Save and test.
18
Abort movement Create “abort move” Create a named variable
Assign name: b00
19
Save and test. The bot stop moving after 2 seconds.
20
Rearrangement : using the new “named” variable.
21
Firing after the movement is aborted.
22
Save and test.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.