Nand Blog

Games, software and BGG...

Archive for Andrea "Nand"

1 , 2 , 3 , 4 , 5  Next »  [8]

Recommend
9 
 Thumb up
10.00
 tip
 Hide

Tabletop Simulator - Multiple tiles/tokens creation

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I've added a feature in nanDECK to create multiple copies of tiles and tokens (with different images), if you want to try it, it's in this beta version:

http://www.nand.it/nandeck/nandeck_1_25_2_beta11.zip

For example, I've created 50 different images for a tile front (in blue) and 50 for a tile back (in red):

cardsize=3,3
[all]=1-100
[front]=1-50
[back]=51-100
image=[all],hearts.png,0,0,100%,100%
fill=[front],50%,50%,#0000FF,#FFFFFF,B
fill=[back],50%,50%,#FF0000,#FFFFFF,B
font=arial,32,T,#FFFFFF
text=[front],{§},0,0,100%,100%
text=[back],{§-50},0,0,100%,100%
save=[front],"tile_front{§}.png",0,0,100%,100%,#FFFFFF
save=[back],"tile_back{§-50}.png",0,0,100%,100%,#FFFFFF


Token 1 (front):

From gallery of n_and


Token 1 (back):

From gallery of n_and


Next, I've created one tile in TTS, using that two images, and saved that table:

From gallery of n_and


Next, a click on "TTS" button on the main window in nanDECK open this dialog:

From gallery of n_and


The TTS file is located in Documents -> My Games -> Tabletop Simulator -> Saves

The image filename is tile_front1.png|tile_back1.png (you can use also only one image, if you want a tile with the same image on both faces).

The current number is 1 (and must be present in the image filename), and 50 is the total number of tiles.

If I click on "Generate" button and load the table in TTS, all the tiles are present:

From gallery of n_and
Twitter Facebook
1 Comment
Sun Apr 26, 2020 12:50 pm
Post Rolls
  • [+] Dice rolls
Recommend
6 
 Thumb up
5.05
 tip
 Hide

Adding an animated text in your avatar with nanDECK

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
First, I create a card 64 x 64 pixel, since 64/300*2,54=0,541866667 , this is the size in cm:

cardsize=0.541867,0.541867

A card so small needs some smoothing, therefore:

oversample=8
imagefilter=lanczos


I set the animation in 40 frames:

cards=40

I draw an image in the background:

image=,nandlogo.png,20%,20%,60%,60%

And draw two texts, in a circular pattern, 180° apart, each frame is rotated of 9 degrees (360/40=9):

font=arial,2,CQT,#000000
text=,nanDECK,-5%,-5%,110%,110%,center,center,§*9,100
text=,BGG1tool,-5%,-5%,110%,110%,center,center,§*9+180,100


Finally, I save the animated GIF (with a pause of 0.1 sec. between each frame):

savegifa=avatar.gif,100,OP

This is the full script:

cardsize=0.541867,0.541867
oversample=8
imagefilter=lanczos
cards=40
image=,nandlogo.png,20%,20%,60%,60%
font=arial,2,CQT,#000000
text=,nanDECK,-5%,-5%,110%,110%,center,center,§*9,100
text=,BGG1tool,-5%,-5%,110%,110%,center,center,§*9+180,100
savegifa=avatar.gif,100,OP


And this is the result:

External image


Nice or annoying?
Twitter Facebook
2 Comments
Wed Sep 4, 2019 3:32 pm
Post Rolls
  • [+] Dice rolls
Recommend
6 
 Thumb up
 tip
 Hide

BGG1tool and accessories

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I've uploaded a new version of BGG1tool, in this new version (1.22.2) I've added three features relevant to accessories:

- first, you can get the accessories list from an user (or users) by selecting "Accessories" from the drop down list in the left part of the main window (that usually set to "Boardgames"), and click "Load from user".

From gallery of n_and


- second, in the games' list there are two new columns: accessories and accessories_name.

From gallery of n_and


- third, if you click the "Extract accessories' ID from game list" button (in the lower-right part of the window) all the ID from the "accessories" column are extracted and copies in the left list. Note: I've moved here the button "Extract accessories' ID from game list" that in the previous versions was named "Exp" and was located near the "Year" and "Age" buttons.

From gallery of n_and


You can find other info about BGG1tool in this guild:

BGG1tool Users
Twitter Facebook
0 Comments
Sat Aug 17, 2019 10:26 am
Post Rolls
  • [+] Dice rolls
Recommend
1 
 Thumb up
 tip
 Hide

mcivTOOL update

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I've made some changes to my free tool for Mega Civilization.

Windows version: http://www.nand.it/files/mcivtool_win.zip

Android version: https://play.google.com/store/apps/details?id=it.nand.mcivTO...

Now if you click on a button in the main screen the card goes to the "purchase group", and the total cost is shown on the top-right corner:

From gallery of n_and


If you want to confirm the purchase, click on "Confirm" button (or cancel it with the "Cancel" button):

From gallery of n_and


And there is a blank button (under the "Info" button) that locks the purchased cards when pressed.
Twitter Facebook
0 Comments
Sat Jun 1, 2019 9:39 am
Post Rolls
  • [+] Dice rolls
Recommend
4 
 Thumb up
 tip
 Hide

Custom dice with nanDECK

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
When I've added the virtual table feature to nanDECK I've added also tokens to it (created with the TOKEN directive), and if you put in them a random value instead of a fixed text, that tokens can be used as dice.

Now, in the last version I've added a parameter to the TOKEN directive, that can contains a sequence of images, and this can be used to show custom dice in the virtual table.

For example, I start from the blue dice from Descend 2nd Edition, and this is a script that creates the six images:

cardsize=6,6

sequence
number|
heart |0
surge |0

number|2
heart |2
surge |1

number|3
heart |2
surge |0

number|4
heart |2
surge |0

number|5
heart |1
surge |0

number|6
heart |1
surge |1
endsequence

[all]=1-{(number)}

rectangle=[all],0,0,100%,100%,#0000FF
button=[all],0,0,100%,100%,10%,OG

font=calibri,96,T,#FFFFFF
text=[all],[number],0,0,50%,50%

font=webdings,64,T,#FFFFFF
text=[all],\89\\13\{X{heart?§}},50%,0,50%,100%
text=[all],\126\\13\{X{surge?§}},0,50%,50%,50%

line=1,20%,20%,80%,80%,#FFFFFF,20%
line=1,80%,20%,20%,80%,#FFFFFF,20%

save=[all],"blue{§}.png",0,0,100%,100%


And this is a script that uses these images to create three dice in the virtual table:

[blue]=blue1.png|blue2.png|blue3.png|blue4.png|blue5.png|blue6.png
token="{1D6}",200,200,#000000,#FF000000,1,50%,50%,[blue]
token="{1D6}",200,200,#000000,#FF000000,1,30%,50%,[blue]
TOKEN="{1D6}",200,200,#000000,#FF000000,1,70%,50%,[blue]


Screenshot:

From gallery of n_and


To reroll one, double click on it; to reroll all, double click on "Reset table" button.
Twitter Facebook
1 Comment
Wed May 22, 2019 4:03 pm
Post Rolls
  • [+] Dice rolls
Recommend
5 
 Thumb up
100.00
 tip
 Hide

BGG1tool - finding if users voted A higher than B

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I recap here a new feature I've added in version 1.20.13 of BGG1tool, to find which, between two games, users gave the highest rating. The steps are:

- in the left box insert the IDs of the games (you can obtain the IDs from the names using the "S" button), in this example I've chosen Pandemic Legacy (S1) and Gloomhaven
- Important: select the option "Download votes" in the lower section of the window
- click the "Load games" button and wait until the center box is filled with data (there is a % counter in the bottom right corner)

From gallery of n_and


- click on "Data charts" button, then select entry "Votes correlations"
- in the left column, select the two games

From gallery of n_and


- click "Summary" button

The result for this example is:

Users that have voted Pandemic Legacy: Season 1: 29097
Users that have voted Gloomhaven: 20921
Users that have voted both games: 8645
Users that gave an higher vote to Pandemic Legacy: Season 1: 2342
Users that gave an higher vote to Gloomhaven: 3876
Users that gave the same vote: 2427
Twitter Facebook
0 Comments
Sat Dec 22, 2018 1:23 pm
Post Rolls
  • [+] Dice rolls
Recommend
6 
 Thumb up
1.00
 tip
 Hide

New version of BGG1tool - 1.20.8

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I've released a new version of BGG1tool (1.20.8) with these new fields:

- minplaytime
- maxplaytime (it seems equal to "playingtime" but since they are two different tags in XML, I'll keep them both)
- numcomments
- family (multiple values)
- age_poll (average players' age from poll results)

I've modified the Search window (small "S" button in the top-left corner of the main window):

From gallery of n_and


1) this is an editable list, I've added it to contain a text lists of boardgames' names that you want to convert to IDs, when you double click a line, is copied to (2), and searched (therefore if you do a double click, there is no need to click (3))
2) this is the current text to be searched, type in it and click (3)
3) click this button to do a text search on BGG, the results are shown on (4)
4) a list of games, double click on one to be copied on (5)
5) a list of IDs, returned to the main window with button (8)
6) click this button to copy all the games in (4) to (5)
7) click this button to copy the selected game in (4) to (5)
8) click this button to copy the ID in (5) to the main window and close the search
9) click this button to close the search without returning any ID


Download link (1837 kB):

http://www.nand.it/nandeck/bgg1tool.zip

Guild link:

BGG1tool Users
Twitter Facebook
0 Comments
Sat Nov 24, 2018 11:32 am
Post Rolls
  • [+] Dice rolls
Recommend
6 
 Thumb up
1.00
 tip
 Hide

3 layouts for nanDECK - part 2

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
Following this post:

3 layouts for nanDECK

I wrote three other layouts for nanDECK, the data are always taken from this sample spreadsheet (named data.xlsx):

From gallery of n_and



The first is with white boxes, merging the two numeric values in a single sequence:

link=data.xlsx

[colback]=#FFFFFF
[coltitle]=#000000
[coltext]=#000000
[colnum]=#FF0000
[power_cost]=join([power],/,[cost])
[all]=1-{(title)}

rectangle=[all],0,0,100%,100%,[colback]

image=[all],[image],20%,0,80%,30%,0,C

font=arial,18,T,[coltitle],[colback]
text=[all],[title],0,30%,20%,65%,left,center,270

rectangle=[all],20%,0,80,30%,#000000,empty,0.1
rectangle=[all],0,30%,20%,70%,#000000,empty,0.1

font=arial,10,T,[coltext],[colback]
text=[all],[description],25%,45%,75%,55%,left,wwtop

ellipse=[all],0,20%,30%,20%,#000000,#FFFFFF,0.1
font=arial,20,T,[coltext],[colback]
text=[all],[power_cost],0,20%,30%,20%,center,center


Result:

From gallery of n_and
From gallery of n_and
From gallery of n_and



The second uses the BUTTON directive for a 3D effect:

link=data.xlsx

[colback]=#CCCCCC
[coltitle]=#000000
[coltext]=#000000
[colnum]=#000000
[all]=1-{(title)}
[box_s]=3%
[box_t]=OG

rectangle=[all],0,0,100%,100%,[colback]

image=[all],[image],10%,20%,80%,30%,0,C
button=[all],10%,20%,80%,30%,[box_s],[box_t]

font=arial,20,T,[colnum],[colback]
text=[all],[power],10%,55%,30%,10%
button=[all],10%,55%,30%,10%,[box_s],[box_t]
text=[all],[cost],60%,55%,30%,10%
button=[all],60%,55%,30%,10%,[box_s],[box_t]

font=arial,18,,[coltitle],[colback]
text=[all],[title],10%,5%,80%,10%
button=[all],10%,5%,80%,10%,[box_s],[box_t]

font=arial,8,T,[coltext],[colback]
text=[all],[description],12%,72%,76%,21%,left,wwtop
button=[all],10%,70%,80%,25%,[box_s],[box_t]


Result:

From gallery of n_and
From gallery of n_and
From gallery of n_and



While the third uses gradients:

link=data.xlsx

[colback]=#666666
[coltitle]=#FFFFFF
[coltext]=#FFFFFF
[colnum]=#FFFFFF
[colgrad1]=#CCCCCC
[colgrad2]=[colback]
[all]=1-{(title)}

font=arial,18,,[coltitle],[colgrad1][colgrad2]@270
text=[all],[title],0,0,100%,15%

image=[all],[image],0,15%,100%,45%,0,C

font=arial,20,,[colnum],[colgrad1][colgrad2]@90
text=[all],[power],80%,15%,20%,10%
font=arial,20,,[colnum],[colgrad1][colgrad2]@270
text=[all],[cost],0,50%,20%,10%

rectangle=[all],0,60%,100%,40%,[colgrad1][colgrad2]@90
font=arial,12,T,[coltext],[colback]
text=[all],[description],5%,65%,90%,35%,left,wwtop


Result:

From gallery of n_and
From gallery of n_and
From gallery of n_and
Twitter Facebook
0 Comments
Fri Sep 22, 2017 1:21 pm
Post Rolls
  • [+] Dice rolls
Recommend
8 
 Thumb up
1.00
 tip
 Hide

An origami box with nanDECK

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
Following the thread "How to Fold Origami Rectangular Boxes with Lids for Game Box Component Storage" by



I've created a script to create an origami box using nanDECK:

[l]=7
[w]=4
[h]=1.5
[fill]=#AAAAAA
[img]=""

[px]=21
[py]=29.7

[da]=(([w]*2^0.5)+(([l]-[w])*2^0.5)/2+([h]*2^0.5)*2)

page=[px],[py],portrait,hv
border=none
margins=0,0,0,0

cardsize=[px],[py]

layer=100,0,0,-45
rectangle=1,([px]/2-[l]/2-[h]*2-[w]/2),([py]/2-[w]/2-[h]*2-[w]/2),([l]+[h]*4+[w]),([w]+[h]*4+[w]),#FF0000,empty,0.02
edge=1,custom,OS
rectangle=1,([px]/2-[l]/2-[h]*2),([py]/2-[w]/2-[h]*2),([l]+[h]*4),([w]+[h]*4),#000000,empty,0.01
rectangle=1,([px]/2-[l]/2-[h]),([py]/2-[w]/2-[h]),([l]+[h]*2),([w]+[h]*2),#000000,empty,0.01
line=1,([px]/2-[l]/2-[h]),([py]/2-[w]/2-[h]),([px]/2-[l]/2),([py]/2-[w]/2),#000000,0.02,OS
line=1,([px]/2-[l]/2-[h]),([py]/2+[w]/2+[h]),([px]/2-[l]/2),([py]/2+[w]/2),#000000,0.02,OS
line=1,([px]/2+[l]/2+[h]),([py]/2-[w]/2-[h]),([px]/2+[l]/2),([py]/2-[w]/2),#000000,0.02,OS
line=1,([px]/2+[l]/2+[h]),([py]/2+[w]/2+[h]),([px]/2+[l]/2),([py]/2+[w]/2),#000000,0.02,OS
edge=1,solid
rectangle=1,([px]/2-[l]/2),([py]/2-[w]/2),([l]),([w]),#000000,[fill],0.01
rectangle=1,([px]/2-[l]/2-[h]),([py]/2-[w]/2),([h]),([w]),#000000,[fill],0.01
rectangle=1,([px]/2+[l]/2),([py]/2-[w]/2),([h]),([w]),#000000,[fill],0.01
rectangle=1,([px]/2-[l]/2),([py]/2-[w]/2-[h]),([l]),([h]),#000000,[fill],0.01
rectangle=1,([px]/2-[l]/2),([py]/2+[w]/2),([l]),([h]),#000000,[fill],0.01
image=1,[img],([px]/2-[l]/2),([py]/2+[w]/2),([l]),([h]),#000000
endlayer
rectangle=1,([px]/2-[da]/2),([py]/2-[da]/2),([da]),([da]),#FF0000,empty,0.02


The first five lines contain parameters for length, width, height, color and an optional image (note also the following parameters for width and height of an A4 sheet of paper). This is the result (cutting lines are in red):

From gallery of n_and


Units are in cm, if you want inches, add this line (and change the page size):

unit=inch

This is the same result, with an image:

From gallery of n_and


And if you want a dialog for the parameters, replace the first five lines with these:

inputtext=l,"Length",7
inputtext=w,"Width",4
inputtext=h,"Height",1.5
inputtext=fill,"Color",#AAAAAA,C
inputtext=img,"Image","",G


From gallery of n_and
Twitter Facebook
0 Comments
Mon Sep 4, 2017 2:09 pm
Post Rolls
  • [+] Dice rolls
Recommend
4 
 Thumb up
0.05
 tip
 Hide

3 layouts for nanDECK

Andrea Nand
Italy
Modena
flag msg tools
Best. Game. Ever.
badge
I wrote nanDECK and BGG1tool
Avatar
Microbadge: nanDECK userMicrobadge: TARDISMicrobadge: The Lord of the Rings fanMicrobadge: xkcd fanMicrobadge: ILSA Magazine fan
I wrote three layout as an example for nanDECK. All of them start from a spreadsheet file, like this (named data.xlsx):

From gallery of n_and


The first uses pastel colors (but you can change them) and roundex boxes:

link=data.xlsx

[colback]=#00B0ED
[coltitle]=#00B0ED
[coltext]=#007194
[colnum]=#00B0ED
[colbord]=#EDDA7D
[data]=#FFFFFF
[all]=1-{(title)}

roundrect=[all],5%,50%,90%,40%,[colbord],[data],2%
font=arial,10,T,[coltext],[data]
text=[all],[description],8%,53%,84%,30%,left,wwtop

font=arial,24,T,[colnum],[data]
ellipse=[all],5%,80%,25%,16%,[colbord],[data],2%
text=[all],[power],5%,81%,25%,15%
ellipse=[all],70%,80%,25%,16%,[colbord],[data],2%
text=[all],[cost],70%,81%,25%,15%

image=[all],[image],5%,10%,90%,40%,0,C
roundrect=[all],5%,10%,90%,40%,[colbord],EMPTY,2%
fill=[all],0,0,[colback],[colbord]

roundrect=[all],5%,5%,90%,10%,[colbord],[data],2%
font=arial,18,T,[coltitle],[data]
text=[all],[title],5%,5%,90%,10%


This is the result (note that all the images should be in the same folder with the spreadsheet and the script):

From gallery of n_and
From gallery of n_and
From gallery of n_and


The second is darker and squared:

link=data.xlsx

[colback]=#000000
[coltitle]=#FFFFFF
[coltext]=#FFFFFF
[colnum]=#FFFFFF
[colbord]=#FF0000
[all]=1-{(title)}

rectangle=[all],0,0,100%,100%,[colback]

image=[all],[image],5%,15%,90%,40%,0,C
rectangle=[all],5%,15%,90%,40%,[colbord],EMPTY,2%

font=arial,18,T,[coltitle],[colback]
text=[all],[title],10%,5%,80%,10%,left
rectangle=[all],5%,5%,90%,10%,[colbord],EMPTY,2%

font=arial,10,T,[coltext],[colback]
text=[all],[description],8%,58%,84%,30%,left,wwtop
rectangle=[all],5%,55%,90%,40%,[colbord],EMPTY,2%

font=arial,20,,[colnum],[colback]
text=[all],[power],5%,45%,25%,10%
rectangle=[all],5%,45%,25%,10%,[colbord],EMPTY,2%
text=[all],[cost],5%,85%,25%,10%
rectangle=[all],5%,85%,25%,10%,[colbord],EMPTY,2%


Result:

From gallery of n_and
From gallery of n_and
From gallery of n_and


And a third layout, without boxes:

link=data.xlsx

[colback]=#FFFFFF
[colgrid]=#EEEEEE
[coltitle]=#000000
[coltext]=#000000
[colnum]=#FF0000
[power_cost]=join([power],/,[cost])
[all]=1-{(title)}

rectangle=[all],0,0,100%,100%,[colback]
grid=[all],0,0,100%,100%,[colgrid],1%,10,15

image=[all],[image],0%,60%,100%,40%,0,C

font=arial,18,T,[coltitle],[colback]
text=[all],[title],10%,5%,80%,10%,left

font=arial,10,T,[coltext],[colback]
text=[all],[description],10%,20%,80%,40%,left,wwtop

font=arial,20,T,[colnum],[colback]
text=[all],[power_cost],65%,45%,25%,10%,right


Result:

From gallery of n_and
From gallery of n_and
From gallery of n_and
Twitter Facebook
2 Comments
Mon Jul 31, 2017 4:47 pm
Post Rolls
  • [+] Dice rolls

1 , 2 , 3 , 4 , 5  Next »  [8]

Subscribe

Contributors