15
edits
(reverting first paragraph; there was nothing wrong with it) |
No edit summary |
||
Line 2: | Line 2: | ||
==What Are Scripts?== | ==What Are Scripts?== | ||
Scripts are the files that drive level logic, environment effects, and cutscenes. Physically speaking, they are the .bsl files inside the folder Oni/GameDataFolder/IGMD/. By editing scripts, you can alter how the game plays. | Scripts are the files that drive level logic, environment effects, and cutscenes. Physically speaking, they are the .bsl files inside the folder [[IGMD|Oni/GameDataFolder/IGMD/]]. By editing scripts, you can alter how the game plays. | ||
==Editing Scripts== | ==Editing Scripts== | ||
Line 9: | Line 9: | ||
- To learn BSL by example, you can read the .bsl files in Oni's IGMD folder and draw connections to the events in the game that were produced by those scripts.<br> | - To learn BSL by example, you can read the .bsl files in Oni's IGMD folder and draw connections to the events in the game that were produced by those scripts.<br> | ||
- For a primer in writing BSL, see the Tutorials section below.<br> | - For a primer in writing BSL, see the Tutorials section below.<br> | ||
- For a thorough listing of what's possible in BSL (a reference, not a primer), see the Knowledge Database below. | - For a thorough listing of what's possible in BSL (a reference, not a primer), see the Knowledge Database below.<br> | ||
- Typing '''''dump_docs''''' in the game console will generated the file '''script_commands.txt''' listing all BSL commands & variables. | |||
==Scripted Mods== | ==Scripted Mods== | ||
Scripted mods are great examples of what can be accomplished by editing scripts. They replace or add to Oni's .bsl files to create interesting and often amusing results. They can change everything from the fog to how the characters and level interact. However, they cannot add new characters or change the level layout, as that data is fixed by the [[OBD|Binaries]]. They are great examples of what can be achieved simply by typing into a text file. The possibilities are simply endless. | Scripted mods are great examples of what can be accomplished by editing scripts. They replace or add to Oni's .bsl files to create interesting and often amusing results. They can change everything from the fog to how the characters and level interact. However, they cannot add new characters or change the level layout, as that data is fixed by the [[OBD|Binaries]]. They are great examples of what can be achieved simply by typing into a text file. The possibilities are simply endless. | ||
Probably the best specimens of | Probably the best specimens of scripted mods are the [[AE:OTA|Oni Team Arena]] scripts. Based on the desire for a multi-player mode in Oni, and inspired by Unreal Tournament, they augment Oni's hand-to-hand combat and gunplay with a scoring system much like Unreal Tournament's DeathMatch. | ||
Other scripted mods range from free-for-all arenas to objective-based missions and enhancements of the original levels. They can spice up the gameplay and provide a more exciting experience to those who have finished the game. They keep the game alive, outside of its original levels. | Other scripted mods range from free-for-all arenas to objective-based missions and enhancements of the original levels. They can spice up the gameplay and provide a more exciting experience to those who have finished the game. They keep the game alive, outside of its original levels. |
edits