EventInfo.product.sbyml: Difference between revisions
Jump to navigation
Jump to search
→Demos
imported>Leoetlino (→XLink) |
imported>Leoetlino (→Demos) |
||
Line 155: | Line 155: | ||
==== Demos ==== | ==== Demos ==== | ||
An event is considered to be a demo if the entry point name contains "Demo". | An event is considered to be a demo if the entry point name contains "Demo". | ||
When loading demo events, EventResource automatically loads "Demo/%s.bdemo" % (entry_name), and a CameraSystem instance is constructed. | |||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name !! Type !! Description | ! Name !! Type !! Description | ||
|- | |- | ||
| exist_extra_model || bool || Whether a demo model exists. If true, "Model/%s.bfres" % (entry_name) is loaded. | |||
|- | |||
|} | |||
===== CameraSystem ===== | |||
{|class="wikitable sortable" | |||
! Name !! Type !! Description | |||
|- | |||
| camera || array || List of [[Camera]] files. | |||
For each entry, CameraSystem loads "Camera/%s/%s" % (entry name, camera file name). | |||
{|class="wikitable sortable" | |||
! Name !! Type !! Description | |||
|- | |||
| name || string || File name (e.g. C01-0.bcamanim) | |||
|- | |||
|} | |||
|- | |||
|} | |||
===== DemoAS ===== | |||
{|class="wikitable sortable" | |||
! Name !! Type !! Description | |||
|- | |||
| as || array || List of [[AS]] names to load. | |||
For each entry, DemoASLoader loads "Actor/AS/%s/%s.bas" % (entry name, AS name). | |||
{|class="wikitable sortable" | |||
! Name !! Type !! Description | |||
|- | |||
| name || string || AS name (e.g. Demo117_0-C00-Npc_Rito_Teba-A-0) | |||
|- | |||
|} | |||
|- | |- | ||
|} | |} |