-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmygame.cfg
175 lines (141 loc) · 4.83 KB
/
mygame.cfg
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
//======-----------------======
// Default console script for assimilate3d
//======-----------------======
// shows frames per second counter in upper right corner
set r_drawfps 1
// enables collision detecting, movement etc
set noclip 0
//-----------------------------
// Console-specific
//-----------------------------
// lines of text to move when page up/down in console
set paging_size 5
// time (in milliseconds) that lines of console text
// will be displayed while console is retracted
// (1000 ms = 1 second)
set con_rottime 5000
// time modifier between rotation after text is displayed
// eg, if con_rottime is 1000 (1 second), and con_rottime_mod
// is 0.90 (90%) then there will be 100 ms between rotations,
// if it is 0.20 (20%) then there will be 800 ms between rotations.
// (when console is retracted/withdrawn)
set con_rottime_mod 0.975
// lines of text console will display when retracted
set con_screen 10
//-----------------------------
// Physics
//-----------------------------
set movespeed 200
set p_gravity -9.8
set p_friction 0.85
//-----------------------------
// view-specific console variables
//-----------------------------
// using keyboard to look up and down speed
set kb_yawspeed 0.1
// using keyboard to look left and right speed
set kb_pitchspeed 0.1
// set mouse X axis speed
set m_yawspeed 1
// set mouse Y axis speed (-1 == inverted)
set m_pitchspeed -1
// set overall mouse X and Y axis speeds
set m_sensitivity 2
//-----------------------------
// Keybindings
//-----------------------------
bind escape gamemenu
bind backspace quit
//-----------------------------
// Movement
//-----------------------------
// movement group #1 - for the neubs:
bind up +forward
bind down +back
bind left +lookleft
bind right +lookright
bind pageup +lookup
bind pagedown +lookdown
// movement group #2 - quake-style:
bind w +forward
bind s +back
bind a +moveleft
bind d +moveright
bind space +moveup
bind enter +movedown
bind lalt +movedown
//-----------------------------
// some misc functional binds
//-----------------------------
// displays the standard help
bind f1 help
// toggles noclip/collision detecting
bind f2 noclip
// clears the console buffer
bind f3 clear
// toggles display of camera debug information
bind f4 cam_debug
// toggles first-person/third-person perspective
bind f5 c_thirdperson
// toggles display of the player's collision sphere
bind f6 d_showsphere
// toggles display of console debug information
bind f7 con_debug
//-----------------------------
// Some misc examples of using aliases.
// Uncomment to see in action.
//-----------------------------
// Pressing F8 once will display a message and set r_showfps 1.
// Pressing F8 again will set r_showfps 0.
alias showfps_on "r_drawfps 1;echo Displaying frames per second.;alias showfps_toggle showfps_off"
alias showfps_off "r_drawfps 0;echo Removing display of frames per second.;alias showfps_toggle showfps_on"
alias showfps_toggle showfps_on
bind f8 showfps_toggle
// +lookleft is prealiased to 'set lookleft 1'
// -lookleft is prealiased to 'set lookleft 0'
// We'll change this so that it echos a comment
// when they get modified. (same for lookright)
//alias +lookleft "echo Looking left...;set lookleft 1"
//alias -lookleft "echo Stopped looking left!;set lookleft 0"
//alias +lookright "echo Looking right...;set lookright 1"
//alias -lookright "echo Stopped looking right!;set lookright 0"
// Holding down F6 will show the time statistics,
// releasing F6 will stop displaying.
//alias +showtime showtime 1
//alias -showtime showtime 0
//bind f6 +showtime
// Pressing F3 once will enable displaying
// time statistics. Pressing F3 again will
// disable the display.
//alias showtime_ON "showtime 1;alias showtime_toggle showtime_OFF"
//alias showtime_OFF "showtime 0;alias showtime_toggle showtime_ON"
//alias showtime_toggle showtime_ON
//bind f3 showtime_toggle
// Pressing F4 once will enable displaying
// camera statistics. Pressing F4 again will
// disable the display.
//alias showpos_ON "cam_debug 1;alias showpos_toggle showpos_OFF"
//alias showpos_OFF "cam_debug 0;alias showpos_toggle showpos_ON"
//alias showpos_toggle showpos_ON
//bind f4 showpos_toggle
//-----------------------------
// load the level
//-----------------------------
//map data/maps/test.bsp
//-----------------------------
// select the player entity
//-----------------------------
entsel 1
//-----------------------------
// position the player entity
//-----------------------------
entpos 0 500 0
//-----------------------------
// load and position entities
//-----------------------------
entload data/entities/signal1.ent
entload data/entities/pkmeter.ent
//-----------------------------
// alias to start new game
//-----------------------------
alias newgame "map data/maps/test.bsp;sky sunset"