Windows Oni vs. Mac Oni: Difference between revisions

show_trigger_volumes is no longer a difference between Mac Intel and Windows + Daodan; mentioning sound quality; PC -> Windows, as elsewhere on the wiki
m (→‎File formats: wording)
(show_trigger_volumes is no longer a difference between Mac Intel and Windows + Daodan; mentioning sound quality; PC -> Windows, as elsewhere on the wiki)
Line 1: Line 1:
There are no significant gameplay differences between the PC and Mac versions. However, there are some minor differences in scripting functionality that modders should be aware of.
There are no significant gameplay or content differences between the Windows and Mac versions. However, there are some minor differences in scripting functionality that modders should be aware of.


==PC exclusives==
==Windows exclusives==
There are no known significant features found only in Windows Oni, but there are a couple differences in BSL functionality (see "Other differences" section below) and in the [[Developer Mode#Controls|Developer Mode controls]].
There are no known significant features found only in Windows Oni, but there are a couple differences in BSL functionality (see "Other differences" section below) and in the [[Developer Mode#Controls|Developer Mode controls]]. Also, sounds are generally 44KHz, but only 22KHz in Mac Oni.


==Mac exclusives==
==Mac exclusives==
Line 17: Line 17:


===New BSL commands===
===New BSL commands===
Modders may find it helpful to set the following new variables to true: '''am_show_texturename''', '''chr_show_weaponid''', and '''show_triggervolumes''' (also enabled with Ctrl-Shift-X).
Modders may find it helpful to set the following new variables to true: '''am_show_texturename''', '''chr_show_weaponid'''.


===Modified BSL commands===
===Modified BSL commands===
Line 38: Line 38:
==Other differences==
==Other differences==
===BSL functions===
===BSL functions===
*PCs have the handy '''li_center_cursor''', though this behavior is hardcoded to be on all the time on Macs.
*Windows Oni can turn '''li_center_cursor''' on/off, whereas this behavior is hardcoded to be on all the time on Macs.
*'''chr_location''' can take the AI's name as a string or the AI's index number on Macs, but only the AI's index number on PC.
*'''chr_location''' can take the AI's name as a string or the AI's index number on Macs, but only the AI's index number on Windows.
*Macs can show attack extents by passing an animation name to the '''chr_showextent''' command (with the '''chr_showextent_globals''' variable set to true).
*Macs can show attack extents by passing an animation name to the '''chr_showextent''' command (with the '''chr_showextent_globals''' variable set to true).


===BSL variables===
===BSL variables===
*Only PCs have the boolean '''ai2_debug_localmove_lines'''.
*Only Windows Oni has the boolean '''ai2_debug_localmove_lines'''.
*Macs can show attack extents with the '''chr_showextent_globals''' variable set to true by watching characters attack (or by passing an animation name to the '''chr_showextent''' command).
*Macs can show attack extents with the '''chr_showextent_globals''' variable set to true by watching characters attack (or by passing an animation name to the '''chr_showextent''' command).
*Macs can also show trigger volumes using '''show_triggervolumes'''.
*Macs can display the weapon name when equipping a weapon if '''chr_show_weaponid''' is true.
*Macs can display the weapon name when equipping a weapon if '''chr_show_weaponid''' is true.
*Macs have a few probably-useless variables for graphics left over from the debugging days at Bungie: '''debug_font_cache''', '''gl_disable_dxt1''', '''gl_disable_packed_pixels''', and '''gl_mipmap_offset'''.
*Macs have a few probably-useless variables for graphics left over from the debugging days at Bungie: '''debug_font_cache''', '''gl_disable_dxt1''', '''gl_disable_packed_pixels''', and '''gl_mipmap_offset'''.


===Level logic===
===Level logic===
The contents of the [[IGMD|IGMD]] folders are exactly the same on Mac and PC, except for tctf_ii ({{C13}}); these changes were made in the logic of the boss battle and cutscenes:
The contents of the [[IGMD|IGMD]] folders are exactly the same on Windows and the Mac, except for tctf_ii ({{C13}}); these changes were made in the logic of the boss battle and cutscenes:
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf2.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf2.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf2.bsl]
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf2.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf2.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf2.bsl]
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf_ii_cutscene.bsl]
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf_ii_cutscene.bsl]
The [[IGMD/global|global]] folder is not recognized by the PC demo and Mac PPC engines, but is by the Mac Intel build from Feral.


===File formats===
===File formats===