Setting up for new games

Login or register to post comments
Fri, 2006-07-21 20:00
Sensei Le Roof
Sensei Le Roof's picture

By chance, is there a tutorial available on how to set up the various templates for a new game? I tried reading through the help file regarding the keywords and such and it gave me a "dith reaction"... "dith" as in "deer in the headlights".

Online dictionaries abound. It's time to start using them.

Fri, 2006-07-21 23:16
Pichoro
Pichoro's picture

As far as I know, there is not, because it gets a wee bit complicated. What sort of game are you wanting to have?

Fri, 2006-07-21 23:41
marjanovich
marjanovich's picture

depends on how far you need to take the new game if your looking at new templates with the matching mse files its not super hard to take a pre-existing and mod the heck out of it, if your looking from starting from the ground up...

well here's a strange little bit of advice get a decent image editor, when i designed a new template for my own game i need to know the cords (34,90 - 34 pixels down, 90 from the left) for where to put the fill-ins from there its almost a form of table programming like html code...

for an example of a different look and way, look at the Unlimited Adventure REV 7.2 in card showcase...

^_^
ICQ - 330690959
AIM - s13damon
MSN -
HOMEPAGE - http://studio-thirteen.net

Sat, 2006-07-22 18:11
Sensei Le Roof
Sensei Le Roof's picture

A CCG idea, one of a few I've been tinkering with for the past couple years or so. Right now the different card types (Persona, Realm, Blast, etc.) have significantly different designs, but I may change that -- I'd been putting together cards the hard way (doubly so for Skill cards, where my initial design had the game text inside a diamond shape).

Online dictionaries abound. It's time to start using them.

Sat, 2006-07-22 19:55
Pichoro
Pichoro's picture

Do you have any digital images to share, perhaps?

Sat, 2006-07-22 19:59
marjanovich
marjanovich's picture

well with the diamon shape the overlay will help with the auto formatting of that (although i would think since theres no auto justify certain wording would constantly have to redone to make it look right)

if you look at the VS templates you'll see the card design stays roughly the same with a change on the dual team mode where the card changed appearance along with the picture formatting & extra text box with 5 extra lines of code...

i'm a firm believer if you (Y O U) like the design you did don't sacrifice it to make your life easier, take the tool apart and make it work for you.

if you need a hand putting the codebase together for templates of your design i can give you a hand with it (if you need one)

MSE is easily one of the nicest to change the way it works to suit your own tastes...

besides all you need is a rough template in almost just outlines and boxes you can overlay the visual stuff over that later... and that can be done in Paintbrush,Gimp,PSP,Photoshop... anything that has boxes & circle tools...

^_^
ICQ - 330690959
AIM - s13damon
MSN -
HOMEPAGE - http://studio-thirteen.net

Sun, 2006-07-23 02:38
Sensei Le Roof
Sensei Le Roof's picture

: Do you have any digital images to share, perhaps?

Not of the right size to use with MSE. I set them up without benefit of actually measuring real cards, so they're sitting at 3"x4". Since resizing will probably distort the designs (and since I think they could stand some tweaking anyway) I'll have to put together some new base cards.

And of course, that's just Dimensions.

Online dictionaries abound. It's time to start using them.

Sun, 2006-07-23 02:45
Pichoro
Pichoro's picture

No, I mean just post them here so we can get a look at what you want to do.

Sun, 2006-07-23 15:25
Sensei Le Roof
Sensei Le Roof's picture

Here goes...

Ick... I just noticed the image box on the Blast card isn't centered... and could probably stand to be bigger. I also didn't put any card borders. The Realm card was designed to have a picture (generally a world) in the big empty space, without the "box".

Online dictionaries abound. It's time to start using them.

Sun, 2006-07-23 17:30
Pichoro
Pichoro's picture

Oh wow. Those do all vary greatly from card type to card type. I'm not sure one template could do it. I do think Blast, Realm, and the one that must be a creature could all be done on one template. I think. lol

Sun, 2006-07-23 19:33
Sensei Le Roof
Sensei Le Roof's picture

Well, it is possible to set up multiple templates inside a single game. MSE includes 7 or 8 for M:tG alone.

Creature? *l* I'm guessing you mean the Persona base card (the red one). And if you're wondering, Situation and Skill (purple with the diamond) cards aren't meant to have images, at least not in this design.

Online dictionaries abound. It's time to start using them.

Mon, 2006-07-24 14:56
somebloke
somebloke's picture

If you could give us some examples of what each card would look like at the end (mainly things like which sections have text, which have pictures etc.), I'll have a go at creating the template(s). I've been looking for an excuse to learn how to hack a template or three.

Edit: Sorry, I forgot you were wanting instructions on how to do it yourself. I'll hack another game (I'm thinking Full Metal Alchemist) and then post instructions. Unless you want the template(s) made for you...

------------------------------------
Run away! It's an... um... run away!
-Nomad sentry
------------------------------------

------------------------------------
Run away! It's an... um... run away!
-Nomad sentry
------------------------------------

Mon, 2006-07-24 19:26
Pichoro
Pichoro's picture

I would think the only way to really learn to do it yourself is to, perhaps, make a copy of a already functioning template and start playing with it, to see what you can do to it. Eventually, you'll understand enough to get somewhere.

Mon, 2006-07-24 21:36
marjanovich
marjanovich's picture


original template

modified template to fit the size of a playing card

created using the codebase below in MSE

here's an example of what you can do just modifying the Magic Vangard - Standard template to work for your game... nothing fancy just modifying whats there instead of creating a whole new game... sometimes hacking something helps learn it...

mse version: 0.2.2
game: vanguard
full name: Standard

# Author: Wolfwood
# Based on: magic-new
# MOD : Aggression (Marjanovich)

############################################################## Extra scripts

init script:
	# Use the normal tap symbol
	small_mana_t := "mana_t.png"

############################################################## Set info fields
info style:
	title:
		padding left: 2
		font:
			size: 16

############################################################## Extra style

extra field:
	type: boolean
	name: popup mana symbols
	description: Use the symbols of the casting cost line inside the text box as well
	initial: no

############################################################## Card fields
card style:
	############################# Background stuff
	border color:
		left: 0
		top : 0
		width:	375
		height:	523
		radius: 18
		left width:   17
		right width:  17
		top width:    17
		bottom width: 18
		z index: -1
	background:
		left:	0
		top:	0
		width:	375
		height:	523
		z index: -2
		render style: image
		choice images:
			normal: card.png

	############################# Name line
	name:
		left: 30
		top : 25
		width: 300
		height: 23
		align: bottom center shrink-overflow
		padding bottom: 0
		z index: 1
		font:
			name: Matrix
			size: 17
			weight: bold
			color: rgb(0,0,0)

	############################# Image
	image:
		left:	24
		top:	55
		width:	328
		height:	168
		z index: 1

	############################# Card type

	type:
		left: 90
		top : 230
		width: 59
		height: 59
		align: middle center
		z index: 1
		font:
			name: Matrix
			size: 28
			color: rgb(0,0,0)

	############################# Text box
	rule text:
		left: 46
		top : 328
		width: 280
		height: 105
		font:
			name: MPlantin
			italic name: MPlantin-Italic
			size: 14
			scale down to: 6
			color: rgb(0,0,0)

		symbol font:
			name:
				script:
					if styling.popup_mana_symbols
					then "magic-mana-large"
					else "magic-mana-small"
			size: 14
		align: middle center
		z index: 2
		padding left:   4
		padding top:    2
		padding right:  4
		padding bottom: 2

	
	flavor text:
		left: 46
		top : 433
		width: 280
		height: 43
		font:
			name: MPlantin-Italic
			italic name: MPlantin-Italic
			size: 10
			scale down to: 6
			color: rgb(0,0,0)

		align: bottom left
		z index: 2
		padding left:   2
		padding top:    2
		padding right:  2
		padding bottom: 2

	############################# Life/Hand mod
	lifemod:
		z index: 4
		left:	160
		top:	230
		width:	59
		height:	59
		align: middle center
		font:
			name: Matrix
			size: 28
			color: rgb(0,0,0)

	handmod:
		z index: 4
		left:	225
		top:	230
		width:	59
		height:	59
		align: middle center
		font:
			name: Matrix
			size: 28
			color: rgb(0,0,0)

	############################# Card sorting / numbering
	############################# Copyright stuff

	illustrator:
		left: 294
		top : 230
		width: 59
		height: 59
		align: middle center
		z index: 4
		font:
			name: Matrix
			size: 28
			color: rgb(0,0,0)

	copyright line:
		left: 40
		top : 486
		width: 295
		height: 12
		align: center
		z index: 1
		font:
			name: Arial
			size: 6
			color: rgb(255,255,255)

width: 375
height: 523
dpi: 150

^_^
ICQ - 330690959
AIM - s13damon
MSN -
HOMEPAGE - http://studio-thirteen.net

Tue, 2006-07-25 00:07
Pichoro
Pichoro's picture

Wow, you just cranked those right out, didn't you? Not bad. Anyway, so any ideas what size the actual cards should be? Or any thoughts on the border? Seeing what Marjanovich did makes it look mighty easy to do. The only thing that still seems a little out there to get to work right is the text in the diamond thing. If it was an image in the diamond, overlays could do it, but text... I don't know...

Tue, 2006-07-25 00:43
marjanovich
marjanovich's picture

The Text in the VS Standard card bends around the art of the text box, so creating a diamond mask shouldnt be insane... actual ammount of text you can fit in it and make it look like a diamond will be the "fun" part

BTW my job is stay at home father, so thats why i can work quickly...

^_^

^_^
ICQ - 330690959
AIM - s13damon
MSN -
HOMEPAGE - http://studio-thirteen.net

Tue, 2006-07-25 02:01
Pichoro
Pichoro's picture

Ah, I see. The VS... I had no idea. I honestly only use Magic and Vanguard templates myself.

Thu, 2006-07-27 19:58
DarphBobo
DarphBobo's picture

I am new to forums and what not. Sorry if this is not supposed to go here, but it does concern the creation or set up of a new game. I have 3 questions that I am apparently far to ignorant to answer.

1: The first question I have is in regards to the card type field. Currently there are two fields intermingled in this entry box for the MTG cards. I am looking for a three entry option. I have been looking and trying to hash out the game and style files to create this option but have been lacking in any appreciable gains towards my objective.
I realize I can just place three entry boxes onto the card and just move from one to the next when/if the time comes. This creates spacing issues for me.

card field:
type: text
name: type
save value: false
script:
# Either just supertype, or subtype - supertype
combined_editor(
field1: card.type1,
separator: " — ",
field2: card.type2,
separator: " — ",
grey_until_needed: true,
hide_when_both_empty: true,
type_over1: " -",
type_over2: "-"
)
card list column:4

This is pretty much what I see already written in the MTG info. I have changed over to .type1 and .type2 so that .type3 would be the next choice in this example, and a little easier for me to follow along with.

2: The second question I have at this time is concerning an image overlay that will be used when a card is a creature card. This would be very similar to the pt box that is currently in the MTG files. I have three different entries that will need to be entered into various areas of the card if it is a creature. I would like Attack (the first that will be entered onto a card) to be the trigger for the overlay. I have the overlay in a .png file and sized properly so that it is ready to go.
What and where do I need to type information into either/both the game and/or style files so that if any information is entered into the Attack field the .png will be applied to the image. (I believe this will have to have a z of 3.)

3: I have applied an opacity layer where the text box will be going (thanks to a previous post here in the forums that was of tremendous assistance.). I still would like to change the text box some more. Is there a way to set it up so that the words will begin in the upper right portion of the text box?
I have tried to adjust the align to the upper left, but this makes the quote section what you enter into when you click inside the box. I would like the card text to be starting in the upper left and the flavor text to be centered in the bottom row and building upwards. I am old enough to realize that you cannot always get what you want, but I can always ask.

Thank you all for whatever consideration you give to these questions. I have been struggling with this for about 13 hours now. I feel I have made great strides in setting MSE up for my game, but I have hit a serious wall at this point. Thanks again and appologies again if this is in the wrong area.

Sat, 2006-07-29 17:16
Sensei Le Roof
Sensei Le Roof's picture

I've designed new card bases in the "proper" 300x500 image size, using the old designs as a starting point.

Blast

Item

Persona (stat numbers go atop the icons -- Health, Attack, Defense, Power, Skill... I'm thinking blue?)

Realm (as before, the world image goes in the black space... no text box, but the text goes in about the same place)

Situation (no image, and text goes in the black area)

Skill (no image, and I designed a better diamond)

All the card-title boxes are at the same coordinates, and the game text areas are mostly the same (same x-pos and width, only the intended y-pos and height vary). Card titles and game/flavor text are centered in my view. Aside from the icky-looking sword for the Attack stat, what do we think?

Online dictionaries abound. It's time to start using them.

Fri, 2006-08-11 17:06
Sensei Le Roof
Sensei Le Roof's picture

Is there a way to have a field that would be invisible but would control which card template was used? (e.g. if the field was 1 it would use the Blast card template, 2 would be Item, etc.)

Online dictionaries abound. It's time to start using them.

Fri, 2006-08-11 17:12
Pichoro
Pichoro's picture

I think that would cause problems.

First, I don't know if you could make an input field invisible. Sure, it doesn't have to have a box highlighting it, but the information you input would become visible. So if you type 1, 1 appears...

Second, what happens if you change that field? What if it starts out as persona, but gets changed to blast? What happens to the information? Perhaps it's only me, but that seems complicated. I also notice nobody is working on your stuff. I had ignored it thinking someone faster would do it. Sorry about that. Perhaps I'll start taking a crack at it sometime.

Sat, 2006-08-12 15:43
Sensei Le Roof
Sensei Le Roof's picture

So, LSS, it's down to switching templates manually... what fun.

Online dictionaries abound. It's time to start using them.

Sat, 2006-08-12 21:48
Pichoro
Pichoro's picture

As far as I know, yeah. Perhaps someone else knows better though.

Sun, 2006-08-13 20:18
Sensei Le Roof
Sensei Le Roof's picture

I will survive, as they say. Just as soon as I get up the nerve to put the templates together. *l*
On thought of what happens to certain data... there are features (fields?) unique to certain card types.
Only Items have a Size
Only Personas have Health, Attack, Defense, Power, Skill
Only Realms have a Shield rating (though it equates somewhat to a Persona's Health)
And only Skills have a subtype
Wouldn't the given data simply cease to be if the template was changed?

Online dictionaries abound. It's time to start using them.

Sun, 2006-08-13 23:16
Pichoro
Pichoro's picture

Okay. Good point. I did an experiment with the Magic templates. I put information into a flip card, on both sides, then switched to a normal card. I only had the top half of the card represented. Then I switched to split, and both sides were there. The data doesn't cease to be, but it does cease to be used.

But that still leaves the problem of deciding of deciding how to let the program know which template to use. One possibility is the fact that information can be 'off' the card. That is, say, start typing in a power and toughness. And put a whole bunch of numbers in the toughness. Eventually your cursor will go off of the usable area of the card. So we could do that. Make that piece of data be off card once something's put in. But once it's moved off card, you won't be able to get it back to change the type of that card. So once you make it a certain type, it'll be stuck that way.

Edit: With that idea, there's still another problem that I don't have the answer to, but would be interested in seeing, because it would help me with something I'm working on. Can you type '1' in a field and have it change to blast? Can the style file do things based on what you type into the program?

Or do you have to have 6 fields, each with a trigger that reads when they're used, and each corresponding to a card type, and then, when you put something in them, the card changes to that type and all 6 determination fields fall off the card?

Mon, 2006-08-14 23:04
Sensei Le Roof
Sensei Le Roof's picture

I've got it! A pseudo-symbol file (like used for the mana symbols) with six entries that are all BLANK! The field can still be on the card and will be invisible, and it can be used to switch templates in the same way the casting cost does it for M:tG.

As for the template field-switching, I'm not sure I get what you're asking...

Online dictionaries abound. It's time to start using them.

Sat, 2006-08-26 16:22
Sensei Le Roof
Sensei Le Roof's picture

One tricky point just occured to me... the y-position and resulting height of the text box changes for three of the card types. Will this cause extreme problems?

Online dictionaries abound. It's time to start using them.

Sat, 2006-08-26 18:19
Pichoro
Pichoro's picture

It can be made to work.

Mon, 2006-08-28 13:17
Sensei Le Roof
Sensei Le Roof's picture

Duh. Different styles. My brain works...

Online dictionaries abound. It's time to start using them.

Mon, 2006-08-28 15:09
Pichoro
Pichoro's picture

Well, even in one style file this can work, with the use of if statements.