Thread: UBotScript?
View Single Post
UBotScript?
Old
  (#1)
Magnus
Guest
 
Status:
Posts: n/a
Default UBotScript? - 26-05-2004

Greetings.
I just had an idea, why not create a scripting language in United Bot? We need the bot to be Platform independent also in addition to game independence right? 9_9
So a very versatile scripting language with a very C-like syntax would be the order of the day.
It could be somthing like this:
BEGIN BOT_AI
Check(EnemyInSight)
if TRUE
{
Check(HavePrimGunAmmo)
if TRUE
{
String FiringMode=NonBurst
Check(BotSkill)
if >60
{
FiringMode=Burst
}
Fire(Enemy, FiringMode)
}
else
{
SwitchWeapon(Secondary)
}
}
END BOT_AI

This could increase the number of people able to work on United Bot enourmously and the sourece code would not have to be released. PLus the C++ code that works behind this could be written for multiple platforms and games and thus the scripts would work in all operating systems and maybe multiple games.
  
Reply With Quote