mirror of
https://github.com/Retera/WarsmashModEngine.git
synced 2022-07-31 17:38:59 +02:00
Add warsmash ini, change model test file to load night elf campaign screen instead of arthas illidan fight
This commit is contained in:
parent
dcb68ba6c9
commit
5abb9e3fd9
13
core/assets/warsmash.ini
Normal file
13
core/assets/warsmash.ini
Normal file
@ -0,0 +1,13 @@
|
||||
[DataSources]
|
||||
Count=4
|
||||
Type00=Folder
|
||||
Path00="E:\Backups\Warcraft\Data\127"
|
||||
Type01=Folder
|
||||
Path01="..\..\resources"
|
||||
Type02=Folder
|
||||
Path02="E:\Backups\Warsmash\Data"
|
||||
Type03=Folder
|
||||
Path03="."
|
||||
|
||||
[Map]
|
||||
FilePath="RuinedGround.w3x"
|
@ -74,7 +74,8 @@ public class WarsmashGdxGame extends ApplicationAdapter implements CanvasProvide
|
||||
this.cameraManager = new CameraManager();
|
||||
this.cameraManager.setupCamera(scene);
|
||||
|
||||
this.mainModel = (MdxModel) this.viewer.load("Doodads\\Cinematic\\ArthasIllidanFight\\ArthasIllidanFight.mdx",
|
||||
// this.mainModel = (MdxModel) this.viewer.load("Doodads\\Cinematic\\ArthasIllidanFight\\ArthasIllidanFight.mdx",
|
||||
this.mainModel = (MdxModel) this.viewer.load("UI\\Glues\\SinglePlayer\\NightElf_Exp\\NightElf_Exp.mdx",
|
||||
// this.mainModel = (MdxModel) this.viewer.load("Abilities\\Spells\\Orc\\FeralSpirit\\feralspirittarget.mdx",
|
||||
new PathSolver() {
|
||||
@Override
|
||||
@ -94,7 +95,7 @@ public class WarsmashGdxGame extends ApplicationAdapter implements CanvasProvide
|
||||
|
||||
this.mainInstance.setScene(scene);
|
||||
|
||||
final int animIndex = 1;
|
||||
final int animIndex = 0;
|
||||
this.modelCamera = this.mainModel.cameras.get(animIndex);
|
||||
this.mainInstance.setSequence(animIndex);
|
||||
|
||||
@ -363,7 +364,7 @@ public class WarsmashGdxGame extends ApplicationAdapter implements CanvasProvide
|
||||
this.cameraManager.horizontalAngle = 0;
|
||||
}
|
||||
}
|
||||
this.modelCamera = this.mainModel.cameras.get(this.mainInstance.sequence);
|
||||
// this.modelCamera = this.mainModel.cameras.get(this.mainInstance.sequence);
|
||||
this.cameraManager.updateCamera();
|
||||
this.viewer.updateAndRender();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user