Jump to content

Windows Oni vs. Mac Oni: Difference between revisions

→‎BSL: adding sound variables; wording
(reorganization and update for Mac Oni 1.2)
(→‎BSL: adding sound variables; wording)
Line 48: Line 48:


===BSL===
===BSL===
Any BSL commands left in a text file with the name '''bsl_config.txt'''' alongside the Oni app will be run upon level load. This is equivalent to using the "[[IGMD/global|global]]" folder in IGMD, which the Mac also supports.
Any BSL commands left in a text file with the name '''bsl_config.txt''' alongside the Oni app will be run upon level load. This is equivalent to using the "[[IGMD/global|global]]" folder in IGMD, which the Mac also supports. Besides the difference that the function '''chr_location''' can take either the AI's name or the AI's index number on Macs, but only the AI's index number on Windows, the following functions and variables are Mac-only:
*Macs can have the mouse speed set with '''mouse_acceleration''' (0.1-1.0).
*The mouse speed can be set with '''mouse_acceleration''' (0.1-1.0).
*The function '''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.
*You can see attack extents by passing an animation name to the '''chr_showextent''' command (with the '''chr_showextent_globals''' variable set to 1).
*Macs can show attack extents by passing an animation name to the '''chr_showextent''' command (with the '''chr_showextent_globals''' variable set to 1).
*You can see attack extents with the '''chr_showextent_globals''' variable set to 1 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 1 by watching characters attack (or by passing an animation name to the '''chr_showextent''' command).
*The name of a weapon will display when it is equipped if '''chr_show_weaponid''' is set to 1 (a similar feature that comes through the Daodan DLL will show for all players, not just in Developer Mode).
*Macs can display the name of a weapon when it is equipped if '''chr_show_weaponid''' is set to 1.
*You can see the name of a texture by setting '''am_show_texturename''' to 1 and pointing to a texture while holding a weapon with an active laser sight.
*Macs can display the name of a texture if they set '''am_show_texturename''' to 1 and point to a texture with a weapon that has an active laser sight.
*You can see the area in which a sound is audible using the variables '''show_sound_all''', '''show_sound_rectangles''', and '''show_sound_spheres'''.
*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'''.