-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #335 from randovania/custom-doors
Add support for custom door locks
- Loading branch information
Showing
8 changed files
with
94 additions
and
9 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
src/open_samus_returns_rando/files/custom/sprites_texturehud.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Game.ImportLibrary("gui/scripts/sprites_texturehud_original.lua") | ||
|
||
GUI.AddSpriteSheetItem("dooriceleft", "gui/textures/texturehud.bctex", { | ||
TextureWidth = "512", | ||
TextureHeight = "256", | ||
UPixelOffset = "120", | ||
VPixelOffset = "40", | ||
UPixelScale = "4", | ||
VPixelScale = "8", | ||
AngleOffset = "0" | ||
}) | ||
GUI.AddSpriteSheetItem("dooriceright", "gui/textures/texturehud.bctex", { | ||
TextureWidth = "512", | ||
TextureHeight = "256", | ||
UPixelOffset = "124", | ||
VPixelOffset = "40", | ||
UPixelScale = "4", | ||
VPixelScale = "8", | ||
AngleOffset = "0" | ||
}) | ||
GUI.AddSpriteSheetItem("dooricecenter", "gui/textures/texturehud.bctex", { | ||
TextureWidth = "512", | ||
TextureHeight = "256", | ||
UPixelOffset = "120", | ||
VPixelOffset = "40", | ||
UPixelScale = "8", | ||
VPixelScale = "8", | ||
AngleOffset = "0" | ||
}) |
Binary file added
BIN
+49.1 KB
...s_returns_rando/files/romfs/actors/props/doorshieldicebeam/models/doorshieldicebeam.bcmdl
Binary file not shown.
Binary file added
BIN
+10.9 KB
...rns_rando/files/romfs/actors/props/doorshieldicebeam/models/textures/doorcreature_i.bctex
Binary file not shown.
Binary file added
BIN
+10.9 KB
...eturns_rando/files/romfs/actors/props/doorshieldicebeam/models/textures/spiderweb_i.bctex
Binary file not shown.
Binary file added
BIN
+512 KB
src/open_samus_returns_rando/files/romfs/gui/textures/texturehud.bctex
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,7 +162,8 @@ | |
"wave_beam", | ||
"missile", | ||
"super_missile", | ||
"power_bomb" | ||
"power_bomb", | ||
"ice_beam" | ||
] | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters