15-03-2012, Thursday-01:59:45
DirrrtyDirk: Naja, bei mir ist die Karte halt 2,5k x 2,5k pixel groß, und soll ja nur greater tokyo darstellen, deswegen kann ichs ausführlich machen, bei ner japankarte müsste man sich natürlich auf die wichtigen strecken beschränken
njaa was muss ich denn dann da in die .dat eintragen, wenn ich z.b. die neuen bilder eine reine tiefer machen würde? ich bin ja froh, dass ich es bei den stationen gecheckt hatte, so dass ich ein paar stationen von pak64 übernehmen konnte ins pak128 (z.b. die mehrteiligen oberleitungen (hab sie sogar noch verbessert im look) und die bahnsteige und tokyo station
so, ausprobiert, verstanden und untermenues für road und rail gebaut....
nur wieso behauptet der jetzt, ich hätte den falschen Cursor für General_tool 35 (sprich Buying), ich hab an dem Tool doch nix geändert... und auch cursor.GeneralTools.pak nicht verändert...
Ok, menu.BarTools.a. kann er nicht finden
ok, immer merkwürdiger, ich checks nicht, irgendwie erscheint nur ganz wenig von den toolbars, was mach ich falsch?
njaa was muss ich denn dann da in die .dat eintragen, wenn ich z.b. die neuen bilder eine reine tiefer machen würde? ich bin ja froh, dass ich es bei den stationen gecheckt hatte, so dass ich ein paar stationen von pak64 übernehmen konnte ins pak128 (z.b. die mehrteiligen oberleitungen (hab sie sogar noch verbessert im look) und die bahnsteige und tokyo station
so, ausprobiert, verstanden und untermenues für road und rail gebaut....
nur wieso behauptet der jetzt, ich hätte den falschen Cursor für General_tool 35 (sprich Buying), ich hab an dem Tool doch nix geändert... und auch cursor.GeneralTools.pak nicht verändert...
Ok, menu.BarTools.a. kann er nicht finden
ok, immer merkwürdiger, ich checks nicht, irgendwie erscheint nur ganz wenig von den toolbars, was mach ich falsch?
Code:
# menuconf.tab
#
# Menu configuration for Simutrans
#
# author: Markus Pristovsek
#
# changes for pak128: FrankP, VS
#
# With these file, each menu/tool/toolbar can be assigned a meaning
# there are four different kind of tools
# general_tools: like query, remove, alter land, ...
# click tools: pause, fast forward, ...
# dialoge tools: open a dialoge like minimap, settings, finances, ...
# toolbar tools: open toolbars like slope tools, road tools, ...
icon_width = 32
icon_height = 32
# FIRST SECTION: general tools
# these tools have an icon, a cursor, and maybe a sound
# each entry has the form: general_tool[i],a,b,c,k
# i is the tool number (as seen below)
# a is the icon as number in menu: menu.GeneralTools.pak
# b is the cursor as number in cursor: cursor.GeneralTools.pak
# c is the sound on success
# k is the key to toggle this
# ommitting a parameter will set default values (i.e. no image, no sound, no default string)
# These are the default definition.
#
# currently define values for i
# WKZ_ABFRAGE = 0
# WKZ_REMOVER = 1
# WKZ_RAISE_LAND = 2
# WKZ_LOWER_LAND = 3
# WKZ_SETSLOPE = 4
# WKZ_RESTORESLOPE = 5
# WKZ_MARKER = 6
# WKZ_CLEAR_RESERVATION = 7
# WKZ_TRANSFORMER = 8
# WKZ_ADD_CITY = 9
# WKZ_CHANGE_CITY_SIZE = 10
# WKZ_PLANT_TREE = 11
# WKZ_FAHRPLAN_ADD = 12 // only for internal use
# WKZ_FAHRPLAN_INS = 13 // only for internal use
# WKZ_WEGEBAU = 14 // parameter either string with name of number for default way
# WKZ_BRUECKENBAU = 15
# WKZ_TUNNELBAU = 16
# WKZ_WAYREMOVER = 17
# WKZ_WAYOBJ = 18
# WKZ_STATION = 19
# WKZ_ROADSIGN = 20
# WKZ_DEPOT = 21
# WKZ_BUILD_HAUS = 22
# WKZ_LAND_CHAIN = 23
# WKZ_CITY_CHAIN = 24
# WKZ_BUILD_FACTORY = 25
# WKZ_LINK_FACTORY = 26
# WKZ_HEADQUARTER = 27
# WKZ_LOCK_GAME = 28
# WKZ_ADD_CITYCAR = 29
# WKZ_FOREST = 30
# WKZ_STOP_MOVER = 31
# WKZ_MAKE_STOP_PUBLIC = 32
# WKZ_REMOVE_WAYOBJ= 33
# WKZ_UNDERGROUND_PICK= 34
# WKZ_BUY_HOUSE= 35
#
general_tool[0]=0,0,9,a
general_tool[1]=1,1,14,r
general_tool[2]=2,2,11,u
general_tool[3]=3,3,11,d
# general tool 4 needs a parameter => icon defined in toolbar but no cursor yet
general_tool[4]=,4,11
general_tool[5]=4,4,11
general_tool[6]=5,5,9,M
general_tool[7]=6,6,,b
general_tool[8]=7,7,11,g
general_tool[9]=8,8,11,C
# general tool 10 needs a parameter + icon & cursor depends on it => not defined here
general_tool[11]=9,9,9,�
# define the cursor for schedule tools
general_tool[12]=,10
general_tool[13]=,10
general_tool[14]=,,11
general_tool[15]=,,12
general_tool[16]=,,9
general_tool[17]=,1,11
general_tool[18]=,,11
general_tool[19]=,,11
general_tool[20]=,,11
general_tool[21]=,,11
general_tool[22]=,12,11
general_tool[23]=,12,11
general_tool[24]=,12,11
general_tool[25]=,12,11
# we do not use general tool 23...25 directly => undefined icons
general_tool[26]=10,11,,
general_tool[27]=11,12,,h
general_tool[28]=12,7,,
# citycars are usually added via a dialoge
general_tool[30]=13,9,,
general_tool[31]=14,11,,
general_tool[32]=15,11,,
general_tool[33]=,,11,
general_tool[34]=,,11,
general_tool[35]=16,12,11,K
# SECOND SECTION: simple tools
# since these tools act immeadiately
# they have only an icon assigned
# each entry has the form: dialoge_tool[i]=a,k
# i is the tool number (as seen below)
# a is the icon as number in menu: menu.SimpleTools.pak
# k is the key to toggle this
#
# WKZ_PAUSE = 0
# WKZ_FASTFORWARD = 1
# WKZ_SCREENSHOT = 2
# WKZ_INCREASE_INDUSTRY = 3
# WKZ_UNDO = 4
# WKZ_SWITCH_PLAYER = 5
# WKZ_STEP_YEAR = 6
# WKZ_CHANGE_GAME_SPEED = 7
# WKZ_ZOOM_IN = 8
# WKZ_ZOOM_OUT = 9
# WKZ_SHOW_COVERAGE = 10
# WKZ_SHOW_NAMES = 11
# WKZ_SHOW_GRID = 12
# WKZ_SHOW_TREES = 13
# WKZ_SHOW_HOUSES = 14
# WKZ_SHOW_UNDERGROUND = 15
# WKZ_ROTATE90 = 16
# WKZ_QUIT = 17
# WKZ_FILL_TREES = 18
# WKZ_DAYNIGHT_LEVEL = 19
#
simple_tool[0]=0,p
simple_tool[1]=1,W
simple_tool[2]=2,c
simple_tool[3]=3
simple_tool[4]=4,z
simple_tool[5]=5,P
simple_tool[6]=6
# simple tool 7 needs a parameter
simple_tool[8]=7,>
simple_tool[9]=8,<
# lots of icons still not drawn ...
simple_tool[10]=,v
simple_tool[11]=,!
simple_tool[12]=,#
simple_tool[13]=,%
simple_tool[14]=,"
simple_tool[15]=,U
simple_tool[16]=4,R
simple_tool[17]=,X
# THIRD SECTION: dialoge tools
# since these tools immeadiately open only a dialoge,
# they have only an icon assigned
# each entry has the form: dialoge_tool[i]=a,k
# i is the tool number (as seen below)
# a is the icon as number in menu: menu.DialogeTools.pak
# k is the key to toggle this
#
# WKZ_HELP=0
# WKZ_OPTIONEN=1
# WKZ_MINIMAP=2
# WKZ_LINEOVERVIEW=3
# WKZ_MESSAGE=4
# WKZ_FINANCES=5
# WKZ_PLAYERS=6
# WKZ_DISPLAYOPTIONS=7
# WKZ_SOUND=8
# WKZ_LANGUAGE=9
# WKZ_PLAYERCOLOR=10
# WKZ_JUMP=11
# WKZ_LOAD=12
# WKZ_SAVE=13
# WKZ_LIST_HALT=14
# WKZ_LIST_CONVOI=15
# WKZ_LIST_TOWN=16
# WKZ_LIST_GOODS=17
# WKZ_LIST_FACTORY=18
# WKZ_LIST_CURIOSITY=19
# WKZ_EDIT_FACTORY=20
# WKZ_EDIT_ATTRACTION=21
# WKZ_EDIT_HOUSE=22
# WKZ_EDIT_TREE=23
# WKZ_ENLARGE_MAP=24
# WKZ_LIST_LABEL=25
#
dialog_tool[0]=0,?
dialog_tool[1]=1,Q
dialog_tool[2]=2,m
dialog_tool[3]=3,w
dialog_tool[4]=4,B
dialog_tool[5]=5,f
dialog_tool[6]=6,k
dialog_tool[7]=7
dialog_tool[8]=8
dialog_tool[9]=9
dialog_tool[10]=10
dialog_tool[11]=11,J
dialog_tool[12]=12,L
dialog_tool[13]=13,S
dialog_tool[14]=14,H
dialog_tool[15]=15,V
dialog_tool[16]=16,T
dialog_tool[17]=17,G
dialog_tool[18]=18,F
dialog_tool[19]=19,A
dialog_tool[20]=21
dialog_tool[21]=22
dialog_tool[22]=23
dialog_tool[23]=24
dialog_tool[24]=25
dialog_tool[25]=20,
# FINAL SECTION: compose all tool bars
# now the defintion of all tool bars
# in general only toolbar[0] is needed, which is the main menu
# all other toolbars are derived from it
# Each entry is a[i],b,k,c,d
# a[i] is either: general_tool[i], simple_tool[i], dialog_tool[i], toolbar[i], -, ways(waytype), signs(waytype), wayobj(waytype), stops(utype), depots(waytype)
# b could be a different icon from the previous (if any) tool definition taken from menu.ToolbarTools.pak
# k could be a different key binding
# c is the default parameter
# d is the helpfile name (only if a is toolbar[i])
#
# Entry without an icon will not be shown. Use - for seperator.
#
# following waytypes are defined (for nearly everything)
# road_wt = 1
# track_wt = 2
# water_wt = 3
# monorail_wt = 5
# maglev_wt = 6
# tram_wt = 7
# narrowgauge_wt = 8
# air_wt = 16
# powerline_wt = 128
#
# subtypes for ways(x,#)
# flat = 0
# elevated/runway = 1
# tram = 7 (only for track)
# special (eg. fence) = 255
#
# following buildingstype are defined (for buildings(#))
# unbekannt = 0
# attraction_city = 1
# attraction_land = 2
# denkmal = 3
# fabrik = 4
# rathaus = 5
# weitere = 6
# firmensitz = 7
# hafen = 11
# the following are in the form x,y with y= waytype (0 for none)
# depot = 33
# generic_stop = 34
# generic_extension = 35
#
#
# IMPORTANT: toolbar[2] must not be mentioned before toolbar[1]!
# SPACES have a meaning here! Do not use spaces, if you did not intend so!
#
# toolbar[0] is always main menu
toolbar[0][0]=dialog_tool[1]
toolbar[0][1]=dialog_tool[2]
toolbar[0][2]=general_tool[0]
toolbar[0][3]=toolbar[1],0,,SLOPETOOLS,slopetools.txt
toolbar[0][4]=toolbar[2],34,,WAYSTRACK,railtools.txt
toolbar[0][5]=toolbar[3],35,,BRIDGESTRACK,railtools.txt
toolbar[0][6]=toolbar[4],36,,TUNNELSTRACK,railtools.txt
toolbar[0][8]=toolbar[5],37,,SIGNSTRACK,railtools.txt
toolbar[0][7]=toolbar[6],38,,CATENARIESTRACK,railtools.txt
toolbar[0][9]=toolbar[7],39,,DEPOTSTRACK,railtools.txt
toolbar[0][10]=toolbar[8],40,,STOPSTRACK,railtools.txt
#toolbar[0][11]=toolbar[9],41,,ADDONSTRACK,railtools.txt
# toolbar[0][4]=toolbar[2],1,,RAILTOOLS,railtools.txt
toolbar[0][11]=toolbar[9],2,,MONORAILTOOLS,monorailtools.txt
toolbar[0][12]=toolbar[10],28,,MAGLEVTOOLS,maglevtools.txt
toolbar[0][13]=toolbar[11],3,,TRAMTOOLS,tramtools.txt
# toolbar[0][15]=toolbar[6],4,,ROADTOOLS,roadtools.txt
toolbar[0][14]=toolbar[12],27,,WAYSROAD,roadtools.txt
toolbar[0][15]=toolbar[13],29,,BRIDGESROAD,roadtools.txt
toolbar[0][16]=toolbar[14],30,,TUNNELSROAD,roadtools.txt
toolbar[0][17]=toolbar[15],31,,SIGNSANDWAYOBJSROAD,roadtools.txt
toolbar[0][18]=toolbar[16],32,,DEPOTSROAD,roadtools.txt
toolbar[0][19]=toolbar[17],33,,STOPSANDADDONSROAD,roadtools.txt
toolbar[0][20]=toolbar[18],5,,SHIPTOOLS,shiptools.txt
toolbar[0][21]=toolbar[19],6,,AIRTOOLS,airtools.txt
toolbar[0][22]=toolbar[20],7,,SPECIALTOOLS,special.txt
toolbar[0][23]=general_tool[1]
toolbar[0][24]=-
toolbar[0][25]=dialog_tool[3]
toolbar[0][26]=toolbar[21],24,,EDITTOOLS,edittools.txt
toolbar[0][27]=toolbar[22],8,,LISTTOOLS,list.txt
toolbar[0][28]=dialog_tool[4]
toolbar[0][29]=dialog_tool[5]
toolbar[0][30]=-
toolbar[0][31]=simple_tool[2]
toolbar[0][32]=simple_tool[0]
toolbar[0][33]=simple_tool[1]
toolbar[0][34]=dialog_tool[0]
# invisible tools (here because they need a parameter or are added twice)
toolbar[0][35]=-
toolbar[0][36]=simple_tool[16]
toolbar[0][37]=simple_tool[7],,.,+1
toolbar[0][38]=simple_tool[7],,#44,-1
# since ST r2031: allow manual change of daylight
toolbar[0][39]=simple_tool[19],,+,+
toolbar[0][40]=simple_tool[19],,-,-
toolbar[0][41]=simple_tool[19],,*,4
# underground slice mode modifications
toolbar[0][42]=simple_tool[15],,^U,K
toolbar[0][43]=simple_tool[15],,END,I
toolbar[0][44]=simple_tool[15],,HOME,D
# slope tools
toolbar[1][0]=general_tool[2]
toolbar[1][1]=general_tool[3]
toolbar[1][2]=general_tool[4],10,,12 #southslope
toolbar[1][3]=general_tool[4],11,,3 #northslope
toolbar[1][4]=general_tool[4],12,,6 #westslope
toolbar[1][5]=general_tool[4],13,,9 #eastslope
toolbar[1][6]=general_tool[4],14,,16 #all up slope
toolbar[1][7]=general_tool[4],15,,17 #all down slope
toolbar[1][8]=general_tool[5]
# rail ways
toolbar[2][0]=ways(2,0)
toolbar[2][1]=ways(2,1)
toolbar[2][2]=general_tool[17],16,,2
toolbar[2][3]=general_tool[14],,t,2
# rail bridges
toolbar[3][0]=bridges(2)
toolbar[3][1]=general_tool[15],,,2
# rail tunnels
toolbar[4][0]=tunnels(2)
toolbar[4][1]=general_tool[16],,,2
# rail signs
toolbar[5][0]=signs(2)
toolbar[5][1]=general_tool[33],37,,2
toolbar[5][2]=general_tool[20],,,2
# rail catenary
toolbar[6][0]=wayobjs(2)
toolbar[6][1]=general_tool[18],,,2
# rail depots
toolbar[7][0]=buildings(33,2)
toolbar[7][1]=general_tool[21],,,2
# rail stops
toolbar[8][0]=buildings(34,2)
toolbar[8][1]=buildings(35,2)
toolbar[8][2]=general_tool[19],,,2
# monorailtools (waytype 5)
toolbar[9][0]=ways(5,0)
toolbar[9][1]=ways(5,1)
toolbar[9][2]=bridges(5)
toolbar[9][3]=tunnels(5)
toolbar[9][4]=wayobjs(5)
toolbar[9][5]=signs(5)
toolbar[9][6]=general_tool[17],17,,5
toolbar[9][7]=buildings(33,5)
toolbar[9][8]=buildings(34,5)
toolbar[9][9]=buildings(35,5)
# maglevtools (waytype 6)
toolbar[10][0]=ways(6,0)
toolbar[10][1]=ways(6,1)
toolbar[10][2]=bridges(6)
toolbar[10][3]=tunnels(6)
toolbar[10][4]=wayobjs(6)
toolbar[10][5]=signs(6)
toolbar[10][6]=general_tool[17],27,,6
toolbar[10][7]=buildings(33,6)
toolbar[10][8]=buildings(34,6)
toolbar[10][9]=buildings(35,6)
# tramtools (waytype 7)
toolbar[11][0]=ways(7,0)
toolbar[11][1]=ways(2,7)
toolbar[11][2]=wayobjs(7)
toolbar[11][3]=signs(7)
toolbar[11][4]=general_tool[17],16,,2
toolbar[11][5]=buildings(33,7)
toolbar[11][6]=buildings(34,7)
# road stops
#toolbar[4][7]=buildings(34,1)
# road ways
toolbar[12][0]=ways(1,0)
toolbar[12][1]=ways(1,1)
toolbar[12][2]=general_tool[17],18,,1
toolbar[12][3]=general_tool[14],,s,1
# road bridges
toolbar[13][0]=bridges(1)
toolbar[13][1]=general_tool[15],,,2
# road tunnel
toolbar[14][0]=tunnels(1)
toolbar[14][1]=general_tool[16],,,2
# road signs and wayobjects
toolbar[15][0]=wayobjs(1)
toolbar[15][1]=signs(1)
toolbar[15][2]=general_tool[20],,,2
toolbar[15][3]=general_tool[18],,,2
# road depot
toolbar[16][0]=buildings(33,1)
toolbar[16][1]=general_tool[21],,,2
# road stops and addons
toolbar[17][0]=buildings(34,1)
toolbar[17][1]=buildings(35,1)
toolbar[17][2]=general_tool[20],,,2
# shiptools (waytype 3)
toolbar[18][0]=ways(3,0)
toolbar[18][1]=ways(3,1)
toolbar[18][2]=bridges(3)
toolbar[18][3]=tunnels(3)
toolbar[18][4]=wayobjs(3)
toolbar[18][5]=signs(3)
toolbar[18][6]=general_tool[17],20,,3
toolbar[18][7]=buildings(33,3)
toolbar[18][8]=buildings(34,3)
toolbar[18][9]=buildings(11,3)
toolbar[18][10]=buildings(35,3)
# airtools (waytype 16)
toolbar[19][0]=ways(16,0)
toolbar[19][1]=ways(16,1)
toolbar[19][2]=bridges(16)
toolbar[19][3]=wayobjs(16)
toolbar[19][4]=signs(16)
toolbar[19][5]=general_tool[17],21,,16
toolbar[19][6]=buildings(33,16)
toolbar[19][7]=buildings(34,16)
toolbar[19][8]=buildings(35,16)
# specialtools
toolbar[20][0]=buildings(35,0)
# fences are usually special railways
toolbar[20][1]=ways(2,255)
toolbar[20][2]=simple_tool[5]
toolbar[20][3]=general_tool[11]
toolbar[20][4]=ways(128,0)
toolbar[20][5]=bridges(128)
toolbar[20][6]=general_tool[8]
toolbar[20][7]=general_tool[6]
toolbar[20][8]=general_tool[31]
toolbar[20][9]=general_tool[32]
toolbar[20][10]=general_tool[14],,l,128
toolbar[20][11]=dialog_tool[24]
toolbar[20][12]=general_tool[35]
# editor tools
toolbar[21][0]=general_tool[10],22,,+100
toolbar[21][1]=general_tool[10],23,,-100
toolbar[21][2]=general_tool[9]
toolbar[21][3]=general_tool[11]
toolbar[21][4]=general_tool[30]
toolbar[21][5]=general_tool[14],25,,city_road
toolbar[21][6]=ways(3,255)
toolbar[21][7]=simple_tool[3]
toolbar[21][8]=dialog_tool[20],,(
toolbar[21][9]=general_tool[26]
toolbar[21][10]=dialog_tool[21],,/
toolbar[21][11]=dialog_tool[22],,&
toolbar[21][12]=dialog_tool[23],,�
toolbar[21][13]=general_tool[28]
toolbar[21][14]=simple_tool[6]
# list tools
toolbar[22][0]=dialog_tool[14]
toolbar[22][1]=dialog_tool[15]
toolbar[22][2]=dialog_tool[16]
toolbar[22][3]=dialog_tool[17]
toolbar[22][4]=dialog_tool[18]
toolbar[22][5]=dialog_tool[19]
toolbar[22][6]=dialog_tool[25]
# EOF