Advertisement
Guest User

Untitled

a guest
Aug 7th, 2014
31,818
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- schema text {7e125a45-3d83-4043-b292-9e24f8ef27b4} generic {198980d8-3a93-4919-b4c6-dd1fb07a3a4b} -->
  2. CAssetTypeConfig
  3. {
  4. //////////////////////////////////////////////////////////////////
  5. // Resource Types
  6. //////////////////////////////////////////////////////////////////
  7.  
  8. CResourceAssetTypeInfo[] m_ResourceTypes =
  9. [
  10. CResourceAssetTypeInfo
  11. {
  12. string m_Name = "animation_asset"
  13. string m_FriendlyName = "Animation"
  14. string m_Ext = "vanim"
  15. string m_IconLg = "toolimages:assettypes/animation_lg.png"
  16. string m_IconSm = "toolimages:assettypes/animation_sm.png"
  17. string m_ResourceModule = "animationsystem"
  18. bool m_bHideTypeByDefault = true
  19. string[] m_AssetTypeGroups = ["Visual"]
  20. string m_CompilerIdentifier = "CompileAnimation"
  21. bool m_bCanBeAChildCompile = true
  22. },
  23.  
  24. CResourceAssetTypeInfo
  25. {
  26. string m_Name = "animgroup_asset"
  27. string m_FriendlyName = "Animation Group"
  28. string m_Ext = "vagrp"
  29. string m_IconLg = "toolimages:assettypes/animation_group_lg.png"
  30. string m_IconSm = "toolimages:assettypes/animation_group_sm.png"
  31. string m_ResourceModule = "animationsystem"
  32. bool m_bHideTypeByDefault = true
  33. string[] m_AssetTypeGroups = ["Visual"]
  34. string m_CompilerIdentifier = "CompileAnimGroup"
  35. bool m_bCanBeAChildCompile = true
  36. },
  37.  
  38. CResourceAssetTypeInfo
  39. {
  40. string m_Name = "sequence_asset"
  41. string m_FriendlyName = "Sequence Group"
  42. string m_Ext = "vseq"
  43. string m_IconLg = "toolimages:assettypes/animation_lg.png"
  44. string m_IconSm = "toolimages:assettypes/animation_sm.png"
  45. string m_ResourceModule = "animationsystem"
  46. bool m_bHideTypeByDefault = true
  47. string[] m_AssetTypeGroups = ["Visual"]
  48. string m_CompilerIdentifier = "CompileSequence"
  49. bool m_bCanBeAChildCompile = true
  50. },
  51.  
  52. CResourceAssetTypeInfo
  53. {
  54. string m_Name = "particle_asset"
  55. string m_FriendlyName = "Particle System"
  56. string m_Ext = "vpcf"
  57. string m_IconLg = "toolimages:assettypes/particles_lg.png"
  58. string m_IconSm = "toolimages:assettypes/particles_sm.png"
  59. string m_ResourceModule = "particles"
  60. string[] m_AssetTypeGroups = ["Visual"]
  61. string m_CompilerIdentifier = "CompileDynData"
  62. bool m_bPrefersLivePreview = true
  63. },
  64.  
  65. CResourceAssetTypeInfo
  66. {
  67. string m_Name = "material_asset"
  68. string m_FriendlyName = "Material"
  69. string m_Ext = "vmat"
  70. string m_IconLg = "toolimages:assettypes/material_lg.png"
  71. string m_IconSm = "toolimages:assettypes/material_sm.png"
  72. string m_ResourceModule = "materialsystem2"
  73. string[] m_AssetTypeGroups = ["Visual"]
  74. string m_CompilerIdentifier = "CompileMaterial"
  75.  
  76. AssetBadgeInfo_t[] m_AssetBadges =
  77. [
  78. AssetBadgeInfo_t
  79. {
  80. string m_EditInfoKey = "decal"
  81. string m_Icon = "toolimages:assetbrowser/asset_badges/vmat_decal.png"
  82. string m_Name = "Decal Material"
  83. string m_Description = "This material is a decal."
  84. },
  85. AssetBadgeInfo_t
  86. {
  87. string m_EditInfoKey = "VertexPaintStreamCount"
  88. string m_Icon = "toolimages:assetbrowser/asset_badges/vmat_blend.png"
  89. string m_Name = "Blend Material"
  90. string m_Description = "This material uses multi-layer blending."
  91. },
  92. AssetBadgeInfo_t
  93. {
  94. string m_EditInfoKey = "translucent"
  95. string m_Icon = "toolimages:assetbrowser/asset_badges/vmat_translucent.png"
  96. string m_Name = "Translucent Material"
  97. string m_Description = "This material is translucent (alpha-blended)."
  98. },
  99. AssetBadgeInfo_t
  100. {
  101. string m_EditInfoKey = "alphatest"
  102. string m_Icon = "toolimages:assetbrowser/asset_badges/vmat_alphatest.png"
  103. string m_Name = "Alpha-Tested Material"
  104. string m_Description = "This material is partially transparent (alpha-tested)."
  105. },
  106. AssetBadgeInfo_t
  107. {
  108. string m_EditInfoKey = "mapbuilder.nodraw"
  109. string m_Icon = "toolimages:assetbrowser/asset_badges/vmat_tools_nodraw.png"
  110. string m_Name = "Tools Nodraw Material"
  111. string m_Description = "This is a tools-only material that will not appear in-game."
  112. },
  113. ]
  114. },
  115.  
  116. CResourceAssetTypeInfo
  117. {
  118. string m_Name = "sheet_asset"
  119. string m_FriendlyName = "Sheet"
  120. string m_Ext = "vmks"
  121. string m_ResourceModule = "rendersystemdx9"
  122. bool m_bContentFileIsText = true
  123. string[] m_AssetTypeGroups = ["Visual"]
  124. },
  125.  
  126. CResourceAssetTypeInfo
  127. {
  128. string m_Name = "mesh_asset"
  129. string m_FriendlyName = "Mesh"
  130. string m_Ext = "vmesh"
  131. string m_IconLg = "toolimages:assettypes/mesh_lg.png"
  132. string m_IconSm = "toolimages:assettypes/mesh_sm.png"
  133. string m_ResourceModule = "meshsystem"
  134. bool m_bHideTypeByDefault = true
  135. bool m_bAutoRecompile = true
  136. string[] m_AssetTypeGroups = ["Visual"]
  137. string m_CompilerIdentifier = "CompileRenderMesh"
  138. },
  139.  
  140. CResourceAssetTypeInfo
  141. {
  142. string m_Name = "texture_asset"
  143. string m_FriendlyName = "Compiled Texture"
  144. string m_Ext = "vtex"
  145. string m_IconLg = "toolimages:assettypes/texture_lg.png"
  146. string m_IconSm = "toolimages:assettypes/texture_sm.png"
  147. string m_ResourceModule = "rendersystemdx9"
  148. bool m_bHideTypeByDefault = true
  149. string[] m_AssetTypeGroups = ["Visual"]
  150. string m_CompilerIdentifier = "CompileTexture"
  151. bool m_bCanBeAChildCompile = true
  152. },
  153.  
  154. CResourceAssetTypeInfo
  155. {
  156. string m_Name = "model_asset"
  157. string m_FriendlyName = "Model"
  158. string m_IconLg = "toolimages:assettypes/model_lg.png"
  159. string m_IconSm = "toolimages:assettypes/model_sm.png"
  160. string m_Ext = "vmdl"
  161. string m_ResourceModule = "worldrenderer"
  162. string[] m_AssetTypeGroups = ["Visual"]
  163. string m_CompilerIdentifier = "CompileModel"
  164. },
  165.  
  166. CResourceAssetTypeInfo
  167. {
  168. string m_Name = "physics_collision"
  169. string m_FriendlyName = "Physics Collision Mesh"
  170. string m_IconLg = "toolimages:assettypes/physics_lg.png"
  171. string m_IconSm = "toolimages:assettypes/physics_sm.png"
  172. string m_Ext = "vphys"
  173. string m_ResourceModule = "vphysics2"
  174. bool m_bHideTypeByDefault = true
  175. bool m_bIgnoreCompiledState = true
  176. string[] m_AssetTypeGroups = ["Physics"]
  177. string m_CompilerIdentifier = "CompileVPhysXData"
  178. bool m_bCanBeAChildCompile = true
  179. },
  180.  
  181. CResourceAssetTypeInfo
  182. {
  183. string m_Name = "sound_asset"
  184. string m_FriendlyName = "Sound"
  185. string m_Ext = "vsnd"
  186. string m_ResourceModule = "soundsystem"
  187. string[] m_AssetTypeGroups = ["Audio"]
  188. string[] m_AdditionalContentExtensions = ["mp3","wav"] // (in order: mp3 overrides wav)
  189. string m_CompilerIdentifier = "CompileSound"
  190. string[] m_EngineCommands = [ "play %r" ] // %r - corresponding resource name
  191. },
  192.  
  193. CResourceAssetTypeInfo
  194. {
  195. string m_Name = "morphset_asset"
  196. string m_FriendlyName = "MorphSet"
  197. string m_IconLg = "toolimages:assettypes/morph_lg.png"
  198. string m_IconSm = "toolimages:assettypes/morph_sm.png"
  199. string m_Ext = "vmorf"
  200. string m_ResourceModule = "meshsystem"
  201. bool m_bHideTypeByDefault = true
  202. string[] m_AssetTypeGroups = ["Visual"]
  203. string m_CompilerIdentifier = "CompileMorph"
  204. bool m_bCanBeAChildCompile = true
  205. },
  206.  
  207. CResourceAssetTypeInfo
  208. {
  209. string m_Name = "resourcemanifest_asset"
  210. string m_FriendlyName = "ResourceManifest"
  211. string m_Ext = "vrman"
  212. string m_ResourceModule = "resourcesystem"
  213. bool m_bHideTypeByDefault = true
  214. bool m_bContentFileIsText = true
  215. string[] m_AssetTypeGroups = ["System"]
  216. string m_CompilerIdentifier = "CompileResourceManifest"
  217. },
  218.  
  219. CResourceAssetTypeInfo
  220. {
  221. string m_Name = "world_asset"
  222. string m_FriendlyName = "World"
  223. string m_Ext = "vwrld"
  224. string m_ResourceModule = "worldrenderer"
  225. bool m_bHideTypeByDefault = true
  226. string[] m_AssetTypeGroups = ["Map"]
  227. string m_CompilerIdentifier = "CompileWorld"
  228. bool m_bPreventDirectCompile = true
  229. },
  230.  
  231. CResourceAssetTypeInfo
  232. {
  233. string m_Name = "worldnode_asset"
  234. string m_FriendlyName = "WorldNode"
  235. string m_Ext = "vwnod"
  236. string m_ResourceModule = "worldrenderer"
  237. bool m_bHideTypeByDefault = true
  238. string[] m_AssetTypeGroups = ["Map"]
  239. string m_CompilerIdentifier = "CompileWorldNode"
  240. bool m_bPreventDirectCompile = true
  241. },
  242.  
  243. CResourceAssetTypeInfo
  244. {
  245. string m_Name = "worldvis_asset"
  246. string m_FriendlyName = "WorldVisibility"
  247. string m_Ext = "vvis"
  248. string m_ResourceModule = "worldrenderer"
  249. bool m_bHideTypeByDefault = true
  250. string[] m_AssetTypeGroups = ["Map"]
  251. string m_CompilerIdentifier = "CompileMapVisibility"
  252. },
  253.  
  254. CResourceAssetTypeInfo
  255. {
  256. string m_Name = "entitylump_asset"
  257. string m_FriendlyName = "EntityLump"
  258. string m_Ext = "vents"
  259. string m_ResourceModule = "worldrenderer"
  260. bool m_bHideTypeByDefault = true
  261. string[] m_AssetTypeGroups = ["Map"]
  262. string m_CompilerIdentifier = "CompileEntityLump"
  263. bool m_bPreventDirectCompile = true
  264. },
  265.  
  266. CResourceAssetTypeInfo
  267. {
  268. string m_Name = "surface_properties"
  269. string m_FriendlyName = "Surface Properties"
  270. string m_Ext = "vsurf"
  271. string m_IconLg = "toolimages:assettypes/surface_lg.png"
  272. string m_IconSm = "toolimages:assettypes/surface_sm.png"
  273. string m_ResourceModule = "vphysics2"
  274. string[] m_AssetTypeGroups = ["Physics","Visual","Audio"]
  275. string m_CompilerIdentifier = "CompileSurfaceProperties"
  276. },
  277.  
  278. CResourceAssetTypeInfo
  279. {
  280. string m_Name = "game_sound_script"
  281. string m_FriendlyName = "Game Sound Script"
  282. string m_Ext = "vgscr"
  283. string m_ResourceModule = "soundemittersystem"
  284. string m_AdditionalResourceModules = [ "soundsystem" ]
  285. string[] m_AssetTypeGroups = ["Audio"]
  286. string m_CompilerIdentifier = "CompileGameSoundScript"
  287. },
  288.  
  289. CResourceAssetTypeInfo
  290. {
  291. string m_Name = "sound_event_script"
  292. string m_FriendlyName = "Sound Event Script"
  293. string m_Ext = "vsndevts"
  294. string m_ResourceModule = "soundemittersystem"
  295. string m_AdditionalResourceModules = [ "soundsystem" ]
  296. string[] m_AssetTypeGroups = ["Audio"]
  297. string m_CompilerIdentifier = "CompileSoundEventScript"
  298. },
  299.  
  300. CResourceAssetTypeInfo
  301. {
  302. string m_Name = "sound_stack_script"
  303. string m_FriendlyName = "Sound Stack Script"
  304. string m_Ext = "vsndstck"
  305. string m_ResourceModule = "soundsystem"
  306. string[] m_AssetTypeGroups = ["Audio"]
  307. string m_CompilerIdentifier = "CompileSoundStackScript"
  308. },
  309.  
  310. CResourceAssetTypeInfo
  311. {
  312. string m_Name = "bitmap_font"
  313. string m_FriendlyName = "Bitmap Font"
  314. string m_Ext = "vfont"
  315. bool m_bHideTypeByDefault = true
  316. string[] m_AssetTypeGroups = ["Visual"]
  317. string m_CompilerIdentifier = "CompileFont"
  318. },
  319.  
  320. CResourceAssetTypeInfo
  321. {
  322. string m_Name = "resource_remap_table"
  323. string m_FriendlyName = "Resource Remap Table"
  324. string m_Ext = "vrmap"
  325. string m_ResourceModule = "worldrenderer" // ???
  326. bool m_bHideTypeByDefault = true
  327. string m_CompilerIdentifier = "CompileResourceRemapTable"
  328. },
  329. ]
  330.  
  331.  
  332. //////////////////////////////////////////////////////////////////
  333. // Simple (non-Resource) Assets
  334. //////////////////////////////////////////////////////////////////
  335.  
  336. CSimpleAssetTypeInfo[] m_SimpleAssets =
  337. [
  338. CSimpleAssetTypeInfo
  339. {
  340. string m_Name = "lua_asset"
  341. string m_FriendlyName = "Lua Script"
  342. string m_Ext = "lua"
  343. string m_IconLg = "toolimages:assettypes/text_lg.png"
  344. string m_IconSm = "toolimages:assettypes/text_sm.png"
  345. bool m_bContentFileIsText = true
  346. string[] m_AssetTypeGroups = ["Game"]
  347. },
  348.  
  349. CSimpleAssetTypeInfo
  350. {
  351. string m_Name = "mks_asset"
  352. string m_FriendlyName = "Sheetfile"
  353. string m_Ext = "mks"
  354. bool m_bContentFileIsText = true
  355. string[] m_AssetTypeGroups = ["Visual"]
  356. },
  357.  
  358. CSimpleAssetTypeInfo
  359. {
  360. string m_Name = "maya_ma"
  361. string m_FriendlyName = "Maya ASCII"
  362. string m_Ext = "ma"
  363. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  364. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  365. bool m_bHideTypeByDefault = true
  366. string[] m_AssetTypeGroups = ["Visual"]
  367. },
  368.  
  369. CSimpleAssetTypeInfo
  370. {
  371. string m_Name = "maya_mb"
  372. string m_FriendlyName = "Maya Binary"
  373. string m_Ext = "mb"
  374. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  375. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  376. bool m_bHideTypeByDefault = true
  377. string[] m_AssetTypeGroups = ["Visual"]
  378. },
  379.  
  380. CSimpleAssetTypeInfo
  381. {
  382. string m_Name = "modo_lxo"
  383. string m_FriendlyName = "Modo"
  384. string m_Ext = "lxo"
  385. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  386. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  387. bool m_bHideTypeByDefault = true
  388. string[] m_AssetTypeGroups = ["Visual"]
  389. },
  390.  
  391. CSimpleAssetTypeInfo
  392. {
  393. string m_Name = "smd_asset"
  394. string m_FriendlyName = "smd file"
  395. string m_Ext = "smd"
  396. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  397. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  398. bool m_bHideTypeByDefault = true
  399. string[] m_AssetTypeGroups = ["Visual"]
  400. },
  401.  
  402. CSimpleAssetTypeInfo
  403. {
  404. string m_Name = "fbx_asset"
  405. string m_FriendlyName = "fbx"
  406. string m_Ext = "fbx"
  407. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  408. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  409. bool m_bHideTypeByDefault = true
  410. string[] m_AssetTypeGroups = ["Visual"]
  411. },
  412.  
  413. CSimpleAssetTypeInfo
  414. {
  415. string m_Name = "obj_asset"
  416. string m_FriendlyName = "obj"
  417. string m_Ext = "obj"
  418. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  419. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  420. bool m_bHideTypeByDefault = true
  421. string[] m_AssetTypeGroups = ["Visual"]
  422. },
  423.  
  424. CSimpleAssetTypeInfo
  425. {
  426. string m_Name = "qc_asset"
  427. string m_FriendlyName = "qc"
  428. string m_Ext = "qc"
  429. string m_IconLg = "toolimages:assettypes/text_lg.png"
  430. string m_IconSm = "toolimages:assettypes/text_lg.png"
  431. bool m_bHideTypeByDefault = true
  432. string[] m_AssetTypeGroups = ["Visual"]
  433. },
  434.  
  435. CSimpleAssetTypeInfo
  436. {
  437. string m_Name = "meshgroup_file"
  438. string m_FriendlyName = "Meshgroup File"
  439. string m_Ext = "meshgrp"
  440. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  441. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  442. bool m_bHideTypeByDefault = true
  443. string[] m_AssetTypeGroups = ["Visual"]
  444. },
  445.  
  446. CSimpleAssetTypeInfo
  447. {
  448. string m_Name = "lodgroup_file"
  449. string m_FriendlyName = "Lodgroup File"
  450. string m_Ext = "lodgrp"
  451. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  452. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  453. bool m_bHideTypeByDefault = true
  454. string[] m_AssetTypeGroups = ["Visual"]
  455. },
  456.  
  457. CSimpleAssetTypeInfo
  458. {
  459. string m_Name = "breakgroup_file"
  460. string m_FriendlyName = "Breakgroup File"
  461. string m_Ext = "brkgrp"
  462. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  463. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  464. bool m_bHideTypeByDefault = true
  465. string[] m_AssetTypeGroups = ["Visual"]
  466. },
  467.  
  468. CSimpleAssetTypeInfo
  469. {
  470. string m_Name = "propdata_file"
  471. string m_FriendlyName = "Prop Data File"
  472. string m_Ext = "propdata"
  473. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  474. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  475. bool m_bHideTypeByDefault = true
  476. string[] m_AssetTypeGroups = ["Visual"]
  477. },
  478.  
  479. CSimpleAssetTypeInfo
  480. {
  481. string m_Name = "matgroup_file"
  482. string m_FriendlyName = "Matrgoup File"
  483. string m_Ext = "matgrp"
  484. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  485. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  486. bool m_bHideTypeByDefault = true
  487. string[] m_AssetTypeGroups = ["Visual"]
  488. },
  489.  
  490. CSimpleAssetTypeInfo
  491. {
  492. string m_Name = "keyvalues_asset"
  493. string m_FriendlyName = "KV File"
  494. string m_Ext = "kv"
  495. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  496. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  497. bool m_bHideTypeByDefault = true
  498. bool m_bContentFileIsText = true
  499. string[] m_AssetTypeGroups = ["System"]
  500. },
  501.  
  502. CSimpleAssetTypeInfo
  503. {
  504. string m_Name = "text_asset"
  505. string m_FriendlyName = "TXT File"
  506. string m_Ext = "txt"
  507. string m_IconLg = "toolimages:assettypes/text_lg.png"
  508. string m_IconSm = "toolimages:assettypes/text_sm.png"
  509. bool m_bHideTypeByDefault = true
  510. bool m_bContentFileIsText = true
  511. string[] m_AssetTypeGroups = ["System"]
  512. },
  513.  
  514. CSimpleAssetTypeInfo
  515. {
  516. string m_Name = "hitboxsetlist_asset"
  517. string m_FriendlyName = "Hitbox File"
  518. string m_Ext = "hitboxes"
  519. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  520. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  521. string[] m_AssetTypeGroups = ["System"]
  522. },
  523.  
  524. CSimpleAssetTypeInfo
  525. {
  526. string m_Name = "collision_asset"
  527. string m_FriendlyName = "Collision File"
  528. string m_Ext = "collision"
  529. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  530. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  531. bool m_bHideTypeByDefault = true
  532. string[] m_AssetTypeGroups = ["System"]
  533. },
  534.  
  535. CSimpleAssetTypeInfo
  536. {
  537. string m_Name = "attachment_asset"
  538. string m_FriendlyName = "Attachment File"
  539. string m_Ext = "attach"
  540. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  541. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  542. bool m_bHideTypeByDefault = true
  543. string[] m_AssetTypeGroups = ["System"]
  544. },
  545.  
  546. CSimpleAssetTypeInfo
  547. {
  548. string m_Name = "boneflag_asset"
  549. string m_FriendlyName = "BoneFlags File"
  550. string m_Ext = "boneflags"
  551. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  552. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  553. bool m_bHideTypeByDefault = true
  554. string[] m_AssetTypeGroups = ["System"]
  555. },
  556.  
  557. CSimpleAssetTypeInfo
  558. {
  559. string m_Name = "bindpose_asset"
  560. string m_FriendlyName = "BindPose File"
  561. string m_Ext = "bindpose"
  562. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  563. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  564. bool m_bHideTypeByDefault = true
  565. string[] m_AssetTypeGroups = ["System"]
  566. },
  567.  
  568. CSimpleAssetTypeInfo
  569. {
  570. string m_Name = "skeleton_asset"
  571. string m_FriendlyName = "Skeleton Retarget File"
  572. string m_Ext = "skeleton"
  573. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  574. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  575. bool m_bHideTypeByDefault = true
  576. string[] m_AssetTypeGroups = ["System"]
  577. },
  578.  
  579. CSimpleAssetTypeInfo
  580. {
  581. string m_Name = "constraint_asset"
  582. string m_FriendlyName = "Constraint File"
  583. string m_Ext = "constraint"
  584. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  585. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  586. bool m_bHideTypeByDefault = true
  587. string[] m_AssetTypeGroups = ["System"]
  588. },
  589.  
  590. CSimpleAssetTypeInfo
  591. {
  592. string m_Name = "physics_cloth"
  593. string m_FriendlyName = "Physics Cloth Information"
  594. string m_IconLg = "toolimages:assettypes/physics_lg.png"
  595. string m_IconSm = "toolimages:assettypes/physics_sm.png"
  596. string m_Ext = "cloth"
  597. bool m_bHideTypeByDefault = true
  598. string[] m_AssetTypeGroups = ["Physics"]
  599. },
  600.  
  601. CSimpleAssetTypeInfo
  602. {
  603. string m_Name = "legacy_ani"
  604. string m_FriendlyName = "Legacy Animation"
  605. string m_Ext = "ani"
  606. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  607. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  608. bool m_bHideTypeByDefault = true
  609. string[] m_AssetTypeGroups = ["Visual"]
  610. },
  611.  
  612. CSimpleAssetTypeInfo
  613. {
  614. string m_Name = "legacy_mdl"
  615. string m_FriendlyName = "Legacy Model"
  616. string m_Ext = "mdl"
  617. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  618. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  619. bool m_bHideTypeByDefault = true
  620. string[] m_AssetTypeGroups = ["Visual"]
  621. },
  622.  
  623. CSimpleAssetTypeInfo
  624. {
  625. string m_Name = "legacy_vtx"
  626. string m_FriendlyName = "Legacy Texture File"
  627. string m_Ext = "vtx"
  628. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  629. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  630. bool m_bHideTypeByDefault = true
  631. string[] m_AssetTypeGroups = ["Visual"]
  632. },
  633.  
  634. CSimpleAssetTypeInfo
  635. {
  636. string m_Name = "legacy_phy"
  637. string m_FriendlyName = "Legacy Physics File"
  638. string m_Ext = "phy"
  639. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  640. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  641. bool m_bHideTypeByDefault = true
  642. string[] m_AssetTypeGroups = ["Physics"]
  643. },
  644. ]
  645.  
  646. CBitmapAssetTypeInfo[] m_BitmapTypes =
  647. [
  648. CBitmapAssetTypeInfo
  649. {
  650. string m_Name = "psd_asset"
  651. string m_FriendlyName = "Photoshop File"
  652. string m_Ext = "psd"
  653. string m_IconLg = "toolimages:assettypes/generic_image_lg.png"
  654. string m_IconSm = "toolimages:assettypes/generic_image_sm.png"
  655. string[] m_AssetTypeGroups = ["Visual"]
  656. },
  657.  
  658. CBitmapAssetTypeInfo
  659. {
  660. string m_Name = "tga_asset"
  661. string m_FriendlyName = "TGA File"
  662. string m_Ext = "tga"
  663. string m_IconLg = "toolimages:assettypes/generic_image_lg.png"
  664. string m_IconSm = "toolimages:assettypes/generic_image_sm.png"
  665. string[] m_AssetTypeGroups = ["Visual"]
  666. },
  667.  
  668. CBitmapAssetTypeInfo
  669. {
  670. string m_Name = "tif_asset"
  671. string m_FriendlyName = "TIF File"
  672. string m_Ext = "tif"
  673. string m_IconLg = "toolimages:assettypes/generic_image_lg.png"
  674. string m_IconSm = "toolimages:assettypes/generic_image_sm.png"
  675. string[] m_AssetTypeGroups = ["Visual"]
  676. },
  677.  
  678. CBitmapAssetTypeInfo
  679. {
  680. string m_Name = "tiff_asset"
  681. string m_FriendlyName = "TIFF File"
  682. string m_Ext = "tiff"
  683. string m_IconLg = "toolimages:assettypes/generic_image_lg.png"
  684. string m_IconSm = "toolimages:assettypes/generic_image_sm.png"
  685. string[] m_AssetTypeGroups = ["Visual"]
  686. },
  687.  
  688. CBitmapAssetTypeInfo
  689. {
  690. string m_Name = "pfm_asset"
  691. string m_FriendlyName = "PFM File"
  692. string m_Ext = "pfm"
  693. string m_IconLg = "toolimages:assettypes/generic_image_lg.png"
  694. string m_IconSm = "toolimages:assettypes/generic_image_sm.png"
  695. string[] m_AssetTypeGroups = ["Visual"]
  696. }
  697. ]
  698.  
  699. CDatamodelAssetTypeInfo[] m_DatamodelTypes =
  700. [
  701. CDatamodelAssetTypeInfo
  702. {
  703. string m_Name = "dmx_asset"
  704. string m_FriendlyName = "DMX File"
  705. string m_Ext = "dmx"
  706. string m_IconLg = "toolimages:assettypes/generic_lg.png"
  707. string m_IconSm = "toolimages:assettypes/generic_sm.png"
  708. bool m_bHideTypeByDefault = true
  709. string[] m_AssetTypeGroups = ["System"]
  710. }
  711. ]
  712.  
  713. CMapAssetTypeInfo[] m_MapTypes =
  714. [
  715. CMapAssetTypeInfo
  716. {
  717. string m_Name = "map_asset"
  718. string m_FriendlyName = "Map"
  719. string m_Ext = "vmap"
  720. string m_ResourceModule = "worldrenderer"
  721. string m_IconLg = "toolimages:assettypes/map_lg.png"
  722. string m_IconSm = "toolimages:assettypes/map_sm.png"
  723. string[] m_AssetTypeGroups = [ "Map" ]
  724. string[] m_SuppressSubstrings = [ "pak01_" ]
  725. string m_CompilerIdentifier = "CompileMap"
  726. string[] m_EngineCommands = [ "map %m" ] // %m - minimal filename, no path, no extension
  727. }
  728. ]
  729.  
  730. CAssetInfoFilterParams m_DefaultFilter = CAssetInfoFilterParams
  731. {
  732. CAssetInfoFilterParams::InfoDataFilter_t[] m_Filters =
  733. [
  734. CAssetInfoFilterParams::InfoDataFilter_t
  735. {
  736. string m_Name = "PieceOfModel"
  737. string m_Value = "0"
  738. symbol m_FilterFunc = 2
  739. }
  740. ]
  741. }
  742. }
Advertisement
RAW Paste Data Copied
Advertisement