Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Utilities
DotP 2013 another Deckcreator
Moderator: CCGHQ Admins
Re: DotP 2013 another Deckcreator
by Droulee » 16 Apr 2013, 14:41
Oh.. Well, is it hard to add the new abilities, like miracle? And where should i write this code? In which file?
- Droulee
- Posts: 3
- Joined: 15 Apr 2013, 18:31
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 another Deckcreator
by RiiakShiNal » 17 Apr 2013, 13:35
It can be difficult depending on the ability to code (I believe someone has already coded miracle so for that ability you can use that code as a base). The code for each ability goes in the card XML that has that ability. For example if you were coding Devastation Tide into file DEVASTATION_TIDE_275720.XML then you would need to put the code for the abilities in that file.
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
Re: DotP 2013 another Deckcreator
by Droulee » 17 Apr 2013, 18:06
Thank you for answers! And i have the last one question. Should i manually write differents codes in .xml files or i can find somewhere some parts ot them?
- Droulee
- Posts: 3
- Joined: 15 Apr 2013, 18:31
- Has thanked: 0 time
- Been thanked: 0 time
Re: DotP 2013 another Deckcreator
by RiiakShiNal » 17 Apr 2013, 22:50
Usually coders look at other already coded cards with similar abilities to figure out how to code something (examining already built and working cards is sometimes the best way to figure out how to code an ability). Some abilities can quite easily be copied from other cards with little to no modification, other abilities require quite a bit of modification and/or "frankensteining" something together from other abilities. Some abilities may have to be coded from scratch or may even be impossible to code in the DotP 2013 engine.
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
19 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest