-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiro_config.txt
220 lines (177 loc) · 25.1 KB
/
iro_config.txt
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#################################################################
## Iro
################################################################
##
## * Press Ctrl + '+'/'-' To Zoom in
## * Press Ctrl + S to save and recalculate...
## * Documents are saved to web storage.
## * Only one save slot supported.
## * Matches cannot span lines.
## * Unicode chars must be defined in \u0000 to \uffff format.
## * All matches must be contained by a single group ( ... )
## * Look behinds not permitted, (?<= or (?<!
## * Look forwards are permitted (?= or (?!
## * Constants are defined as __my_const = (......)
## * The \= format allows unescaped regular expressions
## * Constants referenced by match \= $${__my_const}
## * Constants can reference other constants
## * You are free to delete all the default scopes.
## * Twitter : ainslec , Web: http://eeyo.io/iro
##
################################################################
name = qlcfg
file_extensions [] = cfg;
################################################################
## Constants
################################################################
// __MY_CONSTANT \= (\b[a-z][a-z0-9]*)
################################################################
## Styles
################################################################
styles [] {
.comment : style {
color = grey
italic = true
ace_scope = comment
textmate_scope = comment
pygments_scope = Comment
}
.keyword : style {
color = cyan
ace_scope = keyword
textmate_scope = keyword
pygments_scope = Keyword
}
.cvar : style {
color = yellow
ace_scope = keyword
textmate_scope = entity.name
pygments_scope = Keyword
}
.keys : style {
color = orange
ace_scope = keyword
textmate_scope = entity.name
pygments_scope = Keyword
}
.symbols : style {
color = orange
ace_scope = keyword
textmate_scope = entity.name
pygments_scope = Keyword
}
.numeric : style {
color = gold
ace_scope = constant.numeric
textmate_scope = constant.numeric
pygments_scope = Number
}
.punctuation : style {
color = red_2
ace_scope = punctuation
textmate_scope = string.quoted.double
pygments_scope = Punctuation
}
.text : style {
color = green
ace_scope = text
textmate_scope = string.quoted.double
pygments_scope = String
}
.illegal : style {
color = white
background_color = red
ace_scope = invalid
textmate_scope = invalid
pygments_scope = Generic.Error
}
}
#################################################
## Parse contexts
#################################################
contexts [] {
##############################################
## Main Context - Entry point context
##############################################
main : context {
: pattern {
regex \= (\b(listcmds|-back|clear|-moveleft|gfxinfo|screenshotJPEG|screenshot|modelist|modellist|skinlist|shaderlist|imagelist|vid_restart|-attack|-speed|-moveright|seta|alias|unaliasall|bind|unbindall|exec|-movedown|postprocess_restart|vstr|s_stop|s_info|s_list|music|play|web_reload|web_clearCache|web_showError|web_hideBrowser|web_changeHash|web_showBrowser|clientfriendinvite|clientviewprofile|userinfo|model|fs_referencedList|fs_openedList|showip|setenv|reconnect|connect|stoprecord|demo|record|disconnect|snd_restart|clientinfo|configstrings|cmd|ListInputDevices|-mlook|\+mlook|-button3|\+button3|-button2|\+button2|\+attack|\+speed|\+moveright|\+moveleft|-strafe|\+strafe|-lookdown|\+lookdown|-lookup|\+lookup|\+back|-forward|\+forward|-right|\+right|-left|\+left|\+movedown|-moveup|\+moveup|centerview|find|condump|messagemode2|messagemode|toggleconsole|reload_factories|reload_arenas|reload_mappool|startRandomMap|steam_unsubscribeugc|steam_subscribeugc|steam_downloadugc|killserver|devmap|arena|map|sectorlist|map_restart|dumpuser|serverinfo|status|clientkick|kick|midiinfo|net_restart|in_restart|writeClientConfig|writeconfig|changeVectors|quit|meminfo|touchFile|fdir|dir|path|-voice|\+voice|connect_lobby|unalias|bindlist|unbind|cvarMult|cvarAdd|cvar_restart|listcvars|cvarlist|clearcvar|reset|set|toggle|wait|echo|cmdlist)\b)
styles [] = .keyword;
}
: pattern {
regex \= (\b(enable_weapon_hmg|disable_weapon_hmg|winkey_disable|zmq_rcon_password|zmq_stats_password|zmq_stats_port|zmq_stats_ip|zmq_rcon_port|zmq_rcon_ip|zmq_stats_enable|zmq_rcon_enable|net_strict|net_socksPassword|net_socksUsername|net_socksPort|net_socksServer|net_socksEnabled|net_noudp|ui_version|debug_protocol|ui_mousePitch|ui_lightingModelPreset|ui_marksPreset|ui_screenDamage_preset|ui_screenDamage_Team_preset|ui_drawRewards|ui_lowAmmoPreset|ui_impactSparks|ui_globalpreset|ui_tourney_timelimit|ui_tourney_fraglimit|ui_teamUpperColor|ui_teamName|ui_teamLowerColor|ui_teamHeadColor|ui_teamColor|ui_team_timelimit|ui_team_friendly|ui_team_fraglimit|g_spVideos|g_spScores5|g_spScores4|g_spScores3|g_spScores2|g_spScores1|g_spSkill|ui_spSelection|g_spAwards|ui_serverStatusTimeOut|server16|server15|server14|server13|server12|server11|server10|server9|server8|server7|server6|server5|server4|server3|server2|server1|cg_selectedPlayerName|cg_selectedPlayer|ui_screenDamage_Team|ui_screenDamage|ui_scoreShutoutBonus|ui_scoreSkillBonus|ui_scoreTimeBonus|ui_scoreTime|ui_scoreBase|ui_scoreTeam|ui_scorePerfect|ui_scoreScore|ui_scoreGauntlets|ui_scoreAssists|ui_scoreDefends|ui_scoreCaptures|ui_scoreExcellents|ui_scoreImpressives|ui_scoreAccuracy|ui_redteam5|ui_redteam4|ui_redteam3|ui_redteam2|ui_redteam1|ui_redteam|ui_priv|ui_opponentName|ui_new|ui_netSource|ui_netGametype|ui_menuFiles|ui_mapIndex|ui_lastServerRefresh_3|ui_lastServerRefresh_2|ui_lastServerRefresh_1|ui_lastServerRefresh_0|ui_joinGametype|ui_initialized|ui_gibs|ui_gametype|ui_fragLimit|ui_ffa_timelimit|ui_ffa_fraglimit|ui_forceTeamSkin|ui_forceTeamModelBright|ui_forceTeamModel|ui_forceEnemySkin|ui_forceEnemyModelBright|ui_forceEnemyModel|ui_findPlayer|ui_enemyUpperColor|ui_enemyLowerColor|ui_enemyHeadColor|ui_enemyColor|ui_dedicated|ui_debug|ui_cvGameType|ui_currentTier|ui_currentOpponent|ui_currentNetMap|ui_currentMap|ui_ctf_timelimit|ui_ctf_friendly|ui_ctf_capturelimit|ui_cdkeychecked|ui_captureLimit|ui_browserSortKey|ui_browserShowFull|ui_browserShowEmpty|ui_browserMaster|ui_browserGameType|g_botsFile|ui_blueteam5|ui_blueteam4|ui_blueteam3|ui_blueteam2|ui_blueteam1|ui_blueteam|ui_bloomPreset|g_arenasFile|ui_actualNetGametype|com_soundMegs|s_muteBackground|s_volume|s_testsound|s_show|s_voiceStep|s_voiceVolume|s_pvs|s_musicvolume|s_mixPreStep|s_mixahead|s_initsound|s_doppler|vid_ypos|vid_xpos|r_maskMinidriver|r_allowSoftwareGL|r_lastValidRenderer|r_znear|r_windowedHeight|r_windowedWidth|r_windowedMode|r_vertexLight|r_verbose|r_textureMode|r_textureBits|r_teleporterFlash|r_swapInterval|r_subdivisions|r_stencilBits|r_stereo|r_speeds|r_smp|r_skipSmallBatches|r_skipLargeBatches|r_skipBackEnd|r_singleShader|r_simpleMipMaps|r_showTris|r_showSmp|r_showSky|r_showNormals|r_showImages|r_showCluster|r_saveFontData|r_roundImagesDown|r_railWidth|r_railSegmentLength|r_railCoreWidth|r_printShaders|r_primitives|r_postProcessActive|r_portalOnly|r_picmip|r_overBrightBits|r_offsetunits|r_offsetfactor|r_noVis|r_noRefresh|r_noPortals|r_noFastRestart|r_noCurves|r_noCull|r_noBind|r_mode|r_measureOverdraw|r_maxPolyVerts|r_maxPolys|r_mapOverBrightCap|r_mapOverBrightBits|r_lightmap|r_logFile|r_lodScale|r_lodCurveError|r_lodBias|r_lockPVS|r_intensity|r_ignoreHWGamma|r_ignoreGLErrors|r_ignoreFastPath|r_ignore|r_glDriver|r_gl_reserved|r_gl_renderer|r_gl_vendor|r_gamma|r_fullscreen|r_fullbright|r_forceMergeEntities|r_floatingPointFBOs|r_flareSize|r_flares|r_flareFade|r_finish|r_fastSkyColor|r_fastSky|r_facePlaneCull|r_ext_texture_env_add|r_ext_compiled_vertex_array|r_ext_multitexture|r_ext_gamma_control|r_ext_compressed_textures|r_enablePostProcess|r_enableColorCorrect|r_enableBloom|r_dynamicLight|r_drawWorld|r_drawSun|r_drawSkyFloor|r_drawEntities|r_drawBuffer|r_displayRefresh|r_directedScale|r_detailtextures|r_depthBits|r_debugFontAtlas|r_debugSurface|r_debugSortExcept|r_debugSort|r_debugShaderIndex|r_debuglight|r_debugAds|r_customHeight|r_customWidth|r_contrast|r_colorMipLevels|r_colorCorrectActive|r_colorBits|r_clear|r_bloomSceneSaturation|r_bloomSceneIntensity|r_bloomSaturation|r_bloomPasses|r_bloomIntensity|r_bloomBrightThreshold|r_bloomBlurScale|r_bloomBlurRadius|r_bloomBlurFalloff|r_bloomActive|r_aspectRatio|r_ambientScale|r_allowExtensions|r_uiFullScreen|graphshift|graphscale|graphheight|debuggraph|timegraph|web_console|web_zoom|teamtask|sex|rate|password|handicap|cl_maxPing|cl_platform|cl_anonymous|color2|color1|m_yaw|m_side|m_pitch|m_forward|m_filter|m_cpi|cl_yawspeed|cl_viewAccel|cl_timeout|cl_timeNudge|cl_showTimeDelta|cl_showSend|cl_shownet|cl_serverStatusResendTime|sensitivity|cl_run|cl_quitOnDemoCompleted|cl_pitchspeed|cl_packetdup|country|name|cl_mouseSensCap|cl_mouseAccelPower|cl_mouseAccelOffset|cl_mouseAccelDebug|cl_mouseAccel|cl_motdString|cl_motd|cl_maxpackets|r_inGameVideo|cl_forceavidemo|cl_freezeDemo|cl_freelook|cl_demoRecordMessage|cl_avidemo_maxtime|cl_avidemo_mintime|cl_avidemo_latch|cl_avidemo|cl_autoTimeNudge|cl_anglespeedkey|cl_allowConsoleChat|activeAction|cl_debugMove|cl_nodelta|con_timestamps|con_speed|con_scale|con_opacity|con_noprint|con_matchlimit|con_height|con_background|bot_interbreedwrite|bot_interbreedcycle|bot_interbreedbots|bot_interbreedchar|bot_minplayers|bot_challenge|bot_rocketjump|bot_grapple|bot_report|bot_pause|bot_nochat|bot_fastchat|bot_testclusters|bot_testsolid|bot_testrchat|bot_testichat|bot_reloadcharacters|bot_thinktime|bot_saveroutingcache|bot_aasoptimize|bot_forcewrite|bot_forcereachability|bot_forceclustering|bot_visualizejumppads|bot_reachability|bot_groundonly|bot_maxdebugpolys|bot_debug|bot_developer|sv_tags|sv_dumpEntities|sv_altEntDir|sv_cylinderScale|sv_quitOnExitLevel|sv_quitOnEmpty|sv_errorExit|sv_idleExit|sv_lanForceRate|sv_mapChecksum|sv_idleRestart|sv_killserver|sv_padPackets|sv_showloss|sv_reconnectlimit|nextmap|sv_zombietime|sv_timeout|sv_privatePassword|sv_referencedSteamworks|sv_referencedPakNames|sv_referencedPaks|sv_pakNames|sv_paks|sv_pure|sv_serverid|sv_floodProtect|sv_gtid|sv_hostname|sv_privateClients|mapname|protocol|sv_master|sv_serverType|sv_includeCurrentMapInVote|sv_mapPoolFile|net_qport|showdrop|showpackets|ui_joyavail|in_mouseMode|in_raw_useWindowHandle|in_nograb|in_joyVertMoveDeadzone|in_joyHorizMoveDeadzone|in_joyVertViewDeadzone|in_joyHorizViewDeadzone|in_joyVertViewSensitivity|in_joyHorizViewSensitivity|joy_threshold|in_debugjoystick|in_joyBallScale|in_joystick_inverted|in_joystick|in_debugMouse|in_mouse|in_mididevice|in_midichannel|in_midiport|in_midi|username|sys_cpuid|sys_cpustring|win_wndproc|win_hinstance|arch|version|com_allowConsole|web_browserActive|com_idleSleep|com_introplayed|com_build|cl_running|sv_running|sv_paused|timedemo|com_speeds|viewlog|com_dropsim|com_showtrace|fixedtime|appendlogfile|logfile|developer|com_hunkMegs|sv_vac|net_port|net_ip|cg_version|fov|headmodel|model|ui_warmup|ui_voteactive|ui_mapVotingDisabled|ui_mainmenu|ui_intermission|ui_gameTypeVotingDisabled|ui_endMapVotingDisabled|s_announcerVolume|s_killBeepVolume|s_ambient|com_maxfps|cg_zoomToggle|cg_zoomSensitivity|cg_zoomScaling|cg_zoomOutOnDeath|cg_zoomfov|cg_weaponPrimaryQueued|cg_weaponPrimary|cg_weaponConfig_hmg|cg_weaponConfig_cg|cg_weaponConfig_pl|cg_weaponConfig_ng|cg_weaponConfig_gh|cg_weaponConfig_bfg|cg_weaponConfig_pg|cg_weaponConfig_rg|cg_weaponConfig_lg|cg_weaponConfig_rl|cg_weaponConfig_gl|cg_weaponConfig_sg|cg_weaponConfig_mg|cg_weaponConfig_g|cg_weaponConfig|cg_weaponColor_grenade|cg_weaponBar|cg_waterWarp|ui_votestring|cg_voiceChatIndicator|cg_vignette|cg_viewsize|cg_useItemWarning|cg_useItemMessage|cg_trueShotgun|cg_trueLightning|cg_trackPlayer|cg_tracerwidth|cg_tracerlength|cg_tracerchance|cg_timescaleFadeSpeed|cg_timescaleFadeEnd|timescale|cg_thirdPersonRange|cg_thirdPersonPitch|cg_thirdPersonAngle|cg_thirdPerson|cg_teammatePOIsMinWidth|cg_teammatePOIsMaxWidth|cg_teammatePOIs|cg_teammateNames|cg_teammateCrosshairNamesOpacity|cg_teammateCrosshairNames|cg_teamUpperColor|cg_teamLowerColor|cg_teamHeadColor|cg_teamChatTime|cg_teamChatsOnly|cg_teamChatHeight|cg_teamChatBeep|cg_switchToEmpty|cg_switchOnEmpty|cg_swingSpeed|cg_stereoSeparation|cg_stats|cg_speedometer|cg_specTeamVitalsY|cg_specTeamVitalsWidth|cg_specTeamVitalsHealthColor|cg_specTeamVitals|cg_specNames|cg_specItemTimersY|cg_specItemTimersX|cg_specItemTimersSize|cg_specItemTimers|cg_specFov|cg_specDuelHealthColor|cg_specDuelHealthArmor|cg_spectating|cg_smokeRadius_RL|cg_smokeRadius_NG|cg_smokeRadius_haste|cg_smokeRadius_GL|cg_smokeRadius_flight|cg_smokeRadius_dust|cg_smoke_SG|ui_smallFont|cg_simpleItemsRadius|cg_simpleItemsHeightOffset|cg_simpleItemsBob|cg_simpleItems|cg_showVoiceText|cg_showmiss|cg_shadows|cg_selfOnTeamOverlay|cg_screenDamageAlpha_Team|cg_screenDamageAlpha|cg_screenDamage_Team|cg_screenDamage_Self|cg_screenDamage|cg_scorePlums|cg_scalePlayerModelsToBB|cg_rocketStyle|cg_redTeamName|ui_recordSPDemoName|ui_recordSPDemo|cg_railTrailTime|cg_railStyle|cg_raceBeep|cg_projectileNudge|cg_predictLocalRailshots|cg_predictItems|cg_powerupPOIs|cg_flagPOIs|cg_poiMinWidth|cg_poiMaxWidth|cg_playVoiceChats|cg_playerTeam|cg_playerLean|cg_plasmaStyle|cg_preferredStartingWeapons|cl_paused|cg_overheadNamesWidth|cg_obituaryRowSize|cg_nopredict|cg_noplayeranims|cg_muzzleFlash|cg_lowAmmoWeaponBarWarning|cg_lowAmmoWarningSound|cg_lowAmmoWarningPercentile|cg_loadout|cg_lightningStyle|cg_lightningImpactCap|cg_lightningImpact|cg_levelTimerDirection|cg_latchedHookOffset|cg_lastmsg|cg_lagometer|cg_killBeep|cg_kickScale|cg_itemTimers|cg_itemFx|cg_impactSparksVelocity|cg_impactSparksSize|cg_impactSparksLifetime|cg_impactSparks|cg_impactMarkTime|cg_ignoreMouseInput|cg_hudFiles|cg_hitBeep|cg_gunZ|cg_gunY|cg_gunX|cg_gametype|cg_gameInfo6|cg_gameInfo5|cg_gameInfo4|cg_gameInfo3|cg_gameInfo2|cg_gameInfo1|cg_fov|cg_forceTeamWeaponColor|cg_forceTeamSkin|cg_forceTeamModel|cg_forceRedTeamModel|cg_forceEnemyWeaponColor|cg_forceEnemySkin|cg_forceEnemyModel|cg_forceDrawCrosshair|cg_forceBlueTeamModel|cg_footsteps|cg_followPowerup|cg_followKiller|cg_flagStyle|cg_filter_angles|cg_errordecay|cg_enemyUpperColor|cg_enemyLowerColor|cg_enemyHeadColor|cg_enemyCrosshairNamesOpacity|cg_enemyCrosshairNames|cg_drawTieredArmorAvailability|cg_drawTeamOverlayY|cg_drawTeamOverlayX|cg_drawTeamOverlaySize|cg_drawTeamOverlayOpacity|cg_drawTeamOverlay|cg_drawStatus|cg_drawSpriteSelf|cg_drawSprites|cg_drawSpecMessages|cg_drawSnapshot|cg_drawRewardsRowSize|cg_drawRewards|cg_drawCheckpointRemaining|cg_drawProfileImages|cg_drawPregameMessages|cg_drawItemPickups|cg_drawInputCmdsY|cg_drawInputCmdsX|cg_drawInputCmdsSize|cg_drawInputCmds|cg_drawIcons|cg_drawHitFriendTime|cg_drawGun|cg_drawFullWeaponBar|cg_drawFragMessages|cg_drawFPS|cg_drawDemoHUD|cg_drawDeadFriendTime|cg_drawCrosshairTeamHealthSize|cg_drawCrosshairTeamHealth|cg_drawCrosshair|cg_drawAttacker|cg_drawAmmoWarning|cg_draw3dIcons|cg_draw2D|cg_disableLoadout_hmg|cg_disableLoadout_cg|cg_disableLoadout_pl|cg_disableLoadout_ng|cg_disableLoadout_gh|cg_disableLoadout_bfg|cg_disableLoadout_pg|cg_disableLoadout_rg|cg_disableLoadout_lg|cg_disableLoadout_rl|cg_disableLoadout_gl|cg_disableLoadout_sg|cg_disableLoadout_mg|cg_disableLoadout_g|cg_deferPlayers|cg_debugFlags|cg_debugevents|cg_debuganim|cg_deadBodyDarken|cg_deadBodyColor|cg_damagePlumColorStyle|cg_damagePlum|cg_currentSelectedPlayerName|cg_currentSelectedPlayer|cg_crosshairY|cg_crosshairX|cg_crosshairSize|cg_crosshairPulse|cg_crosshairHitTime|cg_crosshairHitStyle|cg_crosshairHitColor|cg_crosshairHealth|cg_crosshairColor|cg_crosshairBrightness|cg_complaintWarning|cg_chatHistoryLength|cg_chatbeep|cg_centertime|cg_cameraThirdPersonSmartMode|cg_cameraSmartMode|cg_cameraOrbitDelay|cg_cameraOrbit|com_cameraMode|cg_buzzerSound|cg_bubbleTrail|cg_brassTime|cg_bob|cg_blueTeamName|cg_blood|ui_bigFont|cg_autoProjectileNudge|cg_autoswitch|cg_autoHop|cg_autoAction|cg_announcerTiesVO|cg_announcerRewardsVO|cg_announcerLeadsVO|cg_announcerLastStandingVO|cg_announcer|cg_animspeed|cg_allowTaunt|cg_marks|cg_armorTiered|g_version|weapon_reload_sg|weapon_reload_rl|weapon_reload_rg|weapon_reload_prox|weapon_reload_pg|weapon_reload_ng|weapon_reload_mg|weapon_reload_lg|weapon_reload_hook|weapon_reload_hmg|weapon_reload_gl|weapon_reload_gh|weapon_reload_gauntlet|weapon_reload_cg|weapon_reload_bfg|weapon_gravity_rl|weapon_gravity_pg|weapon_gravity_ng|weapon_gravity_bfg|sv_fps|pmove_WishSpeed|pmove_WeaponRaiseTime|pmove_WeaponDropTime|pmove_WaterWadeScale|pmove_WaterSwimScale|pmove_WalkFriction|pmove_WalkAccel|pmove_velocity_gh|pmove_StrafeAccel|pmove_StepJumpVelocity|pmove_StepJump|pmove_StepHeight|pmove_RampJumpScale|pmove_RampJump|pmove_noPlayerClip|pmove_JumpVelocityTimeThresholdOffset|pmove_JumpVelocityTimeThreshold|pmove_JumpVelocityScaleAdd|pmove_JumpVelocityMax|pmove_JumpVelocity|pmove_JumpTimeDeltaMin|pmove_DoubleJump|pmove_CrouchStepJump|pmove_CrouchSlideTime|pmove_CrouchSlideFriction|pmove_CrouchSlide|pmove_CircleStrafeFriction|pmove_ChainJumpVelocity|pmove_ChainJump|pmove_BunnyHop|pmove_AutoHop|pmove_AirStopAccel|pmove_AirSteps|pmove_AirStepFriction|pmove_AirControl|pmove_AirAccel|g_weaponRespawn|sv_warmupReadyPercentage|g_warmupReadyDelayAction|g_warmupReadyDelay|g_warmupDelay|g_warmup|g_voteLimit|g_voteDelay|g_voteFlags|g_velocity_rl|g_velocity_pg|g_velocity_gl|g_velocity_gh|g_velocity_bfg|g_vampiricDamage|g_training|g_timeoutLen|g_timeoutCount|timelimit|g_throwFlagForwardMult|g_throwFlagVelocity|g_teamSpecSayEnable|g_teamSpecFreeCam|g_teamSpawnAsSpec|g_teamSizeMin|teamsize|g_teamForcePresent|g_teamForceBalance|g_teamAutoJoin|g_tackleFlag|g_switchTeamDelay|g_suddenDeathRespawnTick|g_suddenDeathRespawnStart|g_suddenDeathRespawnPrint|g_suddenDeathRespawnMax|g_suddenDeathRespawnIncrement|g_suddenDeathRespawn|g_startingWeapons|g_startingHealthBonus|g_startingHealth|g_startingArmor|g_startingAmmo_sg|g_startingAmmo_rl|g_startingAmmo_rg|g_startingAmmo_pl|g_startingAmmo_pg|g_startingAmmo_ng|g_startingAmmo_mg|g_startingAmmo_lg|g_startingAmmo_hmg|g_startingAmmo_gl|g_startingAmmo_gh|g_startingAmmo_g|g_startingAmmo_cg|g_startingAmmo_bfg|g_splashradius_rl|g_splashradius_pl|g_splashradius_pg|g_splashradius_gl|g_splashradius_bfg|g_splashdamageOffset|g_splashdamage_rl|g_splashdamage_pl|g_splashdamage_pg|g_splashdamage_gl|g_splashdamage_bfg|g_speed|g_specItemTimers|g_spawnRandomRatio|g_spawnMinDistance|g_spawnItemWeapons|g_spawnItemPowerup|g_spawnItemHoldable|g_spawnItemHealth|g_spawnItemArmor|g_spawnItemAmmo|g_spawnDelayRandom_powerup|g_spawnDelay_powerup|g_spawnDelayRandom_key|g_spawnDelay_key|g_spawnArmorDmgScale|g_spawnArmor|g_skipTrainingEnable|ui_singlePlayerActive|g_shuffle_timedelay|g_shuffle_minplayers|g_shuffle_automatic_minplayers|g_shuffle_automatic|scorelimit|g_runes|g_rrRoundScoreBonus|g_rrInfectedZombieSpeed|g_rrInfectedZombieHealthBonus|g_rrInfectedZombieFragBonus|g_rrInfectedSurvivorScoreRate|g_rrInfectedSurvivorScoreMethod|g_rrInfectedSurvivorScoreBonus|g_rrInfectedSurvivorPingRate|g_rrInfectedSurvivorMinSpeed|g_rrInfectedSpreadWarningTime|g_rrInfectedSpreadTime|g_rrInfected|g_rrDeathScorePenalty|g_rrDamageScoreBonus|g_rrAllowNegativeScores|roundtimelimit|roundlimit|g_roundWarmupDelay|g_roundDrawLivingCount|g_roundDrawHealthCount|g_rocketsplashOffset|g_returnFlagOnSuicide|g_restarted|g_respawn_delay_min|g_respawn_delay_max|g_regenHealthRate|g_regenHealth|g_regenArmorRate|g_regenArmorAfterHealth|g_regenArmor|g_range_sg_falloff|g_range_lg_falloff|g_railJump|g_quadHogTime|g_quadHogPingRate|g_quadHogIdle|g_quadHog|g_quadDamageFactor|g_proxMineTimeout|practiceflags|g_powerupRespawn|g_podiumDrop|g_podiumDist|g_playerModelScale|g_playermodelOverride|g_playerheadScaleOffset|g_playerheadScale|g_playerheadmodelOverride|g_playerCylinders|g_password|g_overtime|g_obeliskRespawnDelay|g_obeliskRegenPeriod|g_obeliskRegenAmount|g_obeliskHealth|g_neutralFlagPingRate|g_needpass|g_nailspread|g_nailspeed|g_nailcount|g_nailbouncepercentage|g_nailbounce|g_motd|g_midAirMinHeight|g_mercytime|mercylimit|g_maxFlightFuel|g_maxDeferredSpawns|sv_maxclients|g_max_knockback|g_logSync|g_log|g_loadout|g_lightningDischarge|g_latchedHookOffset|g_lastManStandingWarning|g_lastManStandingMessage|g_lagHaxMs|g_lagHaxHistory|g_knockback_z_self|g_knockback_z|g_knockback_sg|g_knockback_rl_self|g_knockback_rl|g_knockback_rg|g_knockback_pl|g_knockback_pg_self|g_knockback_pg|g_knockback_ng|g_knockback_mg|g_knockback_lg|g_knockback_hmg|g_knockback_gl|g_knockback_gh|g_knockback_g|g_knockback_cripple|g_knockback_cg|g_knockback_bfg|g_knockback|g_kickBadUserinfo|g_kamiMinRatio|g_kamiAttenuate|g_itemTimers|g_itemHeight|g_ironsights_mg|g_instaGib|g_infiniteAmmo|g_inactivityWarning|g_inactivity|g_headShotDamage_rg|g_guidedRocket|g_gravity|g_grantItemOnSpawn|g_gauntletSpeedFactor|g_gametype|g_gameState|g_friendlyFireDampen|g_friendlyFire|g_freezeThawWinningTeam|g_freezeThawThroughSurface|g_freezeThawTime|g_freezeThawTick|g_freezeThawRadius|g_freezeRoundDelay|g_freezeResetWeaponsOnRound|g_freezeResetHealthOnRound|g_freezeResetArmorOnRound|g_freezeRemovePowerupsOnRound|g_freezeProtectedSpawnTime|g_freezeEnvironmentalRespawnDelay|g_freezeAutoThawTime|fraglimit|g_forceSmallScoreboardMessage|g_forceSendConfigstring|g_forceAtmosphericEffects|g_forceDmgThroughSurface|g_floodprot_maxcount|g_floodprot_decay|g_flagPhysics|g_flagBounce|g_flightRefuelRate|g_flightThrust|g_filterBan|g_factoryTitle|g_factory|g_enemyTeamRespawnRatio|g_enableDust|g_enableDebugTrace|g_dropSkulls|g_dropPowerups|g_droppedPowerupsDecay|g_dropInactive|g_dropDamagedHealth|g_droppedFlagBonus|g_dropCmds|g_doWarmup|g_domTeammateCapScale|g_domScoreRate|g_domNeutralFlag|g_domEnableContention|g_domDistressThreshold|g_domCapTime|g_dmgThroughSurfaceDistance|g_dmgThroughSurfaceDampening|g_dmgThroughSurfaceAngularThreshold|dmflags|g_disableLoadout|g_debugVampiricDamage|g_debugThawTime|g_debugMove|g_debugInactivity|g_debugFlags|g_debugDamage|g_debugAlloc|g_damagePlums|g_damage_sg_outer|g_damage_sg_falloff|g_damage_sg|g_damage_rl|g_damage_rg|g_damage_pl|g_damage_pg|g_damage_ng|g_damage_mg|g_damage_lg_falloff|g_damage_lg|g_damage_gl|g_damage_hmg|g_damage_gh|g_damage_g|g_damage_cg|g_damage_bfg|g_cubeTimeout|g_complaintLimit|g_complaintDamageThreshold|capturelimit|g_botSpawnList|g_bestStartingWeapons|g_battleSuitDampen|g_banIPs|g_autoAction|g_ammoRespawn|g_ammoPackHack|g_ammoPack|g_allTalk|g_allowVoteMidGame|g_allowVote|g_allowSpecVote|g_allowKill|g_allowForfeit|g_allowCustomHeadmodels|g_adTouchScoreBonus|g_adElimScoreBonus|g_adCaptureScoreBonus|g_accessFile|g_accelRate_rl|g_accelRate_pg|g_accelRate_bfg|g_accelFactor_rl|g_accelFactor_pg|g_accelFactor_bfg|bot_training|bot_startingSkill|bot_showTourPoints|bot_showPath|bot_showAvoidSpots|bot_showAreas|bot_showAreaNumber|bot_teamkill|bot_itemDelayTime|bot_instaGibAimSkill|bot_hud|bot_gauntletOnly|bot_gauntlet|bot_followMe|bot_followDist|bot_dynamicSkill|bot_debugVar|bot_breakPoint|bot_autoReady|armor_tiered|sv_mapname|gamedate|g_levelStartTime|g_customSettings|bot_enable|com_errormessage|journal|fs_restrict|fs_game|fs_homepath|fs_skipWorkshop|fs_basegame|fs_basepath|fs_cdpath|fs_copypath|fs_copyfiles|fs_debug|steam_maxLobbyClients|lobby_autoconnect|dedicated|com_pid|com_crashed|com_ignorecrash|com_zoneMegs|sv_cheats)\b)
styles [] = .cvar;
}
: pattern {
regex \= (\b(F[1-9]|F10|F11|F12|[a-z]|[A-Z]|TAB|ENTER|ESCAPE|SPACE|MOUSE[1-5]|BACKSPACE|PAUSE|UPARROW|DOWNARROW|LEFTARROW|RIGHTARROW|ALT|CTRL|SHIFT|INS|DEL|HOME|END|PGUP|PGDN|MWHEELDOWN|MWHEELUP|SEMICOLON)\b)
styles [] = .keys;
}
: pattern {
regex \= (\s(\.|\/|\[|\]|\\|`|~|-|=)\s)
styles [] = .symbols;
}
: include "numeric" ;
: pattern {
regex \= (;)
styles [] = .punctuation;
}
: inline_push {
regex \= (\")
styles [] = .punctuation;
default_style = .text
: pop {
regex \= (\")
styles [] = .punctuation;
}
}
: inline_push {
regex \= (\()
styles [] = .punctuation;
: pop {
regex \= (\))
styles [] = .punctuation;
}
: include "numeric" ;
: pattern {
regex \= (,)
styles [] = .punctuation;
}
}
: include "multi_line_comment" ;
: pattern {
regex \= (//.*)
styles [] = .comment;
}
: pattern {
regex \= ([^\s])
styles [] = .illegal;
}
}
#################################################
## End of Contexts
#################################################
###########################################
## Numeric Context
###########################################
numeric : context {
: pattern {
regex \= (\b\d+)
styles [] = .numeric;
}
}
###########################################
## Multi Line Comment Context
###########################################
multi_line_comment : context {
description = multiline
: inline_push {
regex \= (/\*)
styles [] = .comment;
default_style = .comment
: pop {
regex \= (\*/)
styles [] = .comment;
}
}
}
}