It is currently 16 Apr 2024, 19:10
   
Text Size

How to make a new challenge?

Moderator: 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: 3205
Joined: 15 Jan 2006, 19:44
Location: Finally out of Atlanta
Has thanked: 696 times
Been thanked: 594 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: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times


Return to Documentation

Who is online

Users browsing this forum: No registered users and 8 guests


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 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 8 guests

Login Form