Loading...
 

Creating menus



The Menu systemlink

New from Simutrans version 0.100.0
   

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 , IgorEliezer and system .
Page last modified on Thursday May 11, 2017 00:32:04 CEST by Frank.

Online Users

24 online users

Newest Forum Posts

No records to display