Lade...
 

Menu parameters (version 0.100.0)



Menu definitionlink

From Simutrans Version 0.100.0

Parameter and image information separated by '=> '.


1.1. GeneralToolslink


Parameter Meaning Value Format Parameter Meaning Value
obj Type of object menu exactly this text Image[7] nonspecific cursor image indication
Name Name of object GeneralTools exactly this text Image[8] start city image indication
Image[0] query tool image indication Image[9] to plant a tree image indication
Image[1] demolition image indication Image[10] schedule maintenance image indication
Image[2] raise country image indication Image[11] Construction Map Editor image indication
Image[3] lower land image indication Image[12] link factory image indication
Image[4] Land Movement Single Field image indication Image[13] plants forest image indication
Image[5] Mark Shield image indication Image[14] scheduled stop move image indication
Image[6] Delete block reservation image indication



Top

1.2. SimpleToolslink


Parameter Meaning Value Format Parameter Meaning Format
obj Type of object menu exactly this text Image[4] construction way reversed image indication
Name Name of object SimpleTools exactly this text Image[5] change player image indication
Image[0] pause image indication Image[6] skip year image indication
Image[1] fast forward image indication Image[7] zoom in image indication
Image[2] Screenshot image indication Image[8] zoom out image indication
Image[3] industry chain image indication



Top

1.3. DialogToolslink


Parameter Meaning Value Format Parameter Meaning Format
obj Type of object menu exactly this text Image[9] language settings image indication
Name Name of object GeneralTools exactly this text Image[10] player color settings image indication
Image[0] help image indication Image[11] coordinate jump window image indication
Image[1] settings image indication Image[12] load image indication
Image[2] relief map image indication Image[13] save image indication
Image[3] line management image indication Image[14] stops list image indication
Image[4] mesages image indication Image[15] vehicles list image indication
Image[5] finances image indication Image[16] city list image indication
Image[6] player list image indication Image[17] goods list image indication
Image[7] display settings image indication Image[18] factory list image indication
Image[8] sound settings image indication Image[19] curiosities list image indication


The list of buttons can be widened.


Top

1.4. BarToolslink


Parameter Meaning Value Format Parameter Meaning Format
obj Type of object menu exactly this text Image[10] landscaping southern slope image indication
Name Name of object BarTools exactly this text Image[11] landscaping north slope image indication
Image[0] menu Landscaping image indication Image[12] landscaping west slope image indication
Image[1] menu railway image indication Image[13] landscaping eastern slope image indication
Image[2] menu monorail / maglev image indication Image[14] terrain tile high image indication
Image[3] menu tram image indication Image[15] terrain tile down image indication
Image[4] menu road image indication Image[16] route demolition rail / tram image indication
Image[5] menu ships image indication Image[17] route demolition monorail / maglev image indication
Image[6] menu aircraft image indication Image[18] route demolition channel image indication
Image[7] special menu image indication Image[19] route demolition airport image indication
Image[8] menu list management image indication Image[20] route demolition road image indication
Image[9] unused -


The list of buttons can be widened.


Top

Definition of menuslink


To define the menu file is menuconf.tab in simutrans /[Packset] / config directory responsible.


Definitions in the menuconf.tablink


General Toolslink



     general_tool[i]=a,b,c,k
i
Number of tool
a
Number of icon in menu.GeneralTools.pak
b
Number of cursor in cursor.GeneralTools.pak
c
Number of sound in sound.tab
k
Keyboard shortcut for the command



i
Tool
0
Inspection tool
1
Destroy/Remove tool
2
Raise land
3
Lower land
4
Landscaping tools
5
Restore natural slope
6
Place sign
7
Show/reset reserved ways
8
Transformer station
9
Found new city
10
Change city size
11
Plant tree
12
Add stop at end of schedule
13
Insert stop before current stop
14
Default way type (Uncertain, please check this!)
15
Bridge
16
Tunnel
17
Remove way
18
Way objects
19
Station/Extension buildings
20
Signals
21
Depots
22
Buildings
23
Countryside attractions
24
City attractions

 
i
Tool
from ver.
25
Build factories
26
Connect factories
27
Build HQ
28
Disallow player change
29
Add city car
30
Plant forest
31
Replace stop
32
Make stop public
33
Remove way objects 0.102.2
34
Underground display 0.102.2
35
Buy city buildings 0.102.2
36
Build city roads with timeline 0.102.2.2
37
WKZ_ERR_MESSAGE_TOOL 120.0.1
38
WKZ_CHANGE_WATER_HEIGHT 120.0.1
39
WKZ_SET_CLIMATE 120.0.1
40
WKZ_ROTATE_BUILDING 120.3
41
WKZ_MERGE_STOP 122.0
42
WKZ_EXEC_SCRIPT 122.0
43
WKZ_EXEC_TWO_CLICK_SCRIPT 122.0
44
WKZ_PLANT_GROUNDOBJ 123.0
45
WKZ_ADD_MESSAGE 123.0.2
46
WKZ_REMOVE_SIGNAL 123.0.2




Simple Toolslink



     simple_tool[i]=a,k
i
Number of tool
a
Number of icon in menu.SimpleTools.pak
k
Keyboard shortcut for the command



i
Tool
from ver.
0
Pause
1
Fast forward
2
Screenshot
3
Increase industry density
4
Undo way building
5
Change player
6
Skip a year
7
Change game speed
8
Zoom in
9
Zoom out
10
Show catchment area
11
Show names
12
Show grid
13
Hide trees
14
Hide buildings
15
Toggle underground mode
16
Rotate map 90°
17
End game
18
WKZ_FILL_TREES 0.101
19
Lighter/Darker 0.101
20
Show vehicle tooltips 0.102.2
21
Toggle stop pedestrians 0.102.2.2
22
Toggle city pedestrians 0.102.2.2

 
i
Tool
from ver.
23
WKZ_TRAFFIC_LEVEL  ?
24
WKZ_CONVOI_TOOL  ?
25
WKZ_LINE_TOOL  ?
26
WKZ_DEPOT_TOOL (internal use)  ?
27
WKZ_PWDHASH_TOOL (internal use)  ?
28
WKZ_SET_PLAYER_TOOL (internal use)  ?
29
WKZ_TRAFFIC_LIGHT_TOOL (internal use)  ?
30
WKZ_CHANGE_CITY_TOOL (internal use)  ?
31
WKZ_RENAME_TOOL (internal use)  ?
32
WKZ_ADD_MESSAGE_TOOL (internal use)  ?
33
WKZ_TOGGLE_RESERVATION  ?
34
WKZ_VIEW_OWNER  ?
35
WKZ_HIDE_UNDER_CURSOR  ?
36
WKZ_MOVE_MAP  ?
37
WKZ_ROLLUP_ALL_WIN r9408
38
WKZ_RECOLOUR_TOOL 123.0.2
39
WKZ_SHOW_FACTORY_STORAGE 123.0.2
40
WKZ_TOGGLE_CONTROL 123.0.2
{SPLIT}



Dialogue Toolslink



     simple_tool[i]=a,k
i
Number of tool
a
Number of icon in menu.DialogeTools.pak
k
Keyboard shortcut for the command



i
Tool
0
Help
1
Settings
2
Minimap
3
Line management
4
Messages
5
Finances
6
Player list
7
Display options
8
Sound options
9
Language options
10
Player colors
11
WKZ_JUMP
12
Load saved game
13
Save game
14
Station list
15
Vehicle list
16
City list
17
Goods list

 
i
Tool
from ver.
18
Factory list
19
List of Tourist attractions
20
Map editor Factories
21
Map editor Tourist attractions
22
Map editor City buildings
23
Map editor Trees
24
Enlarge map
25
List of player signs 0.102
26
Climate settings dialogue 0.102.2
27
Settings dialogue (simuconf.tab) 0.102.2.2
28
Network game dialogue 0.102.2.2
29
WKZ_THEMES 120.0
30
WKZ_SCENARIO 120.2
31
WKZ_SCENARIO_INFO 120.3
32
WKZ_LIST_DEPOT 122.0
33
WKZ_LIST_VEHICLE 122.0
34
WKZ_SCRIPT_TOOLS 122.0
35
WKZ_EDIT_GROUNDOBJ 123.0





Composing menueslink



     toolbar[i][a]=b,k,c,d,e
i
Number of menu
a
Number of position within menu
b
Value of called object
k
Number of menu button in menu.BarTools.pak
c
Default parameter
d
Name of menu
e
Name of help file

Toolbars must be numbered in sequence (i.e, no skipping of numbers)




i
Menu
0
Main menu
1
Landscaping tools
2
Railway tools
3
Monorail/Maglev tools
4
Tram tools
5
Road tools
6
Shipping tools
7
Airport tools
8
Special tools
9
Lists

 
b
Object
general_tool[i] Tool
simple_tool[i] Function
dialog_tool[i] Dialogue
toolbar[i] Menu
- Separator
ways(waytype) Way tools
signs(waytype) Signals
wayobj(waytype) Way objects
buildings(type) Buildings



ways(a,b)
a
Meaning
b
Meaning
1
Road
0
groundlevel
2
Railway
1
raised
for waytype=16 runway
3
Water
7
Tram tracks
5
Monorail
255
place holder (fences, walls etc.)
6
Maglev
7
Tram
8
Narrowgauge rail
16
Airport
128
Powerline


buildings(a,b)
a
Meaning
b
Meaning
0
unknown
0
unset
1
City attraction
1
Road
2
Countryside attraction
2
Railway
3
Memorial
3
Water
4
Factory
5
Monorail
5
City hall
6

6
other
7
Tram
7
HQ
8

11
Harbour
16
Airport
33
Depot
34
Stop
35
Extension

Value b in combination with a=11 / a=33 / a=34 / a=35


Top

Seite bewerten

Zu dieser Seite haben beigesteuert: Frank , Max-Max , IgorEliezer und system .
Seite zuletzt geändert: am Donnerstag Mai 11, 2017 22:00:31 GMT-0000 von Frank.

Page discussion

There are no discussions currently on this page Start discussion

Online Benutzer

21 Benutzer (alle) online

Neueste Forenbeiträge