src/hcode/include/btconfig.h

Go to the documentation of this file.
00001 #include "config.h"
00002 
00003 #ifndef BTCONFIG_H
00004 #define BTCONFIG_H
00005 
00006 /* 
00007  * Define if you want BV calculation functions. This include btgetbv()
00008  * and btgetbv_ref(), but will also perform damage per time based updates
00009  * on the mech live to support more balance XP ratio's.
00010  */
00011 #define BT_CALCULATE_BV
00012 
00013 /* 
00014  * Define if you want extra commands in debug objects for re-loading and
00015  * saving file at econ.db location, loading into econ memory default data, etc...
00016  * This is configured out since after initialization of the cost data there isn't
00017  * much use to have the commands around. Normal hcode save includes econ.db write.
00018  * Having the command to load default econ.db contents forever just wastes static
00019  * memory space and such. This default build has it one but I suggest turning it off
00020  * after either you have yer own acquired econ.db or create and save an initial one
00021  * after setting up.
00022  */
00023 #define BT_ADVANCED_ECON_INIT
00024 
00025 /* Define if you want Variable Recycle Times for weapons */
00026 #define BT_USE_VRT
00027 
00028 /* Define if you want part-specific weights for cargo */
00029 #define BT_PART_WEIGHTS
00030 
00031 /* 
00032  * Define if you want 'mech frequencies *not* to be copied to MechWarriors
00033  *  but would rather see a random frequency. 
00034  */
00035 /* \todo If COPY_CHANS_ON_EJECT isn't defined, assume RANDOM_CHAN_ON_EJECT.
00036  * this makes a little more sense and is less configuration 
00037  */
00038 /*
00039  * #define RANDOM_CHAN_ON_EJECT 
00040  */
00041 
00042 /* Define for heatsink on/off msgs when using heatcutoff */
00043 /* #define HEATCUTOFF_DEBUG */
00044 
00045 /* Define if you want weight-class based 'status' pictures */
00046 #define WEIGHTVARIABLE_STATUS
00047 
00048 /* 
00049  * Define if you want the radio OBSERVATORIC units to be more
00050  * Observation-lounge like: hears everything, and reports more. 
00051  * */
00052 #define OBSERVATORIC_OL_RADIO
00053 
00054 /* 
00055  * This is the maximum amount of parts addable via btaddstores() or the
00056  * addstuff command. If the limit is hit, set the number of commods to add
00057  * equal to this define.
00058  */
00059 #define ADDSTORES_MAX 50000
00060 
00061 #define RS_MECH_IDLE  86400
00062 #define SIM_MECH_IDLE 3600
00063 
00064 /* Where the dogfighting becomes 'fun' */
00065 #define ATMO_Z    100
00066 
00067 /* Orbit elevation */
00068 #define ORBIT_Z   300
00069 
00070 /* At max 5x */
00071 #define ACCEL_MOD 5
00072 
00073 /* How many secs it takes to apply one maxthrust
00074    (mod'ed by location _and_ type of craft) */
00075 #define AERO_SECS_THRUST  30
00076 
00077 #define PIL_XP_EVERY_N_STEPS 10
00078 
00079 /* Where dead pilots go */
00080 #define AFTERLIFE_DBREF mudconf.afterlife_dbref
00081 #define AFTERSCEN_DBREF mudconf.afterscen_dbref
00082 
00083 /* Where used MW templates go to wait for reincarnation (<g>) */
00084 #define USED_MW_STORE   mudconf.btech_usedmechstore
00085 
00086 #define MINE_NEXT_MODIFIER 2/3
00087 #define MINE_MIN           5
00088 #define MINE_TABLE         2    /* 0 = General, 2 = KICK */
00089 
00090 /* Have weird jump code? (undef = basic MUSE one) */
00091 #define ODDJUMP
00092 
00093 /* Whether we want 'BT' partial or not */
00094 #define BT_PARTIAL
00095 
00096 /* unload / load, addstuff / removestuff multiple kinds of items at
00097    once */
00098 #define ECON_ALLOW_MULTIPLE_LOAD_UNLOAD
00099 
00100 /* Whether we acknowledge Munchkins exist or not */
00101 #define CLAN_SUPPORT
00102 
00103 /* Whether we support C3 or not */
00104 #define C3_SUPPORT
00105 
00106 /* Show BTHs on Debug */
00107 #define BTH_DEBUG
00108 
00109 /* Show some XP calculation messages on Debug */
00110 #define XP_DEBUG
00111 
00112 /* Shows ton of unneccessary debug messages */
00113 #undef  TEMPLATE_DEBUG
00114 
00115 /* Show jump coords on Debug */
00116 #undef JUMPDEBUG
00117 
00118 /* Show sensor BTHs on Debug */
00119 #undef SENSOR_BTH_DEBUG
00120 
00121 /* Don't see see/dontsee msgs */
00122 #undef SENSOR_DEBUG
00123 
00124 /* Shows errors whenever need be */
00125 #define TEMPLATE_VERBOSE_ERRORS
00126 
00127 /* Show loading / saving of map stuff specifically */
00128 #undef VERBOSE_MAP_STUFF
00129 
00130 /* Define if buildings should regenerate CF */
00131 #define BUILDINGS_REPAIR_THEMSELVES
00132 #define BUILDINGS_REBUILD_FROM_DESTRUCTION
00133 
00134 #define BUILDING_REPAIR_AMOUNT     1
00135 #define BUILDING_REPAIR_DELAY    120    /* 1 pt / 1 min */
00136 
00137 /* Howlong to wait before rebuilding cf0'd buildings. */
00138 #define BUILDING_DREBUILD_DELAY 7200    /* 2 hours */
00139 
00140 /* Define if ECM status (ECM active, ECCM active, ECM-disturbed and
00141  * ECM-protected) should show on contacts (as 'E', 'P', 'e' and 'p') */
00142 #define ECM_ON_CONTACTS
00143 
00144 #define LATERAL_TICK  6
00145 #define HEAT_TICK     2
00146 #define JUMP_TICK     1
00147 #define MOVE_TICK     1        /* How oft da mecha move ;-) */
00148 #define MOVE_MOD      .5
00149 #define WEAPON_TICK   2
00150 
00151 #define ARTY_SPEED                  5   /* Artillery round flies 5 hexes / second */
00152 #define ARTILLERY_MAPSHEET_SIZE     20  /* Size of single arty mapsheet */
00153 #define ARTILLERY_MINIMUM_FLIGHT    10  /* How long's the minimum flight time */
00154 
00155 #define DROP_TO_STAND_RECYCLE   (MOVE_TICK * 12)
00156 #define JUMP_TO_HIT_RECYCLE     (JUMP_TICK * 12 / (MechType(mech) == CLASS_BSUIT ? 4 : 1))
00157 
00158 #define INITIAL_PLOS_TICK       1   /* How many secs after startup */
00159 #define LOS_TICK                1   /* Update LOS tables */
00160 #define HIDE_TICK               10
00161 #define PLOS_TICK               1   /* How many seconds interval between checks */
00162 #define SCHANGE_TICK            10  /* Sensor change */
00163 #define SPOT_TICK               10  /* How oft is the range for spotting checked? */
00164 
00165 #define PHYSICAL_RECYCLE_TIME   30*WEAPON_TICK
00166 #define STARTUP_TIME            30
00167 #define UNCONSCIOUS_TIME        30  /* ORIGINAL authors thought it was UNCONCIOUS */
00168 #define WEAPON_RECYCLE_TIME     30  /* weapon_tick's */
00169 #define FALL_TICK               3   /* How oft do we call fall event? */
00170 #define FALL_ACCEL              1   /* How much do we accelerate each event? */
00171 #define OOD_SPEED               2   /* 2 Z / tic ; 150 sec for landing */
00172 #define OOD_TICK                1
00173 #define DUMP_TICK               30  /* How long does it take to eject 1 ton of ammo? */
00174 #define DUMP_GRAD_TICK          1   /* This oft we _maybe_ dump stuff */
00175 #define DUMP_SPEED              (DUMP_TICK/DUMP_GRAD_TICK)
00176 #define MASC_TICK               60  /* Time for each MASC regen / fail */
00177 #define SCHARGE_TICK            60  /* Time for each Supercharger regen / fail */
00178 #define RANDOM_TICK             6   /* How many seconds do we want to use same rnd# for
00179                                        BTHs etc */
00180 #define DS_SPAM_TIME            10  /* At max, 1 mapemit every 10 secs concerning a
00181                                        single DS */
00182 
00183 #define MAX_BOOM_TIME           30  /* Max time between first and last CT int hit for
00184                                        fusion explosion */
00185 #define BOOM_BTH                9   /* Roll below this or 'boom' */
00186 #define MAX_C3_SLAVES           3
00187 
00188 #define CHARGE_TIMER_LIMIT      60  /* How long should we let them 'charge' for (in seconds) */
00189 #define CHARGE_DIST_TRIGGER     0.6 /* At what range should we trigger the charge (hexes) */
00190 
00191 /* Skills used if pilot's not valid and no default mech skills */
00192 #define DEFAULT_GUNNERY         6
00193 #define DEFAULT_PILOTING        6
00194 #define DEFAULT_SPOTTING        8
00195 #define DEFAULT_ARTILLERY       8
00196 #define DEFAULT_COMM            6
00197 
00198 /* Default ranges and stuff */
00199 #define DEFAULT_TACRANGE        20
00200 #define DEFAULT_LRSRANGE        40
00201 #define DEFAULT_RADIORANGE      80
00202 #define DEFAULT_SCANRANGE       20
00203 #define DEFAULT_HEATSINKS       10
00204 
00205 /* IS guys suck */
00206 #define DEFAULT_COMPUTER        2
00207 #define DEFAULT_RADIO           3
00208 #define DEFAULT_PART_LEVEL      3
00209 
00210 /* Clans get better stuff */
00211 #define DEFAULT_CLCOMPUTER      5
00212 #define DEFAULT_CLRADIO         5
00213 #define DEFAULT_CLPART_LEVEL    5
00214 
00215 /* Display Types */
00216 #define LRS_DISPLAY_WIDTH       70
00217 #define LRS_DISPLAY_WIDTH2      35
00218 #define LRS_DISPLAY_HEIGHT      11
00219 #define LRS_DISPLAY_HEIGHT2     5
00220 
00221 /* Sensor Stuff */
00222 #define ADVANCED_LOS
00223 #define LOCK_TICK     8
00224 
00225 #define ECM_RANGE    6
00226 
00227 /* From 160 sec to 3840 sec */
00228 /* #define FIRE_DURATION  ((Number(40,Number(60,960))) * 4) */
00229 #define FIRE_DURATION ((Number(60,180)))
00230 
00231 /* From 90 sec to 1200 sec */
00232 /* #define SMOKE_DURATION ((Number(30,Number(60,400))) * 4) */
00233 #define SMOKE_DURATION ((Number(90,150)))
00234 
00235 /* What kind of evil magic DFM's affect */
00236 #undef DFM_AFFECT_BTH
00237 
00238 #define LITE_RANGE 30
00239 
00240 typedef unsigned char byte;
00241 
00242 /* Exile Stun Code Timer */
00243 #define MECHSTUN_TICK 10
00244 
00245 #endif                /* BTCONFIG_H */

Generated on Mon May 28 04:25:24 2007 for BattletechMUX by  doxygen 1.4.7