Hi John,

CCInfo has nothing to do with CCLayer, it just accesses my custom terrain 
modification and returns the name of terrain in the current hex as 
$CurrentTerrain$.

CCLayer is stand-alone and does not need CCInfo. The changes in CCLayer will 
probably be incorporated into vassal 3.0 at some stage.

CCInfo and CCLayer are both counter traits, they cannot be imported anywhere in 
the module tree, they must be imported into a counter. When you are editing an 
individual gamepiece (or prototype) and have the window with the list of traits 
up, then click the Import button on the bottom left of the window and enter 
cc.CCLayer.

You will also need to install the custom command encoder cc.CCCommandEncoder - 
there is information on how to do this at the bottom of the Programming 
tutorial on the VASSAL doco site 
(http://www.vassalengine.org/wiki/doku.php?id=programming).

Regards,
Brent.

>*********** REPLY SEPARATOR ***********
>
>On 4/02/2007 at 4:48 AM John wrote:
>Thanks for your quick reply but I'm not sure I follow you. 
>
>Does it matter where in the editing menu you try to import a class?
>I tried it at the top level, on Game Piece Prototype Definitions, Game 
>Piece Palette, and on an individual piece I defined. I still get the 
>same error.
>
>John
>
>--- In [email protected], Torsten Spindler <[EMAIL PROTECTED]> 
>wrote:
>>
>> On Sun, 2007-02-04 at 04:21 +0000, John wrote:
>> > How do I use the CCInfo.class from Combat Commander in another 
>module?
>> > 
>> > I want to use the CC Layer trait.
>> > 
>> > I placed the class files in the module zip and tried to import the 
>> > class but it said that "Class must implement the configurable 
>> > interface".
>> 
>> When CCInfo is a trait, it has to be imported by a gamepiece.
>> 
>> Bye,
>> Torsten
>>
>
>
>
____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]

Reply via email to