[API]Open AI [open_ai]

User avatar
FreeLikeGNU
Member
Posts: 280
Joined: Tue Oct 28, 2014 02:50
GitHub: FreeLikeGNU
IRC: freelikegnu
In-game: FreeLikeGNU

Re: [API]Open AI [open_ai]

by FreeLikeGNU » Post

D00Med wrote:I like the horse!
There are quite a lot of mob APIs though, it would be nice if they could be merged into one.
Thanks :D The horse model is getting a rework, though.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

The horse taming update: https://youtu.be/FNnkfvu2m3U
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [API]Open AI [open_ai]

by TheReaperKing » Post

I love the extra touch of the character holding the reins on the horse. My female students already go horse crazy so they are going to flip when they see that!
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

Tyveras
New member
Posts: 3
Joined: Fri Nov 25, 2016 08:12

Re: [API]Open AI [open_ai]

by Tyveras » Post

Hi, I'm really enjoying watching the progress you're making creating your Open AI mobs, I'm looking forward to seeing what mobs you add next. I also look forward to seeing what mobs FreeLikeGNU comes up with.

I would like to offer a bit of a critique on the horse mobs, they seem a bit buggy when you sit atop them. The horse model will occasionally spin away from the direction you're facing when you're standing still. Perhaps instead of using the player view to direct the horse, players could use the WASD keys to steer the horse like you would if you were on the boat?

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

hello, am program. do language in rust. make computer do. okay i go now.

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [API]Open AI [open_ai]

by burli » Post

The first mob mod that makes fun. I hope you will add some Monsters too

User avatar
Desour
Member
Posts: 1473
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [API]Open AI [open_ai]

by Desour » Post

nice!
but arent the mobs a bit hyperactive?
they jump around and never stand still or eg. eat some grass from ground
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [API]Open AI [open_ai]

by octacian » Post

Woah! This is niceee... Looks like Minetest might finally be getting a good mob AI mod! What I really like about this, is that it appears as though you are keeping this to the basics as if it were a library (which to my understanding, it is). I've wanted to make a mobs mod for a while, but maybe I'll wait until this is a bit further developed and use this as the library rather than writing my own :D
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

burli wrote:The first mob mod that makes fun. I hope you will add some Monsters too
I'll have to look for some right now!
DS-minetest wrote:nice!
but arent the mobs a bit hyperactive?
they jump around and never stand still or eg. eat some grass from ground
I'll fix that today or tomorrow.
octacian wrote:Woah! This is niceee... Looks like Minetest might finally be getting a good mob AI mod! What I really like about this, is that it appears as though you are keeping this to the basics as if it were a library (which to my understanding, it is). I've wanted to make a mobs mod for a while, but maybe I'll wait until this is a bit further developed and use this as the library rather than writing my own :D
Thank you! But I doubt that this will end up in the default game.



Here is the growth and shrink ray update: https://youtu.be/0FxoBpXBXdQ
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [API]Open AI [open_ai]

by mahmutelmas06 » Post

Maybe you could combine the tool into one. Left click growth, right click shrink :)

If you make core featurates first such as Drop items, attacking or avoiding, flying i can convert some mobs to this api to help you.
My Mods:

Beverage

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

mahmutelmas06 wrote:Maybe you could combine the tool into one. Left click growth, right click shrink :)

If you make core featurates first such as Drop items, attacking or avoiding, flying i can convert some mobs to this api to help you.
Dropping items is in there, I'll have to start coding the attack function tomorrow.

Here is the new wiki for the api.
https://github.com/jordan4ibanez/open_ai/wiki
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
octacian
Member
Posts: 597
Joined: Mon Dec 21, 2015 22:18
GitHub: octacian
IRC: octacian
In-game: octacian
Location: Canada

Re: [API]Open AI [open_ai]

by octacian » Post

Question.

Could Open AI be used for NPCs too? Or is it more suited to animals? To be specific, is this suited to use a library for an NPC mod, or would it need to be modified first? ..or, would I be better off to start from scratch?

lol, that was a lot of question marks in a single post.
MicroExpansion, Working Computers, All Projects - Check out my YouTube channel! (octacian)
I'm currently inactive in the Minetest community! So if I don't respond, that's why.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [API]Open AI [open_ai]

by mahmutelmas06 » Post

https://github.com/jordan4ibanez/open_a ... _ideas.txt

seems this will be suitable for mobs too. Try to improve together by pr instead starting from zero.
My Mods:

Beverage

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

Could Open AI be used for NPCs too?
Yes
Or is it more suited to animals?
Whatever you want, you have access to on rightclick and punching
To be specific, is this suited to use a library for an NPC mod, or would it need to be modified first?
You could probably inject one through the api.
..or, would I be better off to start from scratch?
I wish you luck luck!
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

I turned the functions in the lua entity registration into a usable library for other mods to utilize. Not much to utilize for possible, but it's there. The library is also injected into the lua entities of the mobs when registered as well for performance.
https://github.com/jordan4ibanez/open_a ... r/init.lua
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

The Library is now stored in it's own folder. Everything is called locally inside of the mob and can be accessed by other mods.
https://github.com/jordan4ibanez/open_ai/tree/master/ai
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

Re: [API]Open AI [open_ai]

by jordan4ibanez » Post

New blood and drops. Blood customizable thanks to t0ny2.
Image
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [API]Open AI [open_ai]

by texmex » Post

Excellent work! Can it be used in survival games yet or do you recommend against it?

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [API]Open AI [open_ai]

by TumeniNodes » Post

Which fish mod is the little ones? All I seem to get are the big, square fishtest ones?

This is awesome btw! except Santa... the ho ho ho is wicked annoying to me :P
A Wonderful World

User avatar
Linuxdirk
Member
Posts: 3219
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [API]Open AI [open_ai]

by Linuxdirk » Post

jordan4ibanez wrote:New blood and drops.
Tarantino would be proud of that blood fountain :)

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [API]Open AI [open_ai]

by TumeniNodes » Post

Linuxdirk wrote:
jordan4ibanez wrote:New blood and drops.
Tarantino would be proud of that blood fountain :)
+1
A Wonderful World

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [API]Open AI [open_ai]

by TheReaperKing » Post

Thanks so much for all of your hard work on this, my students and I are loving it.

Is there a way to ride other creatures like the giant, sheep, and the slimes, etc. Also my student suggested possibly sitting on other people. Also she was wondering if there might be cows that could be ridden.

Regarding the horses, I love how they don't seem to listen to you 100%, but sometimes they get a bit too out of control. Is there a way to control them better? Also I was thinking that perhaps they could just walk up block heights of one or auto jump.

Also is there a setting to turn the blood off? I can of course edit it out of the code but I was just wondering if there was an intended way.

Thank you! :)
-Mike
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

issa
Member
Posts: 121
Joined: Wed Apr 03, 2013 19:01

Re: [API]Open AI [open_ai]

by issa » Post

coool i want to follow that !

issa
Member
Posts: 121
Joined: Wed Apr 03, 2013 19:01

Re: [API]Open AI [open_ai]

by issa » Post

Hello can u image we can import the mod Jurasic Craft on minetest ?

http://jurassicraftmod.wikia.com/wiki/Home

User avatar
BillyS
Member
Posts: 29
Joined: Thu May 31, 2018 17:10
GitHub: Billy-S
IRC: BillyS
In-game: BillyS
Location: By my computer
Contact:

Re: [API]Open AI [open_ai]

by BillyS » Post

I got this error after some time:
2018-06-06 20:02:28: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'open_ai' in callback luaentity_Step(): Invalid float vector dimension range 'x' (expected -2.14748e+06 < x < 2.14748e+06 got -nan).
2018-06-06 20:02:28: ERROR[Main]: stack traceback:
2018-06-06 20:02:28: ERROR[Main]: [C]: in function 'setacceleration'
2018-06-06 20:02:28: ERROR[Main]: /home/billys/.minetest/mods/open_ai/ai/movement.lua:52: in function 'apply_physics'
2018-06-06 20:02:28: ERROR[Main]: /home/billys/.minetest/mods/open_ai/ai/movement.lua:14: in function 'onstep'
2018-06-06 20:02:28: ERROR[Main]: /home/billys/.minetest/mods/open_ai/init.lua:218: in function </home/billys/.minetest/mods/open_ai/init.lua:202>
<SHAMELESS PLUG> Play on my server Blocky Survival! It's unique! </SHAMELESS PLUG>

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests