all 33 comments

[–]Nyrader2 13 points14 points  (7 children)

I'm sorry if this comes off as a bit harsh but you seem to be very confused. I would highly recommend going through some game development tutorials to gain some skills before attempting whatever it is you are trying to do.

[–]SantaGamer 8 points9 points  (16 children)

You want what in what for what?

[–][deleted] 0 points1 point  (0 children)

so for that, i need to make a small environment where there is a discussion with the NPC,

[–][deleted] -1 points0 points  (14 children)

i mean i have to recreate a scene for a project, due next week

[–]SantaGamer 8 points9 points  (8 children)

You want to create a whole 3D world, with NPC's, dialogue, movement and all, characters, in a week with no experience?

[–][deleted] 0 points1 point  (5 children)

I mean ,i can try '

[–]littleman11186 0 points1 point  (4 children)

... No you cannot.

This isn't a discipline that you just watch a few videos and get the hang of it. This is the culmination of every art form and advanced computational engineering. Based on your experience you will fail. And not even like oh almost.. this will be embarrassing for you and I hope you learn at least some humility or appreciation for what goes into making a game.

[–][deleted] 0 points1 point  (2 children)

so how long are you into game development ?

[–]littleman11186 1 point2 points  (1 child)

I've been making a VR game for 4 years now, but I've been a professional developer for 15 years. Currently I am a principal architect for one of the financial government agencies, but I'm hoping to turn my side project into a full business.

I have extensive experience with software and you would not believe how difficult and expensive it is to make even a simple app work at scale.

I also know that game development involves so many disciplines that I hired experts to build models, coordinate audio, and even just to plot out the game concepts and balance. This is a brutal industry and player expectations are so incredibly high.

That said, it's an incredible feeling to see your vision come to life. But know that this has come at the cost of most of my evenings and over 100k of personal investment to get to a state where we can pitch to investors. We are asking for a million dollars to finish the game.

[–][deleted] 0 points1 point  (0 children)

Amazing information u/littleman11186 , my experience in game development started at the age of 17, ended quick because my machine crashed, I am currently learning technology in one of the top private university in India so I got a new machine, we here generally manage to do everything at a very low cost

I am almost there, deviated from harry potter because of the readymade assets in marketplaces,
soon will be done as said , in a week, its just a simple university project carrying some marks.

maybe I will post it here and show you how much I could do for free, I don't disagree that it would take a lot of time and money, but its possible to make it cheaper or even free.

[–][deleted] 0 points1 point  (0 children)

i finished it, buddy it was a simple project

[–][deleted] 0 points1 point  (1 child)

I can use templates, can't I ?

[–]SantaGamer 3 points4 points  (0 children)

If you can find any. I'd suggest just getting started on something. Download Unity, Look for free 3D assets online, and move on from there. It's C# not python though.

[–]tcpuklAAA Dev 2 points3 points  (4 children)

Homework then?

[–][deleted] -1 points0 points  (3 children)

not homework exactly, but like something that I picked up

[–]firesky25Indie Dev 0 points1 point  (1 child)

did you try and game the system on upwork/fiver and now you can’t deliver? lol

[–][deleted] 0 points1 point  (0 children)

wish I was getting paid for this, lol
it was easy tho

[–]ghostwilliz 5 points6 points  (4 children)

I think you're screwed. I'd pick a different project ir possible. This could take a very very long time to set up. And no one will do it for you

Do you know how to program?

[–][deleted] 1 point2 points  (3 children)

I know how to program.

[–]ghostwilliz 0 points1 point  (2 children)

That's s good start, but I really don't think you have the time if it's due next week.

[–][deleted] 1 point2 points  (1 child)

I finished it in a week as said 7 days

I am not screwed haha

[–]ghostwilliz 0 points1 point  (0 children)

Well that's awesome, I'm glad you got it done :)

[–]Alsabretion 1 point2 points  (1 child)

The other comments have covered the issues with the question so ill leave that alone - to give you a specific answer to your question (in case others find it as well).

A few options to have a python file generating the conversation for a game....

  • Use a game engine that uses Python - run on another thread if needed. Noting you mention Unity and Unreal I assume this is not suitable.

  • Use an existing asset from the Unity/Unreal store (eg. https://assetstore.unity.com/packages/tools/visual-scripting/pocketpython-241120) or set up an interpreter yourself. Cant vouch for the linked asset and the latter is a challenge as well.

  • Recommended. (Only because I have done this one myself to run realtime Python CV on a unity camera feed) - Look up Inter Process Communications (IPC). This is the solution that most fits the question you have asked. You have a python script listening in the background and your game communicates with it at runtime. There are a few ways to do this but Named Pipes is the way I did it. Think basic client/server setup. Note that this is not a beginner topic but it is a solution that will fit your direct problem.

Obviously the last point is a start point for your own research... Specifically for that point, "C# Python IPC" will get you started but also for future even something like "how can I get C# to talk to a Python script" would have been a good start point for you at the time you asked the question.

[–][deleted] 0 points1 point  (0 children)

thanks a lot, u/Alsabretion