Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels) 2014
Working Emblems
Moderator: CCGHQ Admins
Working Emblems
by Xander9009 » 30 Mar 2017, 02:26
I've gotten emblems working for the CW finally. Now, you'll actually be able to see the emblems on the battlefield like you're supposed to, allowing you to see who has what and avoid confusion.
In order to make most emblems, all you have to do is create the emblem and call PLW_Emblem() from the planeswalker that's supposed to make it. It'll make the emblem based on the cardname of the planeswalker that's making it unless otherwise specified.
The filename must start with "EMBLEM_". Nothing should be able to target or affect them, so they don't need any special code for protection.
PLW_Emblem can take two parameters: sName and oPlayer.
sName should be the full filename of the emblem, which defaults to '"EMBLEM_"..EffectSource():GetCardName()'.
oPlayer is the player who should get the emblem, which defaults to EffectController().
So, for Tezzeret the Schemer, whose cardname is TEZZERET_THE_SCHEMER and whose emblem's cardname and filename are both EMBLEM_TEZZERET_THE_SCHEMER and since Tezzeret's controller is supposed to get the emblem (only three planeswalkers grant emblems to other players), simply calling "PLW_Emblem()" is enough.
The art needs to be full art like eldrazi. I'll go through sometime in the near future and distribute this new proper emblem system to the various planeswalkers. It also MUST not have an alpha layer. Magic Duels uses emblems with an alpha layer, so if they're pulled from there, they need to have that removed (just right click>Edit to open in Paint, save, and exit). Otherwise, the text-box will be transparent.
In order to make most emblems, all you have to do is create the emblem and call PLW_Emblem() from the planeswalker that's supposed to make it. It'll make the emblem based on the cardname of the planeswalker that's making it unless otherwise specified.
The filename must start with "EMBLEM_". Nothing should be able to target or affect them, so they don't need any special code for protection.
PLW_Emblem can take two parameters: sName and oPlayer.
sName should be the full filename of the emblem, which defaults to '"EMBLEM_"..EffectSource():GetCardName()'.
oPlayer is the player who should get the emblem, which defaults to EffectController().
So, for Tezzeret the Schemer, whose cardname is TEZZERET_THE_SCHEMER and whose emblem's cardname and filename are both EMBLEM_TEZZERET_THE_SCHEMER and since Tezzeret's controller is supposed to get the emblem (only three planeswalkers grant emblems to other players), simply calling "PLW_Emblem()" is enough.
The art needs to be full art like eldrazi. I'll go through sometime in the near future and distribute this new proper emblem system to the various planeswalkers. It also MUST not have an alpha layer. Magic Duels uses emblems with an alpha layer, so if they're pulled from there, they need to have that removed (just right click>Edit to open in Paint, save, and exit). Otherwise, the text-box will be transparent.
- Need Updated | Open
- Arlinn Kord//Arlinn, Embraced by the Moon
Chandra, Fire of Kaladesh//Chandra, Roaring Flame
Jace, Vryn's Prodigy//Jace, Telepath Unbound
Liliana, Heretical Healer//Liliana, Defiant Necromancer
Ajani Steadfast
Chandra, Torch of Defiance
Dack Fayden
Daretti, Scrap Savant
Domri Rade
Dovin Baan
Elspeth, Knight-Errant
Elspeth, Sun's Champion
Garruk, Apex Predator
Garruk, Caller of Beasts
Gideon, Ally of Zendikar
Jace, Unraveler of Secrets
Kiora, Master of the Depths
Kiora, the Crashing Wave
Koth of the Hammer
Liliana of the Dark Realms
Liliana, the Last Hope
Narset Transcendent
Nissa, Vital Force
Ob Nixilis of the Black Oath
Ob Nixilis Reignited
Sarkhan, the Dragonspeaker
Sorin, Lord of Innistrad
Sorin, Solemn Visitor
Tamiyo, Field Researcher
Tamiyo, the Moon Sage
Teferi, Temporal Archmage
Venser, the Sojourner
- Complete | Open
- Tezzeret the Schemer
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
-
Xander9009 - Programmer
- Posts: 2905
- Joined: 29 Jun 2013, 07:44
- Location: Indiana, United States
- Has thanked: 121 times
- Been thanked: 445 times
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 35 guests