7th Seas Trading Card Game

Login or register to post comments
Sun, 2009-05-31 19:28
ocb777
ocb777's picture

I think it would be easy to get blanks for this game.

The company AEG released the final set "parting shot" as PDF files, and the text is embedded in the PDF, but not printed on the cards.

The PDFs can be downloaded here:

http://www.swashbucklingadv.com/ccg/expansions.html

if anyone wants to take the time to blank the cards however that is done using adobe's products. Big smile


"You hate me, I hate me, those guys hate me, at least we all agree!" - ocb777 at a L5R Tournament

Thu, 2009-08-06 05:58
agent ig

Update 2: Well I've pretty much finished up the template, but I have hit a snag at the end. 7th Sea uses the same bullet character to separate card traits that Legend of the Five Rings uses. When I insert this auto replace code,

auto replace:
	match: ::
	replace:

into my game file, run MSE, and select New Set, I get the following error:
Error while parsing file: 'C:\Program Files\Magic Set Editor 2\data\7thsea.mse-game/game'
Invalid UTF-8 sequence on line 408

If I click past that error, select New Set again, and then select my 7th Sea template I get this error:
Error while parsing file: 'C:\Program Files\Magic Set Editor 2\data\7thsea-standard.mse-style/style'
Error while parsing file: 'C:\Program Files\Magic Set Editor 2\data\7thsea.mse-game/game'
Invalid UTF-8 sequence on line 408

Does this have something to do with the font that I am using? Any help would be greatly appreciated A happy smile

Here is my whole game file if it helps

Spoiler:
mse version: 0.3.8


short name: 7thsea
full name: 7th Sea
position hint: 100
icon: icon.png


version: 2009-08-05
#By: agent ig
#Text Filter Scripts from Pichoro's Legend of the Five Rings template
################################################################################################ Scripts
init script:
	############################################################################################ Text Filter Scripts
	flavor_text_filter :=
		# step 1 : remove italic tags
		remove_tag@(tag: "<i-flavor>")   +
		# step 2 : surround by <i> tags
		{ "<i-flavor>" + input + "</i-flavor>" }
	traits_text_filter :=
		# step 1 : remove bold tags
		remove_tag@(tag: "<b-auto>")   +
		# step 3 : surround by <b> tags
		{ "<b-auto>" + input + "</b-auto>" }
	# the rule text filter
	text_filter := 
		# step 1 : remove all automatic tags
		remove_tag@(tag: "<sym-auto>") +
		remove_tag@(tag: "<b-auto>")   +
		# step 2 : reminder text for keywords
		expand_keywords@(
			condition: {
				correct_case
			}
			default_expand: {
				chosen(choice:if correct_case then mode else "lower case", set.automatic_bold_keywords)
			},
			combine:        { "<b-auto>{keyword}</b-auto>" }
			) +
		# step 3a : expand shortcut words ~ and CARDNAME
		replace@(
			match: "CARDNAME",
			in_context: "(^|[[:space:]]|\\()<match>", # TODO: Allow any punctuation before
			replace: "<atom-cardname></atom-cardname>"
			) +
		# step 3c : fill in atom fields
		tag_contents@(
			tag: "<atom-cardname>",
			contents: { if card_name=="" then "CARDNAME" else card_name }
			)
	
	numbers_only := filter_rule(match: "[*+0-9-]")

	sort_index := {
		type := card.background
		if type == "Action (DPT)" then "A"
		else if type == "Action (SDP)" then "B"
		else if type == "Adventure" then "C"
		else if type == "Attachment" then "D"
		else if type == "Captain" then "E"
		else if type == "Chantey" then "F"
		else if type == "Crew" then G
		else if type == "Ship" then H
	}
		
	sort_name :=
		replace@(match: "^(The|An?) ", replace: "") +
		to_lower
	
	card_number := {
		position (
			of: card
			in: set
			order_by: { sort_index() + sort_name(card.name) }
		) + 1
	}
	
	card_count := {
		number_of_items(in: set)
	}

################################################### Set Fields
set field:
	type: info
	name: Set Information
set field:
	type: text
	name: Name
	identifying: true
set field:
	type: text
	name: description
	multi line: true
set field:
	type: text
	name: artist
	description: The default artist of all cards
set field:
	type: text
	name: Copyright
	description: The default copyright line of all cards
set field:
	type: text
	name: set code
	description: This code will appear in the artist and copyright line of all cards
set field:
	type: info
	name: Defaults and Automation
set field:
	type: multiple choice
	name: automatic bold keywords
	choice: real
	choice: custom
	initial: real, custom
	description: For which kinds of keywords should automatic bolding take place?
################################################### Card Background and Picture
card field:
	type: image
	name: picture
	show statistics: false
	description: The art for the card; double click to chose art
card field:
	type: choice
	name: background
	description: Type of card
	choice: Action (DPT)
	choice: Action (SDP)
	choice: Adventure
	choice:	Attachment
	choice:	Captain
	choice: Chantey
	choice: Crew
	choice: Ship
################################################### Card Icons
card field:
	type: choice
	name: faction_1
	description: Card's 1st Faction
	choice: Unaligned
	choice: The Black Freighter
	choice: Brotherhood
	choice: Castille
	choice: Corsairs
	choice: Crimson Rogers
	choice: Explorer's Society
	choice: Gosse's Gentlemen
	choice: Montainge
	choice: Sea Dogs
	choice: Vesten
	choice: Roberts
card field:
	type: choice
	name: faction_2
	description: Card's 2nd Faction
	choice: Unaligned
	choice: The Black Freighter
	choice: Brotherhood
	choice: Castille
	choice: Corsairs
	choice: Crimson Rogers
	choice: Explorer's Society
	choice: Gosse's Gentlemen
	choice: Montainge
	choice: Sea Dogs
	choice: Vesten
	choice: Roberts
card field:
	type: choice
	name: secret_society
	description: Card's Secret Society
	choice: None
	choice: Die Kreutzritter
	choice: Invisible College
	choice: Knights of the Rose & Cross
	choice: Los Vagos
	choice: Rilasciare
	choice: Sophia's Daughters
card field:
	type: choice
	name: nation
	description: Card's Nation
	choice: None
	choice: Avalon
	choice: Eisen
	choice: Ussura
	choice: Vodacce
card field:
	type: choice
	name: single_costs
	description: For cards with a single cost/cancel value
	choice: None
	choice: Cost Cannon
	choice: Cost Sailing
	choice: Cost Adventuring
	choice: Cost Influence
	choice: Cost Swashbuckling
	choice: Cost Ship
	choice: Cancel Cannon
	choice: Cancel Sailing
	choice: Cancel Adventuring
	choice: Cancel Influence
	choice: Cancel Swashbuckling
	choice: Cancel Ship
card field:
	type: choice
	name: cost
	description: For cards with a cost value and a cancel value
	choice: None
	choice: Cost Cannon
	choice: Cost Sailing
	choice: Cost Adventuring
	choice: Cost Influence
	choice: Cost Swashbuckling
	choice: Cost Ship
card field:
	type: choice
	name: cancel
	description: For cards with a cost value and a cancel value
	choice: None
	choice: Cancel Cannon
	choice: Cancel Sailing
	choice: Cancel Adventuring
	choice: Cancel Influence
	choice: Cancel Swashbuckling
	choice: Cancel Ship
card field:
	type: choice
	name: bonus
	description: For cards with an attachment skill bonus
	choice: None
	choice:	Skill Cannon
	choice: Skill Sailing
	choice: Skill Adventuring
	choice: Skill Influence
	choice: Skill Swashbuckling
############################################################ Card Text
card field:
	type: text
	name: name
	description: Name of the card
	identifying: true
	multi line: true
card field:
	type: text
	name: type
	description: Type of the card
	show statistics: flase
	multi line: true
card field:
	type: text
	name: traits_text
	description: The card's printed Traits
	show statistics: false
	multi line: true
	script: traits_text_filter(value)
	default: "  "
card field:
	type: text
	name: rules_text
	description: The card's rules text
	show statistics: false
	multi line: true
	script: text_filter(input: value, card_name: card.name)
	default: "  "
card field:
	type: text
	name: flavor_text
	description: The card's flavor text
	show statistics: false
	multi line: true
	script: flavor_text_filter(value)
card field:
	type: text
	name: card_text
	save value: false
	show statistics: false
	multi line: true
	script: combined_editor(field1: card.traits_text, separator1: "<line>\n", field2: card.rules_text, separator2: "<line>\n", field3: card.flavor_text)
	description: Traits, Rules, and Flavor text goes here.
card field:
	type: text
	name: cannon
	script: numbers_only(value)
	description: Character's cannon skill
	show statistics: true
card field:
	type: text
	name: sailing
	script: numbers_only(value)
	description: Character's sailing skill
	show statistics: true
card field:
	type: text
	name: adventuring
	script: numbers_only(value)
	description: Character's adventuring skill
	show statistics: true
card field:
	type: text
	name: influence
	script: numbers_only(value)
	description: Character's influence skill
	show statistics: true
card field:
	type: text
	name: swashbuckling
	script: numbers_only(value)
	description: Character's swashbuckling skill
	show statistics: true
card field:
	type: text
	name: bonus_text
	script: numbers_only(value)
	description: value of skill bonus
	show statistics: false
card field:
	type: text
	name: cost_cancel
	script: numbers_only(value)
	description: Value for cards with single cost/cancel value
	show statistics: false
card field:
	type: text
	name: cost_text
	script: numbers_only(value)
	description: value of cost for card's with a cost and cancel value
	show statistics: false
card field:
	type: text
	name: cancel_text
	script: numbers_only(value)
	description: value of cost for card's with a cost and cancel value
	show statistics: false
card field:
	type: text
	name: starting_wealth
	script: numbers_only(value)
	description: Captain's starting wealth
	show statistics: true
card field:
	type: text
	name: crew_cost
	script: numbers_only(value)
	description: Cost to hire crewmember
	show statistics: true
card field:
	type: text
	name: artist
	show statistics: false
	editable: false
	description: The artist for the card's art
card field:
	type: text
	name: copyright
	default: set.Copyright
	show statistics: false
	editable: false
	description: The copyright line for the card
card field:
	type: text
	name: card number
	save value: false
	script: card_number() + "    " + card_count()
	card list visible: true
	card list column: 13
	card list width: 50
	card list name: #
	card list alignment: right
	editable: false
	show statistics: false
card field:
	type: choice
	name: rarity
	choice: core set
	choice: common
	choice: uncommon
	choice: rare
	choice: promo
	initial: common
	card list visible: true
	card list column: 14
	card list width: 50
	description: The rarity of the card
	choice colors:
		core set: rgb(109,62,39)
		common:     rgb(33,33,33)
		uncommon:   rgb(224,224,224)
		rare:       rgb(255,207,52)
		special:    rgb(190,0,255)
card field:
	type: text
	name: artistcopyright
	show statistics: false
	script: combined_editor(field1: card.artist, separator: " ", field2: card.copyright)
	description: The artist and copyright line for the card
	save value: false
card field:
	type: text
	name: set
	save value: false
	script:
		if set.set_code == "" then "Custom" else set.set_code
	editable: false
	show statistics: false
auto replace:
	match: ::
	replace:

Update: Well this is going easier then I thought it would, I've already gotten all the icons working correctly. I'll do all the text formatting next and then I guess zip it up and post it where ever it is I'm supposed to do that.

Alright after I stumbled across the official PDF of the rule book I decided to go ahead and blank the cards and make PNGs for all the icons the game uses. I was also able to track down some fonts that are pretty close to what the cards use, thanks to the PDFs ocb777 made finding the fonts pretty easy. If anyone is interested in doing the scripting for this just let me know and I'll answer any questions to the best of my knowledge and help out in any way I can. ocb777's PDFs have examples of where each type of icon appears on what type of card, I'll list those out bellow anyways but the PDFs are a good place to go for a visual reference. In the meantime I'm going to try to see if I can cobble something together myself.

7th Sea card's Name, Trait, Description, and Flavour text is in essentially the same location as Legend of the Five Rings cards. 7th Sea adds Type text above Trait text. 7th Sea and L5R use the same Wingdings font for rarity symbols.
Actions either have: a Cost icon, a Cancel icon, both, or none. If there is only one icon then it gets centered on the bottom of the picture frame (where the 5 icons appear on the Crew and Captain cards), and if there are two then the space between the two icons is centered on the bottom of the picture frame.
Adventures sometimes get a Skill icon at the right hand edge of the Name text.
Attachments sometimes get a Faction icon in the same location as Crew and Captains, a Cost icon in the same location as Actions, and a Skill icon in the same location as Adventures. Unlike the Type text on the other cards Attachment Type text can be quite specific. For example all Crew cards just have "Crew" in orange text at the top of the text box while Attachments say stuff like "Brotherhood Ship Attachment" or just "Ship Attachment". Because of this I removed this text from the blanked card, the text that would appear there should be the same colour green as the card border.
Captains, Crew, and Ships either have: 1 to 2 Faction icons, a Secret Society icon, a Nation icon, any combination of the above, or none. The 1st Faction icon appears in the top left corner of the picture, the 2nd Faction icon appears right below the first, the Secret Society icon appears in the top right corner of the picture, and the Nation icon appears right below the Secret Society icon. The icons appear in the exact same positions on Ship cards as they do on Crew and Captains. The image area for Ship cards is the entire white area inside the borders of the card.

Cards

Spoiler:

Image Masks
Spoiler:

Faction Icons
Spoiler:

Secret Society Icons
Spoiler:

Nation Icons
Spoiler:

Skill Icons
Spoiler:

Cost Icons
Spoiler:

Cancel Icons
Spoiler:

Thu, 2009-08-06 06:39
Shiv2503
Shiv2503's picture

The problem is the • character.
First go to the game file and find the correct spot.
Then go to Start > Programs > Accessories > System Tools > Character Map (on Xp)
In search field enter bullet then press search.

Spoiler:

Click on the Bullet so it grows. Then click in the center and drag into the desired location game file.
Spoiler:

I hope this helps

“Pomposity is when you always think you're right, arrogance is when you know.”
—Harvey Danger, Pike St./Park Slope
check out my forum card maker.

Sun, 2009-08-09 06:32
agent ig

Update: I've uploaded the finished template here, http://mtg.pifro.com/viewtopic.php?f=20&t=775 let me know what you think.

Thanks for the advice Shiv though even following your steps it still wouldn't work, but you did put me on the right path. I ended up resolving the issue by copying the L5R game file to my 7th Sea folder, then copying and pasting all my 7th Sea game code over the L5R game code except for the auto replace bit and now it works, go figure.

Sun, 2011-07-03 14:00
db0

Hello there and sorry for the necromancy. I've been doing some updates on this template and, I have some development questions.

1. Is it possible to change the text font within the same text box. Perhaps by using keywords to modify the text properties? For example, I'd like to do something like:

Swordsman +1 (This crew inflicts one extra damage during boarding)

2. Is it possible to change the text size within a combined textbox? I see that the 7th Sea plugin has a text field which is a combination of 3

Spoiler:
card field:
	type: text
	name: card_text
	save value: false
	show statistics: false
	multi line: true
	script: combined_editor(field1: card.traits_text, separator1: "<line>\n", field2: card.rules_text, separator2: "<line>\n", field3: card.flavor_text)
	description: Traits, Rules, and Flavor text goes here.

plus the following code to define it as italicized

	flavor_text_filter :=
		# step 1 : remove italic tags
		remove_tag@(tag: "<i-flavor>")   +
		# step 2 : surround by <i> tags
		{ "<i-flavor>" + input + "</i-flavor>" }

And then the style is defined as:

Spoiler:
	card_text:
		left:
			script:
				if has_boarding() then 83
				else if is_ship() then nil
				else 39
		top:
			script:
				if is_ship() then nil
				else 336
		width:
			script:
				if has_boarding() then 249
				else if is_ship() then nil
				else 297
		height: 
			script:
				if is_ship() then nil
				else 132
		z index: 1
		alignment: middle center
		font:
			name: ChelthmITC Bk BT
			color: rgb(0,0,0)
			size: 10
			scale down to: 6

I'd like only the flavour text in this situation to always be at size 8. Is this possible in any way?

3. A bit more tangenial, but I noticed that when I created zip files using 7zip, the game was giving me various errors during installation about access denied and so on, even though in the end, it installed OK. However when I used windows's 7 native zip utility, then it worked OK. Any idea why?

Sun, 2011-07-03 16:52
hooliganj
hooliganj's picture

1 and 2 - I don't think this is possible. MSE won't allow for more than one text font per field, even if that field is a combined editor. Font effects like size, color and scaling also have to be applied universally within the field.

De Chelonian Mobile.
My Shadowfist sets.
The Usagi Yojimbo CCG.

Mon, 2011-07-04 03:08
db0

I see. A pity. Thanks for the info though.

Mon, 2011-07-04 16:22
Vyzygota
Vyzygota's picture

Use mse command line to create *.mse-installer

http://magicseteditor.sourceforge.net/doc/cli

You will have no errors for sure.

Wed, 2011-07-06 13:46
db0

Well, I figured out a way anyway with MS' native zip utility. Was just wondering why 7z was b0rking.