|
Post by ameisenmeister on May 28, 2023 20:25:50 GMT
Hello everyone, I'm working on a project and successfully added a sixth color already. Now I wanted to add 2-mana-hybrid symbols too and for the first (the changed original) colors, it has been no problem, but it won't work for the hybrid symbol of the sixth color. The letter for it is D and typing in the letter gives me the regular new sixth mana symbol, but typing it '2/D' doesn't create the hybrid mana symbol. It just shows  and a backslash, not even the D symbol is created. I already added the symbol in the respective folder, added it in the symbol-font.txt below line 438 and in line 837. What am I missing? Can anybody help? Thousand thanks already in advance!
|
|
GenevensiS
2/2 Zombie

Profile pic by Dark Fluffy
Posts: 106
Favorite Card: Baleful Strix
Favorite Set: Urza's Saga
Color Alignment: Blue, Black
|
Post by GenevensiS on May 28, 2023 20:31:21 GMT
Make sure the definition for 2/D is written higher in the symbol font file than the definition for 2 and the definition for D. It prioritizes from top to bottom, so if it sees 2 first, it will use that.
|
|
|
Post by ameisenmeister on May 28, 2023 21:18:47 GMT
You mean that
"symbol: code: D image: mana_d.png"
is in a line below the
symbol: code: 2/D image: 2D.png
? Yes, this is the case but it still won't show th 2/D symbol when typed in.
|
|
GenevensiS
2/2 Zombie

Profile pic by Dark Fluffy
Posts: 106
Favorite Card: Baleful Strix
Favorite Set: Urza's Saga
Color Alignment: Blue, Black
|
Post by GenevensiS on May 28, 2023 22:06:36 GMT
Yes that's what I mean.
Also:
symbol: code: 2 image: 2.png enabled: {ancestral_mana()}
and:
symbol: image: mana_circle.png code: [0-9]+(?!/[WUBRGSTQ2])|. regex: yes draw text: 0 text margin left: .2 text margin right: .2 text margin top: -.14 text margin bottom: -.14 text font: name: MPlantin size: 1 color: black max stretch: 0.57
both need to be after
symbol: code: 2/D image: 2D.png
Also, try to just highlight the 2/D in the card text and clicking the star button.
|
|
|
Post by ameisenmeister on May 30, 2023 20:06:02 GMT
Thanks for your fast response. I added the two blocks of code you gave me right below the 2/D part but it still doesn't work. I added my symbol-font file so maybe you could check it and spot my mistake: symbol-font. Alternatively, here's a screenshot of the relevant lines:  Thanks already for your assistance!
|
|
GenevensiS
2/2 Zombie

Profile pic by Dark Fluffy
Posts: 106
Favorite Card: Baleful Strix
Favorite Set: Urza's Saga
Color Alignment: Blue, Black
|
Post by GenevensiS on May 30, 2023 20:50:04 GMT
You should not add these lines if they were not present before. I was just saying that if they were there, they should come after the definition for 2/D.
Anyway, when I try your symbol-font, it works for me. I can successfully get it to draw the image for 2/D when I highlight it and click the star button.
Are you sure your template is using the correct file? You have not changed the "short name" of the symbol-font (on line 4 of the file). So maybe when you think you are selecting it from the style tab, you actually are selecting the original symbol-font that you made the copy from? If you are not selecting it from the style tab, but have hard coded it into the template, make sure whatever text field you want to use the symbol-font in is actually referencing it by it's folder name.
Do you by chance have multiple copies of this symbol-font on your drive, or even multiple copies of MSE, and are modifying one copy, but running the other?
|
|