Structures inside structures works now, new Healing Machine & restart music when applying contentpacks fix

This commit is contained in:
JappaWakka 2021-10-19 20:40:37 +02:00
parent 7dbe1a899d
commit 2941da57dd
8 changed files with 17 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,11 @@
Healing Machine:
Left Side
{"Entity"{ENT[{"Scale"{sngArr[0.6,0.4,0.2]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[-0.4,-0.3,0]}}{"TexturePath"{str[Lab]}}{"Textures"{recArr[[24,80,20,16][32,80,4,16]]}}{"TextureIndex"{intArr[0,0,1,1,0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[2]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[1]}}]}}
Right side
{"Entity"{ENT[{"Scale"{sngArr[0.6,0.4,0.2]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[0.45,-0.3,0]}}{"TexturePath"{str[Lab]}}{"Textures"{recArr[[24,80,20,16][32,80,4,16]]}}{"TextureIndex"{intArr[0,0,1,1,0,0]}}{"Collision"{bool[0]}}{"ModelID"{int[2]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[3]}}]}}
Front
{"Entity"{ENT[{"Scale"{sngArr[0.65,0.4,0.1]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[0.025,-0.3,0.35]}}{"TexturePath"{str[Lab]}}{"Textures"{recArr[[18,105,18,14][18,102,18,3][36,105,3,14][39,105,3,14]]}}{"TextureIndex"{intArr[0,0,3,3,2,2,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[0]}}]}}
Panel
{"Entity"{ENT[{"Scale"{sngArr[0.65,0.7,0.2]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[0.025,-0.15,-0.4]}}{"TexturePath"{str[Lab]}}{"Textures"{recArr[[6,83,18,19][6,80,18,3][0,83,3,19][3,83,3,19]]}}{"TextureIndex"{intArr[0,0,3,3,2,2,0,0,1,1]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[0]}}]}}
Base
{"Entity"{ENT[{"Scale"{sngArr[0.65,0.3,0.6]}}{"EntityID"{str[WallBlock]}}{"Position"{sngArr[0.025,-0.35,0]}}{"TexturePath"{str[Lab]}}{"Textures"{recArr[[0,102,18,20]]}}{"TextureIndex"{intArr[-1,-1,-1,-1,-1,-1,-1,-1,0,0]}}{"Collision"{bool[1]}}{"ModelID"{int[1]}}{"Action"{int[0]}}{"AdditionalValue"{str[]}}{"Rotation"{int[0]}}]}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -28178,6 +28178,9 @@
<Content Include="Content\Data\Scripts\eusine\route42map.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Content\Data\maps\structures\HealingMachine.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Content\Data\Scripts\faraway\ancestoremblemcheck.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@ -573,6 +573,7 @@
SoundManager.PlaySound("save")
Core.GameOptions.ChangedPack = True
Core.OffsetMaps.Clear()
MusicManager.Play("title")
End If
End Sub

View File

@ -526,6 +526,8 @@
End If
Case line.Trim(" "c, StringHelper.Tab).StartsWith("{""Shader""{SHA[")
addLine = True
Case line.Trim(" "c, StringHelper.Tab).StartsWith("{""Structure""{STR[")
addLine = True
End Select
If addLine = True Then