It is currently 01 Jun 2020, 05:30
   
Text Size

DotP 2013 another Deckcreator

Moderators: Xander9009, CCGHQ Admins

Re: DotP 2013 another Deckcreator

Postby 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

Postby 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.
RiiakShiNal
Programmer
 
Posts: 2135
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 474 times

Re: DotP 2013 another Deckcreator

Postby 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

Postby 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.
RiiakShiNal
Programmer
 
Posts: 2135
Joined: 16 May 2011, 21:37
Has thanked: 74 times
Been thanked: 474 times

Previous

Return to Utilities

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 1 guest

Login Form