Jump to content

Windows Oni vs. Mac Oni: Difference between revisions

m
Line 9: Line 9:
The PC build is older, and as such it has a lot of "dev-and-debug" functionalities that were not used by the original script logic.
The PC build is older, and as such it has a lot of "dev-and-debug" functionalities that were not used by the original script logic.
When the Mac release was built, some of those features were completely left out.
When the Mac release was 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 (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 (meaning that the Dev Mode is, alas, completely missing from the Mac build)
*the absence of dev-console-related commands (meaning that the Dev Mode is, alas, completely missing from the Mac build)
Line 17: Line 17:
**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)
For further information, here are the complete lists of commands/variables as obtained with the '''dump_docs''' function call :
For further information, here are the complete lists of commands/variables as obtained with the '''dump_docs''' function call :
*[http://geyser.oni2.net/PCvsMac/script_commands_Mac.txt script_commands_Mac.txt]
*[http://geyser.oni2.net/PCvsMac/script_commands_Mac.txt script_commands_Mac.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]
As for the effect of the commands and variabes, 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.