Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hi! I was able to get the phone and conversation to show up, but when I attempt to close out of the phone I get a script error that says "renpy.display.screen.ScreenNotFound: Screen 'phone_icon_overlay' is not known"

Also, is it possible to have the mc's name in the phone match the custom names chosen by players? I feel like this is probably easier to do than I'm making it in my head lol

(1 edit)

phone_icon_overlay is defined in phone_gui.rpy. I must have left a reference to it inside the actual phone.rpy... and....


Yep, delete line 3410 and line 3411!

And make sure you remove it from ikps_phone_home_back_action in phone config too if youre not using my GUI

If it keeps happening just create a screen with that name that does nothing, it wont break anything ;D


As for changing the name.... thats the _title of the phone shell when you open a contact, or on the contacts screen. You'd need to set the name they choose to a variable, and on the chat screen run a check when _title is set, if _title == 'mc', set it to the name that was chosen instead. line 1991 I believe.....

 Same thing for the contacts screen when it shows the names for the contacts, which happens at 2667.

Those lines might be off a little, I'm not sure if the version im looking at is the currently uploaded one, let me know if it's wrong and i can look properly

I have been working on a release that does this plus a load more stuff but I've been roped into making 3 different games so my time is... limited rn :') 

I just realized I gave a full breakdown of how to do it in my reply to someone 2 comments before this one :D Its still there if you want to go read that one

Tysm! I'll try these solutions out!

Okay!  I'm back. My first issue is completely solved! The second thing I was okay with until this part of your explanation: "Then default var_kps_new_mc_name anywhere, just so anything, or an empty string, then after they have chosen the name just run $ var_kps_new_mc_name = their_chosen_name"

Does the first half mean that I run this: $ var_kps_new_mc_name = "default"

The second half with this command: $ var_kps_new_mc_name = their_chosen_name   -   do I type that exactly?


And (I'm so sorry) an additional thing, how do I force the phone icon to stay accessible in the corner? I currently cannot access it outside of forcing the phone open for conversations

I just mean outside of a label do 

default var_kps_new_mc_name  = "anything"

Then in the label when you set the name do 

$ var_kps_new_mc_name  = name they picked

I just have a habit of defaulting things outside of labels because renpy has some pickling issues that... are annoying.... Thats all

Ty for taking the time to explain. I couldn't get it to work but I ended up just setting the phone so that it says "my phone" on the home page lol

Yo i had this problem aswell, for anyone else that wants to make the chats easier to handle if the player choses their own name, this is how i did it: 

search for " if speaker == phone_data['name']: "
and replace with if " speaker == phone_data['name'] or speaker == "PLAYER": "

then in your conversations just use PLAYER as the name of the sender: 

{"PLAYER": "You seemed a bit quiet tonight. Everything good?"},

    {"Nora": "I'm fine. Just taking it all in."},

    {"PLAYER": "Fair enough. It's weird being back."},

{"Nora": "A little"},

I'll try this out! I have the custom name defined like this: 

define mc = Character("[playername]")

Do I just adjust that to say [player] instead for your code?