📄 user.con
字号:
// -------------------------------------------------------------------------
/*
Copyright (C) 1996, 2003 - 3D Realms Entertainment
This file is part of Duke Nukem 3D version 1.5 - Atomic Edition
Duke Nukem 3D is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Original Source: 1996 - Todd Replogle
Prepared for public release: 03/21/2003 - Charlie Wiederhold, 3D Realms
*/
// -------------------------------------------------------------------------
/*
---------------------------------------------------------------------------
IMPORTANT NOTICE IF YOU USE MODIFIED .CON FILES
If you are playing a MULTIPLAY game (Dukematch or Co-op) and you are
using *modified* .CON files (USER.CON, GAME.CON, DEFS.CON), then each
multiplayer must be using the EXACT SAME .CON files, or the game will
get out of sync and/or develop interesting problems.
3D Realms encourages you to experiment freely with the parameters
contained in this file, and to share your discoveries with the rest
of the world. However, BE ADVISED that 3D Realms does NOT offer
any technical support on how to use this file or other user-modifiable
features of this game. Do NOT call 3D Realms or Apogee Software
for advice or help with this subject.
You make modifications to this and other files at your own risk.
It is recommended that you first make a backup copy of this, or
any .CON files before making any changes.
---------------------------------------------------------------------------
*/
// ******************
// MISC GAME SETTINGS
// ******************
define CAMERASDESTRUCTABLE NO // YES
define FREEZERHURTOWNER YES
define MAXPLAYERHEALTH 100
define MAXWATERFOUNTAINHEALTH 50
define YELLHURTSOUNDSTRENGTH 40
define YELLHURTSOUNDSTRENGTHMP 50
define MAXXSTRETCH 70
define MAXYSTRETCH 70
define MINXSTRETCH 9
define MINYSTRETCH 8
define MAXPLAYERATOMICHEALTH 200 // doubles as maxarmor.
define DOUBLEMAXPLAYERHEALTH MAXPLAYERATOMICHEALTH
define STARTARMORHEALTH 0
define RETRIEVEDISTANCE 844
define SQUISHABLEDISTANCE 1024 // For actors only!
define DEFAULTVISIBILITY 512
define FROZENQUICKKICKDIST 980
define GENERICIMPACTDAMAGE 10
define SWEARFREQUENCY 100
define MAXPISTOLAMMO 200
define MAXSHOTGUNAMMO 50
define MAXCHAINGUNAMMO 200
define MAXRPGAMMO 50
define MAXHANDBOMBAMMO 50
define MAXSHRINKERAMMO 50
define MAXGROWAMMO 50
define MAXDEVISTATORAMMO 99
define MAXFREEZEAMMO 99
define MAXTRIPBOMBAMMO 10
define TRIPBOMBLASERMODE 0 // 0 = always visable
// 1 = transluscense
// 2 = invisible w/o IR goggles
// 3 = totally invisable
define RESPAWNACTORTIME 768
define RESPAWNITEMTIME 768
define QSIZE 64 // total number of active
// bullet holes, blood,
// footprints, money, ect...
// (max 1024)
// The BLIMP has a high respawn time (any value smaller runs the risk
// of spawning too many sprites, resulting in "Bog City")
define BLIMPRESPAWNTIME 2048
define NUMFREEZEBOUNCES 3 // 0 - 255
define RUNNINGSPEED 53200
define GRAVITATIONALCONSTANT 176
define PLAYDEADTIME 120
define SHRUNKCOUNT 270
define SHRUNKDONECOUNT 304
define FROZENDRIPTIME 90
define THAWTIME 138
// Various blast radius distances
define RPGBLASTRADIUS 1780
define PIPEBOMBRADIUS 2500
define SHRINKERBLASTRADIUS 680
define TRIPBOMBBLASTRADIUS 3880
define MORTERBLASTRADIUS 2500
define BOUNCEMINEBLASTRADIUS 2500
define SEENINEBLASTRADIUS 2048
gamestartup DEFAULTVISIBILITY GENERICIMPACTDAMAGE MAXPLAYERHEALTH
STARTARMORHEALTH RESPAWNACTORTIME RESPAWNITEMTIME
RUNNINGSPEED GRAVITATIONALCONSTANT RPGBLASTRADIUS
PIPEBOMBRADIUS SHRINKERBLASTRADIUS TRIPBOMBBLASTRADIUS
MORTERBLASTRADIUS BOUNCEMINEBLASTRADIUS SEENINEBLASTRADIUS
MAXPISTOLAMMO MAXSHOTGUNAMMO MAXCHAINGUNAMMO
MAXRPGAMMO MAXHANDBOMBAMMO MAXSHRINKERAMMO
MAXDEVISTATORAMMO MAXTRIPBOMBAMMO MAXFREEZEAMMO
MAXGROWAMMO CAMERASDESTRUCTABLE NUMFREEZEBOUNCES
FREEZERHURTOWNER QSIZE TRIPBOMBLASERMODE
// Weapon Strengths
define KNEE_WEAPON_STRENGTH 10
define PISTOL_WEAPON_STRENGTH 6
define HANDBOMB_WEAPON_STRENGTH 140
// For direct hits with the rocket launcher,
// this amount is actually doubled. Otherwise,
// damage values depend on distance. The
// further, the weaker.
define RPG_WEAPON_STRENGTH 140
define SHRINKER_WEAPON_STRENGTH 0
define GROWSPARK_WEAPON_STRENGTH 15
define SHOTGUN_WEAPON_STRENGTH 10
define CHAINGUN_WEAPON_STRENGTH 9
define FREEZETHROWER_WEAPON_STRENGTH 20
define COOL_EXPLOSION_STRENGTH 38
define TRIPBOMB_STRENGTH 100
define FIRELASER_WEAPON_STRENGTH 7
define MORTER_WEAPON_STRENGTH 50
define BOUNCEMINE_WEAPON_STRENGTH 150
define SPIT_WEAPON_STRENGTH 8
define BULLET_WEAPON_STRENGTH 30
// Enemy strengths (hit points).
define TROOPSTRENGTH 30
define PIGCOPSTRENGTH 100
define PIG_SHIELD_AMOUNT1 75
define PIG_SHIELD_AMOUNT2 50
define LIZSTRENGTH 100
define LIZGETTINGDAZEDAT 15
define LIZEATINGPLAYER -2
define OCTASTRENGTH 175
define OCTASCRATCHINGPLAYER -11
define RECONSTRENGTH 50
define TURRETSTRENGTH 30
define ROTTURRETSTRENGTH 40
define DRONESTRENGTH 150
define CAPTAINSTRENGTH 50
define CAPTSPINNINGPLAYER -11
define COMMANDERSTRENGTH 350
define SHARKSTRENGTH 35
define SHARKBITESTRENGTH -9
define NEWBEASTSTRENGTH 300
define NEWBEASTSCRATCHAMOUNT -22
define DOLPHINSTRENGTH 50
define PISTOLAMMOAMOUNT 12
define SHOTGUNAMMOAMOUNT 10
define CHAINGUNAMMOAMOUNT 50
define RPGAMMOBOX 5
define CRYSTALAMMOAMOUNT 5
define GROWCRYSTALAMMOAMOUNT 20
define DEVISTATORAMMOAMOUNT 15
define FREEZEAMMOAMOUNT 25
define HANDBOMBBOX 5
define BOSS1STRENGTH 4500
define BOSS1PALSTRENGTH 1000
define BOSS2STRENGTH 4500
define BOSS3STRENGTH 4500
define BOSS4STRENGTH 6000
// Miscellaneous strengths.
define WEAKEST 1
define WEAK 5
define MEDIUMSTRENGTH 10
define TOUGH 20
define REALLYTOUGH 30
define ROBOTMOUSESTRENGTH 45
define GOTTASMART 90
define PIRATEGALSTRENGTH 200
define MANWOMANSTRENGTH 100
// Players' inventory amounts.
define STEROID_AMOUNT 400
define SHIELD_AMOUNT 100
define SCUBA_AMOUNT 6400
define HOLODUKE_AMOUNT 2400
define JETPACK_AMOUNT 1600
define HEAT_AMOUNT 1200
define FIRSTAID_AMOUNT MAXPLAYERHEALTH
define BOOT_AMOUNT 200
define SPAWNAMMOODDS 96
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -