Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Programming Talk
Spectral Procession
Moderator: CCGHQ Admins
Spectral Procession
by --Dream-- » 08 Sep 2012, 16:03
How do you write the card's cost? The game engine doesnt seem to understand {2/W}{2/W}{2/W}.
Re: Spectral Procession
by thefiremind » 08 Sep 2012, 16:34
Someone in another post (can't remember who and where) said that the game actually understands that kind of cost, but it has no texture for it, so you don't see the cost on the card.
Since the converted mana cost is 6, a possible way to code the cost is to give a cost of , then put a static ability that decreases the cost by and increases it by for each you can afford.
Since the converted mana cost is 6, a possible way to code the cost is to give a cost of , then put a static ability that decreases the cost by and increases it by for each you can afford.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-
thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 721 times
Re: Spectral Procession
by --Dream-- » 08 Sep 2012, 16:52
I can confirm it's true, just tested itthefiremind wrote:Someone in another post (can't remember who and where) said that the game actually understands that kind of cost, but it has no texture for it, so you don't see the cost on the card.
Since the converted mana cost is 6, a possible way to code the cost is to give a cost of , then put a static ability that decreases the cost by and increases it by for each you can afford.
Re: Spectral Procession
by RiiakShiNal » 08 Sep 2012, 18:55
I believe that was me. The game did understand the cost itself, but I was unable to get it to display any texture for the cost and I tried several possibilities.thefiremind wrote:Someone in another post (can't remember who and where) said that the game actually understands that kind of cost, but it has no texture for it, so you don't see the cost on the card.
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2185
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 38 guests