public static void Start() { var assetUri = new Uri("game:/#Zero"); AssetPack = assetUri.GetUltimaAssetPackAsync().Result(); //MakeObject("sta010").transform.Translate(Vector3.left * 1 + Vector3.up); //MakeObject("sta069").transform.Translate(Vector3.left * 1 + Vector3.down); //MakeObject("lnd001").transform.Translate(Vector3.right * 1); //MakeObject("lnd002").transform.Translate(Vector3.right * 1 + Vector3.up); //MakeObject("lnd516").transform.Translate(Vector3.right * 1 + Vector3.down); //MakeObject("gmp065").transform.Translate(Vector3.back * 5); MakeTexture("sta010"); //MakeTexture("sta069"); //MakeTexture("lnd001"); //MakeTexture("lnd002"); //MakeTexture("lnd516"); //MakeTexture("lnd1137"); //MakeTexture("gmp065"); //MakeTexture("tex789"); }
public static void Start() { var assetUri = new Uri("game:/#UltimaIX"); //var assetUri = new Uri("game:/static/bitmap16.flx#UltimaIX"); //var assetUri = new Uri("game:/static/Texture8.9#UltimaIX"); //var assetUri = new Uri("game:/static/Texture16.9#UltimaIX"); AssetPack = assetUri.GetUltimaIXAssetPackAsync().Result(); MakeObject("sappear/50"); //MakeTexture($"bitmap/1056", 0); MakeImage($"bitmap/1139", 0); MakeImage($"bitmap/6499", 5); MakeImage($"bitmap/6498", 10); //for (var i = 1087; i < 3000; i++) // if (AssetPack.ContainsFile($"texture/{i}")) // MakeTexture($"texture/{i}", 1087 - i); //for (var i = 0; i < 10; i++) // if (AssetPack.ContainsFile($"bitmap/{i}")) // MakeTexture($"bitmap/{i}", i); //MakeTexture("1087", 1); //MakeTexture("1211", 2); //MakeTexture("1360", 3); //MakeObject("0"); }
public static void Start() { var assetUri = new Uri("game:/#StarCitizen"); AssetPack = assetUri.GetCryAssetPackAsync().Result(); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_chevron.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_chevron_set_curved_left.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_chevron_set_curved_right.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_finish.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_lapindicator.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\holo_start.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\race_ring_holo_center.cgf"); //MakeObject(@"Data\Objects\DFM\DFM_NewHorizonSpeedway\architecture\race_ring\race_ring_holo_chevron.cgf"); MakeObject(@"Data\Objects\Spaceships\Ships\ARGO\MPUV_Utility_Vehicle\ARGO_MPUV_lod1.cga"); //MakeObject(@"Data\Objects\Spaceships\Ships\DRAK\Caterpillar\exteriors\DRAK_Caterpillar.cga"); //MakeObject(@"Data\Objects\Spaceships\Ships\DRAK\Caterpillar\exteriors\DRAK_Caterpillar_lod1.cga"); //MakeObject(@"Data\Objects\Spaceships\Ships\DRAK\Caterpillar\exteriors\DRAK_Caterpillar_lod5.cga"); //MakeObject(@"Data\Objects\Spaceships\Ships\MISC\Prospector\MISC_Prospector_lod1.cga"); //MakeObject(@"Data\Objects\Spaceships\Ships\MISC\Prospector\MISC_Prospector_lod5.cga"); //MakeObject(@"Data\Objects\animals\fish\CleanerFish_clean_prop_animal_01.chr"); //MakeObject(@"Data\Objects\animals\sandWorm\sandWorm.chr"); //MakeObject(@"Data\Objects\test\Dummytest.cgf"); }
public static void Start() { //var assetUri = new Uri("game:/Morrowind.bsa#Morrowind"); var assetUri = new Uri("http://192.168.1.3/ASSETS/Morrowind/Morrowind.bsa#Morrowind"); //var assetUri = new Uri("game:/Skyrim*#SkyrimVR"); //var assetUri = new Uri("game:/Fallout4*#Fallout4VR"); AssetPack = assetUri.GetTesAssetPackAsync().Result(); // Morrowind //MakeObject("meshes/i/in_dae_room_l_floor_01.nif"); //MakeObject("meshes/w/w_arrow01.nif"); MakeObject("meshes/x/ex_common_balcony_01.nif"); //MakeTexture("meshes/x/ex_common_balcony_01.nif"); // Skyrim //var nifFileLoadingTask = await Asset.LoadObjectInfoAsync("meshes/actors/alduin/alduin.nif"); //MakeObject("meshes/markerx.nif"); //MakeObject("meshes/w/w_arrow01.nif"); //MakeObject("meshes/x/ex_common_balcony_01.nif"); }
public NifManager(IAssetUnityPack asset, MaterialManager materialManager, int markerLayer) { _asset = asset; _materialManager = materialManager; _markerLayer = markerLayer; }
public TextureManager(IAssetUnityPack asset) => _asset = asset;