Exemple #1
0
        public static void Start()
        {
            var assetUri = new Uri("game:/#UltimaIX");
            var dataUri  = new Uri("game:/#UltimaIX");

            Engine = new SimpleEngine(UltimaIXEstateHandler.Handler, assetUri, dataUri);

            // engine (14 - Avatar House Earth)
            // engine (09 - Britania)
            Engine.CurrentWorld = 09;
            Engine.SpawnPlayer(PlayerPrefab, new Vector3(100f, 100f, 0));
        }
Exemple #2
0
        public static void Start()
        {
            var assetUri = new Uri("http://192.168.1.3/ASSETS/Morrowind/Morrowind.bsa#Morrowind");
            var dataUri  = new Uri("http://192.168.1.3/ASSETS/Morrowind/Morrowind.esm#Morrowind");

            //var assetUri = new Uri("game:/Morrowind.bsa#Morrowind");
            //var dataUri = new Uri("game:/Morrowind.esm#Morrowind");

            //var assetUri = new Uri("game:/Oblivion*#Oblivion");
            //var dataUri = new Uri("game:/Oblivion.esm#Oblivion");

            Engine = new SimpleEngine(TesEstateHandler.Handler, assetUri, dataUri);

            // engine
            Engine.SpawnPlayer(PlayerPrefab, new Vector3(-137.94f, 2.30f, -1037.6f)); // new Vector3Int(-2, -9)

            // engine - oblivion
            //Engine.SpawnPlayer(PlayerPrefab, new Vector3Int(0, 0, 60), new Vector3(0, 0, 0));
        }