Oni (folder)/GameDataFolder/IGMD: Difference between revisions

moved note about global/ here from Oni (folder)/GameDataFolder; tweaked some links
m (minor wording)
(moved note about global/ here from Oni (folder)/GameDataFolder; tweaked some links)
 
Line 3: Line 3:
'''Notes on this folder'''
'''Notes on this folder'''
*The scripts in the subfolders of IGMD are plain-text files with a .bsl extension, written in [[BSL|BFW Scripting Language]].
*The scripts in the subfolders of IGMD are plain-text files with a .bsl extension, written in [[BSL|BFW Scripting Language]].
*[[IGMD/global]] is not present by default, but if it is created, the functions in any scripts placed inside it will be accessible from all levels; however, the Windows demo engine ignores the global/ folder.
*Oni treats the level folder names as case-insensitive, so you can rename "EnvWarehouse" to "eNvwArEhOuSe" and you'll still be able to play Chapter 1.
*Oni treats the level folder names as case-insensitive, so you can rename "EnvWarehouse" to "eNvwArEhOuSe" and you'll still be able to play Chapter 1.
*The Mac and Windows scripts are identical except for minor differences in '''tctf_ii_cutscene.bsl''' and '''tctf2.bsl''' for the boss battle of Chapter 13, shown [[PC vs Mac#Level_logic|HERE]].
*The Mac and Windows scripts are identical except for minor differences in '''tctf_ii_cutscene.bsl''' and '''tctf2.bsl''' for the boss battle of Chapter 13, shown at {{SectionLink|Windows Oni vs. Mac Oni|Level logic}}.
*The folders only present in the Euro Mac and PS2 IGMDs are development relics which do not correspond to [[Chapters|Chapters of the game]]; there are no level#_Final.dat/.raw(/.sep) files for them and so the script folders are never looked up by the engine. See [[Pre-beta content#Cut levels|HERE]] for an overview of the cut levels.
*The folders only present in the Euro Mac and PS2 IGMDs are development relics which do not correspond to chapters of the game; there are no level#_Final.dat/.raw(/.sep) files for them and so the script folders are never looked up by the engine. See [[Pre-beta content#Cut levels|HERE]] for an overview of the cut levels.
*The PS2's script folders 12/ (EnvWarehouse/) and 15/ (manplant/) each contain a "test" subfolder which is a backup of the unmodified scripts. The scripts in the main folder for each level are typically modified from the PC version, although those modifications are minor (documented on [[PS2 vs PC]]).
*The PS2's script folders 12/ (EnvWarehouse/) and 15/ (manplant/) each contain a "test" subfolder which is a backup of the unmodified scripts. The scripts in the main folder for each level are typically modified from the PC version in minor ways, documented on [[Oni (PlayStation 2)]].


{| class="wikitable sortable" style="margin-left:auto; margin-right:auto;"
{| class="wikitable sortable" style="margin-left:auto; margin-right:auto;"
Line 14: Line 15:
!Play-<br>Station 2
!Play-<br>Station 2
!Chapter
!Chapter
!Location (as in Load Game dialog)
!Location (seen in Load Game dialog)
|-
|-
|bgcolor=lightgray|
|bgcolor=lightgray|