32 lines
1.2 KiB
Plaintext
Executable File
32 lines
1.2 KiB
Plaintext
Executable File
--
|
|
-- File:: %RS_TOOLSLIB%/util/ragebuilder/convert_occluders.rbs
|
|
-- Description:: Convert occluder meshes Ragebuilder interface script.
|
|
--
|
|
-- Author:: David Muir <david.muir@rockstarnorth.com>
|
|
-- Date:: 7 November 2011
|
|
--
|
|
|
|
-----------------------------------------------------------------------------
|
|
-- Globals
|
|
-----------------------------------------------------------------------------
|
|
local input = get_param( "input" )
|
|
local output = get_param( "output" )
|
|
|
|
-----------------------------------------------------------------------------
|
|
-- Functions
|
|
-----------------------------------------------------------------------------
|
|
-- None
|
|
|
|
-----------------------------------------------------------------------------
|
|
-- Entry-Point
|
|
-----------------------------------------------------------------------------
|
|
|
|
-- Passing win64 below to prevent erroring with setting platform in ragebuilder - "Attempting to set platform incorrectly. Internal error."
|
|
-- Doesn't affect the export data since it's just mesh to xml files to get used later in export.
|
|
set_platform( "win64" )
|
|
|
|
load_occ_meshes( input )
|
|
save_occ_xml( output )
|
|
|
|
-- %RS_TOOLSLIB%/util/ragebuilder/convert_occluders.rbs
|