CPU AI (land before hardcoded AI)

Share questions and tutorials related to the ScriptAPI and give suggestions for new functions you want to see.
Forum rules
By using the forum you agree to the following rules.
User avatar
Danger Ross
Fighter
Fighter
Posts: 15
Joined: Thu Mar 31, 2016 12:56 am
Title: Competition
SFD Alias: Danger Ross
Started SFD: very first day of release
Gender: Male
Status: Offline

CPU AI (land before hardcoded AI)

Postby Danger Ross » Mon Jan 09, 2017 6:20 am

Who has created the best AI for the CPU we have today?

Has anyone made anything notable, such as a bot that can navigate a map to find a player? I'm thinking this could be done through super inefficient collision checks in an area around the bot so that it can "see" where it should jump or how it would move to get somewhere.

I'm just looking for people who are more connected to the scripting community or have done something remarkable themselves.

On a side note, although this skill would be rendered pointless after an actual AI by the developers will be released, it's still interesting to see how people have done it before they had the right tools... you know... for history.
0 x
Hope for the best
Expect the worst

User avatar
Billy
Superfighter
Superfighter
Posts: 199
Joined: Fri Apr 22, 2016 3:56 pm
Title: General of Delta Squad
SFD Alias: [DS5] Billy
Started SFD: October 2015
Location: Austria
Gender: Male
Age: 15
Status: Offline

Re: CPU AI (land before hardcoded AI)

Postby Billy » Mon Jan 09, 2017 6:33 am

Antonikon managed to create homing drones and turrets with an aiming algorithm.
But he is gone...
I think JackSparrow works on a basic AI
1 x
Join Delta Squad today, if you mail me now you will get this cool private rank for FREE, but thats not all, you will also get an imaginary Cookie, so better hurry up!

User avatar
Motto73
Superfighter
Superfighter
Posts: 164
Joined: Mon May 09, 2016 7:35 am
Title: Lucky
SFD Account: Motto73
SFD Alias: Motto73, Pack-Man!
Location: Sunny City
Gender: Male
Age: 17
Status: Offline

Re: CPU AI (land before hardcoded AI)

Postby Motto73 » Mon Jan 09, 2017 10:36 am

Danger Ross wrote:Who has created the best AI for the CPU we have today?

Has anyone made anything notable, such as a bot that can navigate a map to find a player? I'm thinking this could be done through super inefficient collision checks in an area around the bot so that it can "see" where it should jump or how it would move to get somewhere.

I'm just looking for people who are more connected to the scripting community or have done something remarkable themselves.

On a side note, although this skill would be rendered pointless after an actual AI by the developers will be released, it's still interesting to see how people have done it before they had the right tools... you know... for history.


This is a very interesting topic.

JackSparro has been making an AI for a long time now. I am really looking forward it, and I think that it will be not basic, it will be great.

The main quidelines in AI pathfinding is creating the "NavMesh" (Like, the are where the AI can move and interact, and contains options for jumping, climbing, shooting etc..), and then implementing the AI to use it. The hardest thing is the procedural NavMesh creation. The creating component has to detect objects and floors, hazards, ladders, weapons etc. This makes it very complex.

Even if the procedural method to make the mesh is mostly used and easy to spread, other way is to make manually the area, liek in SFD with AreaTriggers or invisible blocks, and give them cutomid's that control certain events.

It's sad that SFD.GameScriptInterface is so limited and won't let us use threads :(
1 x
Image

User avatar
JakSparro98
Superfighter
Superfighter
Posts: 75
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome,Italy
Gender: Male
Age: 18
Status: Offline

Re: CPU AI (land before hardcoded AI)

Postby JakSparro98 » Mon Jan 09, 2017 2:19 pm

Billy wrote:Antonikon managed to create homing drones and turrets with an aiming algorithm.
But he is gone...
I think JackSparrow works on a basic AI

Motto73 wrote:
This is a very interesting topic.

JackSparro has been making an AI for a long time now. I am really looking forward it, and I think that it will be not basic, it will be great.

The main quidelines in AI pathfinding is creating the "NavMesh" (Like, the are where the AI can move and interact, and contains options for jumping, climbing, shooting etc..), and then implementing the AI to use it. The hardest thing is the procedural NavMesh creation. The creating component has to detect objects and floors, hazards, ladders, weapons etc. This makes it very complex.

Even if the procedural method to make the mesh is mostly used and easy to spread, other way is to make manually the area, liek in SFD with AreaTriggers or invisible blocks, and give them cutomid's that control certain events.

It's sad that SFD.GameScriptInterface is so limited and won't let us use threads :(

With the script addition to better handle the player I think I will temporarily stop the AI development and wait for the next update, and since you want to see if the NPCs can navigate through (static) environment, today I'm going to make you a gift (don't hipe too much for it, it doesn't worth the pain).

Thanks Motto and Billy, I've appreciate the confidence ;)
2 x

User avatar
Danger Ross
Fighter
Fighter
Posts: 15
Joined: Thu Mar 31, 2016 12:56 am
Title: Competition
SFD Alias: Danger Ross
Started SFD: very first day of release
Gender: Male
Status: Offline

Re: CPU AI (land before hardcoded AI)

Postby Danger Ross » Tue Jan 10, 2017 1:26 am

Thank you all for replying! and good job JakSparro.
This thread can be useful in the time until the next update releases some sort of AI.

I'm planning to make a script that's ment to operate with several different bots. To make it efficient I'm thinking of making it rely on random chance to eventually find a path to a target player. This might not be intelligent, but it suits my needs for making an army of tutorial bots :P .
0 x
Hope for the best
Expect the worst


Return to “Superfighters Deluxe ScriptAPI”

Who is online

Users browsing this forum: No registered users and 1 guest