Kasu customs (#65)

* add kasu Eldrazi
* add kasu Elder Scrolls

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
GenevensiS
2024-09-24 17:49:19 +02:00
committed by GitHub
parent 9a7b7949e8
commit 5d3aff3388
144 changed files with 756 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
MSE Template Packs 1.3.0 Showcase Catchup (PRERELEASE)
MSE Template Packs 3.0.0 Showcase Catchup (PRERELEASE)
HOUSEKEEPING
• Custom Watermarks will need to be moved to magic-mainframe-extras from magic-watermarks!
• I have created a tool at https://mse-editor.neocities.org/ which you can upload MSE files to in order to patch their data. Not all sets will need this, but it will stop your console from blowing up with harmless warnings the first time you load sets
MSE 2.5
Genevensis and Hagan have been doing excellent work at getting MSE compiled and edited lately, and so this update also has us upgrading from MSE 2.1.2 all the way to MSE 2.5.1! What does that mean for you?
Genevensis and Hagan have been doing excellent work at getting MSE compiled and edited lately, and so this update also has us upgrading from MSE 2.1.2 all the way to MSE 2.5.2! What does that mean for you?
UI Updates:
• When selecting Games or Templates, there is now a search bar that allows you to filter templates.
• Added the ability to underline text via Ctrl+U or the [u]U[/u] buttom on the top panel.
@@ -19,16 +19,17 @@ Image Updates:
Template Development Updates:
• Extra card data is now available for template development under `extra_card.field_name` and `extra_card_style.field_name.style_name`!
• The built-in functions `width_of(image)` and `height_of(image)` have been added.
• The built-in function `to_card_image(card[, zoom:100, angle:0])` has been added, so Export templates can now edit card images, to do things like split DFC images.
• Stylesheets can now define `card regions`, with properties `name:, x:, y:, width:, height:`. These can be accessed in the array stylesheet.card_regions to help the script decide how to split images with multiple regions.
• The built-in function `get_card_styling(card)` has been added, which returns the card.styling object which was not properly accessible in export templates.
• The built-in function `to_date` now accepts "now" as a parameter.
• Added combine modes "greater than N" and "smaller than N", where N is multiples of 5 between 0 and 255. These apply to pixels which have all their RGB values greater/smaller than N. The main use case for this is applying textures to text; An example texture `set_combine("texture.png", combine:"greater than 160")` layered over text will be masked to only appear over white and light gray pixels. This works best when the text is on a high contrast background, otherwise the texture may be applied to the background.
• Right margin now works, with the same 10x divisor than left margin has.
• The `linear_blend` and `masked_blend` functions now also blend alpha channels
Export templates
• Fixed a bug where Export Templates with many options didn't have a scrollbar.
• Multi-selecting cards in the Export list now lets you check/uncheck all selected cards.
• Export templates can now write to subdirectories.
• The built-in function `get_card_styling(card)` has been added, which returns the card.styling object which was not properly accessible in export templates.
• The built-in function `to_card_image(card[, zoom:100, angle:0])` has been added, so Export templates can now edit card images, to do things like split DFC images.
Bug Fixes:
• Fixed a bug where some Unicode, such as Kanji and Cryllic characters, were unable to be typed.
• Fixed a bug where the Add Multiple Cards scripts didn't load until you switched to another tab first.
@@ -45,6 +46,9 @@ The main focus of this update was catching up on all the Showcase frames that Ge
• (New) Kamigawa Samurai
• (New) Innistad Fang (Crimson Vow)
• (New) Theros Constellation
• (New) Cajun's Youtube
• (New) Kasu_mtg's Elder Scrolls
• (New) Kasu_mtg Eldrazi
Updated: These frames were previously released, but have gotten some updates, including combining the HD frames and 375x523 frames thanks to MSE 2.5. If you used the HD frames, use the neocities link to convert your set files so they will use the proper template.
• Capenna Art Deco & Art Deco Walker
@@ -62,6 +66,7 @@ Updated: These frames were previously released, but have gotten some updates, in
• Ixalan Caverns
• Lord of the Rings Ring
• Lord of the Rings Scroll & Scroll Saga
• Lord of the Rings Rules Reminder
• Ravnica City Mural
• Ravnica Dossier
• Tarkir Dragon Wing
@@ -71,6 +76,8 @@ Updated: These frames were previously released, but have gotten some updates, in
• Unfinity Showcase of Tomorrow
• Unfinity Attractions
• Secret Lair Baseball Cards
• Punch-out Counter Sheet
• Kamigawa Full Art Basics
• Amonkhet Invocations now has a setting for "revamped mode" to use the modified layout used in March of the Machine.
• Fallout PipBoy can now select different sections on the HUD.

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 325 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@@ -0,0 +1,337 @@
mse version: 2.1.2
game: magic
short name: Eldrazi
full name: by kasu_mtg
icon: card-sample.png
position hint: 083
version: 2024-08-01
depends on:
package: magic.mse-game
version: 2014-06-25
depends on:
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
card width: 750
card height: 1046
card dpi: 300
### blanks by kasu_mtg (https://www.instagram.com/kasu_mtg/)
### code by GenevensiS
############################################################## Extra scripts
init script:
nameline_offset_top_1 := { 4 }
transform_symbol_offset_left_1 := { 20 }
transform_symbol_offset_top_1 := { 14 }
transform_symbol_offset_width_1 := { -28 }
transform_symbol_offset_height_1 := { -28 }
name_transform_symbol_offset_left_1 := { -18 }
card_symbol_offset_left_1 := { -6 }
card_symbol_offset_top_1 := { 5 }
card_symbol_offset_width_1 := { -6 }
card_symbol_offset_height_1 := { -6 }
name_card_symbol_offset_left_1 := { 12 }
typeline_offset_top_1 := { if is_basic_framed() then 299 else 4 }
typeline_offset_left_1 := { 2 }
rarity_offset_left_1 := { 2 }
rarity_offset_top_1 := { 2 }
indicator_offset_left_1 := { -5 }
information_offset_top_1 := { 11 }
information_copyright_offset_pt_top_1 := { if is_basic_framed() then 0 else -4 }
information_secondary_offset_pt_left_1 := { -8 }
swap_fonts_pt_default :=
[
name: {"Beleren Bold"},
size: {36.0},
color: {"black"},
vertical: {0},
italic: {"Beleren Bold"}
]
swap_fonts_body_default :=
[
name: {"MPlantin"},
size: {28.0},
color: {"black"},
vertical: {0},
italic: {"MPlantin-Italic"}
]
swap_fonts_type_default :=
[
name: {"Beleren Bold"},
size: {26.0},
color: {"black"},
vertical: {0},
italic: {""}
]
swap_fonts_name_default :=
[
name: {"Beleren Bold"},
size: {30.0},
color: {"black"},
vertical: {0},
italic: {""}
]
template_prefix :=
[
card: { "card" + (if is_extended() then "_extended" else "") + (if is_textboxed() then "_textbox" else "") + "/" }
pt: { "pt/" }
identity: { "/magic-modules.mse-include/indicators/" }
crown: { "crown/" }
]
template_suffix :=
[
card: "card.png"
pt: "pt.png"
identity: "identity.png"
crown: "crown.png"
]
template := { template_prefix[type]() + input + template_suffix[type] }
land_template := { template_prefix[type]() + (if input == "a" then "c" else input) + template_suffix[type] }
card_crown := { color_background(type:"crown", base_hybrid:card_hybrid) }
card_ptbox := { color_background(type:"pt", base_hybrid:card_hybrid) }
is_land_framed :=
{
styling.land_frame == "basic land" or
styling.land_frame == "normal land" or
(
styling.land_frame == "normal land if land" and
lang_setting("is_land")(card.super_type)
)
}
is_basic_framed := { styling.land_frame == "basic land" }
is_crowned := { styling.legend_crown == "yes" or (styling.legend_crown == "if legendary" and lang_setting("is_legendary")(card.super_type)) }
is_extended := { styling.extended_art }
is_textboxed := { styling.textbox_art }
chop_top := { split := split_comma(styling.chop_text_box); if length(split) > 0 and split.0 != "" then clamp(split.0, maximum: 500, minimum: -500) else 0 }
chop_bot := { split := split_comma(styling.chop_text_box); if length(split) > 1 and split.1 != "" then clamp(split.1, maximum: 500, minimum: -500) else 0 }
popout_left := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.0 != "" and split.0 != "-" then clamp(split.0, maximum:1500, minimum:-500) else 0 }
popout_top := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.1 != "" and split.1 != "-" then clamp(split.1, maximum:2000, minimum:-500) else 0 }
popout_width := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.2 != "" and split.2 != "-" then clamp(split.2, maximum:1500, minimum:0) else 0 }
popout_height := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.3 != "" and split.3 != "-" then clamp(split.3, maximum:2000, minimum:0) else 0 }
art_left := { if styling.stretch_art_to_whole_card then 0 else if is_extended() then 20 else 67 }
art_top := { if styling.stretch_art_to_whole_card then 0 else 118 }
art_right := { if styling.stretch_art_to_whole_card then stylesheet.card_width else if is_extended() then 730 else 683 }
art_bottom := { if styling.stretch_art_to_whole_card then stylesheet.card_height else if is_textboxed() then 990 else 597 }
art_mask :=
{
mask := "image_mask" + (if is_extended() then "_extended" else "") + (if is_textboxed() then "_textbox" else "") + ".png"
if is_basic_framed() then mask := "basic_image_mask.png"
crop(mask, offset_x: art_left(), offset_y: art_top(), width: art_right() - art_left(), height: art_bottom() - art_top())
}
card_stamp_image := { if is_stamped() then "stamp.png" else "" }
############################################################## Extra style options
styling field:
type: text
name: popout art coordinates
description: The coordinates for the popout image field, formatted as "left,top,width,height". Used to make the illustration jump in front of the frame.
styling field:
type: boolean
name: stretch art to whole card
description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects.
initial: no
styling field:
type: boolean
name: textbox art
description: Make the image appear behind the textbox.
initial: yes
styling field:
type: boolean
name: extended art
description: Make the image wider.
initial: no
include file: /magic-modules.mse-include/texts/styling_fields
styling field:
type: choice
name: legend crown
description: Use the legend crown?
choice: yes
choice: if legendary
choice: no
initial: if legendary
styling field:
type: choice
name: land frame
description: Use a land frame variant?
choice: basic land
choice: normal land
choice: normal land if land
choice: no
initial: normal land if land
include file: /magic-modules.mse-include/rarities/styling_fields
include file: /magic-modules.mse-include/watermarks/styling_fields
styling field:
type: package choice
name: overlay
description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include
required: false
include file: /magic-modules.mse-include/information/styling_fields
include file: /magic-modules.mse-include/symbol-fonts/styling_fields
include file: /magic-modules.mse-include/fonts/styling_fields
############################################################## Card fields
include file: /magic-modules.mse-include/information/card_fields
include file: /magic-modules.mse-include/stamps/card_fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/watermarks/card_fields
include file: /magic-modules.mse-include/separators/card_fields
include file: /magic-modules.mse-include/namelines/card_fields
include file: /magic-modules.mse-include/typelines/card_fields
card style:
############################# Background stuff
card color:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 200
popup style: in place
render style: image
image: { if is_basic_framed() then "basic_card.png" else card_background() }
mask: { (if is_basic_framed() then "basic_" else "") + "card_mask.png" }
############################# Image
image:
left: { art_left() }
top: { art_top() }
right: { art_right() }
bottom: { art_bottom() }
z index: 100
mask: { art_mask() }
mainframe image:
left: { popout_left() }
top: { popout_top() }
width: { popout_width() }
height: { popout_height() }
z index: 1000
############################# Text box
text:
left: 72
top: { 675 + chop_top() + body_font_vertical() }
right: 678
bottom: { 935 - chop_bot() }
z index: 900
line height hard: { if is_modal(card.rule_text) then 0.9 else 1.2 }
line height line: 1.5
line height soft: 0.9
line height hard max: { if is_modal(card.rule_text) then 1.0 else 1.3 }
line height line max: 1.6
alignment:
script:
if
(
styling.center_text == "short text only" and
not contains(match:"\n", card.rule_text) and
to_text(card.flavor_text) == "" and
card_style.text.content_lines <= 2
)
or styling.center_text == "always"
then "middle center"
else "middle left"
font:
name: { body_font() }
italic name: { body_font_italic() }
size: { body_font_size() }
scale down to: 7
color: { body_font_color() }
symbol font:
name: { styling.text_box_mana_symbols }
size: { body_font_size() }
scale down to: 7
############################# PT
pt:
left: 565
top: { 940 + (if is_basic_framed() then 4 else 0) + pt_font_vertical() }
width: 101
height: 60
z index: 990
alignment: center middle shrink-overflow
font:
name: { pt_font() }
size: { pt_font_size() }
color: { pt_font_color() }
separator color: red
############################################################## Extra card fields
extra card field:
type: choice
name: pt box
editable: false
save value: false
script: card.card_color
extra card field:
type: choice
name: crown overlay
editable: false
save value: false
script: card.card_color
extra card field:
type: choice
name: land overlay
editable: false
save value: false
script: card.card_color
extra card style:
pt box:
left: 0
top: { if is_basic_framed() then 4 else 0 }
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 980
visible: { card.pt != "" }
render style: image
image: { if is_land_framed() then "pt/lpt.png" else card_ptbox() }
crown overlay:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 310
visible: { is_crowned() }
render style: image
image: { if is_land_framed() then "crown/lcrown.png" else card_crown() }
land overlay:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 300
visible: { is_land_framed() and not is_basic_framed() }
render style: image
image: land_overlay.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Some files were not shown because too many files have changed in this diff Show More