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
+43 -43
View File
@@ -1,4 +1,4 @@
mse version: 0.3.7
mse version: 0.3.8
game: magic
short name: Planeshifted
full name: Planar Chaos Timeshifts
@@ -6,7 +6,7 @@ installer group: magic/Planeshifted/Normal Cards
icon: card-sample.png
position hint: 011
version: 2008-08-07
version: 2009-07-06
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -20,14 +20,11 @@ depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
card background: white
card width: 375
card height: 523
card dpi: 150
############################################################## Extra scripts
init script:
init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
@@ -59,9 +56,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: shifted sorting
@@ -106,6 +101,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
@@ -139,36 +140,34 @@ 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
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: { if card.card_symbol=="none" then 32 else 51 }
top : 30
right: { 341 - card_style.casting_cost.content_width }
left: { if card.card_symbol=="none" then 32 else 51 }
top: 30
right: { 341 - card_style.casting_cost.content_width }
height: 23
alignment: middle shrink-overflow
padding bottom: 0
@@ -183,7 +182,7 @@ card style:
shadow displacement y: 1
casting cost:
right: 343
top : 32
top: 32
width: { max(30, card_style.casting_cost.content_width) + 5 }
height: 23
alignment: middle right
@@ -199,10 +198,10 @@ card style:
top : 31
height: 20
width: 14
z index: 1
render style: image
choice images:
tombstone: tombstone.png
############################# Image
image:
left: 32
@@ -212,9 +211,7 @@ card style:
z index: 1
mask:
script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png"
############################# Card type
type:
left: 35
top : 298
@@ -232,13 +229,12 @@ card style:
shadow displacement y: 1
scale down to: 6
separator color: rgb(192,192,192)
rarity:
right: 342
top : 297
width: 44
height: 22
z index: 1
z index: 2
alignment: middle right
render style: image
choice images:
@@ -255,7 +251,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
@@ -282,13 +277,10 @@ 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
watermark:
left: 117
top : 321
@@ -298,10 +290,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
@@ -316,10 +307,8 @@ card style:
shadow displacement x: -1
shadow displacement y: 1
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 56
top : 478
@@ -331,7 +320,6 @@ card style:
size: 10
weight: bold
color: { font_color(card.card_color) }
copyright line:
left: 30
top : 493
@@ -342,15 +330,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
@@ -362,3 +354,11 @@ extra card style:
render style: image
image: { card_ptbox() }
mask: ptmask.png
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"}