Board index Programs with AI or Rules Enforcement Magic: The Gathering - Duels of the Planeswalkers Documentation
How to make a new challenge?
Moderator: CCGHQ Admins
How to make a new challenge?
by Huggybaby » 24 Nov 2010, 22:18
I'm very interested in having new challenges added to the game. Is there any info that describes how this might be possible?
-
Huggybaby - Administrator
- Posts: 3207
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 702 times
- Been thanked: 595 times
Re: How to make a new challenge?
by kevlahnota » 25 Nov 2010, 02:16
hmmm, I'm also wondering how to do it.
The challenges are scripted and using a saved game when loading it.
example: CHALLENGE_17.xyl - saved challenge, CHALLENGE_17.XML - scripts
It also uses an XML worksheet ( per expansion. In the case of example above CHALLENGES_03.xml - open it with excel ) which stores the win condition, number of phases, etc.
We can code such script/s but how to get them save beforehand?
The challenges are scripted and using a saved game when loading it.
example: CHALLENGE_17.xyl - saved challenge, CHALLENGE_17.XML - scripts
It also uses an XML worksheet ( per expansion. In the case of example above CHALLENGES_03.xml - open it with excel ) which stores the win condition, number of phases, etc.
We can code such script/s but how to get them save beforehand?
-
kevlahnota - Programmer
- Posts: 825
- Joined: 19 Jul 2010, 17:45
- Location: Philippines
- Has thanked: 14 times
- Been thanked: 264 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 10 guests