Initial commit
This commit is contained in:
587
data/magic-vs.mse-style/style
Normal file
587
data/magic-vs.mse-style/style
Normal file
@@ -0,0 +1,587 @@
|
||||
mse version: 2.0.0
|
||||
game: magic
|
||||
short name: VS style
|
||||
full name: Modeled After VS System
|
||||
icon: card-sample.png
|
||||
position hint: 203
|
||||
installer group: magic/VS style
|
||||
|
||||
version: 2014-02-22
|
||||
depends on:
|
||||
package: magic.mse-game
|
||||
version: 2007-12-29
|
||||
depends on:
|
||||
package: magic-watermarks.mse-include
|
||||
version: 2007-09-23
|
||||
depends on:
|
||||
package: magic-mana-beveled.mse-symbol-font
|
||||
version: 2007-09-23
|
||||
depends on:
|
||||
package: magic-mana-small-vs.mse-symbol-font
|
||||
version: 2010-05-17
|
||||
depends on:
|
||||
package: vs-standard-new.mse-symbol-font
|
||||
version: 2010-05-17
|
||||
depends on:
|
||||
package: vs-common.mse-include
|
||||
version: 2009-02-04
|
||||
|
||||
card width: 375
|
||||
card height: 523
|
||||
card dpi: 150
|
||||
#By Pichoro
|
||||
############################################################## Extra scripts
|
||||
init script:
|
||||
# Should hybrids have a grey name?
|
||||
mask_hybrid_with_land := { styling.grey_hybrid_name }
|
||||
|
||||
#Should multicolor lands with basic land types have a colored name?
|
||||
mask_multi_land_with_color := { styling.colored_multicolor_land_name }
|
||||
|
||||
# Colored lands are generated by script.
|
||||
land_template := {
|
||||
masked_blend(
|
||||
mask: "artifact_blend_{type}.png",
|
||||
dark: "cl{type}.jpg",
|
||||
light: ( if input == "c" then "cl{type}.jpg" else input + "{type}.jpg" ),
|
||||
)
|
||||
}
|
||||
|
||||
# Use land templates for previews because they show more contrast
|
||||
hybrid_previews := "land,hybrid"
|
||||
|
||||
# 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 }
|
||||
|
||||
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: grey hybrid name
|
||||
description: Use a grey background for the name and type line on hybrid cards. This is done on real cards.
|
||||
styling field:
|
||||
type: boolean
|
||||
name: colored multicolor land name
|
||||
description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards.
|
||||
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: choice
|
||||
name: tap symbol
|
||||
description: What tap and untap symbols should be used on cards?
|
||||
initial: modern
|
||||
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: no
|
||||
styling field:
|
||||
type: boolean
|
||||
name: inverted common symbol
|
||||
description: Should the common rarity symbol be inverted, like in Coldsnap?
|
||||
initial: no
|
||||
styling field:
|
||||
type: package choice
|
||||
name: text box mana symbols
|
||||
match: magic-mana-*.mse-symbol-font
|
||||
initial: magic-mana-small-vs.mse-symbol-font
|
||||
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: choice
|
||||
name: team watermark
|
||||
description: Should there be a team watermark?
|
||||
include file: team list
|
||||
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-beveled.mse-symbol-font/mana_guild_rg.png
|
||||
no: /magic-mana-beveled.mse-symbol-font/mana_rg.png
|
||||
tap symbol:
|
||||
render style: both
|
||||
choice images:
|
||||
modern: /magic-mana-beveled.mse-symbol-font/mana_t.png
|
||||
old: /magic-mana-beveled.mse-symbol-font/mana_t_old.png
|
||||
diagonal T: /magic-mana-beveled.mse-symbol-font/mana_t_older.png
|
||||
############################################################## Card fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
left: 0
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
radius: 9
|
||||
left width: 15
|
||||
right width: 15
|
||||
top width: 15
|
||||
bottom width: 15
|
||||
z index: 4
|
||||
card color:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 0
|
||||
render style: image
|
||||
popup style: in place
|
||||
image: { card_background() }
|
||||
############################# Name line
|
||||
name:
|
||||
left: { if card.card_symbol=="none" then 65 else 84 }
|
||||
top : 38
|
||||
right: 331
|
||||
height: 23
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 1
|
||||
font:
|
||||
name: Matrix
|
||||
size: 17
|
||||
weight: bold
|
||||
color: rgb(255,255,255)
|
||||
casting cost:
|
||||
left: 28
|
||||
top : 66
|
||||
width: 31
|
||||
height: 280
|
||||
alignment: top center
|
||||
direction: vertical
|
||||
symbol font:
|
||||
name: magic-mana-beveled
|
||||
size: 22
|
||||
alignment: middle right
|
||||
always symbol: true
|
||||
z index: 1
|
||||
padding top: 0
|
||||
card symbol:
|
||||
left: {if card.card_symbol=="none" then 53 else 65}
|
||||
top : 38
|
||||
height: 20
|
||||
width: 14
|
||||
z index: 1
|
||||
render style: image
|
||||
choice images:
|
||||
tombstone: tombstone.png
|
||||
############################# Image
|
||||
image:
|
||||
left: 60
|
||||
top: 84
|
||||
width: 282
|
||||
height: 265
|
||||
z index: 1
|
||||
mask: imagemask.png
|
||||
############################# Card type
|
||||
type:
|
||||
left: 78
|
||||
top : 360
|
||||
width: 245
|
||||
height: 20
|
||||
alignment: top shrink-overflow
|
||||
z index: 1
|
||||
padding top: 2
|
||||
font:
|
||||
name: Matrix
|
||||
size: 12
|
||||
color: rgb(255,255,255)
|
||||
separator color: rgb(128,128,128)
|
||||
rarity:
|
||||
right: 359
|
||||
top : 314
|
||||
width: 24
|
||||
height: 30
|
||||
z index: 1
|
||||
render style: image
|
||||
alignment: bottom center
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
basic land:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "b.mse-symbol",
|
||||
border_radius: 0.10,
|
||||
fill_type: "solid",
|
||||
border_color: rgb(255,255,255),
|
||||
fill_color: rgb(0,0,0)
|
||||
)
|
||||
common:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "c.mse-symbol",
|
||||
border_radius: 0.10,
|
||||
fill_type: "solid",
|
||||
border_color: rgb(255,255,255),
|
||||
fill_color: rgb(0,0,0)
|
||||
)
|
||||
uncommon:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "u.mse-symbol",
|
||||
border_radius: 0.07,
|
||||
fill_type: "radial gradient",
|
||||
fill_color_2: rgb(224,224,224),
|
||||
fill_color_1: rgb(84,84,84),
|
||||
border_color_1: rgb(0,0,0),
|
||||
border_color_2: rgb(0,0,0)
|
||||
)
|
||||
rare:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "r.mse-symbol",
|
||||
border_radius: 0.07,
|
||||
fill_type: "radial gradient",
|
||||
fill_color_2: rgb(214,196,94),
|
||||
fill_color_1: rgb(95, 84, 40),
|
||||
border_color_1: rgb(0,0,0),
|
||||
border_color_2: rgb(0,0,0)
|
||||
)
|
||||
mythic rare:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "m.mse-symbol",
|
||||
border_radius: 0.07,
|
||||
fill_type: "radial gradient",
|
||||
fill_color_2: rgb(255,160,40),
|
||||
fill_color_1: rgb(202,49,35),
|
||||
border_color_1: rgb(0,0,0),
|
||||
border_color_2: rgb(0,0,0)
|
||||
)
|
||||
special:
|
||||
script:
|
||||
symbol_variation(
|
||||
symbol: "s.mse-symbol",
|
||||
border_radius: 0.07,
|
||||
fill_type: "radial gradient",
|
||||
fill_color_2: rgb(224,170,247),
|
||||
fill_color_1: rgb(58,7,80),
|
||||
border_color_1: rgb(255,255,255),
|
||||
border_color_2: rgb(255,255,255)
|
||||
)
|
||||
############################# Text box
|
||||
rule text:
|
||||
left: 63
|
||||
top : 382
|
||||
width: 274
|
||||
height:
|
||||
{ if (max(30, card_style.rule_text.content_height) + 5) > 85 then 85
|
||||
else (max(30, card_style.rule_text.content_height) + 10) }
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: 10
|
||||
scale down to: 8
|
||||
color: rgb(255,255,255)
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 10
|
||||
alignment:
|
||||
script:
|
||||
if (styling.center_text == "short text only" and
|
||||
not contains(match:"\n", card.rule_text) and
|
||||
card_style.text.content_lines <= 2) or
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 2
|
||||
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
|
||||
flavor text:
|
||||
left: 63
|
||||
bottom: 482
|
||||
width: 274
|
||||
height: { 90 - card_style.rule_text.content_height }
|
||||
font:
|
||||
name: MPlantin
|
||||
italic name: MPlantin-Italic
|
||||
size: 10
|
||||
scale down to: 8
|
||||
color: rgb(255,255,255)
|
||||
symbol font:
|
||||
name: { styling.text_box_mana_symbols }
|
||||
size: 10
|
||||
alignment:
|
||||
script:
|
||||
if (styling.center_text == "short text only" and
|
||||
not contains(match:"\n", card.rule_text) and
|
||||
card_style.text.content_lines <= 2) or
|
||||
styling.center_text == "always"
|
||||
then "middle center"
|
||||
else "middle left"
|
||||
z index: 2
|
||||
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: 132
|
||||
top : 378
|
||||
width: 138
|
||||
height: 106
|
||||
z index: 1
|
||||
render style: image
|
||||
alignment: middle center
|
||||
include file: /magic-watermarks.mse-include/watermarks
|
||||
############################# PT
|
||||
power:
|
||||
z index: 2
|
||||
left: 34
|
||||
top: 400
|
||||
width: 19
|
||||
height: 50
|
||||
alignment: center middle
|
||||
font:
|
||||
name: BadHouseBoldNumbers
|
||||
size: 30
|
||||
color: rgb(255,255,255)
|
||||
shadow color: rgb(0,0,0)
|
||||
shadow blur: 2
|
||||
shadow displacement x: 1
|
||||
shadow displacement y: 1
|
||||
toughness:
|
||||
z index: 2
|
||||
left: 34
|
||||
top: 439
|
||||
width: 19
|
||||
height: 50
|
||||
alignment: center middle
|
||||
font:
|
||||
name: BadHouseBoldNumbers
|
||||
size: 30
|
||||
color: rgb(255,255,255)
|
||||
shadow color: rgb(0,0,0)
|
||||
shadow blur: 2
|
||||
shadow displacement x: 1
|
||||
shadow displacement y: 1
|
||||
############################# Card sorting / numbering
|
||||
############################# Copyright stuff
|
||||
illustrator:
|
||||
left: 97
|
||||
top : 348
|
||||
width: 242
|
||||
height: 16
|
||||
z index: 1
|
||||
font:
|
||||
name: Matrix
|
||||
size: 8
|
||||
weight: bold
|
||||
color: rgb(0,0,0)
|
||||
copyright line:
|
||||
left: 60
|
||||
top : 483
|
||||
width: 279
|
||||
height: 12
|
||||
z index: 1
|
||||
font:
|
||||
name: MPlantin
|
||||
size: 6.5
|
||||
color: rgb(0,0,0)
|
||||
############################################################## Extra card fields
|
||||
extra card field:
|
||||
type: choice
|
||||
name: publisher symbol
|
||||
choice: none
|
||||
choice: Marvel
|
||||
choice: DC-new
|
||||
choice: DC-old
|
||||
choice: Hellboy
|
||||
choice: Top Cow
|
||||
choice: Dark Horse
|
||||
choice: Malibu
|
||||
choice: Amalgam
|
||||
choice: 2000AD
|
||||
choice: Image
|
||||
description: The symbol for the publisher of the character.
|
||||
extra card field:
|
||||
type: choice
|
||||
name: foil layer
|
||||
choice: foil
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: text
|
||||
name: title
|
||||
description: The title of a character, usually a nickname or description.
|
||||
extra card field:
|
||||
type: text
|
||||
name: illus
|
||||
script: "Illus. by"
|
||||
editable: false
|
||||
save value: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: pt symbols
|
||||
script: "pt"
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: text glow
|
||||
script: "glow"
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: text glow bottom
|
||||
script: "glow"
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: set symbol
|
||||
script: "sym"
|
||||
save value: false
|
||||
editable: false
|
||||
extra card field:
|
||||
type: choice
|
||||
name: affiliation
|
||||
include file: team list
|
||||
description: The character's team affiliation.
|
||||
extra card field:
|
||||
type: choice
|
||||
name: team watermark
|
||||
save value: false
|
||||
editable: false
|
||||
script: styling.team_watermark
|
||||
extra card style:
|
||||
title:
|
||||
left: 65
|
||||
top : 60
|
||||
right: 331
|
||||
height: 13
|
||||
alignment: bottom shrink-overflow
|
||||
padding bottom: 0
|
||||
z index: 1
|
||||
font:
|
||||
name: Matrix
|
||||
size: 9
|
||||
weight: bold
|
||||
color: rgb(255,255,255)
|
||||
illus:
|
||||
left: 60
|
||||
top : 348
|
||||
width: 217
|
||||
height: 16
|
||||
z index: 1
|
||||
font:
|
||||
name: Matrix
|
||||
size: 8
|
||||
weight: bold
|
||||
color: rgb(0,0,0)
|
||||
pt symbols:
|
||||
left: 0
|
||||
top: 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 1
|
||||
visible: { card.power != "" or card.toughness != "" }
|
||||
render style: image
|
||||
choice images:
|
||||
pt: ptsymbols.png
|
||||
text glow:
|
||||
left: 62
|
||||
top : 382
|
||||
width: 276
|
||||
height: { (card_style.rule_text.content_height) + 15 }
|
||||
z index: 0
|
||||
render style: image
|
||||
choice images:
|
||||
glow: textboxglow.png
|
||||
text glow bottom:
|
||||
left: 62
|
||||
top : { (card_style.rule_text.content_height) + 397 }
|
||||
width: 276
|
||||
height: 11
|
||||
z index: 0
|
||||
render style: image
|
||||
choice images:
|
||||
glow: textboxglowbottom.png
|
||||
set symbol:
|
||||
right: 359
|
||||
top : 86
|
||||
width: 22
|
||||
height: 30
|
||||
z index: 1
|
||||
render style: image
|
||||
alignment: top center
|
||||
choice images:
|
||||
# Images based on the set symbol
|
||||
sym: script: symbol_variation(symbol: set.symbol, variation: "common")
|
||||
affiliation:
|
||||
left: 28
|
||||
top : 33
|
||||
height: 27
|
||||
width: 30
|
||||
z index: 1
|
||||
alignment: middle center
|
||||
render style: image
|
||||
include file: team images
|
||||
foil layer:
|
||||
left: 0
|
||||
top : 0
|
||||
width: 375
|
||||
height: 523
|
||||
z index: 3
|
||||
render style: image
|
||||
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
|
||||
publisher symbol:
|
||||
left: 325
|
||||
top : 478
|
||||
height: 30
|
||||
width: 35
|
||||
z index: 1
|
||||
render style: image
|
||||
choice images:
|
||||
Marvel: /vs-common.mse-include/marvel.png
|
||||
DC-new: /vs-common.mse-include/dcnew.png
|
||||
DC-old: /vs-common.mse-include/dcold.png
|
||||
Hellboy: /vs-common.mse-include/hellboy.png
|
||||
Top Cow: topcow.png
|
||||
Dark Horse: darkhorse.png
|
||||
Malibu: malibu.png
|
||||
Amalgam: amalgam.png
|
||||
2000AD: 2000ad.png
|
||||
Image: image.png
|
||||
team watermark:
|
||||
left: 132
|
||||
top : 383
|
||||
width: 138
|
||||
height: 96
|
||||
z index: 1
|
||||
render style: image
|
||||
alignment: middle center
|
||||
include file: team watermarks
|
||||
Reference in New Issue
Block a user