]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - docs/manual/quake3/Compile_Manual/cfgq3.c
error check and bail if permission denied during gamepack install
[xonotic/netradiant.git] / docs / manual / quake3 / Compile_Manual / cfgq3.c
1 //===========================================================================
2 // BSPC configuration file
3 // Quake3
4 //===========================================================================
5
6 #define PRESENCE_NONE               1
7 #define PRESENCE_NORMAL             2
8 #define PRESENCE_CROUCH             4
9
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
13
14 //bounding box when running/walking
15 bbox    //30x30x56
16 {
17         presencetype PRESENCE_NORMAL
18                 flags           0x0000
19         mins            {-15, -15, -24}
20         maxs            {15, 15, 32}
21 }
22
23 // bounding box when crouched
24 bbox    //30x30x40
25 {
26         presencetype PRESENCE_CROUCH
27                 flags           0x0001
28         mins            {-15, -15, -24}
29         maxs            {15, 15, 16}
30 }
31
32 // do not forget settings as they might not be defaulted correctly when this cfg is used
33 settings
34 {
35         // physics settings
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
59         rs_waterjump                400
60         rs_teleport                 50
61         rs_barrierjump              100
62         rs_startcrouch              300
63         rs_startgrapple             500
64         rs_startwalkoffledge        70
65         rs_startjump                300
66         rs_rocketjump               500
67         rs_bfgjump                  500
68         rs_jumppad                  250
69         rs_aircontrolledjumppad     300
70         rs_funcbob                  300
71         rs_startelevator            50
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
75         rs_maxfallheight            0
76         // maximum height a bot may fall down when jumping to some location
77         rs_maxjumpfallheight        450
78 }