Then this function is not for you, nor was it ever
intended to be. This function saves a stack of known
pieces to a file. It can not be used to create new
pieces on the fly. 

You would need to create a function that records the
action that a module builder takes when creating a
piece and then feed that information back to the
module building software. I think a piece only holds
the results.

So do your users "Edit" your module, or have you an
Vassal module which includes a piece editor extension
you wrote? If the former, then your really playing
different modules. If the later, then your work is cut
out for you.

--- Porter235 <[EMAIL PROTECTED]> wrote:

> I think I do understand.
> 
> I understand that my saved games are the problem.
> 
> I have tried to use the "UPDATE SAVED GAMES"
> funtionality (used to update 
> pieces in saved games from version to version) to
> give them the newly 
> redefined "DRAWPILE" definition.
> 
> I have also tried creating a new extension file that
> contains a NEW MAP WINDOW 
> and a NEW DRAWPILE hoping that when you opened an
> OLD GAME, with the NEW 
> extention, that it would have access to the NEW
> DRAWPILE and hence the 
> save/load functionality.
> 
> I want to use the deck load/save function to
> save/load custom defined pieces 
> created by users. (This is a minis game, with a
> large "customs" community) 
> Currently you can create a custom piece in my
> module, setting custom graphics 
> using URLs, and setting all of the stats for the
> piece. But you currently 
> have to RECREATE these custom pieces every game you
> want to use them in. By 
> adding the SAVE/LOAD trait to a "DRAWPILE" I could
> allow people to drag a 
> group of custom figures into the "DRAWPILE" and save
> them to a file. Greatly 
> speeding up the process of using customs. (The same
> thing could be used to 
> preselect and save/load entire armies)
> 
> I have a bunch of large, complicated saved games.
> Why? Becasue the maps are 
> created out of pieces as well. (Allows users to
> create maps IN VASSAL, and 
> have hover over pieces of info like the elevation)
> Being able to include a 
> single deck (new or old) with the save/load
> functionality in all of these 
> saved games is important. I do not want to have to
> recreate all of the saved 
> games. 
> On Friday 21 July 2006 08:51, Don Holt wrote:
> > I think you are a bit confused. It is your saved
> games
> > that are the problem. These saved games do not
> contain
> > the new "DRAWPILE" and there is no way you can
> change
> > the properties of the drawpiles in your saved
> games.
> >
> > You must edit your module to set the drawpile to
> use
> > the load/save feature, create a new game, and then
> > manual place all the cards into the new drawpile.
> At
> > that point you can save/load decks to other files,
> > which is NOT the save game file.
> >
> > I'm sorry if the verbage on the save/load deck
> > displays are a bit off. (I swiped the code from
> the
> > from the save game function, but the information
> > saved/loaded is completely different.)
> >
> > The intended use of this function is for a CCG.
> > Everyone, offline, starts a game, builds a deck
> and
> > saves it. When you wish to play, you start a new
> game,
> > and everyone loads their decks.
> >
> > I, too, have saved games with just my deck loaded.
> But
> > I will manually reload those decks into a module
> with
> > a  modified drawpile, and then save the deck. From
> > then on, I can load the decks, but there is no
> current
> > function to go into a saved game, retrieve a deck,
> and
> > modify the pieces to change their state to being
> in a
> > different drawpile in a different game.
> >
> > This is what the new functions do. The save
> (thanks to
> > Rodney) eliminates this information, and the load
> > places the pieces in the DECK savefile into any
> deck.
> >
> > --- Porter235 <[EMAIL PROTECTED]> wrote:
> > > OK. I am REALLY frustrated, it appears that I
> can
> > > not use the "load/save"
> > > function that I want... partly because DECKS are
> > > defined in the save game
> > > file (why?!) and also it appears that the new
> > > "save/load" option is not
> > > updated using the updater!
> > >
> > > i have looked at my two pieces info, and the
> only
> > > difference between the two
> > > is the version number! The fact that I toggled
> the
> > > option to LOAD/SAVE from a
> > > deck doesn't appear there. I have tried the
> update,
> > > and sure enough no effect
> > > other than the games reporting that they are the
> new
> > > version.
> > >
> > > I thought I had a workaround by creating an
> > > EXTENSION that defined a new deck,
> > > but alas that also appears to not work.... (if
> > > someone can verify this I
> > > would appreciate it)
> > >
> > > any ideas, other than completely recreating all
> of
> > > my 100+ piece games?
> > >
> > > On Monday 17 July 2006 16:00, Don Holt wrote:
> > > > I am considering trying to expand the function
> to
> > > > include a load/create by "piece name"
> function.
> > > > However, I was greatly dependent on Rodney for
> > >
> > > MUCH
> > >
> > > > help with the original function. I think that,
> in
> > > > principle, he is somewhat opposed to this
> concept
> > > > because of the probability of mismatches
> > >
> > > occurring.
> > >
> > > > And of course, by the time this function got
> in,
> > >
> > > it
> > >
> > > > might be easier to recreate the games.
> > > >
> > > > --- Porter235 <[EMAIL PROTECTED]> wrote:
> > > > > OK. I have a bunch of predefined scenarios
> that
> > >
> > > are
> > >
> > > > > included with the game...
> > > > > I want to be able to add the new load/save
> deck
> > > > > feature to one of my decks...
> > > > >
> > > > > I have had no luck modifying the deck
> definition
> > >
> > > and
> > >
> > > > > having it appear.
> > > > >
> > > > > I have had no luck creating a new extension
> > >
> > > module
> > >
> > > > > for it which only opens a
> > > > > new map with a plain deck with the load/save
> > > > > feature.
> > > > >
> > > > > The feature does appear to work, IF i remove
> all
> > >
> > > of
> > >
> > > > > my scenarios from the
> > > > > module definition and then choose NEW GAME.
> > > > >
> > > > > PLEASE tell me there is a way I can include
> this
> > > > > amazing and very useful
> > > > > feature in my scenarios without having to
> > >
> > > recreate
> > >
> > > > > all of my save games...
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
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/
 


Reply via email to