Commit da67077b authored by pichoro's avatar pichoro

Counter template for Magic and necessary game file modifications.

parent 2d78987b
mse version: 0.3.8
game: magic
short name: Counters 2
full name: Counters style
icon: card-sample.png
position hint: 963
installer group: magic/counter cards
version: 2010-12-23
depends on:
package: magic.mse-game
version: 2010-10-09
depends on:
package: magic-mana-small.mse-symbol-font
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 }
card_shape := { "counter" }
############################################################## Set info fields
############################################################## Extra style options
styling field:
type: text
name: rules position
description: Default is 110.
styling field:
type: text
name: rules height
description: Default is 110.
styling field:
type: color
name: text color
description: What color should the text and the glow around the watermark be?
choice:
name: poison
color: rgb(143,150,70)
styling field:
type: boolean
name: shadow
description: Should the text elements have black shadows?
initial: yes
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: package choice
name: text box mana symbols
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.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 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
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
bottom width: 18
z index: 4
############################# Name line
name:
left: 52
top: 47
width: 272
height: 30
alignment: middle center
z index: 1
font:
name: MPlantin
size: 17
weight: bold
color: {styling.text_color}
shadow color: {if styling.shadow then "black" else rgba(0,0,0,0)}
shadow displacement x: 0
shadow displacement y: 0
shadow blur: 2
############################# Image
image:
left: 27
top: 27
width: 322
height: 469
z index: -1
default: default.jpg
mask: image_mask.png
############################# Card type
############################# Text box
rule text:
left: 35
top: { if styling.rules_position=="" then 110 else styling.rules_position }
width: 306
height: { if styling.rules_height=="" then 110 else styling.rules_height }
font:
name: MPlantin
italic name: MPlantin-Italic
size: 10
scale down to: 10
color: {styling.text_color}
shadow color: {if styling.shadow then "black" else rgba(0,0,0,0)}
shadow displacement x: 0
shadow displacement y: 0
shadow blur: 2
symbol font:
name: { styling.text_box_mana_symbols }
size: 14
alignment: top center
z index: 2
padding left: 6
padding right: 4
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
watermark:
left: 0
top: 103
width: 376
height: 376
z index: 1
render style: image
alignment: middle center
popup style: in place
include file: watermarks
############################# PT
############################# Card sorting / numbering
############################# Copyright stuff
copyright:
left: 30
top: 479
width: 316
height: 12
z index: 2
alignment: middle center
font:
name: MPlantin
size: 8
color: {styling.text_color}
shadow color: {if styling.shadow then "black" else rgba(0,0,0,0)}
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: choice
name: frame
save value: false
editable: false
choice: frame
extra card field:
type: text
name: illus line
save value: false
script:
if card.illustrator != "" then forward_editor(prefix: "Illus. by ", field: card.illustrator)
else forward_editor(prefix: "", field: card.illustrator)
description: The illustrator of the card.
extra card style:
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"}
frame:
left: 0
top: 0
width: 375
height: 523
z index: 0
render style: image
image: frame.png
illus line:
left: 30
top: 463
width: 316
height: 12
z index: 2
alignment: middle center
font:
name: MPlantin
size: 9
weight: bold
color: {styling.text_color}
shadow color: {if styling.shadow then "black" else rgba(0,0,0,0)}
shadow displacement x: 0
shadow displacement y: 0
shadow blur: 2
# Watermark images
choice images:
mana symbol white: {drop_shadow("watermark_w.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
mana symbol blue: {drop_shadow("watermark_u.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
mana symbol black: {drop_shadow("watermark_b.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
mana symbol red: {drop_shadow("watermark_r.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
mana symbol green: {drop_shadow("watermark_g.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
mana symbol snow: {drop_shadow("watermark_s.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Azorius Senate (W/U): {drop_shadow("watermark_azorius.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol House Dimir (U/B): {drop_shadow("watermark_dimir.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Cult of Rakdos (B/R): {drop_shadow("watermark_rakados.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Gruul Clans (R/G): {drop_shadow("watermark_gruul.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Selesnya Conclave (G/W): {drop_shadow("watermark_selesnya.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Orzhov Syndicate (W/B): {drop_shadow("watermark_orzhov.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Izzet (U/R): {drop_shadow("watermark_izzet.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Golgari (B/G): {drop_shadow("watermark_golgari.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Boros Legion (R/W): {drop_shadow("watermark_boros.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
guild symbol The Simic Combine (G/U): {drop_shadow("watermark_simic.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
faction symbol mirrodin: {drop_shadow("watermark_mirrodin.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
faction symbol phyrexia: {drop_shadow("watermark_phyrexia.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana B/R: {drop_shadow("watermark_brmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana U/B: {drop_shadow("watermark_ubmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana B/G: {drop_shadow("watermark_bgmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana R/G: {drop_shadow("watermark_rgmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana G/U: {drop_shadow("watermark_gumana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana U/R: {drop_shadow("watermark_urmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana W/B: {drop_shadow("watermark_wbmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana G/W: {drop_shadow("watermark_gwmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana R/W: {drop_shadow("watermark_rwmana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
xander hybrid mana W/U: {drop_shadow("watermark_wumana.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols artifact: {drop_shadow("futsymbol_artifact.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols creature: {drop_shadow("futsymbol_creature.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols enchantment: {drop_shadow("futsymbol_enchantment.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols instant: {drop_shadow("futsymbol_instant.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols land: {drop_shadow("futsymbol_land.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols multiple: {drop_shadow("futsymbol_multiple.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols planeswalker: {drop_shadow("futsymbol_planeswalker.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
future sight type symbols sorcery: {drop_shadow("futsymbol_sorcery.png", offset_x: 0.001, offset_y: 0.001, blur_radius: 0.1, alpha: 1.5, color: styling.text_color)}
set symbol:
{ enlarge(
border_size: 0.03,
symbol_variation(symbol: set.symbol, variation: "watermark")
)
}
......@@ -17,6 +17,7 @@ card field:
choice: shifted
choice: rulestip
choice: leveler
choice: counter
script:
stylesheet # indicate that this value should be updated when the stylesheet changes
card_shape() # determined by the style
......
......@@ -281,6 +281,7 @@ color_of_card := {
rarity_sort := {
if card.shape == "token" then "T"
else if card.shape == "rulestip" then "U"
else if card.shape == "counter" then "C"
else if set.sort_special_rarity == "with the rest" or card.rarity != "special" then " "
else "S"
}
......@@ -290,12 +291,14 @@ set_filter := {
{ card.shape == "token" }
else if card.shape == "rulestip" then
{ card.shape == "rulestip" }
else if card.shape == "counter" then
{ card.shape == "counter" }
else if set.sort_special_rarity != "separate numbering" then
{ card.shape != "token" and card.shape != "rulestip" }
{ card.shape != "token" and card.shape != "rulestip" and card.shape != "counter" }
else if card.rarity == "special" then
{ card.shape != "token" and card.shape != "rulestip" and card.rarity == "special" }
{ card.shape != "token" and card.shape != "rulestip" and card.shape != "counter" and card.rarity == "special" }
else
{ card.shape != "token" and card.shape != "rulestip" and card.rarity != "special" }
{ card.shape != "token" and card.shape != "rulestip" and card.shape != "counter" and card.rarity != "special" }
}
card_number := {
......@@ -311,7 +314,7 @@ card_count := {
}
# used by pack scripts
is_token_card := { card.shape == "token" or card.shape == "rulestip" }
is_token_card := { card.shape == "token" or card.shape == "rulestip" or card.shape == "counter" }
is_shifted_card := { contains(card.shape, match:"shifted") }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment