Template Development

Questions and discussions related to the develoment and modification of game, style, and export templates. This forum is also the place to request new templates.
Thu, 2011-08-25 19:34
Art_Freak
Art_Freak's picture

Alright, opening this up for discussion now. If you're unfamiliar with the frames or mechanics involved, see here: http://wizards.com/magic/magazine/article.aspx?x=mtg/daily/feature/157b



Current Progress:
The regular frames and template are complete. Be sure to thank Shiv for doing the hard part!

Sat, 2010-08-28 15:13
Pichoro
MSE Add-On Award
Pichoro's picture

Most templates that are requested are never made. Why? There are a couple of reasons. First, if you're doing a custom game out of your own imagination, most templaters aren't going to be interested in making it for you. In my personal experience, custom game designers that happen in here are doing it on a whim, and don't really want to put forth the effort required for this sort of thing. Often, they lose interest, and any work the templater has done is then wasted. Second, many people who request a template for an existing game are again not interested in doing the work. Here's some information about what is required to make a template for game that already exists.

Mon, 2016-02-08 02:43
Mister Blake

Hey, so I've been working for a few weeks on altering the Planeswalker template so that the abilities are no longer fixed in height. Got a couple questions that if somebody already knows the answer to, that'd be great.

First: Is anybody here familiar with the source code of MSE itself? Specifically, can you point me to the algorithm that resizes and line-breaks text boxes?

Second: I lean heavily on the "content_height" "content_width" and "content_lines" properties, but these update at difficult to predict times. For example, when the file first loads these properties are blank.

Fri, 2016-02-05 01:35
crackbone

Working on a custom game template. I want changeable backgrounds in one style like Magic does, but I only need to be able to click, select one of ~8 options, and replace the background image. I've been trying to figure out how to do this via magic templates, but there is so much scripting in them I can't follow it through.

What I have now:
It's a weird combination of Future Sight and M15 templates, to attempt to get a working method.

Wed, 2016-02-03 08:02
Rathenmedus
Rathenmedus's picture

Hey, first off, want to say that this has been an amazing program and I love it a lot ^_^ it is such a fun program to use and I get a lot of enjoyment out of making custom cards, so I want to get that out of the way first. I appreciate the lengths that have been crossed with this program and hope the endeavors continue in the future.

Onto the main topic, with the recent inclusion of Devoid and such, I noticed we got Colorless mana straightened out and the Devoid card.

Login or register to post comments
Sun, 2016-01-31 09:24
raohmaru
raohmaru's picture

Hi everyone!

In the process on learning how to create new templates, I started tinkering with the Dvorak template –as it's recommended as a base template to learn how to code.
And I ended in some sort of "generic" card template, which I'm posting here because I think it can be used for anyone looking for a basic template for his game.

Cards

The default card style has a bunch of options to customise the look & feel of y

Fri, 2016-01-29 22:17
7se7en

I can't quite get a grasp on how to incorporate if then statements and script: stiff into the settings of a textbox.

Currently I have two types of cards put onto 1 stylesheet (for reasons) and I am able to switch between "card types" and it rearranges all the assets to properly display the card.
My problem is that the textbox for "Card Name" on one type of card has no shadow, and for other's it has a black outlining, and then for others it has a white outlining with black text.

How do I properly add those checks?

I need to add
[code]
shadow color: rgb(0, 0, 0)
shadow displacement

Fri, 2016-01-29 16:23
Juan-K

Hi i want to change the left value for the level box in a yu gi oh template so i have this: left: {if is_blmonster() or card.level=="**********" or card.level=="***********" or card.level=="***********" then 59 else 133 } but it doesnt work, i think is because the template remplace the * with a star icon do you know how solve this?

Mon, 2016-01-25 03:36
Mister Blake

Short Version:
As the title suggests, I'm trying to reference properties of an extra card style with the expression: "card_style.(name).content_lines" and I keep getting the error: "Collection has no member '(name)'"

Long Version:
I'm an novice programmer but I've taught myself MSE's scripting language strictly from the documentation on this site and a kind of "guess and check" methodology of editing pre-existing MSE templates.

Mon, 2016-01-18 23:56
crackbone

I'm working on a custom game, and I'm trying to figure out how exactly symbol fonts work, without a lot of success.

Here's what I'm trying to accomplish:

I have a text field that will have words/phrases in it. I want the text to be outlined/stroked, but mse doesn't do that natively. It only needs to handle the characters A through Z.