Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Centi-Second Wait Count
#1
Centi-Second Wait Count
Version: 1.5



Definition
Centi-Second: Noun. (plural centiseconds)
1) A unit of time equal to 0.01 seconds and with symbol cs.
2) Time of 91 926 317.7 periods of the radiation corresponding to the transition between the 2 hyperfine levels of the ground state of the caesium 133 atom at 0 K .



Introduction
This script grants one the ability to use an alternate system to the default wait system. Unlike the default wait system, this one uses the actual system clock to measure time in centi-seconds, or down to a hundredth of a second. And since it does not rely on the graphics framecount system which can be slowed down, it is more accurate.

The only drawback is that major rewrites had to be performed within three classes to add this feature; the actual timing system needing to be placed within loop-end blocks of code.

However, it also allows the map event PICTURE system to be controlled by the meticulous system of centi-seconds, so timing will be exact regardless of PC or Smooth-mode/Normal-mode settings are used.



Features
  • Field Map Script Call for new wait counter down to 1/100th of a second.
  • Script Call in Custom Move Routes allows for new wait counter down to 1/100th of a second.
  • Troop Database Script Call for new wait counter down to 1/100th of a second.
  • Picture movement and Picture tone manipulation down to 1/100th of a second.
  • Special timer system based on duration from event start for field maps



Screenshots
Are you kidding? This is a timer system.



Demo
CLICK ME
* It's pretty simplistic
* If studying, look for dashed lines within the code to show the direct edits to the update and move_type_custom methods.



Instructions
Generally, paste after Scene_Debug and before main in your script database. Due to heavy rewrites in three principle methods, it is recommended to be the first script within your list of custom scripts below Scene_Debug.

It does not replace the [Wait] button in the list of event commands. You use a script call of: set_cs_wait(value) where value is the number of centi-seconds for a delay.



Recommendation
Would be excellent for use with cutscenes. Recommend using with the Prevent Window Deactivation (aka MessageIntercept) system by KK20.



Compatibility
* NOT based on the RPGMaker RMXP SDK system.
Designed for RPGMaker XP, though the premise and edits shown should be valid for other Enterbrain engines using Ruby. It overwrites update methods in the Interpreter, Game_Character and Scene_Battle code, so it should be the first script in your list of custom scripts. That is, unless you perform direct edits yourself.



Author's Notes
Considered Intermediate to Skilled/Advanced due to method rewrites.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png] [Image: liM4ikn.png] [Image: fdzKgZA.png] [Image: sj0H81z.png]
[Image: QL7oRau.png] [Image: uSqjY09.png] [Image: GAA3qE9.png] [Image: 2Hmnx1G.png] [Image: BwtNdKw.png%5B]
Above are clickable links

Reply }


Messages In This Thread
Centi-Second Wait Count - by DerVVulfman - 09-12-2019, 07:07 PM
RE: Centi-Second Wait Count - by DerVVulfman - 09-14-2019, 03:21 AM
RE: Centi-Second Wait Count - by DerVVulfman - 10-07-2019, 03:35 AM
RE: Centi-Second Wait Count - by DerVVulfman - 08-27-2020, 10:20 PM
RE: Centi-Second Wait Count - by DerVVulfman - 09-12-2020, 04:07 AM
RE: Centi-Second Wait Count - by DerVVulfman - 08-27-2020, 05:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Battle Item Count kyonides 4 880 02-04-2024, 05:49 AM
Last Post: kyonides
   Battle Count Indicator ParaDog 3 8,050 07-01-2012, 05:09 PM
Last Post: KasperKalamity
   CTB: Count Time Battle cogwheel 1 8,237 03-04-2008, 06:06 AM
Last Post: cogwheel



Users browsing this thread: