Card symbol and transform symbol modifications (#83)

This commit is contained in:
GenevensiS
2024-09-29 19:11:46 +02:00
committed by GitHub
parent 56318f0e14
commit 960dc2a219
13 changed files with 45 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
card style:
card symbol:
left: { card_symbol_left_1() + nameline_offset_left_1() }
left: { card_symbol_left_1() + name_transform_symbol_shift_1() + nameline_offset_left_1() }
top: { card_symbol_top_1() + nameline_offset_top_1() }
width: { card_symbol_width_1() + nameline_offset_height_1() }
height: { if card_symbol_disabled_1() then 0 else card_symbol_height_1() + nameline_offset_height_1() }
@@ -9,4 +9,4 @@ card style:
include file: /magic.mse-game/card-symbols/menu_choice_images
render style: image
image: { card_symbol_image(face: 1) }
z index: 810
z index: 870

View File

@@ -1,7 +1,7 @@
include file: /magic-modules.mse-include/card-symbols/card_fields
card style:
card symbol 2:
left: { card_symbol_left_2() + nameline_offset_left_2() }
left: { card_symbol_left_2() + name_transform_symbol_shift_2() + nameline_offset_left_2() }
top: { card_symbol_top_2() + nameline_offset_top_2() }
width: { card_symbol_width_2() + nameline_offset_height_2() }
height: { if card_symbol_disabled_2() then 0 else card_symbol_height_2() + nameline_offset_height_2() }
@@ -10,4 +10,4 @@ card style:
include file: /magic.mse-game/card-symbols/menu_choice_images
render style: image
image: { card_symbol_image(face: 2) }
z index: 810
z index: 870

View File

@@ -1,7 +1,7 @@
include file: /magic-modules.mse-include/card-symbols/card_fields_dfc
card style:
card symbol 3:
left: { card_symbol_left_3() + nameline_offset_left_3() }
left: { card_symbol_left_3() + name_transform_symbol_shift_3() + nameline_offset_left_3() }
top: { card_symbol_top_3() + nameline_offset_top_3() }
width: { card_symbol_width_3() + nameline_offset_height_3() }
height: { if card_symbol_disabled_3() then 0 else card_symbol_height_3() + nameline_offset_height_3() }
@@ -10,4 +10,4 @@ card style:
include file: /magic.mse-game/card-symbols/menu_choice_images
render style: image
image: { card_symbol_image(face: 3) }
z index: 810
z index: 870

View File

@@ -1,6 +1,6 @@
card style:
casting cost:
right: { casting_cost_right_1() + nameline_offset_left_1() + nameline_offset_width_1() }
right: { casting_cost_right_1() + casting_cost_transform_symbol_shift_1() + nameline_offset_left_1() + nameline_offset_width_1() }
top: { casting_cost_top_1() + nameline_offset_top_1() }
width: { casting_cost_width_1() }
height: { casting_cost_height_1() + nameline_offset_height_1() }

View File

@@ -1,7 +1,7 @@
include file: /magic-modules.mse-include/casting-costs/card_fields
card style:
casting cost 2:
right: { casting_cost_right_2() + nameline_offset_left_2() + nameline_offset_width_2() }
right: { casting_cost_right_2() + casting_cost_transform_symbol_shift_2() + nameline_offset_left_2() + nameline_offset_width_2() }
top: { casting_cost_top_2() + nameline_offset_top_2() }
width: { casting_cost_width_2() }
height: { casting_cost_height_2() + nameline_offset_height_2() }

View File

@@ -1,7 +1,7 @@
include file: /magic-modules.mse-include/casting-costs/card_fields_dfc
card style:
casting cost 3:
right: { casting_cost_right_3() + nameline_offset_left_3() + nameline_offset_width_3() }
right: { casting_cost_right_3() + casting_cost_transform_symbol_shift_3() + nameline_offset_left_3() + nameline_offset_width_3() }
top: { casting_cost_top_3() + nameline_offset_top_3() }
width: { casting_cost_width_3() }
height: { casting_cost_height_3() + nameline_offset_height_3() }

View File

@@ -57,7 +57,8 @@ transform_symbol_offset_width_1 := { 0 }
transform_symbol_offset_height_1 := { 0 }
#### You can increase/decrease the amount by which the name shifts left
#### when a transformation symbol is present on the card:
#### when a card symbol or a transformation symbol is present on the card:
name_card_symbol_offset_left_1 := { 0 }
name_transform_symbol_offset_left_1 := { 0 }
#### For DFC or TFC templates, use:

View File

@@ -9,9 +9,9 @@
0300: trim #### Effects like vehicle, nyx, and snow that don't spill over the border
0400: pinline #### Colored pinlines, pride pinlines
0500: border #### Border
0600: plate editing #### Major frame pieces: Transform sym/Lesson/Spree handling, Adventure pages, movable typelines
0600: plate editing #### Major frame pieces: Lesson/Spree handling, Adventure pages, movable typelines
0700: watermarking #### Watermarks, loyalty ability stripes, flavor bar, pop-under art (ex: WAR JP Tamiyo's popout goes under the rarity symbol)
0800: attachments #### Optional frame additions: Crown, ptbox, level arrows, loyalty boxes, stamps, color indicators, alias box, flash dot
0800: attachments #### Optional frame additions: Crown, ptbox, level arrows, loyalty boxes, stamps, color indicators, transformation symbols, alias box, flash dot
0900: text #### Any text, rarity symbol
1000: overlays #### Popout art, foiling and other overlay packages
1100: corners #### These must always be last
@@ -59,7 +59,6 @@ Specific z indexes
600 Moveable name/typelines
610 Name/type caps (spree attachment)
620 Transform symbol
620 Adventure page
640 Leveler backgrounds
@@ -76,6 +75,7 @@ Specific z indexes
840 PT Box, Leveler arrows, Flash dot
850 Color stamp
860 Holofoil stamp
870 Transform symbol
880 Alias box
900 Loyalty cost colons

View File

@@ -9,4 +9,4 @@ card style:
include file: /magic.mse-game/symbols/menu_choice_images
render style: image
image: { transform_symbol_image(face: 1) }
z index: 620
z index: 870

View File

@@ -10,4 +10,4 @@ card style:
include file: /magic.mse-game/symbols/menu_choice_images
render style: image
image: { transform_symbol_image(face: 2) }
z index: 620
z index: 870

View File

@@ -10,4 +10,4 @@ card style:
include file: /magic.mse-game/symbols/menu_choice_images
render style: image
image: { transform_symbol_image(face: 3) }
z index: 620
z index: 870

View File

@@ -42,6 +42,9 @@ transform_symbol_offset_height_1 := { 0 }
#### To move the symbol to the right of the card:
transform_symbol_mirrored_1 := { true }
#### When the symbol is on the right of the card, transform_symbol_offset_left_1's effect if flipped
#### (Positive numbers will shift to the left)
#### For the other faces on DFCs use:
transform_symbol_offset_top_2 := { 0 }
transform_symbol_offset_left_2 := { 0 }