It is currently 16 Apr 2024, 15:17
   
Text Size

DotP 2013 another Deckcreator

Moderator: 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: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 496 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: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 496 times

Previous

Return to Utilities

Who is online

Users browsing this forum: No registered users and 13 guests


Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 13 guests

Login Form