Convenience Functions for the OHR: Volume 1

Upload your games here. Download other people's games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Pepsi Ranger
Liquid Metal Slime
Posts: 1457
Joined: Thu Nov 22, 2007 6:25 am
Location: South Florida

Convenience Functions for the OHR: Volume 1

Post by Pepsi Ranger »

When you script character dialogue for your elaborate cutscenes, do you tire of writing:

Code: Select all

show text box (text)
wait for text box
Would you rather use something simpler and faster to achieve the same goal, like:

Code: Select all

basic text (text)
Do you shortchange your brilliant cutscenes with rushed or lazy scripts because you tire of writing redundant steps like "wait for hero" over and over?

Then read on!

What This Is:

For those who want to simplify their scripts with shortcuts for essential functions, this pack covers a swath of user needs.

"Convenience Functions for the OHR: Volume 1" offers ~400 new functions to help users speed up the scripting process, focusing primarily on movement commands but not limiting to them, while also allowing for more complex actions in more compressed space, like applying the same actions to an entire group of heroes.

Categories Include:

General Shortcuts
- Wait Functions
- Text Functions
- Slice Functions
- Sound Functions
- Tag Functions
- Timer Functions
- Frame Rate Functions
- Range and Value Functions
- Group Everything Functions
Movement Shortcuts
- Hero Movements
- NPC Movements
- Advanced Hero Movements
- Advanced NPC Movements
- Group Movements (Heroes Only)
- Advanced Group Movements (Heroes Only)
- Position and Animation Movements
- Pixel Movements
- NPC Passage Rules
- Camera Movements
- Bonus Fine-tuned Movements
Character Display and Animation Shortcuts
Tile Animation Shortcuts
General Animation Shortcuts
Tile Reading and Writing Shortcuts
Zone Reading and Writing Shortcuts
Advanced Positioning Shortcuts
Team Building Shortcuts
Stat Manipulation Shortcuts
Special Effects Shortcuts
String Display Shortcuts

What's in the Zip:

This pack includes "convenience functions.txt," which contains all 115 functions, a Word document that explains how each function works, and the "Movement Shortcuts" RPG and script files to demonstrate a few of these functions in action.

Please use "Movement Shortcuts" to practice any function you're not yet comfortable using.

If you have ideas for additional shortcuts, leave a comment on the forums.

Thanks for using them. I hope they work out for you.

Update December 5, 2020:

The complete Convenience Functions for the OHR: Volume 1 is now online. This update includes:

- A PDF for easy-to-access instructions
- Close to 400 functions for hero, npc, and group movements, tile and zone checking and updating, advanced animations, special screen effects, and more!
- An updated edition of the Movement Shortcuts test file and plotscript

If anything's broken or if something doesn't make sense, please let me know in the companion thread.

Hope you all make good use of these functions.
Attachments
Convenience Functions Volume 1.zip
The Complete List of Volume 1 Functions (Updated 12/5/2020)
(628.5 KiB) Downloaded 133 times
Movement Shortcuts.zip
Contains test rpg, practice script, hsi file, convenience functions.txt, and word document explaining each function
(95.73 KiB) Downloaded 179 times
Last edited by Pepsi Ranger on Sun Dec 06, 2020 6:42 am, edited 1 time in total.
Place Obligatory Signature Here
Post Reply