The International Simutrans Forum

PakSets and Customization => Pak64 => Pak64 Bug Reports => Topic started by: Colin on November 23, 2009, 08:41:30 AM

Title: River Tools
Post by: Colin on November 23, 2009, 08:41:30 AM
Would it be possible please to have River Tools in PAK64 similar to those in PAK128?
I did a search but there doesn't seem to be a topic on this.
Title: Re: River Tools
Post by: Dwachs on November 23, 2009, 09:29:13 AM
Add

toolbar[10][13]=ways(3,255)

in pak/config/simuconf.tab (at the end of this file there are several lines starting with toolbar[10][xx]). Please check that there is no other entry toolbar[10][13]. In this case, choose another number instead of 13.

Title: Re: River Tools
Post by: Colin on November 23, 2009, 09:37:42 AM
Quote from: Dwachs on November 23, 2009, 09:29:13 AM
Add

toolbar[10][13]=ways(3,255)

in pak/config/simuconf.tab (at the end of this file there are several lines starting with toolbar[10][xx]). Please check that there is no other entry toolbar[10][13]. In this case, choose another number instead of 13.

There must be something wrong with my PAK/config/simuconfig.tab There are no entries for toolbar at all. It ends with all the info on River no's, length. etc. Not in PAK64 or PAK128 but PAK128 has the River Tools under 'Special Tools'
Title: Re: River Tools
Post by: Dwachs on November 23, 2009, 09:57:24 AM
sorry, this must go in pak/config/menuconf.tab.
Title: Re: River Tools
Post by: Colin on November 23, 2009, 06:47:25 PM
This is the only Toolbar with the number [13]

toolbar[10][13]=general_tool[28]

I copied the pak/config/menuconf.tab from PAK128 to PAK64 and whilst it changed the 'Special Tools' menu to work the same as PAK128 (Replaced the little 'Red radio' button when you click 'P+' with the 'Line Management' there was no other change.
Title: Re: River Tools
Post by: Dwachs on November 23, 2009, 07:20:49 PM
This is toolbar nr 10 in my pak/config/menuconf.tab

# editor tools
toolbar[10][0]=general_tool[10],25,,+100
toolbar[10][1]=general_tool[10],26,,-100
toolbar[10][2]=general_tool[9]
toolbar[10][3]=general_tool[14],27,,city_road
toolbar[10][4]=simple_tool[3]
toolbar[10][5]=dialog_tool[20]
toolbar[10][6]=general_tool[26]
toolbar[10][7]=dialog_tool[21]
toolbar[10][8]=dialog_tool[22]
toolbar[10][9]=dialog_tool[23]
toolbar[10][10]=general_tool[30]
toolbar[10][11]=simple_tool[6]
toolbar[10][12]=dialog_tool[24]
toolbar[10][13]=general_tool[28]
toolbar[10][14]=ways(3,255)

How to activate: change to public player, then click special tools, then map editor, then the rivers are in the map editor toolbar.
Title: Re: River Tools
Post by: Colin on November 23, 2009, 08:16:29 PM
Quote from: Dwachs on November 23, 2009, 07:20:49 PM
This is toolbar nr 10 in my pak/config/menuconf.tab

# editor tools
toolbar[10][0]=general_tool[10],25,,+100
toolbar[10][1]=general_tool[10],26,,-100
toolbar[10][2]=general_tool[9]
toolbar[10][3]=general_tool[14],27,,city_road
toolbar[10][4]=simple_tool[3]
toolbar[10][5]=dialog_tool[20]
toolbar[10][6]=general_tool[26]
toolbar[10][7]=dialog_tool[21]
toolbar[10][8]=dialog_tool[22]
toolbar[10][9]=dialog_tool[23]
toolbar[10][10]=general_tool[30]
toolbar[10][11]=simple_tool[6]
toolbar[10][12]=dialog_tool[24]
toolbar[10][13]=general_tool[28]
toolbar[10][14]=ways(3,255)

How to activate: change to public player, then click special tools, then map editor, then the rivers are in the map editor toolbar.

Two things different with what you have here and what I have.

1. you are quoting PAK128 not PAK64. (PAK64 uses the Red radio button, PAK128 uses the Map Editor. I can change this by copying the PAK128 menuconf.tab to PAK64 but it then uses the Line Managemet)

2. Toolbar[10][14]=ways(3,255) was not in my menuconf.tab. I have entered it in and I now have 2 river options.

Thank you for your help

Edit: Toolbar[10][14]=simple tools(6) in PAK128