> Wow. You guys are hard core! I had no idea. I guess this is where
> having
> a more easily-parsed format for the game pieces in a module would pay off.
> How are you getting by now? Do you use the editor to create a piece
> definition, then substitute a few key fields doing straight string
> substitution within your script?
>
> rk
Exactly. Lets say I want to create a deck of 52 cards with different
names, and different graphics. I start by defining the prototypes. I
presume that everyone would also use some naming convention for the
graphic files. I create the definition for just one card. Then I export
the buildFile, open it up in VIM and with just a handful of keystrokes I
can duplicate that one card into 52 specific cards.
I have also writting code to loop over a datafile (which came from an
Excel file someone else made) to create objects in the buildFile (based on
one object that I create in the editor).
I would take me a very long time to create 52 individual cards with the
editor. But it takes me the same amount of time to create 52 or 5,200 in
Vim.
Cheers
-Tim
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/