It is currently 22 Apr 2018, 20:06
   
Text Size

How to make a new challenge?

Moderators: Xander9009, CCGHQ Admins

How to make a new challenge?

Postby 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?
User avatar
Huggybaby
Administrator
 
Posts: 3065
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 566 times
Been thanked: 569 times

Re: How to make a new challenge?

Postby 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 :mrgreen: ) which stores the win condition, number of phases, etc.

We can code such script/s but how to get them save beforehand?
User avatar
kevlahnota
Programmer
 
Posts: 524
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 12 times
Been thanked: 150 times


Return to Documentation

Who is online

Users browsing this forum: No registered users and 1 guest


Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 1 guest

Login Form