UB Adventure, Saga, Mainframe (#73)
* add UB frames to M15 Mainframes, M15 Sagas, and M15 Adventures * Putting off Mainframe DFC and Mainframe Walkers until the Frame Disassembly --------- Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 771 KiB |
|
Before Width: | Height: | Size: 69 KiB |
BIN
data/magic-m15-saga.mse-style/beyond_mask.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 771 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 86 KiB |
@@ -34,12 +34,13 @@ init script:
|
||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||
|
||||
template_prefix := [
|
||||
card: ""
|
||||
card: "/magic-modules.mse-include/cards/375 m15 saga/"
|
||||
pt: "/magic-modules.mse-include/pts/375 m15/"
|
||||
mark: "bookmark/"
|
||||
nyx:"/magic-modules.mse-include/trims/nyx/",
|
||||
snow:"/magic-modules.mse-include/trims/snow/",
|
||||
crown:"/magic-modules.mse-include/crowns/375/"
|
||||
beyond:"/magic-modules.mse-include/trims/beyond/",
|
||||
crown:"/magic-modules.mse-include/crowns/375/",
|
||||
identity: "/magic-identity-new.mse-include/"
|
||||
]
|
||||
template_suffix := [
|
||||
@@ -49,6 +50,7 @@ init script:
|
||||
mark: "mark.png"
|
||||
stamp: "stamp.png"
|
||||
nyx:"nyx.png"
|
||||
beyond:"beyond.png"
|
||||
crown:"crown.png"
|
||||
identity: "identity.png"
|
||||
]
|
||||
@@ -231,10 +233,14 @@ init script:
|
||||
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
||||
auto_nyx := { (contains(styling.auto_frames, match:"nyx") or set.auto_nyx) and lang_setting("is_enchantment")(card.super_type) }
|
||||
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
||||
|
||||
is_beyond := {
|
||||
chosen(styling.other_options, choice:"universes beyond")
|
||||
or (chosen(styling.auto_frames, choice:"universes beyond") and card.card_stamp == "universes beyond")
|
||||
}
|
||||
nyx_background := { color_background(type:"nyx", base_hybrid:card_hybrid) }
|
||||
snow_background := { color_background(type:"snowtexture", base_hybrid:card_hybrid) }
|
||||
bookmark_background := { color_background(type:"mark", base_hybrid:card_hybrid) }
|
||||
beyond_background := { color_background(type:"beyond", base_hybrid:card_hybrid, folder:template_prefix["beyond"]) }
|
||||
crown_background := { color_background(type:"crown", base_hybrid: card_hybrid)}
|
||||
custom_border_blend := { color_background(type:"custom_border", base_hybrid:card_hybrid) }
|
||||
alt_loc := { if styling.replacement_chapter_location != "" then styling.replacement_chapter_location else "no"}
|
||||
@@ -354,7 +360,8 @@ styling field:
|
||||
choice: nyx
|
||||
choice: vehicle
|
||||
choice: snow
|
||||
initial: nyx, vehicle, snow
|
||||
choice: universes beyond
|
||||
initial: nyx, vehicle, snow, universes beyond
|
||||
styling field:
|
||||
type: multiple choice
|
||||
name: other options
|
||||
@@ -363,6 +370,7 @@ styling field:
|
||||
choice: snow
|
||||
choice: class
|
||||
choice: case
|
||||
choice: universes beyond
|
||||
choice: custom border
|
||||
choice: use starting loyalty
|
||||
choice: remove bookmark
|
||||
@@ -524,17 +532,17 @@ card style:
|
||||
right width: 17
|
||||
top width: 17
|
||||
bottom width: 18
|
||||
z index: 4
|
||||
z index: 500
|
||||
mask: { (if is_legend() then "crown_border" else "border_mask") + (if card.border_color == rgb(200,200,200) then "_silver" else "") + ".png" }
|
||||
card color:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 0
|
||||
z index: 100
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: { card_background() }
|
||||
image: { module_card() }
|
||||
############################# Name line
|
||||
name:
|
||||
left: { if card.card_symbol=="none" then 32 else 50 }
|
||||
@@ -543,7 +551,7 @@ card style:
|
||||
height: { 23- (0.5 * shrink_name())}
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 1
|
||||
z index: 900
|
||||
font:
|
||||
name: Beleren Bold
|
||||
size: {16 - shrink_name()}
|
||||
@@ -562,14 +570,14 @@ card style:
|
||||
size: 15
|
||||
alignment: middle right
|
||||
always symbol: true
|
||||
z index: 2
|
||||
z index: 920
|
||||
padding top: 0
|
||||
level 9 text:
|
||||
left: 190
|
||||
width: {if not is_class() or card.level_2_text == "" then 0 else 80}
|
||||
top: {lev2()+4}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 12
|
||||
@@ -582,7 +590,7 @@ card style:
|
||||
width: {if not is_class() or card.level_2_text == "" then 0 else 70}
|
||||
top: {lev2()+3}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: {level_label_font_size()}
|
||||
@@ -596,7 +604,7 @@ card style:
|
||||
width: {if not is_class() or card.level_3_text == "" then 0 else 80}
|
||||
top: {lev3()+4}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 12
|
||||
@@ -609,7 +617,7 @@ card style:
|
||||
width: {if not is_class() or card.level_3_text == "" then 0 else 70}
|
||||
top: {lev3()+3}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: {level_label_font_size()}
|
||||
@@ -623,7 +631,7 @@ card style:
|
||||
width: {if not is_class() or card.level_4_text == "" then 0 else 80}
|
||||
top: {lev4()+4}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 12
|
||||
@@ -636,7 +644,7 @@ card style:
|
||||
width: {if not is_class() or card.level_4_text == "" then 0 else 70}
|
||||
top: {lev4()+3}
|
||||
height: 20
|
||||
z index: 7
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
size: {level_label_font_size()}
|
||||
@@ -651,7 +659,7 @@ card style:
|
||||
top : 31
|
||||
height: 21
|
||||
width: 23
|
||||
z index: 5
|
||||
z index: 810
|
||||
render style: image
|
||||
include file: /magic.mse-game/card-symbols/menu_choice_images
|
||||
image: { card_symbol_image(face: 1) }
|
||||
@@ -661,20 +669,20 @@ card style:
|
||||
top: 59
|
||||
width: 157
|
||||
height: 379
|
||||
z index: 1
|
||||
z index: 200
|
||||
mainframe image:
|
||||
left: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).0 else "0"}
|
||||
top: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).1 else "0"}
|
||||
width: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).2 else "0"}
|
||||
height: {if comma_count(styling.popout_image_style) == ",,,," then split_text(match:",", styling.popout_image_style).3 else "0"}
|
||||
z index: 8
|
||||
z index: 1010
|
||||
############################# Card type
|
||||
indicator:
|
||||
left: 30
|
||||
top: 449
|
||||
width: 17
|
||||
height: 17
|
||||
z index: 2
|
||||
z index: 810
|
||||
render style: image
|
||||
visible: { has_identity()}
|
||||
image: { module_identity() }
|
||||
@@ -684,7 +692,7 @@ card style:
|
||||
width: { 309 - rare_width() }
|
||||
height: { 20 - shrink_type() }
|
||||
alignment: top shrink-overflow
|
||||
z index: 2
|
||||
z index: 900
|
||||
padding top: 2
|
||||
font:
|
||||
name: Beleren Bold
|
||||
@@ -696,7 +704,7 @@ card style:
|
||||
top: 445
|
||||
width: 42
|
||||
height: 21
|
||||
z index: 2
|
||||
z index: 950
|
||||
render style: image
|
||||
alignment: middle right
|
||||
include file: /magic-modules.mse-include/rarities/choice_images
|
||||
@@ -706,7 +714,7 @@ card style:
|
||||
top: 60
|
||||
width: { if styling.wider_watermarks then 157 else 133 }
|
||||
height: 378
|
||||
z index: 4
|
||||
z index: 720
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
@@ -717,7 +725,7 @@ card style:
|
||||
top: 60
|
||||
width: {if is_saga() then 0 else 153}
|
||||
bottom: 437
|
||||
z index: 5
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
@@ -748,7 +756,7 @@ card style:
|
||||
top: 60
|
||||
width: {if is_case() then 0 else 153}
|
||||
bottom: {if un_marked() then 60 else chapter0()}
|
||||
z index: 3
|
||||
z index: 900
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
@@ -798,7 +806,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 5
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
padding top: 3
|
||||
@@ -830,7 +838,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 5
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
padding top: 3
|
||||
@@ -862,7 +870,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 5
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
padding top: 3
|
||||
@@ -894,7 +902,7 @@ card style:
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 5
|
||||
z index: 900
|
||||
padding left: 6
|
||||
padding right: 4
|
||||
padding top: 3
|
||||
@@ -906,7 +914,7 @@ card style:
|
||||
line height line max: 1.6
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 4
|
||||
z index: 900
|
||||
left: 286
|
||||
top: 469
|
||||
width: {if starting_loyalty() then 0 else 60}
|
||||
@@ -918,7 +926,7 @@ card style:
|
||||
color: black
|
||||
separator color: red
|
||||
loyalty:
|
||||
z index: 7
|
||||
z index: 900
|
||||
left: 326
|
||||
top: 468
|
||||
width: {if starting_loyalty() then 13.16 else 0}
|
||||
@@ -1143,13 +1151,25 @@ extra card field:
|
||||
script: card.card_color
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: ub tweaker
|
||||
choice: white
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: ub overlay
|
||||
script: card.card_color
|
||||
editable: false
|
||||
save value: false
|
||||
extra card style:
|
||||
pt box:
|
||||
left: 273
|
||||
top: 466
|
||||
width: 81
|
||||
height: 42
|
||||
z index: 3
|
||||
z index: 840
|
||||
visible: { card.pt != "" and not starting_loyalty() }
|
||||
render style: image
|
||||
image: { module_ptbox() }
|
||||
@@ -1158,7 +1178,7 @@ extra card style:
|
||||
top: 466
|
||||
width: 60
|
||||
height: 38
|
||||
z index: 6
|
||||
z index: 840
|
||||
render style: image
|
||||
visible: { starting_loyalty() and card.loyalty != "" }
|
||||
choice images:
|
||||
@@ -1249,7 +1269,7 @@ extra card style:
|
||||
width: 156
|
||||
height: {if is_case() or is_class() then 2 else 3}
|
||||
render style: image
|
||||
z index: 30
|
||||
z index: 720
|
||||
image: {if is_case() then "bar.png" else if is_class() then class_bar() else "line.png"}
|
||||
visible: {is_class() or is_case() or not un_marked()}
|
||||
linebreak 2:
|
||||
@@ -1258,7 +1278,7 @@ extra card style:
|
||||
width: {if is_class() and card.level_2_text == "" then 0 else 156}
|
||||
height: {if is_class() or is_case() then 25 else 3}
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: {if is_case() then "levelline.png" else if is_class() then class_bar() else "line.png"}
|
||||
linebreak 3:
|
||||
left: {30+if is_class() then 158 else 0}
|
||||
@@ -1266,7 +1286,7 @@ extra card style:
|
||||
width: {if is_class() and card.level_3_text == "" then 0 else 156}
|
||||
height: {if is_class() then 25 else 3}
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: {if is_class() then class_bar() else "line.png"}
|
||||
visible: {three_boxes() or four_boxes() and not is_case()}
|
||||
linebreak 4:
|
||||
@@ -1275,7 +1295,7 @@ extra card style:
|
||||
width: {if is_class() and card.level_4_text == "" then 0 else 156}
|
||||
height: {if is_class() then 25 else 3}
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: {if is_class() then class_bar() else "line.png"}
|
||||
visible: {is_class() or four_boxes() and not is_case()}
|
||||
linebreak 5:
|
||||
@@ -1284,7 +1304,7 @@ extra card style:
|
||||
width: 156
|
||||
height: 3
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: line.png
|
||||
visible: {four_boxes()}
|
||||
linebreak 6:
|
||||
@@ -1293,7 +1313,7 @@ extra card style:
|
||||
width: 156
|
||||
height: 3
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: line.png
|
||||
visible: {four_boxes()}
|
||||
linebreak 7:
|
||||
@@ -1302,7 +1322,7 @@ extra card style:
|
||||
width: 156
|
||||
height: 3
|
||||
render style: image
|
||||
z index: 3
|
||||
z index: 720
|
||||
image: line.png
|
||||
visible: {four_boxes()}
|
||||
nyx overlay:
|
||||
@@ -1312,7 +1332,7 @@ extra card style:
|
||||
height: 523
|
||||
render style: image
|
||||
image: {module_nyx()}
|
||||
z index: 0
|
||||
z index: 330
|
||||
visible: {is_nyx()}
|
||||
mask: {"trim_masks/" + (if is_vehicle() or is_snow() then "double_") + "mask.png"}
|
||||
custom overlay:
|
||||
@@ -1322,7 +1342,7 @@ extra card style:
|
||||
height: 523
|
||||
render style: image
|
||||
image: { custom_border_blend() }
|
||||
z index: 0
|
||||
z index: 320
|
||||
visible: {is_custom()}
|
||||
mask: {"trim_masks/" + (if is_vehicle() or is_snow() then "double_") + "mask.png"}
|
||||
snow overlay:
|
||||
@@ -1332,7 +1352,7 @@ extra card style:
|
||||
height: 523
|
||||
render style: image
|
||||
image: {module_snow()}
|
||||
z index: 0
|
||||
z index: 310
|
||||
visible: {is_snow()}
|
||||
mask: trim_masks/mask.png
|
||||
vehicle overlay:
|
||||
@@ -1341,9 +1361,9 @@ extra card style:
|
||||
width: 375
|
||||
height: 523
|
||||
render style: image
|
||||
image: /magic-modules.mse-include/trims/vehicle.png
|
||||
image: { if is_beyond() then "/magic-modules.mse-include/trims/" + (if is_beyond() then "beyond/vbeyond.png" else "vehicle.png") }
|
||||
mask: trim_masks/mask.png
|
||||
z index: 0
|
||||
z index: 300
|
||||
visible: {is_vehicle()}
|
||||
crown:
|
||||
left: 0
|
||||
@@ -1426,4 +1446,23 @@ extra card style:
|
||||
size: 11
|
||||
alignment: middle right
|
||||
visible: {is_class() and card.level_4 == ""}
|
||||
|
||||
ub tweaker:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 110
|
||||
render style: image
|
||||
visible: { is_beyond() }
|
||||
image: { card_background() }
|
||||
mask: {invert_image(template_prefix["card"] + "hybrid_blend_card.png") }
|
||||
ub overlay:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 290
|
||||
render style: image
|
||||
image: { beyond_background() }
|
||||
mask: beyond_mask.png
|
||||
visible: { is_beyond() }
|
||||
|
||||
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 74 KiB |