18,700
edits
m (link fix) |
(starting a rewrite) |
||
Line 1: | Line 1: | ||
{{finish}} | |||
==Introduction to modding== | |||
[[Image:No_easy_button.png|150px|right]] | |||
Creating or modding a game is like writing a theater play: in both cases, you have stages, actors, scripts, and music. A level is built so that when the player performs certain actions or reaches certain locations, further events are set in motion. The player is told what to do through various textual instructions, voice acting, and cinematics (cutscenes). | |||
Modding can be an intimidating field to get into, but taking things one step at a time, you can learn a lot about how to make games. Like learning a second language, modding your first game is always the hardest, and then you learn the common points that games share and you can more easily pick up new ones. Additionally, there are lots of different ways for someone to mod; whether your talent is art, sound, modeling or design in general, there's something for you to do, and collaborating with others to divide the work according to your abilities can lead to a memorable, rewarding creative experience. Because of the DIY nature of our work here, it's recommended that you have an interest in, or at least a high tolerance for, technical details. We do not yet have any modding solutions with a big red button that says "easy". | |||
==Introduction to the engine== | |||
Oni runs on an engine that was custom-written for the game. At the time development started, Bungie did not yet have a true 3D engine, and it appears that the lead coders intended their work to be reused in future Bungie titles. In the course of events, this never happened. However, as a result of this advance planning, the Oni engine (which does not have a name ''per se'') is built in an industrial, abstracted way in two major layers: the BungieFrameWork (BFW), which contains general code for a 3D engine, and the code for Oni itself, which adds game-specific stuff like AI and the combat system. Altogether, we have identified 124 types of resources in the game data, however only about 88 (and a half) are used. | |||
Due the non-existence of modding tools at the time of Oni’s release, fans had to tame the wild jungle of raw game data and create modding tools on their own. It took over seven years to ''unlock'' most possibilities –- and the work is still ongoing. Read the full story '''[[History_of_Oni_modding|HERE]]'''. The short version is that we can now mod almost all types of data effectively, meaning we can create entirely new levels with new characters, new scripts, new voice acting, and new music. | |||
Due the | |||
It may sound intimidating at first, but many of the data types (often called "file types" on this wiki, and "tags" in many other game modding communities) fold into each other, such that you only need to know a few file types well, and the rest are created for you. Depending on the kind of modding you want to do, you might be able to start modding with only a little knowledge of the engine. | |||
Scripts are written in Bungie Script Language and stored as *.bsl files, that's why we often say "BSL mods". | ==Kinds of modding== | ||
===Scripting=== | |||
The easiest kind of modding is scripting. Scripts are written in Bungie Script Language and stored as *.bsl files, that's why we often say "BSL mods". | |||
They build up the level logic, simply said they make the level to appear logic/intelligent, they give basic commands to game engine. ''Spawn enemies there if player reaches point X, give them weapons, start cutscene '', etc.. | They build up the level logic, simply said they make the level to appear logic/intelligent, they give basic commands to game engine. ''Spawn enemies there if player reaches point X, give them weapons, start cutscene '', etc.. | ||
===Characters=== | |||
===Levels=== | |||
OBD refers to Oni Binay Data. Script commands are useless when their addressed resources don't exist. A BSL command might say "ai2_movetoflag characterA 7" (characterA moves to point 7) but the actual movement animation and flag comes from the binaries, in this case called TRAM and FLAG. [[OBD:File_types|Every resource]] has a four-letter-acronym. (Make sure to check out the talk pages, they might contain additional information such as '''[[XML_basic_tutorial#supported_file_types|XML documentations]]'''.) For example, TRAM stands for Totoro Animation. Nowadays, TRAM can be converted to XML almost bug-free. XML files can be read and rewritten more easily by hand but still lacks user-friendliness when it comes to a few special file types. | OBD refers to Oni Binay Data. Script commands are useless when their addressed resources don't exist. A BSL command might say "ai2_movetoflag characterA 7" (characterA moves to point 7) but the actual movement animation and flag comes from the binaries, in this case called TRAM and FLAG. [[OBD:File_types|Every resource]] has a four-letter-acronym. (Make sure to check out the talk pages, they might contain additional information such as '''[[XML_basic_tutorial#supported_file_types|XML documentations]]'''.) For example, TRAM stands for Totoro Animation. Nowadays, TRAM can be converted to XML almost bug-free. XML files can be read and rewritten more easily by hand but still lacks user-friendliness when it comes to a few special file types. | ||
Line 33: | Line 44: | ||
* one AE installation to test your own final mods, if no problems appears it's ready for release | * one AE installation to test your own final mods, if no problems appears it's ready for release | ||
== | ==Tools, documentations and tutorials== | ||
===BSL=== | ===BSL=== | ||
* introduction and database links [[BSL|HERE]] | * introduction and database links [[BSL|HERE]] | ||
Line 86: | Line 97: | ||
==inspiration | ==Need some inspiration?== | ||
Play some existing mods to get ideas (start with the [[AE]]), or look at the pages below. | |||
* [[Modding_brainstorms|Modding Brainstorms]] | * [[Modding_brainstorms|Modding Brainstorms]] | ||
* [[Review criticisms]] | * [[Review criticisms]] |