Is there a way to set max limit for CPS?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Jae
Regular
Posts: 192
Joined: Sun Sep 13, 2015 5:41 pm
Projects: Pokémon Academy Life
Location: New York, NY
Contact:

Is there a way to set max limit for CPS?

#1 Post by Jae » Tue Nov 17, 2015 5:53 pm

Quick question. Is there a config setting I can include in options.rpy to set maximum CPS limit? For example, 140 CPS is the maximum, not infinite.

I know there's one for a default value; that's not what I'm looking for.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Is there a way to set max limit for CPS?

#2 Post by PyTom » Tue Nov 17, 2015 6:31 pm

Not without re-implementing the preference using a FieldValue. Why would you want this - it's horrible, at least from my perspective. (I read very fast.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Jae
Regular
Posts: 192
Joined: Sun Sep 13, 2015 5:41 pm
Projects: Pokémon Academy Life
Location: New York, NY
Contact:

Re: Is there a way to set max limit for CPS?

#3 Post by Jae » Tue Nov 17, 2015 6:44 pm

Maybe it's just amateurism on my part, but since the Pokemon VN I'm working on emulates the messages shown in Pokemon games, the typed out text is part of the experience.

Also I frequently utilize "TEXT{w=0.5}{nw}" and extend "TEXT". I realize if the player sets infinite text speed, oftentimes the animation and messages look strange (as in it doesn't feel like there's a conversation with pauses and appropriately timed expression changes).

There are also instances where I deliberately use "{nw}" for when a character interrupts a conversation. I generally put a wait timer right before that gives the player enough time to read if he/she chooses to, but if the CPS is infinite, the subsequent message really becomes jarring.

I'm open to alternatives, of course. I don't mind going back to revise the lines.

User avatar
Jae
Regular
Posts: 192
Joined: Sun Sep 13, 2015 5:41 pm
Projects: Pokémon Academy Life
Location: New York, NY
Contact:

Re: Is there a way to set max limit for CPS?

#4 Post by Jae » Thu Nov 19, 2015 4:31 pm

I would still like to set a max CPS limit, even if it's "very fast." Anyone know how to do this?

philat
Eileen-Class Veteran
Posts: 1853
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Is there a way to set max limit for CPS?

#5 Post by philat » Thu Nov 19, 2015 8:51 pm

Like PyTom said, you'd have to edit the renpy common files. If you don't want to do that, the other option is to take away the user's ability to adjust using a slider and have a few predefined speeds in the preferences screen. This takes away player freedom, but you already want to do that anyway, so...

As a disclaimer, I also am philosophically against this, but since you asked. *shrug*

Post Reply

Who is online

Users browsing this forum: Bing [Bot], _ticlock_