Rbots - Multiplayer bots for Jedi Knight


Main

News
Cog Forum

About Rbots

What is Rbots?
Downloads
Screenshots
Tutorials
FAQ
Reviews
Technical Info
Problems Page
Contributors

Authors

James Bond
Raynar


Hosted by

The Massassi Temple: #1 Source For Everything Jedi Knight

Technical Info

This document is intended for use as an aide for those who wish to study the intricate details of the code. It is not designed to be used as a tutorial.

Triggers

800Game options - sent from startup cog to bot
900Respawn bot - sent from startup cog to bot
901Kill & remove bot - sent from startup cog to bot
930Set Difficulty level - sent from hotkey to all bots
940Cycle number of bots - sent from hotkey to startup cog
950Confirmed respawn - sent from each bot back to startup cog
960Query thing number - sent to bot
970Return thing number - sent from bot
990Player killed by bot - sent from player cog to startup cog
1000Bot died

Effects sent from bot server cog to local bot client cog Parameters: (0 - botid 1 - Thing number)

2000Respawn effects
2001Play saber mount sounds
2002Play dismount saber sounds
2003Play gun mount sound (param(2) - gun type = 0,1,2)
2004Create smoke effects at bot position - used for deadly sight
2100Play saber block animation
2101Stop saber block animation
3000Fire weapon 0
3001Fire weapon 1
3002Fire weapon 2
3003Fire weapon 3
3004Fire weapon 4
3005Fire weapon 5
3006Fire weapon 6
3007Fire weapon 7
3008Fire weapon 8
3009Fire weapon 9

10000Bot requests new position
10010Nav cog busy - ask caller to retry
11000New position info sent from nav cog to bot
11010Special info request from bot to special cog
11020Special info reply from special cog to bot
11030Activate message sent to other cogs
11040Arrived message sent from other cogs to bot
12000Backpack taken by bot
12001Backpack info sent to bot
12002Backpack info sent to bot
12003Backpack info sent to bot
12004Backpack info sent to bot
12010Backpack info sent from bot or player
12011Backpack info sent from bot or player
12012Backpack info sent from bot or player
12013Backpack info sent from bot or player
12200Bot touched CTF flag
12210Update CTF info
15010Enter hotkey pressed
15020Setup hotkey pressed
15030Request botname
15040Returned botname
15050Pause/unpause bots during menu
15060Pause/unpause players during menu
15070Difficulty hotkey pressed

Armed Mode

0unarmed
1armed
2saber
3unarmed in water
4armed in water
5saber in water

Gamemode

0x01Allow guns
0x02Allow sabers
0x04Allow force
0x08Teams

Botmode

0x01seek gun 0
0x02seek gun 1
0x04seek gun 2
0x08seek gun 3
0x10seek gun 4
0x20seek energy
0x40seek power
0x80seek rail dets
0x100seek therm dets
0x200seek seq mines
0x400seek health
0x800seek shields
0x1000run other direction
0x2000seek target
0x4000found target
0x8000under attack
0x10000alive
0x20000attacking target
0x40000cannot fire at target
0x80000waiting
0x100000slow
0x200000saber can block
0x400000force gripped
0x800000CTF attack mode (not in use)
0x1000000CTF defend mode (not in use)
0x2000000CTF freelance mode (not in use)

Path Info

0x01move forward only
0x02looping

CTF Path Info

0x01Red base forward - priority 1
0x02Red base reverse - priority 1
0x04Gold base forward - priority 1
0x08Gold base reverse - priority 1
0x10Red base forward - priority 2
0x20Red base reverse - priority 2
0x40Gold base forward - priority 2
0x80Gold base reverse - priority 2
0x100Red base forward - priority 3
0x200Red base reverse - priority 3
0x400Gold base forward - priority 3
0x800Gold base reverse - priority 3
0x1000move forward only

Special Nodes

0x01full stop
0x02slow
0x04jump forward
0x08jump backward
0x10lay mine
0x20activate forward
0x40activate backward
0x80wait forward
0x100wait backward
0x200run fast

Force powers

0x01speed
0x02jump
0x04pull
0x08seeing
0x10healing
0x20persuasion
0x40blinding
0x80absorb
0x100protection
0x200throw
0x400grip
0x800lightning
0x1000destruction
0x2000deadly sight
0x4000lightside surge
0x8000darkside surge

Characteristics

0x01Attack
0x02Defend
0x04Freelance
0x08unused
0x10unused
0x20unused
0x40unused
0x80unused
0x100unused
0x200unused
0x400unused
0x800unused
0x1000unused
0x2000unused
0x4000unused
0x8000unused