Links gamefromscratch.com/add-chatgpt-to-unity-using-sparkai/ www.humblebundle.com/software/unity-hidden-gems-software?partner=gamefromscratch assetstore.unity.com/packages/tools/ai-integration/spark-ai-gpt-dialogue-tools-144575?aid=1011l4rAy The above links contain an affiliate code that either pay GFS a small commission if used, or enable you to direct a portion of your purchase to support GFS (and thanks so much if you do!)
Take a look at 90% of Google search results. I'm pretty sure ChatGPT already is writing half the web content you're getting served. Sadly rendering the web more useless every day.
Ai conversation tool isn't for random conversations it's for problem solving. For example if there's a particular mechanic you want to employ in your game but don't know the best way, you can spit ball ideas with gpt
The thing with AI is it might help you brainstorm a little how to solve a problem, but it's going to screw a LOT of stuff up in your average finicky game engine if people expect it to be the main work horse. Maybe someday.
AI is overblown, oversold, and under delivers for these types of things. It is, however, great for censorship and comment bots, which remains it's most common use globally. If only people actually understood how often they've had an exchange with an AI/bot and how many comments have been deleted or hidden by AI.
@@justanothercomment416 Well crappy spammers have always loved new technology, not much that can be done about that. I went through my AI cynicism phase but eventually I found it *can* be very good, *if* your need is specific enough and fits in the "language model" wheel house. Of course commercially they're just selling it as the do-it-all magic to the public because that will make them a whole lot of money, a whole lot faster. Although, interestingly making all that money I can't help but think this stuff will actually keep getting improved.
@@travotravo6190 I would never consider realist to be "cynicism." Everything I stated is factually accurate and true. While there certainly are some domains where AI is benefitial as a tool/utility, it's primary purpose is totalitarian control. This is a simple statement of fact. Much of the GPT buzz and hype is just that. How so? Now you understand the power of control and censorship. Just as was done with other large events in recent history. If you censor and delete, the truth is whatever they make it be. That's a fact. This has been true long before AI existed. This will remain true so long as humans exist.
@@travotravo6190 BTW, food for thought, what's the best way to train your AI? Have people pay for the privilege? Ultimately, who receives the real LLM? It's not us. So who? It's not because they like us.
Tbh i started unity and scripting 2 weeks ago and chatgpt helps alot with it trie making 2 types of games, ofc gpt srewed up like 70% of the time but it helped me to check what it screwed up, its actually made me learn at least the base unity program, scripting very very small percentage
I know people will disagree with me, but I find these GPT, AI tools completely useless for any complex project. I tried to get GPT to write a working flight controller that actually uses some decent physics and it failed so bad. I had to spend the last 5 weeks writing what I needed myself. Other tasks I gave GPT, i could not get the result I wanted.
It's a really slow process that requires documentation and a decent idea of the game you're making. Also, If you're not using all 400 lines with Chatgpt4, what's the point?
Exactly, I've seen so many people say how it completely transformed their workflow, and I'm sitting here like wtf? Did I by mistake use GPT 1.0 or does everyone have really small projects?
I've been using CHatAI as a 'co-pilot' ofr a while now. Yes, you still need to know how to program to even phrase what you want and understand how it fits into a bigger picture. One limitation even with the paid web interface is a limit on the size of how much you can paste in, and I wonder if this - particularly where it is troubleshooting other scripts - has a limitation on that script size and how well it does referencing other related scripts at the same time?
Wow, per-usage payment is a really scummy inclusion, I was not expecting that since, as you said, you can get those results by having a browser window open with ChatGPT. Good to know not to bother with this plugin, I was curious having got it in the humble bundle. Thanks for the warning!
There's no other way to integrate this into unity though. The ChatGPT api which let's you call it from code costs money. I've used it myself for uni research. Keep in mind it's like 0.002$ for like 750 words. It's not like that money is going to the asset developers, it's going to OpenAI.
@@borjanpeovski7615 I figured it might work with the user logging in with their own OpenAI account + internet connection, and the plug-in locally handling what you type in unity working like you were typing it on a browser, and implementing the result, with the price of the plug-in covering the development cost, and no further server costs needed.
Recently an open source locally run Large language Model AI Specialized in Programming Language Generation, called WizardCoder Ai, was released to the public for free. Chat GPT is an excellent product but once the Hyper Specialized 20 Billion parameters or lower Open source AIs Start to become more common, It'll be hard to justify the cost, as low as it may seem. Especially since Chatgpt is a censored model and since a recent update to the Local WebUI. It's now impossible to censure locally run Large Language Models AIs.
The cost is is not an issue, API access is cheap and you will be at a disadvantage using a Local LLM because of the GPU requirements and ease of use issues. Agree though that if you want an uncensored conversation, Local is the way to go with AI models.
unfortunately WizardCoder AI isn't a viable solution for game dev as it isn't commercially viable due to a modification of the BigCode Open RAIL-M license seems like it's meant for research purposes unless they modify their license which might be unlikely
The AI conversation will be insane once it cooks. Imagine Skyrim, where every NPC has an assigned profile (e.g old black smith who's lost his dog) and some parameters to limit the conversation. The quests could be procedurally generated according to the conversation you have with that NPC. Obviously easier said the done but the potential is mind boggling.
Image a world where every character has a unique story and looks, and are going about their daily lives. Imagine on top of that that graphics is super realistic and then remember that real life is not so fun and would not make a good game.
@@codichor6036 you can have both, using the ai to remove repetition from handcraft by reformulating them each time and within context of what's already said, which mean you would need an ai less powerful than chat gpt that can run locally at the millisecond scale.
I was playing with this and some voice recognition and text to speech a couple weeks ago. Had NPCs conversing with each other and I could talk with them too. It was a fun diversion and pennies to play with, but ultimately, the cost for the API and its instability makes it impractical for any shipped game. That sent me down the road of evaluating open source models...ChatGPT still blows them away on most things.
@@tiredlocke Oh no doubt, currently this is a play around thing. But ChatGPT does it now to a pretty impressive level. I just told it to pretend to be an old barman and i was an evil outlaw. I (but in the future the game would) gave it the answer (yes,no, get out) and it rewrote those answer in the character of an old barman.
I really liked your video, but it's funny that you fell into the procedural trap. Procedural means nothing more than "relating to an established or official way of doing something." From many different assets and games, often times they use the procedural in so many funny ways, as if it were quality assurance. But procedural generation is always based on a foundation, and then these foundations get connected. Like Binding of Isaac as a game example. Each room is prebuilt, and then the procedural generation uses these prebuilt rooms and connects them. TLDR: It gave you a perfect example of procedural generation on the first try.
The best parts of copilot are the complex multi-line autocorrect it does when I have repeated code. Letting the ai do it all is how you get a bad experience imo
I finally tried it out this weekend, and what I really appreciated was that after I updated a method, and then asked it to create a similar method, it followed my usual patterns, rather than making a similar attempt like the first time - it learned my style.
6:18 What is funny is that if you take this really serious so neither you would use ChatGPT as it was trained on peoples code, text and conversations too. But that sort of thing is just biased talking.
AI conversation against different roles can be potentially helpful to prepare yourself for interviews, reaction to your products, etc. Also, it can help prepare marketing campaigns. In theory. In practice -- quite often the generated conversation is d*mb.
I have downloaded a few lightweight opensource llm models they have huge potential in games. I am thinking you could train a model on a fictional character and say blacksmithing for example and have them play a character in game. This would be a dynamic and interesting character potentially adding infinite entertainment and conversations for players. Very exciting.
Imagine logging into a game daily not for the game play but to see your buddy the black smith and to talk to your in game wife about life and your dreams.
A very interesting video, thank you for showing us about this Asset 💯👍🏻 Hopefully in the future these A.I. Tools will get better, enhancing our productivity (it's clear for me that A.I. will not completely replace Humans, because in the End of the Line: some human assistance is required asses and confirm the quality of any new piece of Code and Art generatedby the team: A.I. + Programmers)
$5 bucks for you guys on each purchase of the humble pack? I mean - sure. Make a video on how you guys go about arranging and making that happen - or is that talking about the ingredients of the secret sauce too much? More interested as to why you don't scream it from the rooftops too.
I think is cool , but not so cool sometimes, it is hard dependencie code.. I think programming with SOLID in mind is the key to use chat gpt, if you simple rushing.... you probably find hard dependencies, decouple code, static fields every where, uneven singleton, bad event system , override scriptable object, so many pitfalls.
Links
gamefromscratch.com/add-chatgpt-to-unity-using-sparkai/
www.humblebundle.com/software/unity-hidden-gems-software?partner=gamefromscratch
assetstore.unity.com/packages/tools/ai-integration/spark-ai-gpt-dialogue-tools-144575?aid=1011l4rAy
The above links contain an affiliate code that either pay GFS a small commission if used, or enable you to direct a portion of your purchase to support GFS (and thanks so much if you do!)
Now imagine chat gpt starting to make devlogs 💀
Take a look at 90% of Google search results. I'm pretty sure ChatGPT already is writing half the web content you're getting served. Sadly rendering the web more useless every day.
@@gamefromscratch yeah sadly :(
Man unity cleaned up their UI since I last used it. It’s looking a lot more modern now.
Ai conversation tool isn't for random conversations it's for problem solving. For example if there's a particular mechanic you want to employ in your game but don't know the best way, you can spit ball ideas with gpt
The thing with AI is it might help you brainstorm a little how to solve a problem, but it's going to screw a LOT of stuff up in your average finicky game engine if people expect it to be the main work horse. Maybe someday.
AI is overblown, oversold, and under delivers for these types of things. It is, however, great for censorship and comment bots, which remains it's most common use globally.
If only people actually understood how often they've had an exchange with an AI/bot and how many comments have been deleted or hidden by AI.
@@justanothercomment416 Well crappy spammers have always loved new technology, not much that can be done about that. I went through my AI cynicism phase but eventually I found it *can* be very good, *if* your need is specific enough and fits in the "language model" wheel house. Of course commercially they're just selling it as the do-it-all magic to the public because that will make them a whole lot of money, a whole lot faster. Although, interestingly making all that money I can't help but think this stuff will actually keep getting improved.
@@travotravo6190 I would never consider realist to be "cynicism." Everything I stated is factually accurate and true.
While there certainly are some domains where AI is benefitial as a tool/utility, it's primary purpose is totalitarian control. This is a simple statement of fact. Much of the GPT buzz and hype is just that. How so? Now you understand the power of control and censorship. Just as was done with other large events in recent history.
If you censor and delete, the truth is whatever they make it be. That's a fact. This has been true long before AI existed. This will remain true so long as humans exist.
@@travotravo6190 BTW, food for thought, what's the best way to train your AI? Have people pay for the privilege? Ultimately, who receives the real LLM? It's not us. So who? It's not because they like us.
Tbh i started unity and scripting 2 weeks ago and chatgpt helps alot with it trie making 2 types of games, ofc gpt srewed up like 70% of the time but it helped me to check what it screwed up, its actually made me learn at least the base unity program, scripting very very small percentage
I know people will disagree with me, but I find these GPT, AI tools completely useless for any complex project. I tried to get GPT to write a working flight controller that actually uses some decent physics and it failed so bad. I had to spend the last 5 weeks writing what I needed myself. Other tasks I gave GPT, i could not get the result I wanted.
It's a really slow process that requires documentation and a decent idea of the game you're making. Also, If you're not using all 400 lines with Chatgpt4, what's the point?
Exactly, I've seen so many people say how it completely transformed their workflow, and I'm sitting here like wtf? Did I by mistake use GPT 1.0 or does everyone have really small projects?
@@filipg4 no idea.
I've been using CHatAI as a 'co-pilot' ofr a while now. Yes, you still need to know how to program to even phrase what you want and understand how it fits into a bigger picture.
One limitation even with the paid web interface is a limit on the size of how much you can paste in, and I wonder if this - particularly where it is troubleshooting other scripts - has a limitation on that script size and how well it does referencing other related scripts at the same time?
Wow, per-usage payment is a really scummy inclusion, I was not expecting that since, as you said, you can get those results by having a browser window open with ChatGPT. Good to know not to bother with this plugin, I was curious having got it in the humble bundle. Thanks for the warning!
There's no other way to integrate this into unity though. The ChatGPT api which let's you call it from code costs money. I've used it myself for uni research. Keep in mind it's like 0.002$ for like 750 words. It's not like that money is going to the asset developers, it's going to OpenAI.
@@borjanpeovski7615 I figured it might work with the user logging in with their own OpenAI account + internet connection, and the plug-in locally handling what you type in unity working like you were typing it on a browser, and implementing the result, with the price of the plug-in covering the development cost, and no further server costs needed.
Recently an open source locally run Large language Model AI Specialized in Programming Language Generation, called WizardCoder Ai, was released to the public for free.
Chat GPT is an excellent product but once the Hyper Specialized 20 Billion parameters or lower Open source AIs Start to become more common, It'll be hard to justify the cost, as low as it may seem.
Especially since Chatgpt is a censored model and since a recent update to the Local WebUI.
It's now impossible to censure locally run Large Language Models AIs.
The cost is is not an issue, API access is cheap and you will be at a disadvantage using a Local LLM because of the GPU requirements and ease of use issues.
Agree though that if you want an uncensored conversation, Local is the way to go with AI models.
unfortunately WizardCoder AI isn't a viable solution for game dev as it isn't commercially viable due to a modification of the BigCode Open RAIL-M license
seems like it's meant for research purposes unless they modify their license which might be unlikely
@@Feyangel23 Sure Licenses are all fine and good. But how would anybody be able to tell that the code was AI generated?
The AI conversation will be insane once it cooks. Imagine Skyrim, where every NPC has an assigned profile (e.g old black smith who's lost his dog) and some parameters to limit the conversation. The quests could be procedurally generated according to the conversation you have with that NPC. Obviously easier said the done but the potential is mind boggling.
I would much prefer hand crafted, intentional dialogue and story with any NPC than filler generated by an AI
Image a world where every character has a unique story and looks, and are going about their daily lives. Imagine on top of that that graphics is super realistic and then remember that real life is not so fun and would not make a good game.
@@codichor6036 you can have both, using the ai to remove repetition from handcraft by reformulating them each time and within context of what's already said, which mean you would need an ai less powerful than chat gpt that can run locally at the millisecond scale.
I was playing with this and some voice recognition and text to speech a couple weeks ago. Had NPCs conversing with each other and I could talk with them too. It was a fun diversion and pennies to play with, but ultimately, the cost for the API and its instability makes it impractical for any shipped game. That sent me down the road of evaluating open source models...ChatGPT still blows them away on most things.
@@tiredlocke Oh no doubt, currently this is a play around thing. But ChatGPT does it now to a pretty impressive level. I just told it to pretend to be an old barman and i was an evil outlaw. I (but in the future the game would) gave it the answer (yes,no, get out) and it rewrote those answer in the character of an old barman.
I really liked your video, but it's funny that you fell into the procedural trap. Procedural means nothing more than "relating to an established or official way of doing something." From many different assets and games, often times they use the procedural in so many funny ways, as if it were quality assurance. But procedural generation is always based on a foundation, and then these foundations get connected. Like Binding of Isaac as a game example. Each room is prebuilt, and then the procedural generation uses these prebuilt rooms and connects them.
TLDR: It gave you a perfect example of procedural generation on the first try.
The best parts of copilot are the complex multi-line autocorrect it does when I have repeated code. Letting the ai do it all is how you get a bad experience imo
I finally tried it out this weekend, and what I really appreciated was that after I updated a method, and then asked it to create a similar method, it followed my usual patterns, rather than making a similar attempt like the first time - it learned my style.
Can even help with procedural generated levels?
6:18
What is funny is that if you take this really serious so neither you would use ChatGPT as it was trained on peoples code, text and conversations too. But that sort of thing is just biased talking.
Super well done video, Could you make more videos on some of the other assets in that humble bundle package?
I think the AI conversation would be used to create dialogue for the game.
AI conversation against different roles can be potentially helpful to prepare yourself for interviews, reaction to your products, etc. Also, it can help prepare marketing campaigns. In theory. In practice -- quite often the generated conversation is d*mb.
I have downloaded a few lightweight opensource llm models they have huge potential in games. I am thinking you could train a model on a fictional character and say blacksmithing for example and have them play a character in game. This would be a dynamic and interesting character potentially adding infinite entertainment and conversations for players. Very exciting.
Imagine logging into a game daily not for the game play but to see your buddy the black smith and to talk to your in game wife about life and your dreams.
@@devinfleenor3188 it like the holy grail rpg experience lol
Open AI sitting down, just waiting for the rivers of proprietary code, data, private keys, etc coming their way.
Just Imagine if it can run all of Unity to create custom code and an entire game oh im buying this
A very interesting video, thank you for showing us about this Asset 💯👍🏻
Hopefully in the future these A.I. Tools will get better, enhancing our productivity (it's clear for me that A.I. will not completely replace Humans, because in the End of the Line:
some human assistance is required asses and confirm the quality of any new piece of Code and Art generatedby the team: A.I. + Programmers)
shaders is very confusing even on web search that's why it sucks at shaders. shader programmer are safe from AI overload
Now imagine with wizardcoder, it would be FREE.
Awesome 👍
$5 bucks for you guys on each purchase of the humble pack? I mean - sure.
Make a video on how you guys go about arranging and making that happen - or is that talking about the ingredients of the secret sauce too much? More interested as to why you don't scream it from the rooftops too.
I think is cool , but not so cool sometimes, it is hard dependencie code.. I think programming with SOLID in mind is the key to use chat gpt, if you simple rushing.... you probably find hard dependencies, decouple code, static fields every where, uneven singleton, bad event system , override scriptable object, so many pitfalls.
Pass. I'll just stick to using ChatGPT/SD/Midjourney.
crap.. it's not free
You don't even need to know how to program anymore so goodbye being a programmer
you talk like chat gpt is taking your job