Story / Campaign Mode!

A place to find all custom made campaigns, mods and to discuss the story mode and how to create mods.
flad_nag
Posts: 248
Joined: Mon Aug 31, 2009 7:56 am

Story / Campaign Mode!

Post by flad_nag » Wed Feb 17, 2010 12:41 am

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?

wololo
Site Admin
Posts: 3727
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Story / Campaign Mode!

Post by wololo » Wed Feb 17, 2010 3:04 am

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

flad_nag
Posts: 248
Joined: Mon Aug 31, 2009 7:56 am

Re: Story / Campaign Mode!

Post by flad_nag » Wed Feb 17, 2010 3:17 am

woohoo! tried it! it's great!

Saint
Posts: 434
Joined: Sat Jan 09, 2010 4:57 pm
Location: Netherlands

Re: Story / Campaign Mode!

Post by Saint » Wed Feb 17, 2010 2:08 pm

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 :)
"The bird of the Hermes is my name, eating my wings to make me tame." - Ripley Scrowle, Elias Ashmole's Theatrum Chemicum Britannicum - 1652

flad_nag
Posts: 248
Joined: Mon Aug 31, 2009 7:56 am

Re: Story / Campaign Mode!

Post by flad_nag » Wed Feb 17, 2010 2:24 pm

Anyone care to teach me how to modify the makefile to compile the SVN (w/ story mode activated) for the PSP? Thanks in advance!

Saint
Posts: 434
Joined: Sat Jan 09, 2010 4:57 pm
Location: Netherlands

Re: Story / Campaign Mode!

Post by Saint » Wed Feb 17, 2010 6:55 pm

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
"The bird of the Hermes is my name, eating my wings to make me tame." - Ripley Scrowle, Elias Ashmole's Theatrum Chemicum Britannicum - 1652

bcdiscman
Posts: 222
Joined: Sat Jul 18, 2009 4:40 am
Location: Indiana - USA

Re: Story / Campaign Mode!

Post by bcdiscman » Thu Feb 18, 2010 2:47 am

Saint wrote:so best ask Wolo :P
I'd ask Wololo too! (LOL)
ImageImageImageImage
BCdiscman

wololo
Site Admin
Posts: 3727
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Story / Campaign Mode!

Post by wololo » Thu Feb 18, 2010 4:08 am

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

abrasax
Posts: 976
Joined: Wed Oct 15, 2008 7:46 am
Location: Switzerland

Re: Story / Campaign Mode!

Post by abrasax » Thu Apr 29, 2010 8:52 am

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
We need your Help !!!
New to wagic ? Be sure to check the following :

Bug report: Bug reporting
Help us: Add cards & Compiling.
Customize: Themes FAQ, All images thread, Abra's Mediafire folder

wololo
Site Admin
Posts: 3727
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: Story / Campaign Mode!

Post by wololo » Thu Apr 29, 2010 9:36 am

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.

Post Reply