Card Contributions
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Re: Card Contributions
by PhazedOut » 31 Dec 2012, 17:01
Great! Do you by any chance know how to update my clone with the new version? The only thing I can figure out is to delete and recreate the clone, but this seems clunky and there has to be a better way.
Re: Card Contributions
by melvin » 02 Jan 2013, 03:22
If you have no unmerged changes you can do pull and then update your working directory with
This is also the procedure I use to merge changes from clone to the main repo, except that I pull from the clone.
- Code: Select all
hg pull -u http://code.google.com/p/magarena/
This is also the procedure I use to merge changes from clone to the main repo, except that I pull from the clone.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by PhazedOut » 02 Jan 2013, 23:03
Ok great! I will give that a try next time. Sorry for my ignorance, I have never used a versioning system before this (still in school) but it is some great experience.
Re: Card Contributions
by Jak » 15 Mar 2013, 13:30
I wanted to contribute the card "Ant Queen" here, but it is not allowed to upload .groovy files here.
Should I mail them to a specific contribution mail address?
Should I mail them to a specific contribution mail address?
- Jak
- Posts: 23
- Joined: 23 Mar 2011, 07:37
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by melvin » 16 Mar 2013, 15:13
Hi, Jak. Welcome to the forums Please mail them to our mailing list, magarena@googlegroups.com and claim the honor of first user submission of card with groovy script
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by Jak » 16 Mar 2013, 23:16
Thanks, joined almost 2 years ago, but didn't post anything all the time.melvin wrote:Hi, Jak. Welcome to the forums Please mail them to our mailing list, *** and claim the honor of first user submission of card with groovy script
And I sent it yesterday already... found the mail address in another thread
- Jak
- Posts: 23
- Joined: 23 Mar 2011, 07:37
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by melvin » 17 Mar 2013, 01:11
Got it! Added it for the March release, you can see the other cards in the March release @ https://code.google.com/p/magarena/wiki/UpcomingCards.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by ember hauler » 14 Aug 2013, 08:30
Hi guys,
This is my first contribution, very simple card from Magic 2014 Core Set.
This is my first contribution, very simple card from Magic 2014 Core Set.
- Attachments
-
- Sliver_Construct.txt
- (212 Bytes) Downloaded 292 times
- ember hauler
- Posts: 79
- Joined: 14 Aug 2013, 08:13
- Has thanked: 27 times
- Been thanked: 14 times
Re: Card Contributions
by melvin » 14 Aug 2013, 13:00
Hi ember hauler, welcome to the fourms and thanks for your contribution. I've merged it into our current development version.ember hauler wrote:Hi guys, This is my first contribution, very simple card from Magic 2014 Core Set.
Now that mike's site http://firemind.ch has launched, it is slightly easier for us to manage card contributions from http://www.firemind.ch/card_script_submissions/new as it integrates into our version control system.
Do consider making a submission from firemind.ch in the future. For purpose of attribution, it is recommended to create an account otherwise the submission will be attributed to "guest".
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by ember hauler » 14 Aug 2013, 16:40
Ok.
I've submitted several simple sliver cards that I made: Battle Sliver, Blur Sliver, Bonescythe Sliver, Galerider Sliver, Groundshaker Sliver, Megantic Sliver, Predatory Sliver, Sentinel Sliver, Steelform Sliver, Syphon Sliver, Hive_Stirrings, Fury Sliver, Spitting Sliver and Talon Sliver.
Unfortunately, I don't know how to do more complex cards like Manaweft Sliver or Thorncaster Sliver. Any help or tutorial is appreciated.
And thank you guys for such a great software, please keep up.
I've submitted several simple sliver cards that I made: Battle Sliver, Blur Sliver, Bonescythe Sliver, Galerider Sliver, Groundshaker Sliver, Megantic Sliver, Predatory Sliver, Sentinel Sliver, Steelform Sliver, Syphon Sliver, Hive_Stirrings, Fury Sliver, Spitting Sliver and Talon Sliver.
Unfortunately, I don't know how to do more complex cards like Manaweft Sliver or Thorncaster Sliver. Any help or tutorial is appreciated.
And thank you guys for such a great software, please keep up.
- ember hauler
- Posts: 79
- Joined: 14 Aug 2013, 08:13
- Has thanked: 27 times
- Been thanked: 14 times
Re: Card Contributions
by melvin » 17 Aug 2013, 03:34
Update: Seems that I've accidentally click edit instead of reply and removed an earlier posting about Thorncaster Sliver. To make up for that, I'll add Thorncaster Sliver next.
Just extended the engine to support gaining mana abilities and added Manaweft Sliver and Thorncaster Sliver.
I've simplified the names, so no more addActivation and addTrigger, just use addAbility. In the current development version, addAbility supports activated abilities, triggered abilities, and mana abilities.
Just extended the engine to support gaining mana abilities and added Manaweft Sliver and Thorncaster Sliver.
I've simplified the names, so no more addActivation and addTrigger, just use addAbility. In the current development version, addAbility supports activated abilities, triggered abilities, and mana abilities.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Card Contributions
by ember hauler » 18 Aug 2013, 18:50
Great. I've submitted Gemhide Sliver, based on Manaweft Sliver.melvin wrote:Just extended the engine to support gaining mana abilities and added Manaweft Sliver and Thorncaster Sliver.
- ember hauler
- Posts: 79
- Joined: 14 Aug 2013, 08:13
- Has thanked: 27 times
- Been thanked: 14 times
Re: Card Contributions
by willianmgbr » 01 Oct 2013, 05:52
CRYPT RATS
FILE NAME: Crypt_Rats.txt
----------------
name=Crypt Rats
url=(insert normal stuff here)magiccards DOT info/7e/en/125 DOT html
image=(insert normal stuff here)magiccards DOT info/scans/en/7e/125 DOT jpg
value=2
rarity=U
type=Creature
subtype=Rat
cost={2}{B}
pt=1/1
timing=main
requires_groovy_code
----------------------------------------
FILE NAME: Crypt_Rats.groovy
------------------
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.None),"Damage"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
return [
new MagicPayManaCostEvent(source,"{B}")
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"SN deals 1 damage to all creatures and players."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
final Collection<MagicPermanent> targets =
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE);
for (final MagicPermanent target : targets) {
final MagicDamage damage=new MagicDamage(event.getSource(),target,1);
game.doAction(new MagicDealDamageAction(damage));
}
for (final MagicPlayer player : game.getPlayers()) {
final MagicDamage damage=new MagicDamage(event.getSource(),player,1);
game.doAction(new MagicDealDamageAction(damage));
}
}
},
new MagicAtEndOfTurnTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer eotPlayer) {
final Collection<MagicPermanent> targets =
game.filterPermanents(permanent.getController(),MagicTargetFilter.TARGET_CREATURE);
return (targets.size() == 0) ?
new MagicEvent(
permanent,
this,
"Sacrifice SN."
):
MagicEvent.NONE;
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicSacrificeAction(event.getPermanent()));
}
}
]
----------------------------------
Save both files in "script" folder
(I don't programmer. "Pestilence" script work perfectly)
FILE NAME: Crypt_Rats.txt
----------------
name=Crypt Rats
url=(insert normal stuff here)magiccards DOT info/7e/en/125 DOT html
image=(insert normal stuff here)magiccards DOT info/scans/en/7e/125 DOT jpg
value=2
rarity=U
type=Creature
subtype=Rat
cost={2}{B}
pt=1/1
timing=main
requires_groovy_code
----------------------------------------
FILE NAME: Crypt_Rats.groovy
------------------
[
new MagicPermanentActivation(
new MagicActivationHints(MagicTiming.None),"Damage"
) {
@Override
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
return [
new MagicPayManaCostEvent(source,"{B}")
];
}
@Override
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
return new MagicEvent(
source,
this,
"SN deals 1 damage to all creatures and players."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
final Collection<MagicPermanent> targets =
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE);
for (final MagicPermanent target : targets) {
final MagicDamage damage=new MagicDamage(event.getSource(),target,1);
game.doAction(new MagicDealDamageAction(damage));
}
for (final MagicPlayer player : game.getPlayers()) {
final MagicDamage damage=new MagicDamage(event.getSource(),player,1);
game.doAction(new MagicDealDamageAction(damage));
}
}
},
new MagicAtEndOfTurnTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer eotPlayer) {
final Collection<MagicPermanent> targets =
game.filterPermanents(permanent.getController(),MagicTargetFilter.TARGET_CREATURE);
return (targets.size() == 0) ?
new MagicEvent(
permanent,
this,
"Sacrifice SN."
):
MagicEvent.NONE;
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicSacrificeAction(event.getPermanent()));
}
}
]
----------------------------------
Save both files in "script" folder
(I don't programmer. "Pestilence" script work perfectly)
- willianmgbr
- Posts: 6
- Joined: 29 Sep 2013, 20:12
- Has thanked: 4 times
- Been thanked: 0 time
Re: Card Contributions
by ember hauler » 11 Oct 2013, 18:52
Ok, based on the templates that I made (see http://www.slightlymagic.net/forum/viewtopic.php?f=82&t=12092#p135279) here are some 35 very simple cards from various sets:
Acid Rain
Angelic Curator
Anvilwrought Raptor
Barkhide Mauler
Benthic Giant
Boil
Boiling Seas
Borderland Minotaur
Bronze Sable
Cleanfall
Felhide Minotaur
Flashfires
Guardians of Meletis
Gutter Skulk
Hundroog
Pheres-Band Centaurs
Ramirez DePietro
Ridge Rannet
Ruination Wurm
Sandbar Merfolk
Sandbar Serpent
Sedge Scorpion
Serene Heart
Shimmering Barrier
Silent Artisan
Tivadar's Crusade
Traveling Philosopher
Triton Shorethief
Tsunami
Two-Headed Cerberus
Wall of Earth
Wall of Granite
Wall of Ice
Yoked Ox
Yoked Plowbeast
They require some testing, though.
I hope to make more next week.
Acid Rain
Angelic Curator
Anvilwrought Raptor
Barkhide Mauler
Benthic Giant
Boil
Boiling Seas
Borderland Minotaur
Bronze Sable
Cleanfall
Felhide Minotaur
Flashfires
Guardians of Meletis
Gutter Skulk
Hundroog
Pheres-Band Centaurs
Ramirez DePietro
Ridge Rannet
Ruination Wurm
Sandbar Merfolk
Sandbar Serpent
Sedge Scorpion
Serene Heart
Shimmering Barrier
Silent Artisan
Tivadar's Crusade
Traveling Philosopher
Triton Shorethief
Tsunami
Two-Headed Cerberus
Wall of Earth
Wall of Granite
Wall of Ice
Yoked Ox
Yoked Plowbeast
They require some testing, though.
I hope to make more next week.
- Attachments
-
- 35 simple cards.zip
- (13.02 KiB) Downloaded 277 times
- ember hauler
- Posts: 79
- Joined: 14 Aug 2013, 08:13
- Has thanked: 27 times
- Been thanked: 14 times
Re: Card Contributions
by ember hauler » 13 Oct 2013, 15:41
Here are another 50 simple cards.
I'll be greateful for testing.
Altar's Light
Angelic Edict
Concordant Crossroads
Craven Giant
Fade into Antiquity
Frenetic Raptor
Goliath Beetle
Greenside Watcher
Horizon Drake
Insatiable Harpy
Iron Tusk Elephant
Jhovall Rider
Jungle Weaver
Keeneye Aven
Kitsune Riftwalker
Macetail Hystrodon
Marsh Boa
Merfolk of the Depths
Moorish Cavalry
Mosquito Guard
Mountain Yeti
Nacatl Savage
Nath's Buffoon
Needlebug
Night of Souls' Betrayal
Nourish
One with Nothing
Pendrell Drake
Primoc Escapee
Raiding Nightstalker
Reach Through Mists
Rend Spirit
Renegade Troops
Ronom Hulk
Sacred Nectar
Satyr Rambler
Shattering Blow
Shoreline Raider
Spring of Eternal Peace
Squirming Mass
Tel-Jilad Archers
Tel-Jilad Chosen
Tel-Jilad Fallen
Tel-Jilad Outrider
Touch of Brilliance
True Believer
Voyaging Satyr
Vulpine Goliath
Warren-Scourge Elf
Whitesun's Passage
I'll be greateful for testing.
Altar's Light
Angelic Edict
Concordant Crossroads
Craven Giant
Fade into Antiquity
Frenetic Raptor
Goliath Beetle
Greenside Watcher
Horizon Drake
Insatiable Harpy
Iron Tusk Elephant
Jhovall Rider
Jungle Weaver
Keeneye Aven
Kitsune Riftwalker
Macetail Hystrodon
Marsh Boa
Merfolk of the Depths
Moorish Cavalry
Mosquito Guard
Mountain Yeti
Nacatl Savage
Nath's Buffoon
Needlebug
Night of Souls' Betrayal
Nourish
One with Nothing
Pendrell Drake
Primoc Escapee
Raiding Nightstalker
Reach Through Mists
Rend Spirit
Renegade Troops
Ronom Hulk
Sacred Nectar
Satyr Rambler
Shattering Blow
Shoreline Raider
Spring of Eternal Peace
Squirming Mass
Tel-Jilad Archers
Tel-Jilad Chosen
Tel-Jilad Fallen
Tel-Jilad Outrider
Touch of Brilliance
True Believer
Voyaging Satyr
Vulpine Goliath
Warren-Scourge Elf
Whitesun's Passage
- Attachments
-
- 50 simple cards.zip
- (18.58 KiB) Downloaded 262 times
- ember hauler
- Posts: 79
- Joined: 14 Aug 2013, 08:13
- Has thanked: 27 times
- Been thanked: 14 times
Who is online
Users browsing this forum: No registered users and 25 guests