It is currently 02 Sep 2025, 06:35
   
Text Size

Reposting here: Help getting Doubling Season to work

Moderator: CCGHQ Admins

Reposting here: Help getting Doubling Season to work

Postby zanemerrick » 12 Apr 2011, 23:17

The past couple of days now I've been reading up on a lot of the goings on at this board and decided that this is definitely something I'd like to be involved with. Keep up all the great work! Also, sorry for the length on this. #-o

That being said, I'm an extreme newb when it comes to coding for this stuff, but after fooling around with it a bit, as well as going through a few tutorials I found here, I think I may have found a way to get Doubling Season to work properly...sort of. While I'm not sure if anyone has tried (or even cares to), I figured I could get lucky and find someone to help me out and get this card into my game [-o<

Focusing on just the first triggered ability for now (the token doubling):
I couldn't find anything in all the files for something like: <TRIGGER value="COMES_INTO_PLAY">return TokenYouControl() </TRIGGER> and correct me if I'm wrong please (again, I'm new to this), but I figured that it should be easy enough to code "TokenYouControl" into the functions. The biggest issue I was having was to come up with something that would actually double the tokens created. Then it hit me to try setting it up somewhat like so:

Say you have 2 Doubling Season's on the battlefield. You create a token. Doubling Season 1 triggers. First thing it should do is to check to see if any other Doubling Season's under your control have triggered. If yes, then do nothing (bear with me). If no, then move on to the next check. The next check should be to see how many Doubling Season's are under your control. If 1, create 1 token of same type(for a total of 2). If 2, create 3 tokens (for a total of 4). If 3, Create 7 tokens. And finally, if 4, create 15. When Doubling Season 2 triggers, it sees that the first one triggered already and therefore does nothing. All this checking is a shortcut around the "doubling" effect (or the long way, again new to this and it's the simplest way I could think of).

So I definitely could use some pointers on how to even start all of that craziness, even if it's just a suggestion to look at some other cards with similar "checks" to base it off of. The part I really can't wrap my head around is how to get the card to produce a token of the same type as the triggering token. As a crappy shortcut around that, I've just been thinking of making it produce specific tokens for the deck I want to put them in, but I would much rather have it work for any deck.

There you have it! Still need to get the second doubling effect (the counters) as well, but that should be a piece of cake after this, right? Please let me know what I can do, what I've done wrong (or can't be done in a way I suggested), or help me brainstorm. Much Appreciation for reading this entire thing =D>
zanemerrick
 
Posts: 6
Joined: 12 Apr 2011, 08:10
Has thanked: 0 time
Been thanked: 0 time

Re: Reposting here: Help getting Doubling Season to work

Postby Huggybaby » 20 Apr 2011, 23:56

We're in a pickle right now I'm afraid. When I started this forum it was because we actually had a couple of guys who knew how to make new cards, etc. Then one left and the other one lost his internet and has never returned. Then finally kevlahnota took over and kept things alive, but only by himself, and now he has gone missing too. So we're waiting for someone to take up the mantle and in the meantime we're left with nothing but questions. :(

We have managed to figure out a lot about this game, and have documented it well, so that anyone competent at least won't be starting from scratch.
Last edited by Huggybaby on 25 Apr 2011, 18:09, edited 1 time in total.
Reason: typo
User avatar
Huggybaby
Administrator
 
Posts: 3227
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 749 times
Been thanked: 601 times

Re: Reposting here: Help getting Doubling Season to work

Postby prox711 » 25 Apr 2011, 14:01

@Huggybaby: Is there any way to make new cards available to the community? I've made around 30 new cards, but I don't want to make them available as a separate download link since most people who just use a mod (Kev's or the SVN repository) won't know how to integrate them into to their existing card pool, resulting in more questions than real help...
prox711
 
Posts: 2
Joined: 01 Apr 2011, 20:04
Has thanked: 0 time
Been thanked: 0 time

Re: Reposting here: Help getting Doubling Season to work

Postby Huggybaby » 25 Apr 2011, 18:13

I'm not the best person to ask but I'll take a stab at answering:

Other than posting the code in text format I'm not sure. I think your new cards have to end up in DLC format at some point, and if your cards conflict with previous versions then you'll have to make a new DLC anyway.
User avatar
Huggybaby
Administrator
 
Posts: 3227
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 749 times
Been thanked: 601 times

Re: Reposting here: Help getting Doubling Season to work

Postby spiwy » 26 Apr 2011, 00:44

When you have made all the cards correctly (with the dueltime/resident text etc) you can compress it with winrar or something and upload it to any server, if someones download it, that person only has to uncompress it inside the DOTP folder and it should work, at least that's how i'm making my own DLC, which i'll upload once it's finished
spiwy
 
Posts: 24
Joined: 15 Mar 2011, 14:21
Location: Spain
Has thanked: 1 time
Been thanked: 0 time


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 8 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 8 guests

Login Form