SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
ExAI - Extended Behavior for SP Bots Details »»
ExAI - Extended Behavior for SP Bots
Version: 2, by CobaltBW (Community Noise Maker) CobaltBW is offline
Developer Last Online: Aug 2020

Version: SRB2 Rating: (4 votes - 4.20 average)
Released: 12-27-2019 Last Update: 12-31-2019 Favourites: 10
Scripts Re-Useable Content

ExAI is a small project of mine which expands on the behavior of single player bots to make the AI more intelligent and versatile.
  • Built from the same code used to create 2.2's standard AI.
  • All six vanilla characters now have AI custom-tailored to make use of their abilities. (Usable with botskin)
  • Optional: Bot is customized to engage in combat (enabled by default)
  • Various other tweaks and added quirks to give the AI a bit more personality.

Commands are as follows:
ai_sys - Turns on/off all ExAI script functionality.
ai_attack - Turns on/off AI aggression against enemies.
ai_seekdist - Distance to seek out enemies. Measured in fracunits.
ai_debug - Streams local variables and cmd info in the console.

Download Now

File Type: lua VL_ExAI-v2.lua (21.0 KB, 1200 views)

Screenshots

Click image for larger version

Name:	srb20243.gif
Views:	860
Size:	5.04 MB
ID:	24472   Click image for larger version

Name:	srb20235.gif
Views:	703
Size:	6.18 MB
ID:	24473   Click image for larger version

Name:	srb20234.gif
Views:	630
Size:	7.44 MB
ID:	24474   Click image for larger version

Name:	srb20228.gif
Views:	641
Size:	6.69 MB
ID:	24475   Click image for larger version

Name:	srb20227.gif
Views:	605
Size:	5.00 MB
ID:	24476  

Click image for larger version

Name:	srb20247.gif
Views:	609
Size:	5.97 MB
ID:	24478  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 12-28-2019   #2
MellowJacket
The unreliable judge
Judge
 
MellowJacket's Avatar
Default

You even accounted for Fang and Amy's unique ways of attacking with this, very cute. I'll get some good use out of combining this with botskin.
__________________
Meanwhile in Aerial Garden Zone
MellowJacket is offline   Reply With Quote
Old 12-28-2019   #3
QuickWolfPT
 
QuickWolfPT's Avatar
Default

This is awesome, i was wishing for something like this, thanks a lot for the effort!

If i may give a sugestion, maybe add other optional behaviours, like going after rings.

Edit: Btw, is there any way to make this compatible with Better Single-player Bots by Nami?

Last edited by QuickWolfPT; 12-28-2019 at 12:16 PM. Reason: Emoji didnt display correctly
QuickWolfPT is offline   Reply With Quote
Old 12-28-2019   #4
Frisktaker
 
Frisktaker's Avatar
Default

I was thinking of trying to make something like this. Totally gonna use this, heh.
__________________
Quote:
Originally Posted by SpiritCrusher View Post
If it was a redwall, it would be red.
Frisktaker is offline   Reply With Quote
Old 12-28-2019   #5
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default

That Metal Sonic GIF is some Kirby and the Amazing Mirror shit, it's great. Unfortunately I can't figure out how to change the bot's color after changing its skin with botskin. I was still able to doubleteam Fang as Fang and Fang, though!
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 12-29-2019   #6
CobaltBW
Community Noise Maker
Developer
 
CobaltBW's Avatar
Default

If you have devmode on, changing the player's (or bot's) skin won't automatically change its color.
__________________
~CobaltBW

Check out my soundcloud profile for music stuff
CobaltBW is offline   Reply With Quote
Old 12-29-2019   #7
V1ral
 
V1ral's Avatar
Default

Only really used this with the basic Sonic & Tails duo, but it was really great to see the new AI in action. THZ1 really showcased some good bits, with the Tails bot actively platforming and moving to fly for pathfinding, and how it actually knew how to deal with spring shells.
__________________
Knight needs caffeine badly
V1ral is offline   Reply With Quote
Old 12-29-2019   #8
Frisktaker
 
Frisktaker's Avatar
Default

Okay, so on the one hand, I love the work put into this, but on the other, I've noticed a severe amount of frame drops starting as early as Deep Sea Act 1. Now, that might just be me, and it may not be a problem in the future if I recall a conversation on Discord correctly, but unfortunately, this prevents me from adding this when I play the game.
__________________
Quote:
Originally Posted by SpiritCrusher View Post
If it was a redwall, it would be red.
Frisktaker is offline   Reply With Quote
Old 12-29-2019   #9
Nami
Default

My mod should be fully compatible with this on account of the changes it makes being very generalized. If it isn't, I'll take a look at it later.
Nami is offline   Reply With Quote
Old 12-29-2019   #10
Latius
Hybrid Kart Mapper/Porter
 
Latius's Avatar
Default

Not only that, but it seems to lag quite a bit in the NiGHTS special stages, even though bots aren't in them.
__________________
You're giving me a little MANIA.

SRB2Kart Track Mapper
Latius is offline   Reply With Quote
Old 12-30-2019   #11
QuickWolfPT
 
QuickWolfPT's Avatar
Default

Quote:
Originally Posted by Nami View Post
My mod should be fully compatible with this on account of the changes it makes being very generalized. If it isn't, I'll take a look at it later.
It's not "fully" as in the hud icon for tails stops working but thats a really minor thing, sorry to be so picky, it's just that these two mods are some of those "if you are using mods for singleplayer you really should be using this" and i really want to see them fully compatible cause they go so well together

Last edited by QuickWolfPT; 12-30-2019 at 02:13 AM.
QuickWolfPT is offline   Reply With Quote
Old 12-31-2019   #12
CobaltBW
Community Noise Maker
Developer
 
CobaltBW's Avatar
Default

Version 2
  • Fixed significant lag issues in levels with lots of thing types
__________________
~CobaltBW

Check out my soundcloud profile for music stuff
CobaltBW is offline   Reply With Quote
Old 01-01-2020   #13
Su_per
INCOMING MISSLE
 
Su_per's Avatar
Default

Remembering that one real good sonic lost world bot thing



Thank you for good bots.
__________________
Quote:
Silver: wait tree
Su_per is offline   Reply With Quote
Old 01-02-2020   #14
Pyrakid Wolfo
 
Pyrakid Wolfo's Avatar
Default

Amy keeps trying to pity shield me, but pity shield isn't allowed in singleplayer. :/
Pyrakid Wolfo is offline   Reply With Quote
Old 01-02-2020   #15
CobaltBW
Community Noise Maker
Developer
 
CobaltBW's Avatar
Default

Er... yes it is.
__________________
~CobaltBW

Check out my soundcloud profile for music stuff
CobaltBW is offline   Reply With Quote
Old 01-02-2020   #16
Pyrakid Wolfo
 
Pyrakid Wolfo's Avatar
Default

Well, she's not giving me pity shield.
Pyrakid Wolfo is offline   Reply With Quote
Old 01-02-2020   #17
FlyingNosaj
E
 
FlyingNosaj's Avatar
Default

Probably just me, but personally I would love to see an update in the future that lets you have more than one bot join you on your adventure, so it feels more like you've got a real team.

This mod is perfect without that feature anyway, so this little post of mine is more of a suggestion then something that NEEDS to be added.
FlyingNosaj is offline   Reply With Quote
Old 01-02-2020   #18
CobaltBW
Community Noise Maker
Developer
 
CobaltBW's Avatar
Default

Quote:
Originally Posted by Pyrakid Wolfo View Post
Well, she's not giving me pity shield.
I can't replicate this bug you're speaking of. Check and make sure you don't have some other file loaded which prevents her from granting shields.

Quote:
Originally Posted by FlyingNosaj View Post
Probably just me, but personally I would love to see an update in the future that lets you have more than one bot join you on your adventure, so it feels more like you've got a real team.
Unfortunately this isn't quite possible in the current confines of lua, as far as I can tell.
__________________
~CobaltBW

Check out my soundcloud profile for music stuff

Last edited by CobaltBW; 01-02-2020 at 10:41 PM.
CobaltBW is offline   Reply With Quote
Old 01-02-2020   #19
Frisktaker
 
Frisktaker's Avatar
Default

Wasn't there a Heroes mod for 2.1 or something?
Also, Pyrakid, perhaps you could post a GIF?
__________________
Quote:
Originally Posted by SpiritCrusher View Post
If it was a redwall, it would be red.
Frisktaker is offline   Reply With Quote
Old 01-02-2020   #20
Pyrakid Wolfo
 
Pyrakid Wolfo's Avatar
Default

She does give me pity shield, but isn't that a bit broken? I mean, I literally can't take damage. Seems OP.
Pyrakid Wolfo is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.