• All, Gmail is currently rejecting messages from my host. I have a ticket in process, but it may take some time to resolve. Until further notice, do NOT use Gmail for your accounts. You will be unable to receive confirmations and two factor messages to login.

Scripts Index

aL BeasTie

Well-known member
WARNING: SOME INFORMATION MAY BE OLD AND OUTDATED

Update: The post exceeded the character limit so the main index is in the second post now. The first post is now for script references, tutorials and example demos related to script.

Key
- Added (Newly added)
- * link broken (link is still broken)




SCRIPT LEARNING:
Constants Tutorial by DC
Flow Chart Coding

SCRIPT REFERENCE :
Script Reference/Manual
OpenBOR Variants List
Optimizing Scripts by DC - Added
Bitshift Encoding by DC - Added
Maliks SublimeText OpenBOR Syntax - Added

Script Releases :
scripts and exhibition mini mods to use and learn from

Ilu's Simple Scripts
Bloodbane's Simple Scripts
Double Dragon Mini 4.5 (Ladder Climbing, pickup objects etc) - Added
3D Sprite Stacking - Added
Lift with Stage Select - Added
SokoBOR - Added
Walk and Shoot - Added
VS template - Added
Respawn Body 1.0 by DC - Added
Mario Style Jump Height 1.0 by DC - Added
Map+++ - Added
Tint Effect Demo - Added
Shadow Trails Demo - Added
Rolling Percentage Meter - Added
Anaglyph Demo - Added

DCurrent Github - Added
(DC Scripts on Github quick links)

- DC After ImageDraw afterimages (shadow trails)
- DC Avalanche (misc)
- D20: Random Number Generation
-
DC Damage (Control applying and handling damage to entities.)
- DC Disney (Conditional animation switching and control)
- DC Eggball (Timer library for OpenBOR script)

- DC Example Tinting (script)
- DC Example HP float (HP as numbers)
- DC Elmers (Binding and location syncing control for OpenBOR script)
- DC Fidelity
- DC Filmation (Animation in OpenBOR without models or entities)
- DC Grapple (Script library to build and control throw, slam, and grapple moves)
- DC Hansburg Script (double Jump, Wall Jumping etc)
- DC Initialize (Random colors sets, names, and other assorted functions)
- DC Kanga (Libraries for map index and color control)
- Kichatna (wall bounce)
- DC Math (Library of basic math functions for use in OpenBOR scripts)
-
DC Script Initialize
- DC Spinner
- DC String (String handling functions and wrappers)
- DC Target (Target and range finding for entities, terrain, etc.)
- DC Terrain (Detecting and working with walls, platforms, and edges in a level)
- DC Velocity (Precision adjustment of movement speed)

Other
Continue Bug Patch




OLD MISSING LINKS
Applying Scripts *
Constants List by DC *
Script Introduction *
---
Script Packages by DC (outdated) * link broken
Bloodbane's Simple Scripts II * link broken
DC's Script Catalog OUTDATED - Link Fixed
Bloodbane's Take Damage Scripts * link broken
 
Last edited:
README: The original purpose of this thread was to bookmark useful solutions and shared scripts that I found whilst digging in the old forums. Many of which may have been hard to find again without constant re-digging. As such, you will have to read over the original threads for all the information to be apparent.

Scripts Index : A to Z

Key
- Added (Newly added)
- * link broken (link is still broken)


#
3D Attacks for Enemies
3D Sprite Stacking
A
Attack Reaction Script *
Announcer (Killer Instinct Style Announcer)
Anti-Grab only for certain enemies
Animated Title
Anti-Wall Script
Attack Pause Script
B
Back Pain Script
(Another) Back Pain Script
Brute Shopping
Breaking Weapons
Battle Music Script *
C
Change Aggression based on Enemy HP
Change Animation on Frame
Change Hostility based on name
Center Entity
Change animation if current opponent is killed
Change Speed Script *
Change entity name script *
Change Branch by Falling in Holes
Change Model
Change Name
Change Animation on Frame
Change Animation/Transformation on Low HP
Change Camera Offset
Change Music on Enemy Spawn (Entity theme song)
Cure all Players and NPC with item
Character based Branching *
Charge Attack (Megaman Style)
Conditional Attacks *
Control Movement During attack/animation *
Control Player Spawn Location (via script) *
Custom sounds for picking up items
Conveyor Belt Entity Script *
Continue Screen
Counter Attack Dummy Script
Carry over player HP value to nextstage
D
Daimao Cancel System
Damage all enemies on screen
Damage displayed as numbers
Desperation
E
End Level is NPC dies
Enemy Spawn Limiter
Enter Name + Hi-Scores + Stage Completed Screen
F
Facing Forward - Jumping Backward *
Fake Text entity to show idle animation (not a single stopped frame) *
Fall Animation Delay
Fly Mode *
Followcond only if enemy is killed by the attack *
Font Mapping
G
Global Scale *
Global Variables And External Entity Synchronization *
H
Hole Death Sound
HP Bars
Health Switch (switch anim based on HP)
HPcost - make your animation consume health *
How to edit using props (items)
I
Identifying a Stage
Invincibility Item
Individual start level for each player *
J
Jump to branch based on live count
K
Keep Enemy on Platform
L
Ladders/Climbing Area/Halcove/Stairs/Waves + Water Puddle (Interact Entities)
Lift with Stage Select
Lonely
M
Main Menu Customization
Moving(walking) Up/Down the Enemy *
MP cost
MP cost (with Anim change)
Refill MP
Multiple Buttons Combo
N
No Player Join
No Scroll Position Script
P
Player Spawn Location (Smart Logic)
Play Sound once at Title Screen and Select Screen
(PAIN) Force Pain Anims
R
Random Animation Change
Randomness
Random Item Drop
Random Jump script
Random Entity/Enemy Spawn
Random Item/Entity/Weapon Spawner
Random Number Generator *
Random Profiles *
Random Sound (old)
Random Spawn Script *
Random Music
Random Walk Speed
Range Based Moves *
Refill MP
Restart Level On Death
S
Screen Jump / Wall Jump * (see Wall Jump below)
Seal Script
Serpintine/Chain Entity Library
ShadowTrail Script
Shooter4 (Shooting special projectile with speed and direction control)
Simulate QUIT function
Sinsuoid Motion via Script
Slow Motion (on/off) *
Slow motion & Pause Effect *
Script to make enemies change anim when player in range
SP Meter Script (special power)
Spawn Entity via Player Health *
Spawn Relative to Screen
Spawn Scaling
Split Screen (prototype) by Kratus
Stomp OTG
T
Targeting
Text Entity (with idle animations while text is displayed)
Timed Transformation Script *
Timed Animation Change *
Toss Time / Stay Airbourne
True Key Captures *
True Targeted Attacks
U
Unbind
V
VS template
Victory/Win Pose *
W
Walk and Shoot
Wall Splat Script
Water Puddle Effect
Wall Bounce (Jump)
Wall Jump without animation script
Weapon Break / Durability
Z
Zoom in during Attacks *
 
Last edited:
## UNDER CONSTRUCTION ##

A
Aggression
- Change Aggression based on Enemy HP
Animation
- Random Animation Change
- Change Animation on Frame
- Change Animation/Transformation on Low HP
- Fall Animation Delay
- Health Switch (switch anim based on HP)
- MP cost (with Anim change)
- Script to make enemies change anim when player in range
Attack
- Attack Pause Script
- Charge Attack (Megaman Style)
- 3D Attacks for Enemies


B
Bind
- Unbind
Buttons
- Multiple Buttons Combo
Branching
- Jump to branch based on live count
- Character based Branching *

C
Camera
- Change Camera Offset
- Center Entity
Cancel
- Daimao Cancel System
Character
- Character based Branching *
Continue
- Continue Screen

D
Damage
- Damage all enemies on screen
- Damage displayed as numbers
Dashing
- Bloodbane's Simple Scripts
Death
- Restart Level On Death
- Hole Death Sound

E
Effects
- ShadowTrail Script
- Water Puddle Effect
- Zoom in during Attacks *
- Tint Effect Demo
- Shadow Trails Demo
- Anaglyph Demo
Enemy
- Enemy Spawn Limiter
- Damage all enemies on screen
- 3D Attacks for Enemies
- Change Aggression based on Enemy HP
- Keep Enemy on Platform
- Script to make enemies change anim when player in range
Entity
- Center Entity
- Change entity name script *
- Change Model
- Change Name
- Serpintine/Chain Entity Library

F
Fonts
- Font Mapping

G
Grab
- Anti-Grab only for certain enemies

H
Health / HP
- Cure all Players and NPC with item
- HP Bars
- Health Switch (switch anim based on HP)
Holes
- Hole Death Sound
Hostile / Hostility
- Change Hostility Based on Name
HUD

I
Items
- Custom sounds for picking up items
- Random Item Drop

J
Jump
- Random Jump script
- Mario Style Jump Height 1.0 by DC

K
Kill

L
Level
- Restart Level On Death
- Change Branch by Falling in Holes
- End Level is NPC dies
Life
Lives
Ladders
- Double Dragon Mini 4.5 (Ladder Climbing, pickup objects etc)
- Ladders/Climbing Area/Halcove/Stairs/Waves + Water Puddle (Interact Entities)
Lifts
- Lift with Stage Select

M
Map
- Map+++
Menu
- Main Menu Customization
Model
- Change Model
MP
- MP cost
- MP cost (with Anim change)
- Refill MP
- SP Meter Script (special power)
Music
- Change Music on Enemy Spawn (Entity theme song)

N
NPC
- Cure all Players and NPC with item

O
Objects
- Double Dragon Mini 4.5 (Ladder Climbing, pickup objects etc)

P
Pain
- Force Pain Anims
- Back Pain Script
- (Another) Back Pain Script
Platform
- Keep Enemy on Platform
Player
- No Player Join
- Cure all Players and NPC with item
- Respawn Body 1.0 by DC
Projectiles
- Shooter4 (Shooting special projectile with speed and direction control)
- Sinsuoid Motion via Script
- Walk and Shoot
- Bloodbane's Simple Scripts

Q
Quit
- Simulate QUIT function

R
Random
- Random Animation Change
- Random Jump script
- Random Entity/Enemy Spawn
- Random Item/Entity/Weapon Spawner
- Random Item Drop
- Random Number Generator *
- Random Profiles *
- Random Sound (old)
- Random Spawn Script *
- Random Music
- Random Walk Speed *
Range
- Script to make enemies change anim when player in range
Respawn
- Respawn Body 1.0 by DC
Running
Restart
Refill

S
Scroll
- No Scroll Position Script
Select Screen
- Play Sound once at Title Screen and Select Screen
Shop
- Brute Shopping
Shooting (look under Projectiles)
Spawn
- Spawn Entity via Player Health *
- Spawn Relative to Screen
- Spawn Scaling
- Player Spawn Location (Smart Logic)
- Enemy Spawn Limiter
Sounds
- Random Sound (old)
- Announcer (Killer Instinct Style Announcer)
- Custom sounds for picking up items
- Hole Death Sound
Stage
- Identifying a Stage
- Map+++
- Enter Name + Hi-Scores + Stage Completed Screen
- Lift with Stage Select
- Split Screen (prototype) by Kratus
- VS template

T
Target
- Targeting
- True Targeted Attacks
Text
- Text Entity (with idle animations while text is displayed)
- Rolling Percentage Meter
Title Screen
- Play Sound once at Title Screen and Select Screen
- Animated Title


U
Unbind
- Unbind

V

W
Walls
- Anti-Wall Script
- Wall Splat Script
- Wall Bounce (Jump)
- Wall Jump without animation script
Water
- Water Puddle Effect
Weapons
- Breaking Weapons

X

Y

Z
Zoom
- Zoom in during Attacks *

*RESERVED*
 
Last edited:
Thanks heaps  :), there's lots to be added.  Seems whenever I've gone away, the forums have been active with script posts.  Otherwise I usually add them as I see them.  There is a lot of script posts not added thou because I was unclear whether an entire solution was shown in the original thread. 

There was also some stuff I just wasn't sure about or just didn't know what to label it.  And there was some advanced scripts that I left out originally because Helpful Links was intended to be simple to use scripts. 

So any help is greatly appreciated!

---

Also guys I started working on a 'Scripts Index' CHM/PDF document a while back.  Everything in this thread will get added eventually.

The idea is to have a document with all the scripts listed, so you can use it for either copy/pasting them into your mod, looking through them for ideas or just using as examples to help with your own scripts.

it will have these features.

- List scripts by Category (animationscript, takedamagescript etc.)
- List scripts by Author (DC, Bloodbane, etc.)
- List all scripts at once
- NotePad++ style colours for script display (WIP, need to setup a CSS style to prevent doing it manually)
- ability to highlight text and copy from the document and paste into another text file.
- usage syntax for each script (eg.  spawn01 {name} {x} {y} {z})
- list any required scripts for each script entry

Also need add some help for those new to script
- Documents on scripting (already in the OpenBOR help document, just have to copy it over)
- examples of usage or explanation for each(or some) script(s)
- explanation on combining animation scripts (using cut/paste or include/import method)
- 'Easy to use' / 'Cut and Paste' scripts Category. (the basic common ones we all use)

Screens



It's going to need more work from me and I'll need input from scripters in the community.  At the moment I added a lot of things that are probably outdated and unnecessary.

Originally I was going to add every script ever made, because I thought someone who was good with code already, but is new to openbor scripting, could use them as reference material.  Hence the different categories to help you find the most useful stuff.

Basically wanted to see what people think of the idea first, because there is a lot of scripts I would really need input from the authors on the intended use of the script.  Also it's not something I can do by myself, I only have half a clue about scripting.  ::)


Edit: added to index

- Battle Music
- Random Music
- Random Enemy Spawn
- Global Scale
- Play Sound once at Title Screen
- Wall Splat
- Constants List
 
Great work BeasTie.
I have an old manual with the same format of your manual. Compiled by cha0s56.
It's out of date in some feautures, but it's very useful. 
 
O Ilusionista said:
That is a nice idea. But I suggest to check every script, because some could be very old.

This. I've noticed scripts still floating around that I wrote all the way back when the script engine had first came online. While they will probably still work, there are far more elegant solutions available thanks to continued development of the engine.

DC
 
I haven't been able to get the "facing forward - Flipping Backward" Script to function despite multiple attempts. I do hesitate to label it outdated though, as it's VERY likely my own fault. Would anyone like to confirm?
 
Thanks again!

The only thing bad is the search function dont't work like the old OpenBor Help.

But all the new info and every feature is in order for every theme. Very useful.
 
@ O and DC - You guys seem to miss the point, I'm not good with scripting and should not be explaining it to people, the idea was people who know this stuff give advice what to include and what not too.

Anyhow I'm done with trying to do this.  It would really help the community thou if someone would step up and post scripts with proper explanations like Bloodbane has.  And explain to people the process of importing scripts etc.  It's not really that hard, if people can use them like any other command than script is less intimidating to them.  That's all I really wanted to accomplish from it.
 
No one was trying to discourage you BeasTie. Our only worry was that posting old scripts is just like the old BOR how to make a character manual. It's so out of date that it's actually worse than no information at all, because nowadays following those instructions only teaches awful habits.

Same for older scripts. Some of those scripts had cobbled together hacks in them that are no longer necessary and should not see the light of day. A new user checking them out would think "Oh, THAT'S how it works..." and then find themselves with headaches down the road.

Posting ready made scripts and functions is a great idea, one that I promoted myself eons ago. How do you think my scripts got online in the first place? We were just suggesting some caution be exercised so that those ready made functions really were ready to plug and play - not purge and pray.

:)

DC
 
is just like the old BOR how to make a character manual. it's so out of date that it's actually worse than no information at all, because nowadays following those instructions only teaches awful habits.
I always wanted to take that info out. Someday, we could remove it.

I will try to post some scripts I made once I have time.
 
I know you guys weren't trying to discourage me, I totally agree what your saying, that was always my concern too when trying to make it.  The other issue is simply not being able to explain the usage of some scripts properly, or even know their purpose.  I just wasn't knowledgeable enough to pull this off.  I've had some small success with script, but admittedly I don't really know what I'm doing :p

In the screenshot you will see lots of very old scripts, this was mainly for myself at the time for reference.  A proper version of this would only include up to date and useable scripts.
 
Back
Top Bottom