1 //===========================================================================
2 // BSPC configuration file
4 //===========================================================================
6 #define PRESENCE_NONE 1
7 #define PRESENCE_NORMAL 2
8 #define PRESENCE_CROUCH 4
10 // more bounding boxes can be added if required
11 // always minimize the number of bounding boxes listed here to reduce AAS file size
12 // for instance if players cannot crouch then it's good to remove the bbox definition for it
14 //bounding box when running/walking
17 presencetype PRESENCE_NORMAL
23 // bounding box when crouched
26 presencetype PRESENCE_CROUCH
32 // do not forget settings as they might not be defaulted correctly when this cfg is used
36 phys_gravitydirection {0, 0, -1} // direction of gravity
37 phys_friction 6 // friction
38 phys_stopspeed 100 // stop speed
39 phys_gravity 800 // gravity
40 phys_waterfriction 1 // friction in water
41 phys_watergravity 400 // gravity in water
42 phys_maxvelocity 320 // maximum run speed
43 phys_maxwalkvelocity 320 // maximum walk speed (set for running)
44 phys_maxcrouchvelocity 100 // maximum crouch speed
45 phys_maxswimvelocity 150 // maximum swim speed
46 phys_walkaccelerate 100 // acceleration for walking
47 phys_airaccelerate 0 // acceleration flying through the air
48 phys_swimaccelerate 0 // acceleration for swimming
49 phys_maxstep 18 // maximum step height
50 phys_maxsteepness 0.7 // maximum floor steepness a player can walk on
51 phys_maxwaterjump 19 // maximum height for an out of water jump
52 phys_maxbarrier 33 // maximum barrier a player can jump onto
53 phys_jumpvel 270 // jump velocity
54 phys_falldelta5 40 // falling delta for 5 damage ( see PM_CrashLand in game/bg_pmove.c )
55 phys_falldelta10 60 // falling delta for 5 damage ( see PM_CrashLand in game/bg_pmove.c )
56 // reachability settings
57 // the following are all additional travel times added
58 // for certain reachabilities in 1/100th of a second
64 rs_startwalkoffledge 70
69 rs_aircontrolledjumppad 300
72 rs_falldamage5 300 // avoid getting 5 damage
73 rs_falldamage10 500 // avoid getting 10 damage
74 // if != 0 then this is the maximum fall height a reachability can be created for
76 // maximum height a bot may fall down when jumping to some location
77 rs_maxjumpfallheight 450