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
+46 -39
View File
@@ -1,4 +1,4 @@
mse version: 0.3.7
mse version: 0.3.8
game: magic
short name: Textless
full name: Modern style
@@ -6,7 +6,7 @@ installer group: magic/new style/textless
icon: card-sample.png
position hint: 005
version: 2008-11-27
version: 2009-07-06
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -17,15 +17,11 @@ depends on:
package: magic-mana-large.mse-symbol-font
version: 2007-09-23
card background: white
card width: 375
card height: 523
card dpi: 150
#By: Wolfwood
############################################################## Extra scripts
init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
@@ -36,8 +32,8 @@ init script:
# Which artifact template should be used?
artifact_template := {
if input == "a" and not styling.darker_artifacts
then "oa"
else input
then "oa"
else input
}
template := { artifact_template() + "{type}.jpg" }
@@ -57,9 +53,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: boolean
name: grey hybrid name
@@ -79,6 +73,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 style:
darker artifacts:
choice images:
@@ -92,31 +92,29 @@ styling style:
choice images:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 375
height: 523
top: 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
left width: 17
right width: 17
top width: 17
bottom width: 18
z index: -1
z index: 4
card color:
left: 0
top: 0
width: 375
height: 523
z index: -2
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:
@@ -151,10 +149,10 @@ card style:
top : 31
height: 20
width: 14
z index: 1
render style: image
choice images:
tombstone: tombstone.png
############################# Image
image:
left: 31
@@ -163,14 +161,13 @@ card style:
height: 410
mask: mask_image.png
z index: 1
############################# Card type
rarity:
left: 309
top : 480
width: 44
height: 22
z index: 1
z index: 2
alignment: middle center
render style: image
choice images:
@@ -187,14 +184,13 @@ 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")
############################# PT
pt:
z index: 4
left: 290
top: 447
width: 60
height: 28
z index: 2
left: 290
top: 447
width: 60
height: 28
alignment: center middle shrink-overflow
font:
name: ModMatrix
@@ -204,7 +200,6 @@ card style:
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 54
top : 477
@@ -215,7 +210,6 @@ card style:
name: Matrix
size: 10
color: { font_color(card.card_color) }
copyright line:
left: 26
top : 493
@@ -226,21 +220,25 @@ 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 field:
type: choice
name: paintbrush
script: paintbrush_color(card.card_color)
editable: false
choice: black
choice: white
save value: false
extra card style:
pt box:
left: 277
@@ -252,6 +250,14 @@ extra card style:
render style: image
mask: mask_pt.png
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"}
paintbrush:
left: 23
top : 480
@@ -262,3 +268,4 @@ extra card style:
choice images:
black: /magic-future-common.mse-include/paintbrush_black.png
white: /magic-future-common.mse-include/paintbrush_white.png