Loading...
 

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

 
i
Tool
20
Signals
21
Depots
22
Buildings
23
Countryside attractions
24
City attractions
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 from ver. 0.102.2
34
Underground display from ver.. 0.102.2
35
Buy city buildings from ver. 0.102.2
36
Build city roads with timeline >ver. 0.102.2.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
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

 
i
Tool
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 from ver. 0.101
19
Lighter/Darker from ver.. 0.101
20
Show vehicle tooltips from ver. 0.102.2
21
Toggle stop pedestrians >ver. 0.102.2.2
22
Toggle city pedestrians >ver. 0.102.2.2





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

 
i
Tool
15
Vehicle list
16
City list
17
Goods list
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 from ver.. 0.102
26
Climate settings dialogue from ver. 0.102.2
27
Settings dialogue (simuconf.tab) >ver. 0.102.2.2
28
Network game dialogue >ver. 0.102.2.2





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

Rate this page:

Contributors to this page: Frank , Max-Max , IgorEliezer and system .
Page last modified on Friday May 12, 2017 00:00:31 CEST by Frank.

Online Users

9 online users

Newest Forum Posts

No records to display