generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Your favorite method for complex AI?

Previous Thread :: Next Thread 
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
05 Nov 2014 06:20 PM
I'm thinking A* (Is that what it was called?)
is a pretty great AI system.
Report Abuse
lah30303 is not online. lah30303
Joined: 15 Feb 2008
Total Posts: 10027
05 Nov 2014 06:27 PM
Steering Behaviors.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
05 Nov 2014 06:42 PM
How does that work?
Report Abuse
lah30303 is not online. lah30303
Joined: 15 Feb 2008
Total Posts: 10027
05 Nov 2014 06:52 PM
Google "Steering Behaviors for Autonomous Agents." It's multiple different behaviors that make a character look like it's behaving realistically.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
05 Nov 2014 07:03 PM
Seems interesting.
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
06 Nov 2014 04:50 PM
"Your favorite method for complex AI?"

"I'm thinking A* (Is that what it was called?)
is a pretty great AI system."


Complex AI? A* is just a basic pathfinding algorithm. Complex AI is not just finding a path.
Report Abuse
Alyte is not online. Alyte
Joined: 24 Oct 2011
Total Posts: 10090
07 Nov 2014 11:20 AM
My favrit Complex ai system

1. Walk
2. Find plryr
3. moveTo()player;
3. Kill it! fire(mouse.hit)
_____repeat!__________


Report Abuse
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
07 Nov 2014 02:12 PM
op trying to be smart and fit in lmao

Hibachi Man makes his daring escape, The Barbecue Belly Slide!
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
08 Nov 2014 04:34 AM
neural networks
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
08 Nov 2014 01:22 PM
^ artificial intelligence plz
Report Abuse
einsteinK is not online. einsteinK
Joined: 22 May 2011
Total Posts: 1015
08 Nov 2014 01:47 PM
AI probably needs neural networks...

Someone (called magnalite) and someone else (called Jobro) made that in roblox.
They made smart zombies, that actually learn from their mistakes.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
08 Nov 2014 05:15 PM
A* can be more than just a path finding algorithm if you expand it enough.
Now please, we all know that both of us are morons.
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
08 Nov 2014 05:17 PM
Learning from mistakes would be great for FPS and RTS games.
Coding that would be interesting.
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
09 Nov 2014 01:49 PM
"A* can be more than just a path finding algorithm if you expand it enough."

what
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
10 Nov 2014 02:56 AM
^
Report Abuse
SethDusek5 is not online. SethDusek5
Joined: 26 Mar 2011
Total Posts: 2580
10 Nov 2014 03:39 AM
Is there any real tutorial on A*? The roblox wiki doesnt explain anything about it, besides the equation F = G+H but it doesnt tell you how to measure the estimated cost and other stuff
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
10 Nov 2014 03:47 AM
^

The estimated cost AKA heuristics is really simple.

You can use euclidean distance, which sounds complex, but all i really did for my pathfinder was this:

function heuristic(id1, id2)
local p1 = master_node_table[id1].Brick.Position
local p2 = master_node_table[id2].Brick.Position
return (p1 - p2).magnitude
end
Report Abuse
StealthKing95 is online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
10 Nov 2014 03:54 AM
Actually I dont mind sharing the pathfinding code so here you go :)

Place:
www.roblox.com/SurfaceGui-OS-and-A-Pathfinding-place?id=6230155


Actual code:
hastebin DOT com/zotazehovi.lua




Basically the nodes are in a model and inside the nodes are objectvalues called "connection" which define the adjacent/connected nodes which are later on parsed into a node table
Report Abuse
drahsid5 is not online. drahsid5
Joined: 13 May 2011
Total Posts: 3937
10 Nov 2014 02:09 PM
What I meant by expanding, is you can make the path finding smart.
Report Abuse
Badfitz100 is not online. Badfitz100
Joined: 03 Nov 2010
Total Posts: 12591
10 Nov 2014 02:18 PM
OP is trying to be smart so he can fit in LOL!

Hibachi Man makes his daring escape, The Barbecue Belly Slide!
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
10 Nov 2014 05:13 PM
ya
i like league of legends ai too guys
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
10 Nov 2014 05:13 PM
3stronk5me
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
11 Nov 2014 02:37 AM
http://www.parenting.com/article/learning-to-walk
Report Abuse
SethDusek5 is not online. SethDusek5
Joined: 26 Mar 2011
Total Posts: 2580
11 Nov 2014 03:26 AM
lmfao ^
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
11 Nov 2014 08:14 AM
^
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image