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
+65 -68
View File
@@ -1,4 +1,4 @@
mse version: 0.3.7
mse version: 0.3.8
game: magic
short name: Planeshifted Splits
full name: Planeshifted Split Cards
@@ -6,13 +6,10 @@ installer group: magic/Planeshifted/Split Cards
icon: card-sample.png
position hint: 013
version: 2008-08-05
version: 2009-07-06
depends on:
package: magic.mse-game
version: 2008-06-02
depends on:
package: magic-default-image.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
@@ -23,15 +20,11 @@ depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
card background: white
card width: 523
card height: 375
card dpi: 150
# By Pichoro; based on templates by Wolfwood and Buttock1234
# Lots of copy/paste from magic-new.mse-style
############################################################## Extra scripts
init script:
# Should hybrids have a grey name?
mask_hybrid_with_land := { styling.grey_hybrid_name }
@@ -42,7 +35,7 @@ init script:
template_suffix := [card: "card.jpg", pt: "pt.png"]
template := { input + template_suffix[type] }
land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] }
# Use the normal tap symbol
mana_t := {
if styling.tap_symbol == "old" then "old"
@@ -108,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 style:
use guild mana symbols:
choice images:
@@ -119,40 +118,38 @@ styling style:
modern: /magic-mana-large.mse-symbol-font/mana_t.png
old: /magic-mana-large.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png
############################################################## Card fields
card style:
############################# Background stuff
border color:
left: 0
top : 0
width: 523
height: 375
top: 0
width: 523
height: 375
radius: 18
z index: -2
card color:
left: 18
top: 18
width: 236
height: 338
z index: -1
card color:
left: 18
top: 18
width: 236
height: 338
z index: 0
render style: image
popup style: in place
image: { card_background() }
card color 2:
left: 269
top: 18
width: 236
height: 338
z index: -1
left: 269
top: 18
width: 236
height: 338
z index: 0
render style: image
popup style: in place
image: { card_background() }
############################# Name line
name:
left: { if card.card_symbol=="none" then 30 else 51 }
top : 27
top: 27
right: { 242 - card_style.casting_cost.content_width }
height: 17
alignment: top shrink-overflow
@@ -168,7 +165,7 @@ card style:
shadow displacement y: 1
name 2:
left: { if card.card_symbol_2=="none" then 282 else 51 }
top : 27
top: 27
right: { 493 - card_style.casting_cost_2.content_width }
height: 17
alignment: top shrink-overflow
@@ -184,7 +181,7 @@ card style:
shadow displacement y: 1
casting cost:
right: 243
top : 28
top: 28
width: { max(19, card_style.casting_cost.content_width) + 3 }
height: 16
alignment: bottom right
@@ -195,10 +192,9 @@ card style:
always symbol: true
z index: 2
padding top: 0
casting cost 2:
right: 494
top : 28
top: 28
width: { max(19, card_style.casting_cost_2.content_width) + 3 }
height: 16
alignment: bottom right
@@ -209,7 +205,6 @@ card style:
always symbol: true
z index: 2
padding top: 0
############################# Image
image:
left: 28
@@ -217,16 +212,13 @@ card style:
width: 216
height: 159
z index: 1
image 2:
left: 279
top: 49
width: 216
height: 159
z index: 1
############################# Card type
type:
left: 30
top : 211
@@ -262,7 +254,7 @@ card style:
top : 213
width: 26
height: 13
z index: 1
z index: 2
alignment: middle right
render style: image
choice images:
@@ -279,13 +271,12 @@ 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")
rarity 2:
right: 493
top : 213
width: 26
height: 13
z index: 1
z index: 2
alignment: middle right
render style: image
choice images:
@@ -301,7 +292,6 @@ card style:
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
############################# Text box
text:
left: 29
@@ -332,7 +322,6 @@ card style:
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
text 2:
left: 279
top : 233
@@ -380,14 +369,13 @@ card style:
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
############################# PT
pt:
z index: 4
left: 200
top: 327
width: 48
height: 25
z index: 2
left: 200
top: 327
width: 48
height: 25
alignment: center middle shrink-overflow
font:
name: ModMatrix
@@ -399,11 +387,11 @@ card style:
shadow displacement y: 1
separator color: rgb(200,0,0)
pt 2:
z index: 4
left: 451
top: 327
width: 48
height: 25
z index: 2
left: 451
top: 327
width: 48
height: 25
alignment: center middle shrink-overflow
font:
name: ModMatrix
@@ -414,10 +402,8 @@ card style:
shadow displacement x: -1
shadow displacement y: 1
separator color: rgb(200,0,0)
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
left: 46
top : 338
@@ -428,7 +414,6 @@ card style:
name: Matrix
size: 8
color: { font_color(card.card_color) }
illustrator 2:
left: 298
top : 338
@@ -439,7 +424,6 @@ card style:
name: Matrix
size: 8
color: { font_color(card.card_color_2) }
copyright line:
left: 26
top : 348
@@ -450,7 +434,6 @@ card style:
name: MPlantin
size: 6
color: { font_color(card.card_color) }
copyright line 2:
left: 278
top : 348
@@ -461,37 +444,51 @@ card style:
name: MPlantin
size: 6
color: { font_color(card.card_color_2) }
############################################################## 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: pt box 2
script: card.card_color_2
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: 194
top: 326
width: 56
height: 29
left: 194
top: 326
width: 56
height: 29
z index: 1
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
pt box 2:
left: 445
top: 326
width: 56
height: 29
left: 445
top: 326
width: 56
height: 29
z index: 1
visible: { card.pt_2 != "" }
render style: image
image: { card_ptbox() }
foil layer:
right: 523
bottom: 0
width: 375
height: 523
z index: 3
angle: 90
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}