5,389
edits
Line 6: | Line 6: | ||
Everything that has to do with cutscene authoring (recording character movements), and probably a little bit more. | Everything that has to do with cutscene authoring (recording character movements), and probably a little bit more. | ||
===Scripting | ===[[OSL:Oni Scripting Language|OSL]] functions/variables=== | ||
The PC build is older, and | The PC build is probably older, and so it has a lot of "dev-and-debug" functionalities that were not used by the original script logic. | ||
When the Mac | When the Mac and PC demo releases were built, some of those features were completely left out. | ||
[http://geyser.oni2.net/PCvsMac/script_commands_PConly.txt HERE] is the full list of commands and variables that are unavailable on Mac (by order of appearance in '''script_commands.txt'''). | [http://geyser.oni2.net/PCvsMac/script_commands_PConly.txt HERE] is the full list of commands and variables that are unavailable on Mac or PC demo (by order of appearance in '''script_commands.txt'''). | ||
While some of them may be obsolete, and thus may have little effect on PC, a lot of them are definitely ''not'' defunct, and their lack on Mac is a major limitation. For instance, one should note : | While some of them may be obsolete, and thus may have little effect on PC, a lot of them are definitely ''not'' defunct, and their lack on Mac is a major limitation. For instance, one should note : | ||
*the absence of dev-console-related commands ( | *the absence of dev-console-related commands (the [[Developer Mode|Dev Mode]], however, is available on Mac and PC demo : just somewhat limited) | ||
*the absence of '''chr_location''' and '''chr_location_settocamera'''. The placement of characters is thus limited by the original | *the absence of '''chr_location''' and '''chr_location_settocamera'''. The placement of characters is thus limited by the original set of "teleport" flags. | ||
*the absence of '''chr_focus''' and '''sc_focus'''. Thus none of the following is scriptable on Mac as of today : | *the absence of '''chr_focus''' and '''sc_focus'''. Thus none of the following is scriptable on Mac as of today : | ||
**shapeshifting bots and Tag mode in [[ONK:OTA|Oni Team Arena]] | **shapeshifting bots and Tag mode in [[ONK:OTA|Oni Team Arena]] | ||
**squad gameplay | **squad gameplay | ||
**intermittently "switching" to characters that are NPCs in the original logic (used in a few mods e.g. Loser's Warehouse) | **intermittently "switching" to characters that are NPCs in the original logic (used in a few mods e.g. Loser's Warehouse) | ||
*the absence of '''chr_health''', '''wp_reset''', and a few other commands/variables that make scripting more flexible. | *the absence of '''chr_health''', '''wp_reset''', and a few other commands/variables that make scripting more flexible. | ||
*other stuff I'm forgetting (there's quite a lot missing, really) | *other stuff I'm forgetting (there's quite a lot missing, really) | ||
Line 23: | Line 23: | ||
*[http://edt.oni2.net/files/script_commandsMacBeta.txt script_commands_MacBeta.txt] | *[http://edt.oni2.net/files/script_commandsMacBeta.txt script_commands_MacBeta.txt] | ||
*[http://geyser.oni2.net/PCvsMac/script_commands_PC.txt script_commands_PC.txt] | *[http://geyser.oni2.net/PCvsMac/script_commands_PC.txt script_commands_PC.txt] | ||
*[http://edt.oni2.net/files/ScriptComparison.xls Excel Document of the commands/variables side by side, PC, Mac, and Mac Beta] | *[http://edt.oni2.net/files/ScriptComparison.xls Excel Document of the commands/variables side by side, PC, Mac, and Mac Beta] (couldn't we have a lighter, wiki-friendly version? [[User:Geyser|geyser]]) | ||
As for the effect of the commands and variables, the best documentation so far is on ssg's [http://www6.fh-eberswalde.de/user/dkriesch/onistuff/commands.htm Oni Stuff]. It covers the full list of commands/variables, i.e. that of the PC version. | As for the effect of the commands and variables, the best documentation so far is on ssg's [http://www6.fh-eberswalde.de/user/dkriesch/onistuff/commands.htm Oni Stuff]. It covers the full list of commands/variables, i.e. that of the PC version. Porting it to Oni Galore, slowly but surely... | ||