Initial commit
This commit is contained in:
BIN
data/magic-urban.mse-style/backdrop.jpg
Normal file
BIN
data/magic-urban.mse-style/backdrop.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
7
data/magic-urban.mse-style/build.bat
Normal file
7
data/magic-urban.mse-style/build.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
mse --create-installer magic-urban.mse-style magic.mse-game magic-blends.mse-include magic-mana-graffiti.mse-symbol-font magic-mana-small.mse-symbol-font magic-watermarks.mse-include
|
||||
|
||||
ren "magic-urban.mse-installer" "Magic - Urban.mse-installer"
|
||||
BIN
data/magic-urban.mse-style/card-sample.png
Normal file
BIN
data/magic-urban.mse-style/card-sample.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
BIN
data/magic-urban.mse-style/fonts/magicsymbols2008.ttf
Normal file
BIN
data/magic-urban.mse-style/fonts/magicsymbols2008.ttf
Normal file
Binary file not shown.
BIN
data/magic-urban.mse-style/fonts/rufa.ttf
Normal file
BIN
data/magic-urban.mse-style/fonts/rufa.ttf
Normal file
Binary file not shown.
BIN
data/magic-urban.mse-style/image_mask.png
Normal file
BIN
data/magic-urban.mse-style/image_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
data/magic-urban.mse-style/overlay_mask.png
Normal file
BIN
data/magic-urban.mse-style/overlay_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 89 KiB |
380
data/magic-urban.mse-style/style
Normal file
380
data/magic-urban.mse-style/style
Normal file
@@ -0,0 +1,380 @@
|
||||
mse version: 2.0.0
|
||||
game: magic
|
||||
short name: Urban
|
||||
full name: Grafitti Style
|
||||
installer group: magic/urban
|
||||
icon: card-sample.png
|
||||
position hint: 101
|
||||
|
||||
version: 2014-02-22
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2008-06-02
|
||||
depends on:
|
||||
package: magic-mana-graffiti.mse-symbol-font
|
||||
version: 2010-02-04
|
||||
depends on:
|
||||
package: magic-mana-small.mse-symbol-font
|
||||
version: 2007-09-23
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2007-09-23
|
||||
|
||||
card width: 375
|
||||
card height: 523
|
||||
card dpi: 150
|
||||
############################################################## Extra scripts
|
||||
init script:
|
||||
# Use the normal tap symbol
|
||||
mana_t := {
|
||||
if styling.tap_symbol == "old" then "old"
|
||||
else if styling.tap_symbol == "diagonal T" then "older"
|
||||
else "new"
|
||||
}
|
||||
# Use guild mana symbols?
|
||||
guild_mana := { styling.use_guild_mana_symbols }
|
||||
|
||||
text_color := {
|
||||
if card.card_color == "white" or card.card_color == "white, land" then "black"
|
||||
else "white"
|
||||
}
|
||||
|
||||
shadow_color := {
|
||||
if card.card_color == "white" or card.card_color == "white, land" then "white"
|
||||
else "black"
|
||||
}
|
||||
|
||||
card_shape := { if contains(card.super_type, match:"Token") or contains(card.sub_type, match:"Token") or styling.is_token then "token" else "normal" }
|
||||
|
||||
############################################################## Set info fields
|
||||
############################################################## Extra style options
|
||||
styling field:
|
||||
type: boolean
|
||||
name: use guild mana symbols
|
||||
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
|
||||
initial: no
|
||||
styling field:
|
||||
type: package choice
|
||||
name: text box mana symbols
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small.mse-symbol-font
|
||||
styling field:
|
||||
type: choice
|
||||
name: tap symbol
|
||||
description: What tap and untap symbols should be used on cards?
|
||||
choice: modern
|
||||
choice: old
|
||||
choice: diagonal T
|
||||
styling field:
|
||||
type: choice
|
||||
name: center text
|
||||
description: When to center text (short text only means only on one-line cards with no flavor text)
|
||||
choice: always
|
||||
choice: short text only
|
||||
choice: never
|
||||
initial: never
|
||||
styling field:
|
||||
type: package choice
|
||||
name: overlay
|
||||
description: Should there be an overlay applied, such as foil?
|
||||
match: magic-overlay-*.mse-include
|
||||
required: false
|
||||
styling field:
|
||||
type: boolean
|
||||
name: is token
|
||||
description: Is this card a token?
|
||||
initial: no
|
||||
styling style:
|
||||
use guild mana symbols:
|
||||
choice images:
|
||||
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
|
||||
no: /magic-mana-small.mse-symbol-font/mana_rg.png
|
||||
tap symbol:
|
||||
render style: both
|
||||
choice images:
|
||||
modern: /magic-mana-small.mse-symbol-font/mana_t.png
|
||||
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
|
||||
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
|
||||
center text:
|
||||
render style: both
|
||||
choice images:
|
||||
always: /magic.mse-game/icons/center-all-text.png
|
||||
short text only: /magic.mse-game/icons/center-short-text.png
|
||||
never: /magic.mse-game/icons/center-no-text.png
|
||||
############################################################## Card fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
left: 0
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 18
|
||||
left width: 19
|
||||
right width: 19
|
||||
top width: 19
|
||||
bottom width: 19
|
||||
z index: 6
|
||||
card color:
|
||||
left: 19
|
||||
top: 19
|
||||
width: 337
|
||||
height: 485
|
||||
z index: 0
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: backdrop.jpg
|
||||
############################# Name line
|
||||
name:
|
||||
left: { if card.card_symbol == "none" then 30 else 42 }
|
||||
top: 27
|
||||
right: { 350 - card_style.casting_cost.content_width }
|
||||
height: 23
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 2
|
||||
font:
|
||||
name: Rufa
|
||||
size: 19
|
||||
weight: bold
|
||||
color: {text_color()}
|
||||
shadow color: {shadow_color()}
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
casting cost:
|
||||
right: 351
|
||||
top : 22
|
||||
width: { max(30, card_style.casting_cost.content_width) + 5 }
|
||||
height: 33
|
||||
alignment: middle right
|
||||
symbol font:
|
||||
name: magic-mana-graffiti
|
||||
size: 16
|
||||
alignment: middle right
|
||||
always symbol: true
|
||||
z index: 3
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: 24
|
||||
top : 27
|
||||
height: 20
|
||||
width: 14
|
||||
z index: 3
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
############################# Image
|
||||
image:
|
||||
left: 27
|
||||
top: 57
|
||||
width: 321
|
||||
height: 235
|
||||
z index: 2
|
||||
mask: image_mask.png
|
||||
############################# Card type
|
||||
rarity:
|
||||
right: 351
|
||||
top : 292
|
||||
width: 48
|
||||
height: 24
|
||||
z index: 3
|
||||
alignment: middle right
|
||||
render style: image
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
common: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
|
||||
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
|
||||
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
|
||||
special: script: symbol_variation(symbol: set.symbol, variation: "special")
|
||||
############################# Text box
|
||||
text:
|
||||
left: 30
|
||||
top : 324
|
||||
width: 321
|
||||
height: 168
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: 15
|
||||
scale down to: 6
|
||||
color: black
|
||||
shadow color: white
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 13.5
|
||||
alignment:
|
||||
script:
|
||||
if (styling.center_text == "short text only" and
|
||||
not contains(match:"\n", card.rule_text) and
|
||||
card.flavor_text == "<i-flavor></i-flavor>" and
|
||||
card_style.text.content_lines <= 2) or
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 3
|
||||
mask: textbox_mask.png
|
||||
padding left: 6
|
||||
padding top: 2
|
||||
padding right: 4
|
||||
padding bottom: 0
|
||||
line height hard: 1.2
|
||||
line height line: 1.5
|
||||
line height soft: 0.9
|
||||
watermark:
|
||||
left: 107
|
||||
top : 314
|
||||
width: 168
|
||||
height: 188
|
||||
z index: 1
|
||||
render style: image
|
||||
popup style: in place
|
||||
alignment: middle center
|
||||
include file: watermarks
|
||||
############################# PT
|
||||
pt:
|
||||
z index: 3
|
||||
left: 295
|
||||
top: 470
|
||||
width: 47
|
||||
height: 27
|
||||
alignment: right middle
|
||||
font:
|
||||
name: Rufa
|
||||
size: 17
|
||||
weight: bold
|
||||
color: black
|
||||
shadow color: white
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
separator color: red
|
||||
############################# Card sorting / numbering
|
||||
############################# Copyright stuff
|
||||
illustrator:
|
||||
right: 330
|
||||
top: 260
|
||||
width: 286
|
||||
height: 16
|
||||
z index: 3
|
||||
alignment: middle right
|
||||
font:
|
||||
name: Rufa
|
||||
size: 10
|
||||
weight: bold
|
||||
color: black
|
||||
shadow color: white
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
copyright line:
|
||||
left: 40
|
||||
top : 492
|
||||
width: 297
|
||||
height: 12
|
||||
z index: 1
|
||||
alignment: middle center
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 6.5
|
||||
color: black
|
||||
shadow color: white
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
############################################################## Extra card fields
|
||||
extra card field:
|
||||
type: choice
|
||||
name: foil layer
|
||||
choice: foil
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: color
|
||||
name: image overlay
|
||||
choice: overlay
|
||||
save value: false
|
||||
editable: false
|
||||
script:
|
||||
if contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"hybrid") then rgb(154,149,21)
|
||||
else if contains(card.card_color, match:"artifact") then rgb(165,163,150)
|
||||
else if contains(card.card_color, match:"white") then "white"
|
||||
else if contains(card.card_color, match:"blue") then rgb(55,49,183)
|
||||
else if contains(card.card_color, match:"black") then "black"
|
||||
else if contains(card.card_color, match:"red") then rgb(255,0,0)
|
||||
else if contains(card.card_color, match:"green") then rgb(81,155,70)
|
||||
else rgb(165,163,150)
|
||||
extra card field:
|
||||
type: text
|
||||
name: urban type
|
||||
save value: false
|
||||
script:
|
||||
combined_editor(
|
||||
field1: card.super_type,
|
||||
separator: " - ",
|
||||
field2: card.sub_type,
|
||||
soft_before_empty: true,
|
||||
hide_when_empty: true
|
||||
)
|
||||
description: The type of this card, type - to go the sub type
|
||||
extra card field:
|
||||
type: text
|
||||
name: paintbrush
|
||||
save value: false
|
||||
editable: false
|
||||
script: "L"
|
||||
extra card style:
|
||||
foil layer:
|
||||
left: 0
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 4
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
image overlay:
|
||||
left: 19
|
||||
top: 19
|
||||
width: 337
|
||||
height: 485
|
||||
z index: 1
|
||||
mask: overlay_mask.png
|
||||
urban type:
|
||||
left: 30
|
||||
top : 292
|
||||
width: { 321 - max(22,card_style.rarity.content_width) }
|
||||
height: 24
|
||||
alignment: middle shrink-overflow
|
||||
z index: 2
|
||||
padding top: 2
|
||||
font:
|
||||
name: Rufa
|
||||
size: 15
|
||||
weight: bold
|
||||
color: {text_color()}
|
||||
shadow color: {shadow_color()}
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
separator color: red
|
||||
paintbrush
|
||||
right: { 330 - card_style.illustrator.content_width }
|
||||
top: 260
|
||||
width: 50
|
||||
height: 16
|
||||
z index: 3
|
||||
alignment: middle right
|
||||
font:
|
||||
name: Magic Symbols 2008
|
||||
size: 10
|
||||
weight: bold
|
||||
color: black
|
||||
shadow color: white
|
||||
shadow displacement x: 0
|
||||
shadow displacement y: 0
|
||||
shadow blur: 2
|
||||
BIN
data/magic-urban.mse-style/textbox_mask.png
Normal file
BIN
data/magic-urban.mse-style/textbox_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
data/magic-urban.mse-style/tombstone.png
Normal file
BIN
data/magic-urban.mse-style/tombstone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 672 B |
71
data/magic-urban.mse-style/watermarks
Normal file
71
data/magic-urban.mse-style/watermarks
Normal file
@@ -0,0 +1,71 @@
|
||||
# Watermark images
|
||||
|
||||
choice images:
|
||||
mana symbol white: /magic-mana-graffiti.mse-symbol-font/mana_w.png
|
||||
mana symbol blue: /magic-mana-graffiti.mse-symbol-font/mana_u.png
|
||||
mana symbol black: /magic-mana-graffiti.mse-symbol-font/mana_b.png
|
||||
mana symbol red: /magic-mana-graffiti.mse-symbol-font/mana_r.png
|
||||
mana symbol green: /magic-mana-graffiti.mse-symbol-font/mana_g.png
|
||||
mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png")
|
||||
|
||||
transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_w.png")
|
||||
transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_u.png")
|
||||
transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_b.png")
|
||||
transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_r.png")
|
||||
transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-mana-graffiti.mse-symbol-font/mana_g.png")
|
||||
|
||||
guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png")
|
||||
guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png")
|
||||
guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png")
|
||||
guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png")
|
||||
guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png")
|
||||
guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png")
|
||||
guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png")
|
||||
guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png")
|
||||
guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png")
|
||||
guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png")
|
||||
|
||||
colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png
|
||||
colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png
|
||||
colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png
|
||||
colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png
|
||||
colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png
|
||||
colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png
|
||||
colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png
|
||||
colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png
|
||||
colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png
|
||||
colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png
|
||||
|
||||
xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png")
|
||||
xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png")
|
||||
xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png")
|
||||
xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png")
|
||||
xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png")
|
||||
xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png")
|
||||
xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png")
|
||||
xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png")
|
||||
xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png")
|
||||
xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png")
|
||||
|
||||
future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png")
|
||||
future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png")
|
||||
future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png")
|
||||
future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png")
|
||||
future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png")
|
||||
future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png")
|
||||
future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png")
|
||||
future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png")
|
||||
|
||||
set symbol:
|
||||
{ set_combine(combine:"shadow",
|
||||
set_alpha(
|
||||
alpha: 0.5,
|
||||
#symbol_variation(symbol: set.symbol, variation: "common")
|
||||
drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0),
|
||||
enlarge(border_size: 0.03,
|
||||
symbol_variation(symbol: set.symbol, variation: "watermark")
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user