Cecilia Numerical Pad

Introduction

This plugin creates a new numerical pad, which you can use in your game.
This pad lets the player enter numbers, remove numbers from the buffer, and overall have a more robust numerical pad to use when they need to enter numbers.
This can be great for things like puzzles, or maybe a math game. It even comes with an area to see the information you typed in.
One of the core features is that you can access the pad just about anywhere you can make a script call. The second thing is, it will pause the message
window until the player is done entering information.
One thing to note is that once you click “OK” on the pad, the pad will close, and the input is saved. The script calls below let you access that information, or open the pad at your leisure.

Instructions

  1. Place the script in your plugins folder with the same name Cecilia_Heart and Cecilia_NumericalPad
  2. Place EISFileSystem.js above Cecilia_Heart, and above Cecilia_NumericalPad
  3. Enjoy

Core Features

  • Shows maximum 9 characters
  • Going over 9 characters pushes the pointer forward and shows characters  2 – 10 for example, instead of 1-10.
  • Clearing the buffer by character using the X button
  • Ok saves the input buffer
  • Can pass the input, or value to a game variable
  • Can access input directly
  • Can store input upon pressing ok
  • Pauses message window upon starting input processing
  • Set your own window highlight (When people double click on it, you can highlight the window to be any color you choose — make it pink if you want)
  • Adjusted window sizing, and grid layout for ease of use

Scripts

Download “EIS File System” EISFileSystem.js – Downloaded 277 times –

Download “Cecilia” Cecilia_Heart.js – Downloaded 503 times –

Download “Cecilia Numerical Pad” Cecilia_NumericalPad.js – Downloaded 187 times –

Script Calls

Screenshots

Setup Example Window

CeciliaNumPad

 

 

We access the pad using $numPad.accessPad(); this opens the pad up, and pauses the advancement of the message window.

We set what variable to store the answer in using $numPad.storeInGameVariableUponCompletion(6); this stores it in game variable 6.

Updated Window — now with Highlighting!

CeciliaNumPad2

 

 

Example of overflowing the buffer

CeciliaNumPadBuffOverflow

 

Credits:

Free for both commercial and non-commercial use.
Credit with the name Kino or Endless Illusion Software.

Thanks:
I appreciate you using this script, and I’m glad that it’s able to help you.

Note:
If you have any ideas, please feel free to mention them here.

 

Leave a Reply

Your email address will not be published.