Page 1 of 2

Story / Campaign Mode!

Posted: Wed Feb 17, 2010 12:41 am
by flad_nag
Hi Wololo! I saw the dead code you made in the SVN. I activated it, and it gave me goosebumps :lol:

Good job! ...as always!

Right now there's only a tutorial campaign, can I add another custom campaign/folder on the same level w/ the "tutorial" folder? Or the code is for the "turorial" camapaign only?

Re: Story / Campaign Mode!

Posted: Wed Feb 17, 2010 3:04 am
by wololo
You can add your own campaign, only requirement is that it must contain a "story.xml" file
Be warned that the xml structure will probably change a lot, so don't start creating a full campaign yet :P

Re: Story / Campaign Mode!

Posted: Wed Feb 17, 2010 3:17 am
by flad_nag
woohoo! tried it! it's great!

Re: Story / Campaign Mode!

Posted: Wed Feb 17, 2010 2:08 pm
by Saint
Noticed it aswell, its Really REALLY basic for now :P but atleast we got a start, i fondled with it myself already a bit aswell :)

Re: Story / Campaign Mode!

Posted: Wed Feb 17, 2010 2:24 pm
by flad_nag
Anyone care to teach me how to modify the makefile to compile the SVN (w/ story mode activated) for the PSP? Thanks in advance!

Re: Story / Campaign Mode!

Posted: Wed Feb 17, 2010 6:55 pm
by Saint
Uhmm well i haven't tried to compile it yet but i think there should be an option in one of the files with a storymode enable string, but then again i haven't tried so best ask Wolo :P

Re: Story / Campaign Mode!

Posted: Thu Feb 18, 2010 2:47 am
by bcdiscman
Saint wrote:so best ask Wolo :P
I'd ask Wololo too! (LOL)

Re: Story / Campaign Mode!

Posted: Thu Feb 18, 2010 4:08 am
by wololo
if you enable them on windows and try to compile the psp version, you should get errors that basically tell you what you need to do.
Editing the Makefile and adding objs/GameStateStory.o objs/StoryFlow.o should be enough but I haven't tested it

Re: Story / Campaign Mode!

Posted: Thu Apr 29, 2010 8:52 am
by abrasax
Hi,

I have some questions regarding this mode, I thought I will post here so that all can profit from the answer (in the eventuality we release something one day ;) ).

When you write the "rules.txt" for a specific duel, can you make the game begin to another phase than the player 1 first main phase ? I try to do it using the same logic as the test script but it didn't work...

What I would like to do is to begin the turn in one of the AI phase and let the AI perform predefine action (like put a creature in play, or attack with a creature) At the moment I cannot do such thing, what I can do is let the AI hand,library and Battlefield so that he will perform the action I want, nevertheless the player begin at his first main phase and need to switch phase in order to complete the specific duels... so it's a bit anoying.

I wanted specifically to code some tutorial with "block an opponent creature", "interrupt an opponent spell", "block with more than 1 creature"... and something much more complex to code "assign combat damage to more than one creature"...

Is there a way to do something like that ? If not then we will be limited for the tutorial...

GrĂ¼ssi

Abra

Re: Story / Campaign Mode!

Posted: Thu Apr 29, 2010 9:36 am
by wololo
I'll have a look.
The tests themselves don't allow the player 2 to start the game but you're right, that's a good point.