Search found 27 matches

by Paul Kinsella
Fri Jul 03, 2020 11:19 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

If you want, we can continue to here... viewtopic.php?f=8&t=59022&p=529667#p529667 :D
Apparently the "Ren'Py Cookbook" part of the form is not really intended for questions.
by Paul Kinsella
Fri Jul 03, 2020 11:12 am
Forum: Ren'Py Questions and Announcements
Topic: Open-Ended Diologe Boxes
Replies: 3
Views: 450

Re: Open-Ended Diologe Boxes

NOTE: Isobellesophia has helped me to generate the following code and Isobellesophia deserves the credit. This code ATTEMPTS to create a "replying through dialogue box" where a player can type words and, depending on what those words are, is taken to a given page or specific dialogue appears. For ex...
by Paul Kinsella
Mon Jun 01, 2020 11:33 pm
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

Thank you very much for attempting to help me understand. I cut and pasted this into a new script and I got many errors. Perhaps because I don't understand what's meant by... ######################## PUT YOUR LABELS HERE, NOT THE TOP OF THE LABEL NAMED "UNTYPE", COPY THIS ONE FOR NO PROBLEMS AND SUC...
by Paul Kinsella
Wed May 20, 2020 6:36 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

As i said, you shouldn't put some story label below them except for the label named "untype", as i already given above twice. After, you can now put your labels below the "untype" label, or create a new rpy file in your file game so you can put the "other" label there, RenPy always remember that yo...
by Paul Kinsella
Tue May 19, 2020 10:05 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

Is the code (written below) what you have in mind? If not, please feel free to alter it. Unfortunately (as it is now) if you put in gibberish such as "asgdfds3gh", or something like "That cow is nice" or "Hi there stranger" you jump to "You know of the sword of power? You must be the 'chosen one' bl...
by Paul Kinsella
Tue May 19, 2020 2:10 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

Read the example of my post above carefully, this one would appear if the words aren't listed in the codes. I have read your example serval times and attempted to run it. Unfortunately I do not have the skills (yet) to understand. The best I could do was make my example as you see it. Could I troub...
by Paul Kinsella
Mon May 18, 2020 11:46 pm
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

I removed the image to simplify the code. Now it SHOULD work. But the game ends if you type in "hi there" or "nice cow" rather then just "hi" or "cow". The game also ends if you type gibberish "dhfjjstybh4" or something not listed such as "I'm a brave knight looking for a magical weapon?". It would ...
by Paul Kinsella
Mon May 18, 2020 6:49 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

I changed my code to this... define user_input=[] image office = "office1.jpg" label start: scene office "Welcome!" label user: $ user_input = renpy.input(prompt = "Type anything you want!", allow="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ /.,'?!") $ user_input=user_input.lower(...
by Paul Kinsella
Mon May 18, 2020 6:22 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

I want to ask, what is the error? And could you be specific why it doesn't function? I would like to know if i can fix this. I get this error: Parsing the script failed. File "game/script.rpy", line 15: indentation mismatch. line 15 is "elif user_input in ['cow','cows','Cows','Cow','milk','Milk']:"...
by Paul Kinsella
Mon May 18, 2020 3:25 am
Forum: Ren'Py Questions and Announcements
Topic: Open-Ended Diologe Boxes
Replies: 3
Views: 450

Re: Open-Ended Diologe Boxes

Great! I think your script is what I've been looking for. Unfortunately I was not able to get it to work. I've posted a question on that thread at viewtopic.php?f=51&t=57908 that I'm hoping you can answer. :D
by Paul Kinsella
Mon May 18, 2020 3:20 am
Forum: Ren'Py Cookbook
Topic: Replying through dialogue/ Artificial Intelligence based
Replies: 22
Views: 1784

Re: Replying through dialogue/ Artificial Intelligence based

This might be what I've been looking for. :D Unfortunately I've not been able to get it to work. Below is an example I've created. Any idea why it does not function? define user_input=[] image office = "office1.jpg" label start: scene office "Welcome!" label user: $ user_input = renpy.input(prompt =...
by Paul Kinsella
Mon May 18, 2020 12:21 am
Forum: Ren'Py Questions and Announcements
Topic: Open-Ended Diologe Boxes
Replies: 3
Views: 450

Open-Ended Diologe Boxes

Dear Awesome Ren'py experts, I have done a thorough google search before posting my question. I searched for the following terms: "open-ended Text Input renpy", "open ended dialog box Text Input renpy", "Text input box for dialogue in renpy", and many others. All results ran dry or perhaps I simply ...
by Paul Kinsella
Sun May 17, 2020 8:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Doors
Replies: 15
Views: 502

Re: Buttons and Doors

Dear Gas, Thank you for your tips. Unfortunately I do not have the skills (yet) to understand most of what you posted. When I attempted to try your example, it would not function. You wrote "You can write down the screens wherever you want." For your knowldge: you don't need to define a screen where...
by Paul Kinsella
Sat May 16, 2020 10:14 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Doors
Replies: 15
Views: 502

Re: Buttons and Doors

This SHOULD already work, however it doesn't do much. You need to actually show the screen with "show screen something", preferably before the "Welcome!". Showing a screen does NOT interrupt the flow of the script. For that, you need to CALL the screen, which has a few implications for the game flo...
by Paul Kinsella
Sat May 16, 2020 9:31 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Doors
Replies: 15
Views: 502

Re: Buttons and Doors

Thank you for your help. Renpy.org was the first place I looked before posting my question. Unfortunately I could not find a complete and functional example of button code there. I found parts of code there (and other places too). But I was looking for something I could copy'n'paste into a new ren'p...