Optional foil system for all Magic templates.

Normal foil gradient added.
Planeswalker and Flip card shapes now added.
General clean up of styles.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1392 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
pichoro
2009-07-07 03:04:54 +00:00
parent 3d3732b736
commit 06c83e4171
28 changed files with 1009 additions and 812 deletions
+32 -32
View File
@@ -1,4 +1,4 @@
mse version: 0.3.7
mse version: 0.3.8
game: magic
short name: Modern style
full name: After 8th edition
@@ -6,20 +6,17 @@ icon: card-sample.png
position hint: 001
installer group: magic/new style/normal cards
version: 2008-11-27
version: 2009-07-06
depends on: magic.mse-game 2008-06-02
depends on: magic-default-image.mse-include 2007-09-23
depends on: magic-watermarks.mse-include 2007-09-23
depends on: magic-mana-large.mse-symbol-font 2007-09-23
depends on: magic-mana-small.mse-symbol-font 2007-09-23
card background: white
card width: 375
card height: 523
card dpi: 150
############################################################## Extra scripts
init script:
# Load scripts for image box
include file: /magic-default-image.mse-include/scripts
@@ -66,9 +63,7 @@ set info style:
fill type: solid
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
############################################################## Extra style options
styling field:
type: choice
name: artifact style
@@ -121,6 +116,12 @@ styling field:
name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no
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: image size
@@ -164,7 +165,6 @@ styling style:
choice images:
standard: /magic.mse-game/icons/small-image.png
extended: /magic.mse-game/icons/large-image.png
############################################################## Card fields
card style:
############################# Background stuff
@@ -178,22 +178,20 @@ card style:
right width: 17
top width: 17
bottom width: 18
#mask: border-mask.png
z index: -1
z index: 4
card color:
left: 0
top: 0
width: 375
height: 523
z index: -2
z index: 0
render style: image
popup style: in place
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol=="none" then 32 else 51 }
top : 30
left: { if card.card_symbol=="none" then 32 else 51 }
top : 30
right: { 341 - card_style.casting_cost.content_width }
height: 23
alignment: bottom shrink-overflow
@@ -225,10 +223,10 @@ card style:
top : 31
height: 20
width: 14
z index: 1
render style: image
choice images:
tombstone: tombstone.png
############################# Image
image:
left: 32
@@ -239,29 +237,26 @@ card style:
mask:
script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png"
default: {default_image(card.card_color)}
############################# Card type
type:
left: 35
top : 298
width: { 308 - max(22,card_style.rarity.content_width) }
height: 20
alignment: top shrink-overflow
z index: 2
z index: 1
padding top: 2
font:
name: Matrix
size: 14
color: rgb(0,0,0)
separator color: rgb(128,128,128)
rarity:
right: 342
top : 297
width: 44
height: 22
z index: 1
z index: 2
render style: image
alignment: middle right
choice images:
@@ -278,7 +273,6 @@ card style:
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: 31
@@ -305,15 +299,12 @@ card style:
else "middle left"
z index: 2
padding left: 6
# padding top: 2
padding right: 4
# padding bottom: 2
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: 117
top : 321
@@ -323,10 +314,9 @@ card style:
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 4
z index: 2
left: 284
top: 466
width: 60
@@ -338,10 +328,8 @@ card style:
weight: bold
color: rgb(0,0,0)
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 56
top : 478
@@ -353,7 +341,6 @@ card style:
size: 10
weight: bold
color: { font_color(card.card_color) }
copyright line:
left: 30
top : 493
@@ -364,15 +351,19 @@ card style:
name: MPlantin
size: 6.5
color: { font_color(card.card_color) }
############################################################## Extra card fields
extra card field:
type: choice
name: pt box
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: foil layer
choice: foil
save value: false
editable: false
extra card style:
pt box:
left: 271
@@ -384,3 +375,12 @@ extra card style:
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
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"}