-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
159 lines (117 loc) · 3.9 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
-- NotEye configuration file
-- default visual settings:
----------------------------
-- start in fullscreen mode
fscr = false
-- use OpenGL initially?
useGL = false
-- which mode to start in (modeASCII, modeTiles, modeFPP, modeISO, modeMini)
mode = modeTiles -- modeISO
-- modepower == 10 : always use the mode above
-- modepower == 0 : always start in the default mode for the given game
-- intermediate values : depending on the game
-- (e.g. DoomRL switches to FPP if initmodepower<7)
modepower = 0
-- default font
-- curfont = "cp437-16"
curfont = "dejavu-20"
curfonttype = fontSimpleA
fontsize = {rx=32, ry=8}
fontscale = {x=1, y=1}
-- reserve lines for messages below the screen
msgreserve = 0
-- have graphics
havegfx = true
-- have ascii (Note: in ASCII, NotEye menu is ran with Ctrl+[, not Ctrl+M)
-- also, translating TrueColor games back to 16 colors does not work well yet
haveascii = false
-- input settings
------------------
-- allow to use SHIFT/CTRL for diagonal movement
diagleft = true
diagright = true
-- rotate both numpad and arrow keys
rotatenumpad = true
rotatearrowkeys = true
-- see generic.noe for other names
-- initialKeymap = mapWASDplus
-- rec/view/server/client configuration
-----------------------------------------
-- initial recording and viewing speed
recspeed = 1000
viewspeed = 1000
-- default filenames
recfile = "record.nev"
viewfile = "view.nev"
-- binary flags: enter "false" or "true"
-- automatically start recording
autorec = false
-- start in view mode instead of game mode
viewmode = false
-- start server automatically (make sure that you know what you are doing!)
autoserve = false
-- record mode changes by default?
servemode = true
-- accept input from clients by default?
serveinput = true
-- should we get font from the stream?
takefont = false
-- default network configuration
--------------------------------
-- for client:
portclient = 6677
serverhost = "localhost"
-- libtcod client:
libtcodhost = "localhost"
libtcodport = 6678
-- for server:
portserver = 6677
-- audio options
----------------
volsound = 100
volmusic = 33
-- use the default music even if the game's noe file
-- disables it, or defines its own soundtrack
forcemusic = false
-- user-defined music:
-- resetmusic()
-- addmusic("sound/music1.ogg")
-- addmusic("sound/music2.ogg")
-- misc options
---------------
-- allow taking screenshots quickly with F2
quickshots = false
-- automatically connect to the libtcod game, or to server
-- (also can be activated with -tcod and -server command line options)
-- autoconnecttcod = true
-- autoconnectserver = true
-- enable this to see the coordinates and RGB colors of characters in libtcod on mouseover
conshelp = false
-- do you want to force external Hydra Slayer
externalhydra = false
-- change this to true if you want to start the games yourself
-- (useful e.g. for playing via a telnet/ssh server)
manualcall = false
-- user key remapping
---------------------
-- user key remappings: some examples
-- uncomment if you want them to be disabled by default
-- remapsoff = true
-- replace "1" and "2" in Hydra Slayer, only while viewing the map
-- remapkey("1", "2", onlymap(ingame("hydra")))
-- remapkey("2", "1", onlymap(ingame("hydra")))
-- replace F1 and F2 in Hydra Slayer (see sdlkeys.noe for other key names)
-- remapkey(SDLK_F1, SDLK_F2, ingame("hydra"))
-- remapkey(SDLK_F2, SDLK_F1, ingame("hydra"))
-- replace "z" and "y" in all games
--remapkey("z", "y", inallgames)
--remapkey("y", "z", inallgames)
-- make Enter start Hydra Slayer in the main menu
--remapkey(SDLK_RETURN, "h", inmenu("noteyemain"))
-- user menus: allow you to quickly select some options
-- see menu.noe to see how to add more options
function usermenus()
-- addgraphmode("1", "quick ASCII", modeASCII, mainmenu)
-- addFont("2", "Fantasy font 16x32", "fantasy-32", 32, 8, fontSimple, mainmenu)
-- addtomenu(mainmenu, "3", writechoice("big tiles"), function() tilesize={x=64,y=64} end)
end