Create account / Log in

not understanding pre-defined properties

Topics related to Vassal game modules.

Moderators: Tim M, uckelman

not understanding pre-defined properties

Postby rozar5 » October 18th, 2013, 2:35 pm

Hello. I am using Property Sheets to define some characteristics of a game piece that will change during play. The problem I am having is getting a pre-defined value on the Property Sheet at the beginning of the game. I read the Designer's guide relating to the subject and most seems to be pretty straight forward but the manual is a little confusing to me when it says:
[i]1. In the Game Pieces Palette, select the piece whose Property Sheet you want to pre-define. (Do not drag it to the map.)
2. In the Palette, right-click the piece and select the Property Sheet from the Command Menu.
3. Enter the values for the sheet as desired.
4. Save the module. Whenever a Game Piece of this type is drawn from the palette, the values you entered will be already
defined in the Property Sheet.


Is this happening in the edit mode? The "(Do not drag it to the map)" confuses me. That would imply that the values would be added in the game mode, saved and used in a pre-defined set-up. I tried that and the value was always 0 when I started the game.

I hope I have explained my problem clearly. Help! (please)
rozar5
 
Posts: 38
Joined: September 28th, 2013, 6:56 am

Re: not understanding pre-defined properties

Postby rozar5 » October 21st, 2013, 2:28 pm

I guess I wasn't clear in my explanation of the problem. So I will ask....How do you get a unit's property sheet to begin the game with numerical values other than 0?
rozar5
 
Posts: 38
Joined: September 28th, 2013, 6:56 am

Re: not understanding pre-defined properties

Postby DrNostromo » October 21st, 2013, 3:51 pm

Bring up the game piece in the editor. Right-click the image and select your Property Sheet. Put the values you want in it and save the piece. They'll retain those values at game start.
User avatar
DrNostromo
 
Posts: 1036
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Re: not understanding pre-defined properties

Postby rozar5 » October 22nd, 2013, 2:48 am

Dang! That was easy. Thank you DrNostromo.
Sometimes I just can't get my ole brain around some of this stuff.
rozar5
 
Posts: 38
Joined: September 28th, 2013, 6:56 am

Re: not understanding pre-defined properties

Postby rozar5 » October 22nd, 2013, 4:05 pm

Problem solved. Thanks guys!
rozar5
 
Posts: 38
Joined: September 28th, 2013, 6:56 am


Return to Module General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests