tybonel13
0/0 Germ
Posts: 40
Favorite Card: Brimaz, King of Oreskos
Favorite Set: Theros Block
Color Alignment: Blue, Black
|
Post by tybonel13 on Oct 3, 2018 22:02:11 GMT
Hello! I am currently working on a custom format similar to Planechase. I have been editing the code and images from one of the Tapped templates. The process has been fun and educational but I have reached a block. When I try to change the image of my cards it opens the frame color menu. I can't find anyplace in the style code of the template that adds this in. I would like to delete this menu, as I am only using the colorless frame for my card. Any help would be much appreciated! (I am a novice in coding.)
|
|
impspiritguide
2/2 Zombie
Favorite Color: Brown
Posts: 129
Set Hub: http://magicseteditor.boards.net/thread/256/pokemon-thread
Formerly Known As: Imp Elemental Spirit Guide
|
Post by impspiritguide on Oct 4, 2018 12:20:24 GMT
That menu is the "card color" field (I think, I don't mess with the MtG templates much), which is the field that allows you to change your card color.
If I was to guess that field is probably networked with a number of scripts, and given the fact that you couldn't identify the problem already I'm guessing it might be dangerous to remove the field entirely, but you can make it "invisible". Find the following: card color: left:
in your "style" file. under neath that you will change two things. First make the height of the field 0 like so. height: 0
then if there is a visibility line change it to the following, if there is no visibility line then add the following under neath the "z index:" entry. visible: false
If this doesn't work or you encounter problems with the above then when you post the next time make sure to upload the "style" file somewhere and leave a link to it as this will help us help you.
|
|
tybonel13
0/0 Germ
Posts: 40
Favorite Card: Brimaz, King of Oreskos
Favorite Set: Theros Block
Color Alignment: Blue, Black
|
Post by tybonel13 on Oct 4, 2018 13:29:13 GMT
Thanks for the response! I just tried out that method but it got rid of the boxes too. If possible I would like to disable the menu only, not the color. Here is my template's style: Attachment Deleted
|
|
impspiritguide
2/2 Zombie
Favorite Color: Brown
Posts: 129
Set Hub: http://magicseteditor.boards.net/thread/256/pokemon-thread
Formerly Known As: Imp Elemental Spirit Guide
|
Post by impspiritguide on Oct 4, 2018 17:23:24 GMT
Your terminology isn't jiving with my brain. Not sure what you mean by it got rid of the "box" as well, if you mean the blue highlight then I can't help you as I know of know way to add this without an editable field. As far as the template is concerned the "menu" is the "card color" field, and the only way to change that is to change it for all MtG templates, which won't be useful to you.
Trying to figure out what else may be going on. If you have changed the images to make a new card frame then that could explain your problems (and I bow to the work and effort it must have taken to make these images line up correctly). If this is the case then try this style file. I have made the card color field invisible as above and added an "extra card field" labeled "card color background" to replace it that is uneditable. I hope this helps.
|
|
tybonel13
0/0 Germ
Posts: 40
Favorite Card: Brimaz, King of Oreskos
Favorite Set: Theros Block
Color Alignment: Blue, Black
|
Post by tybonel13 on Oct 4, 2018 17:57:00 GMT
Sorry impspiritguide , let me add some images. By 'box' I was referring to the layer in between the frame and image and the text: When I try the solution you suggested it gets rid of the menu as well as this. The card ends up looking like this: *Edit* I just tried using your style template to replace my own and it still doesn't have the layer.
|
|
impspiritguide
2/2 Zombie
Favorite Color: Brown
Posts: 129
Set Hub: http://magicseteditor.boards.net/thread/256/pokemon-thread
Formerly Known As: Imp Elemental Spirit Guide
|
Post by impspiritguide on Oct 4, 2018 18:57:57 GMT
OK, now I get it.
Question (because delving into the MtG scripting to find the "card_background :=" and everything involved is more painful than I want to delve into). The template you are creating is colorless, can it
a) have different "color" aspects such as artifact, land, etc. This could even include your own definitions for different card frames (I don't know maybe something like "T-Intersection" or "Hidden Path" since you are in a labyrinth?)
or b) is it pretty much a single background and frame with different artwork and text.
If it is a) then what options can the card have?
If it is b) then I'll need a little bit to find the appropriate images, but I can probably make a simpler (for me at least) solution.
EDIT: Did you create the "box" framework yourself and if so is it consistent with the 482x331 ratio?
|
|
tybonel13
0/0 Germ
Posts: 40
Favorite Card: Brimaz, King of Oreskos
Favorite Set: Theros Block
Color Alignment: Blue, Black
|
Post by tybonel13 on Oct 4, 2018 19:10:40 GMT
It is only the colorless with the image and text changing. I did make the image 482x331. I found that the code goes by pixels so I can easily move/change things with paint.net.
|
|
impspiritguide
2/2 Zombie
Favorite Color: Brown
Posts: 129
Set Hub: http://magicseteditor.boards.net/thread/256/pokemon-thread
Formerly Known As: Imp Elemental Spirit Guide
|
Post by impspiritguide on Oct 4, 2018 20:37:08 GMT
Found a simpler way, use the following file, at the bottom of the file is card color background: left: 14 top: 12 width: 482 height: 331 z index: 1 render style: image image: ccard.png
change the "image: ccard.png" to the file name for your framework and I believe it should work. I moved it back one z-index so that there wouldn't be any overriding of the text layer.
|
|
tybonel13
0/0 Germ
Posts: 40
Favorite Card: Brimaz, King of Oreskos
Favorite Set: Theros Block
Color Alignment: Blue, Black
|
Post by tybonel13 on Oct 4, 2018 21:23:26 GMT
It works perfectly! Thank you.
|
|