diff-xonotic-mod-jan_8_2012.diff
| b/autoexec/chaos-esque_mod.cfg | ||
|---|---|---|
| 1 |
//CHAOS-ESQUE mod for Xonotic |
|
| 2 |
//by MikeeUSA |
|
| 3 |
//(C) License: (same as Xonotic): Gnu GPL v2 or later |
|
| 4 |
// |
|
| 5 |
//Mod features: |
|
| 6 |
//More Weapons |
|
| 7 |
// New weapons: pistol shotgunautomat nukelayer |
|
| 8 |
// Added weapons: assaultrifle heavymachinegun pumpshotgun |
|
| 9 |
//Per-Weapon No-Gib (So death animations actually matter) |
|
| 10 |
// (As per this mod's settings, |
|
| 11 |
// energy weapons and bullet firing weapons do not |
|
| 12 |
// gib, shotguns and explosives can gib.) |
|
| 13 |
//Jamming for cartrige based weapons |
|
| 14 |
//Failure to detonate for explosives |
|
| 15 |
//Misc other code additions and configurations to make the game more ... |
|
| 16 |
// Rocket Explosion Spheres |
|
| 17 |
// Fragmentation of the Grenades |
|
| 18 |
//..."realistically chaotic" |
|
| 19 |
//-100,000 tracker rating |
|
| 20 |
set g_showweaponspawns 1 |
|
| 21 | ||
| 22 |
set g_antilag_bullets 0 |
|
| 23 |
set g_ballistics_force 1 |
|
| 24 |
set g_casings 2 |
|
| 25 | ||
| 26 |
exec vehicle_spiderbot.cfg |
|
| 27 |
exec vehicle_racer.cfg |
|
| 28 |
exec vehicle_raptor.cfg |
|
| 29 | ||
| 30 |
//Main setting config for this mod |
|
| 31 |
exec fastweap.cfg |
|
| 32 | ||
| 33 |
//Looks like we're aming from the sholder, all tacticool, |
|
| 34 |
// also can see all the details on the sides of the guns, which is nice |
|
| 35 |
// also can shoot crouched from behind cover without hitting the cover |
|
| 36 |
exec shootfromrightshoulder.cfg |
|
| 37 | ||
| 38 |
// When you die, you are dead on the floor |
|
| 39 |
set g_respawn_ghosts 0 |
|
| 40 | ||
| 41 |
set g_projectiles_newton_style 2 |
|
| 42 |
set g_projectiles_newton_style_2_maxfactor 1000000 |
|
| 43 |
//0.01 causes nades to shoot many of it's projectiles downward |
|
| 44 |
set g_projectiles_newton_style_2_minfactor 0.8 |
|
| 45 | ||
| 46 |
//So we may use the new weapons: |
|
| 47 |
set g_weaponreplace_uzi "uzi uzi shotgunautomat uzi uzi hmg" |
|
| 48 |
set g_weaponreplace_nex "nex nex rifle" |
|
| 49 |
set g_weaponreplace_rifle "rifle rifle minstanex" |
|
| 50 |
set g_weaponreplace_hagar "hagar hagar minelayer" |
|
| 51 |
set g_weaponreplace_minelayer "minelayer minelayer porto" |
|
| 52 |
set g_weaponreplace_electro "electro electro fireball" |
|
| 53 |
set g_weaponreplace_rocketlauncher "rocketlauncher rocketlauncher seeker" |
|
| 54 |
set g_weaponreplace_hlac "hlac hlac mg" |
|
| 55 |
set g_weaponreplace_shotgun "shotgun shotgun pumpshotgun" |
|
| 56 | ||
| 57 |
//Give everyone a pistol at start too |
|
| 58 |
set g_start_weapon_pistol "1" |
|
| b/bots.txt | ||
|---|---|---|
| 1 |
//bot configuration: name model skin shirt pants team keyboard use moving dodging ping weapon use aggressivity range aiming calmhand mouse fightthink aithink |
|
| 1 |
//bot configuration: name model skin shirt pants team keyboard use moving dodging ping weapon use aggressivity range aiming calmhand .mouse fightthink aithink |
|
| 2 | 2 |
//default team values (team-override): 1 = red, 2 = blue, 3 = yellow, 4 = pink |
| 3 | 3 |
//use -1 for shirt-color or pants-color to get random colors |
| 4 | 4 |
Hellfire ignis 0 4 0 0 0 0 -0.5 -1 1 1 -0.5 -1 -1 2 0.5 -1 |
| ... | ... | |
| 19 | 19 |
Sensible seraphina 0 9 9 0 0 0 0.5 -1 0 -1 0 -1 2.5 -1.5 1 0.5 |
| 20 | 20 |
Shadow seraphinamasked 0 4 8 0 -0.5 2 1 0 0 -1 0 -1 0 1 -1 -0.5 |
| 21 | 21 |
Resurrection umbra 0 1 1 0 0 -0.5 -0.5 0 2 -1 -1 -1 0 -1 1 1 |
| 22 |
StormHitler megaerebus 0 4 4 1 7 7 7 0 1 9.5 -2.5 7 2 2 2 2 |
|
| 23 |
Desu suiseiseki.zym 0 -1 -1 0 1 1 0 1 -1 -3 3 5 2 0 -1 -1 |
|
| 24 |
Quark crash.zym 0 6 5 0 5 1.5 -2 -1 0 -1 1 10 0 2 10 10 |
|
| 25 |
Xolar xonos.dpm 0 12 1 0 0 2 2 0 2 2 1 0.5 -1 1 -1 -1 |
|
| 26 |
NR-5 xonos.dpm 1 0 0 0 2 2 -2 0 -1 0 -1 2 1 -1 1 1 |
|
| 27 |
QR-S crash.zym 0 0 0 0 7 2 2 -1 2 -1 0 10 0 5 10 10 |
|
| 28 |
QR-B crash.zym 0 11 11 0 2 1 0 -1 0 2 1 10 0 0 10 10 |
|
| 29 |
Reptile lurk.zym 0 3 3 0 0 1 2 0.5 2 0.5 -0.5 1 0 0 2 2 |
|
| 30 |
Lurk lurk.zym 0 12 7 0 0 -1 -1 -1 0 2 0 1 0 2 -1 -1 |
|
| 31 |
Velic lurk.zym 0 7 2 0 0 0 0 -0.5 -1 1 0.5 0.5 -0.5 1 0.5 1 |
|
| 32 |
Mulder nexus.zym 1 4 0 0 7 7 7 0 1 2 -1 5 2 3 2 2 |
|
| 33 | ||
| 34 | ||
| 35 |
//name model skin shirt pants team keyb moving dodging ping wepuse aggrs range aiming cahnd .mouse fightthink aithink |
|
| 36 |
//bot configuration: |
|
| 37 | ||
| 38 |
//default team values (team-override): 1 = red, 2 = blue, 3 = yellow, 4 = pink |
|
| 39 |
//use -1 for shirt-color or pants-color to get random colors |
|
| 40 | ||
| b/fastweap.cfg | ||
|---|---|---|
| 1 |
// ______ _____ _________ ________ _____ ____ _ _ _____ |
|
| 2 |
// | ____/\ / ____|__ __\ \ / / ____| /\ | __ \ / __ \| \ | |/ ____| |
|
| 3 |
// | |__ / \ | (___ | | \ \ /\ / /| |__ / \ | |__) | | | | \| | (___ |
|
| 4 |
// | __/ /\ \ \___ \ | | \ \/ \/ / | __| / /\ \ | ___/| | | | . ` |\___ \ |
|
| 5 |
// | | / ____ \ ____) | | | \ /\ / | |____ / ____ \| | | |__| | |\ |____) | |
|
| 6 |
// |_|/_/ \_\_____/ |_| \/ \/ |______/_/ \_\_| \____/|_| \_|_____/ |
|
| 7 |
// |
|
| 8 |
// Config. |
|
| 9 | ||
| 10 |
////Here is the config for the "weapons_deadly" command |
|
| 11 |
////on CAEthaver2's Nexuiz server. (AKA: fastweapons config) |
|
| 12 |
// |
|
| 13 |
//Nexuiz: First we exec the nexuiz 2.5 config. |
|
| 14 |
//exec default25.cfg |
|
| 15 |
//Xonotic: First we exec the xonotic balance |
|
| 16 |
exec balanceXonotic.cfg |
|
| 17 |
exec vehicle_spiderbot.cfg |
|
| 18 |
exec vehicle_raptor.cfg |
|
| 19 |
exec vehicle_racer.cfg |
|
| 20 |
exec vehicle_spiderbot_ballistics.cfg |
|
| 21 |
exec vehicle_climbjet.cfg |
|
| 22 |
exec vehicle_forklift.cfg |
|
| 23 |
//exec vehicles.cfg |
|
| 24 | ||
| 25 |
// |
|
| 26 |
////The reason this setting was created was to have the weapons feel |
|
| 27 |
////"real": This is the damage they would do if they were actual weapons. |
|
| 28 |
////Most of them can kill in 1 or 2 shots. The diffrences in the weapons |
|
| 29 |
////are how they kill |
|
| 30 |
// |
|
| 31 |
////You can do whatever you want with this file. |
|
| 32 |
////No restrictions (I don't think this is even a copyrightable "work") |
|
| 33 |
////--MikeeUSA-- |
|
| 34 |
// |
|
| 35 |
////Below, commented out, is the stuff you need to put in your server.cfg |
|
| 36 |
////to have the weapons_deadly and weapons_normal commands working, also |
|
| 37 |
////directly below is some sample g_weaponreplace code, you don't need to |
|
| 38 |
////do anything with it by default (it exists so if you have weaponreplace on |
|
| 39 |
////you will know you have to add your settings there as when the weapons |
|
| 40 |
////commands run they exec weapons.cfg first and that clears all ////weapreplacements aswell) |
|
| 41 |
// |
|
| 42 |
//alias nexnexnex "g_weaponreplace_nex \"nex nex nex\"" |
|
| 43 |
//alias standardweapreplace nexnexnex |
|
| 44 |
//alias weapons_normal "exec weapons.cfg; set g_ballistics_force_uzi_bulletconstant 115; set g_ballistics_force_shotgun_bulletconstant 50; set g_balance_crylink_primary_bounces 1; set g_balance_crylink_secondary_bounces 0; set g_balance_crylink_secondary_shots 7; set g_balance_crylink_primary_shots 4; standardweapreplace;" |
|
| 45 |
//alias weapons_deadly "exec weapons.cfg; set g_balance_crylink_primary_bounces 1; set g_balance_crylink_secondary_bounces 0; set g_balance_crylink_secondary_shots 7; set g_balance_crylink_primary_shots 4; set g_ballistics_force_uzi_bulletconstant 115; set g_ballistics_force_shotgun_bulletconstant 50; exec fastweap.cfg; standardweapreplace;" |
|
| 46 |
// |
|
| 47 |
////OK That is it, the rest is the settings :) |
|
| 48 | ||
| 49 |
set g_balance_laser_primary_force "165" |
|
| 50 | ||
| 51 |
//Energy weapons don't need reload (their strength) |
|
| 52 | ||
| 53 |
set g_balance_hlac_reload_ammo 0 |
|
| 54 |
set g_balance_minstanex_reload_ammo 0 |
|
| 55 |
set g_balance_nex_reload_ammo 0 |
|
| 56 |
set g_balance_crylink_reload_ammo 0 |
|
| 57 |
set g_balance_electro_reload_ammo 0 |
|
| 58 | ||
| 59 |
//Player Head and Core (heart, immediate vitals etc) size |
|
| 60 |
set sv_player_headsize "24 24 12" |
|
| 61 |
set sv_player_coresize "13 13 8" |
|
| 62 |
set sv_player_necklength 3 |
|
| 63 | ||
| 64 |
//What should gib and what should not |
|
| 65 |
set g_balance_tuba_nogibs 1 |
|
| 66 |
set g_balance_laser_nogibs 1 |
|
| 67 |
set g_balance_nex_nogibs 1 |
|
| 68 |
set g_balance_minstanex_nogibs 1 |
|
| 69 |
set g_balance_crylink_nogibs 1 // I don't think the crylink has enough elec to destroy a body |
|
| 70 |
set g_balance_electro_nogibs 1 |
|
| 71 |
set g_balance_hlac_nogibs 1 |
|
| 72 |
set g_balance_shotgun_nogibs 0 |
|
| 73 |
set g_balance_rifle_nogibs 1 // The bullet goes through, it doesn't explode inside the person |
|
| 74 |
set g_balance_uzi_nogibs 1 // Ditto |
|
| 75 |
set g_balance_rocketlauncher_nogibs 0 |
|
| 76 |
set g_balance_grenadelauncher_nogibs 0 |
|
| 77 |
set g_balance_hagar_nogibs 0 |
|
| 78 |
set g_balance_seeker_nogibs 0 |
|
| 79 |
set g_balance_minelayer_nogibs 0 |
|
| 80 |
set g_balance_fireball_nogibs 1 |
|
| 81 |
set g_balance_hmg_nogibs 1 |
|
| 82 |
set g_balance_mg_nogibs 1 |
|
| 83 |
|
|
| 84 |
set g_balance_shotgunautomat_nogibs 0 |
|
| 85 |
set g_balance_nukelayer_nogibs 0 |
|
| 86 |
set g_balance_pistol_nogibs 1 |
|
| 87 |
set g_balance_pumpshotgun_nogibs 1 |
|
| 88 | ||
| 89 |
set sv_gibhealth_weapon_nogib_add 999 |
|
| 90 | ||
| 91 |
//Damage multiplied then added if you hit the chest/heart etc |
|
| 92 |
set g_balance_uzi_first_coreshotaddeddamage 2 |
|
| 93 |
set g_balance_uzi_sustained_coreshotaddeddamage 2 |
|
| 94 | ||
| 95 |
set g_balance_pistol_primary_coreshotaddeddamage 2 |
|
| 96 |
set g_balance_pistol_secondary_coreshotaddeddamage 2 |
|
| 97 | ||
| 98 |
set g_balance_mg_first_coreshotaddeddamage 0.95 |
|
| 99 |
set g_balance_mg_sustained_coreshotaddeddamage 0.95 |
|
| 100 | ||
| 101 |
set g_balance_rifle_primary_coreshotaddeddamage 1.375 |
|
| 102 |
set g_balance_rifle_secondary_coreshotaddeddamage 1.375 |
|
| 103 | ||
| 104 |
set g_balance_hmg_sustained_coreshotaddeddamage 0.7 |
|
| 105 | ||
| 106 |
set g_balance_shotgun_primary_coreshotaddeddamage 3 |
|
| 107 | ||
| 108 |
set g_balance_shotgunautomat_primary_coreshotaddeddamage 3 |
|
| 109 |
set g_balance_shotgunautomat_secondary_coreshotaddeddamage 3 |
|
| 110 | ||
| 111 |
set g_balance_pumpshotgun_primary_coreshotaddeddamage 3 |
|
| 112 | ||
| 113 |
set g_balance_grenadelauncher_primary_fragment_coreshotbonus 0.5 |
|
| 114 |
set g_balance_grenadelauncher_secondary_fragment_coreshotbonus 0.5 |
|
| 115 | ||
| 116 | ||
| 117 | ||
| 118 | ||
| 119 |
//How reliable are munitions? |
|
| 120 |
//C13 failure rate 1.0% to 1.7%, Will set to 5% |
|
| 121 |
set g_balance_grenadelauncher_primary_failurerate "0.07" |
|
| 122 |
set g_balance_grenadelauncher_secondary_failurerate "0.05" |
|
| 123 | ||
| 124 |
//Going to set similar to Hellfire |
|
| 125 |
set g_balance_rocketlauncher_primary_failurerate "0.09" |
|
| 126 |
set g_balance_rocketlauncher_secondary_failurerate "0.09" |
|
| 127 |
set g_balance_rocketlauncher_commlink_failurerate "0.12" |
|
| 128 | ||
| 129 |
//40mm's have 3-8% failure rate, ours have more |
|
| 130 |
set g_balance_hagar_primary_failurerate "0.16" |
|
| 131 |
set g_balance_hagar_secondary_failurerate "0.16" |
|
| 132 | ||
| 133 |
//Complex toys... |
|
| 134 |
set g_balance_seeker_missile_failurerate "0.175" |
|
| 135 | ||
| 136 |
//I'll keep these reliable for now |
|
| 137 |
set g_balance_minelayer_primary_failurerate "0.01" |
|
| 138 |
set g_balance_minelayer_secondary_failurerate "0.01" |
|
| 139 | ||
| 140 |
set g_balance_uzi_jamrate "0.005" |
|
| 141 |
set g_balance_uzi_clearjam_time "3.5" |
|
| 142 | ||
| 143 |
set g_balance_mg_jamrate "0.0025" |
|
| 144 |
set g_balance_mg_clearjam_time "3.5" |
|
| 145 | ||
| 146 |
//This family of shotgun is somewhat complex, thus takes longer to unjam |
|
| 147 |
//(notice the three barrels) |
|
| 148 |
set g_balance_shotgunautomat_jamrate "0.002" |
|
| 149 |
set g_balance_shotgunautomat_clearjam_time "4" |
|
| 150 | ||
| 151 |
set g_balance_shotgun_jamrate "0.0017" |
|
| 152 |
set g_balance_shotgun_clearjam_time "4" |
|
| 153 | ||
| 154 |
set g_balance_pumpshotgun_jamrate "0.0006" |
|
| 155 |
set g_balance_pumpshotgun_clearjam_time "1" |
|
| 156 | ||
| 157 |
set g_balance_pistol_jamrate "0.00115" |
|
| 158 |
set g_balance_pistol_clearjam_time "2" |
|
| 159 | ||
| 160 |
//Lower mean rounds before stoppage, big gun easy to clear |
|
| 161 |
set g_balance_hmg_jamrate "0.001" |
|
| 162 |
set g_balance_hmg_clearjam_time "1.5" |
|
| 163 | ||
| 164 |
//Uzi, The machinegun. Shoots through sheetrock walls with ease. |
|
| 165 |
set g_balance_uzi_speed 18000 |
|
| 166 |
set g_balance_uzi_sustained_refire "0.05" |
|
| 167 |
set g_balance_uzi_first_refire "0.1" |
|
| 168 |
set g_balance_uzi_sustained_damage "25" |
|
| 169 |
set g_balance_uzi_first_damage "25" |
|
| 170 |
set g_balance_uzi_first_spread "0.007" |
|
| 171 |
set g_balance_uzi_spread_add "0.001" |
|
| 172 |
set g_balance_uzi_spread_min "0.018" |
|
| 173 |
set g_balance_uzi_spread_max "0.14" |
|
| 174 |
set g_balance_uzi_bulletconstant "115" |
|
| 175 |
set g_balance_uzi_reload_ammo "30" |
|
| 176 |
set g_balance_uzi_burst_refire "0.01" |
|
| 177 |
set g_balance_uzi_sustained_headshotaddeddamage 3.2 //80 dmg |
|
| 178 |
set g_balance_uzi_first_headshotaddeddamage 3.2 |
|
| 179 | ||
| 180 |
//Assault Rifle |
|
| 181 |
set g_balance_mg_mode 1 // Activates varible spread for sustained & burst mode secondary |
|
| 182 |
set g_balance_mg_spread_add 0.001 |
|
| 183 |
set g_balance_mg_spread_min 0.006 |
|
| 184 |
set g_balance_mg_spread_max 0.05 |
|
| 185 | ||
| 186 |
set g_balance_mg_burst 3 // # of bullets in a burst (if set to 2 or more) |
|
| 187 |
set g_balance_mg_burst_animtime 0.3 |
|
| 188 |
set g_balance_mg_burst_refire 0.1 // refire between burst bullets |
|
| 189 |
set g_balance_mg_burst_refire2 0.01 // refire after burst |
|
| 190 |
set g_balance_mg_burst_spread 0.006 |
|
| 191 |
|
|
| 192 |
set g_balance_mg_burst_force 20 |
|
| 193 |
set g_balance_mg_burst_ammo 6 |
|
| 194 | ||
| 195 |
set g_balance_mg_first 1 |
|
| 196 |
set g_balance_mg_first_headshotaddeddamage 1.915 //about 90 |
|
| 197 |
set g_balance_mg_first_force 5 |
|
| 198 |
set g_balance_mg_first_spread 0.006 |
|
| 199 |
set g_balance_mg_first_refire 0.2 |
|
| 200 |
set g_balance_mg_first_ammo 2 // Between rifle and uzi |
|
| 201 | ||
| 202 |
set g_balance_mg_sustained_headshotaddeddamage 1.915 |
|
| 203 |
set g_balance_mg_sustained_force 5 |
|
| 204 |
set g_balance_mg_sustained_spread 0.03 |
|
| 205 |
set g_balance_mg_sustained_refire 0.1 |
|
| 206 |
set g_balance_mg_sustained_ammo 2 // Between rifle and uzi |
|
| 207 | ||
| 208 |
set g_balance_mg_speed 24000 |
|
| 209 |
set g_balance_mg_bulletconstant 117 // Between rifle and uzi |
|
| 210 |
set g_balance_mg_reload_ammo 48 //2 ammo cost * 24 shots |
|
| 211 |
set g_balance_mg_reload_time 2 // Norm |
|
| 212 | ||
| 213 |
set g_balance_mg_burst_damage 47 |
|
| 214 |
set g_balance_mg_sustained_damage 47 |
|
| 215 |
set g_balance_mg_first_damage 47 |
|
| 216 | ||
| 217 | ||
| 218 |
seta crosshair_mg "" "crosshair to display when wielding the machinegun" |
|
| 219 |
seta crosshair_mg_color "1 0.9 0.55" "crosshair color to display when wielding the machinegun" |
|
| 220 |
seta crosshair_mg_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" |
|
| 221 |
seta crosshair_mg_size 0.6 "crosshair size when wielding the machinegun" |
|
| 222 | ||
| 223 | ||
| 224 |
//Shotgun. Will shoot through a door, a window, or a thin wall. |
|
| 225 |
set g_balance_shotgun_primary_speed 12000 |
|
| 226 |
set g_balance_shotgun_primary_bullets "22" |
|
| 227 |
set g_balance_shotgun_primary_bulletconstant "100" |
|
| 228 |
set g_balance_shotgun_primary_damage "12" |
|
| 229 |
set g_balance_shotgun_primary_force "90" |
|
| 230 |
set g_balance_shotgun_secondary_bullets "22" |
|
| 231 |
set g_balance_shotgun_primary_spread "0.06" |
|
| 232 |
set g_balance_shotgun_secondary_spread "0.14" |
|
| 233 |
set g_balance_shotgun_primary_force "90" |
|
| 234 |
set g_balance_shotgun_reload_ammo "5" |
|
| 235 | ||
| 236 |
exec pumpshotgun.cfg |
|
| 237 |
//PumpShotgun. This is a shotgun with a narrow choke and a longer barrel |
|
| 238 |
//other shotguns are sawn-off compared to this, a good long-range zombie killer |
|
| 239 |
//unlike other shotguns, doesn't gib |
|
| 240 |
set g_balance_pumpshotgun_primary_bullets 22 |
|
| 241 |
set g_balance_pumpshotgun_primary_damage 12 |
|
| 242 |
set g_balance_pumpshotgun_primary_force 0 //to help with nogib |
|
| 243 |
set g_balance_pumpshotgun_primary_spread 0.0175 |
|
| 244 |
set g_balance_pumpshotgun_primary_refire 0.75 |
|
| 245 |
set g_balance_pumpshotgun_primary_animtime 0.2 |
|
| 246 |
set g_balance_pumpshotgun_primary_ammo 1 |
|
| 247 |
set g_balance_pumpshotgun_primary_speed 14000 //Slightly longer barrel |
|
| 248 |
set g_balance_pumpshotgun_primary_bulletconstant 100 |
|
| 249 |
set g_balance_pumpshotgun_secondary_refire 0.1 |
|
| 250 |
set g_balance_pumpshotgun_reload_ammo 4 //Tube mag |
|
| 251 |
set g_balance_pumpshotgun_reload_time 2.5 //Takes longer to reload |
|
| 252 | ||
| 253 | ||
| 254 |
exec shotgunautomat.cfg |
|
| 255 |
//ShotgunAutomat. Will shoot through a door, a window, or a thin wall... Quickly. |
|
| 256 |
set g_balance_shotgunautomat_primary_refire 0.13 |
|
| 257 |
set g_balance_shotgunautomat_primary_animtime 0.1 |
|
| 258 |
set g_balance_shotgunautomat_primary_speed 12000 |
|
| 259 |
set g_balance_shotgunautomat_primary_bullets "22" |
|
| 260 |
set g_balance_shotgunautomat_primary_bulletconstant "100" |
|
| 261 |
set g_balance_shotgunautomat_primary_ammo "1" |
|
| 262 |
set g_balance_shotgunautomat_primary_damage "12" |
|
| 263 |
set g_balance_shotgunautomat_primary_force "90" |
|
| 264 |
set g_balance_shotgunautomat_primary_spread "0.06" |
|
| 265 |
set g_balance_shotgunautomat_secondary_refire 0.8 |
|
| 266 |
set g_balance_shotgunautomat_secondary_animtime 0.2 |
|
| 267 |
set g_balance_shotgunautomat_secondary_speed 12000 |
|
| 268 |
set g_balance_shotgunautomat_secondary_bullets "66" |
|
| 269 |
set g_balance_shotgunautomat_secondary_bulletconstant "100" |
|
| 270 |
set g_balance_shotgunautomat_secondary_ammo "3" |
|
| 271 |
set g_balance_shotgunautomat_secondary_damage "12" |
|
| 272 |
set g_balance_shotgunautomat_secondary_force "90" |
|
| 273 |
set g_balance_shotgunautomat_secondary_spread "0.14" |
|
| 274 |
set g_balance_shotgunautomat_reload_ammo "9" |
|
| 275 | ||
| 276 |
exec nukelayer.cfg |
|
| 277 |
set g_balance_nukelayer_limit 1 |
|
| 278 |
set g_balance_nukelayer_reload_ammo 0 //Since we only allow one, no point to having this set. |
|
| 279 | ||
| 280 |
set g_balance_rocketlauncher_health 28 |
|
| 281 |
set g_balance_rocketlauncher_speed 2200 |
|
| 282 |
set g_balance_rocketlauncher_speedaccel 1800 |
|
| 283 |
set g_balance_rocketlauncher_speedstart 800 |
|
| 284 |
set g_balance_rocketlauncher_radius "253" |
|
| 285 |
set g_balance_rocketlauncher_damage "300" |
|
| 286 |
set g_balance_rocketlauncher_edgedamage "125" |
|
| 287 |
set g_balance_rocketlauncher_force 500 |
|
| 288 |
set g_balance_rocketlauncher_remote_radius "221" //0.875 * primary, rounded down |
|
| 289 |
set g_balance_rocketlauncher_remote_damage "262" //0.875 * primary, rounded down |
|
| 290 |
set g_balance_rocketlauncher_remote_edgedamage "109" //0.875 * primary, rounded down |
|
| 291 |
set g_balance_rocketlauncher_remote_force 500 |
|
| 292 |
set g_balance_rocketlauncher_ammo 4 |
|
| 293 |
set g_balance_rocketlauncher_reload_ammo 20 //Looks like there's 5 in the rotary, plus possibly 6 in the other side maybe. X by 4 |
|
| 294 |
set g_balance_rocketlauncher_reload_time 2 |
|
| 295 | ||
| 296 |
set g_balance_grenadelauncher_primary_damage "100" |
|
| 297 |
set g_balance_grenadelauncher_primary_edgedamage "60" |
|
| 298 |
set g_balance_grenadelauncher_primary_radius 140 |
|
| 299 |
set g_balance_grenadelauncher_primary_health 30 |
|
| 300 |
set g_balance_grenadelauncher_secondary_health 30 |
|
| 301 |
set g_balance_grenadelauncher_secondary_damage "100" |
|
| 302 |
set g_balance_grenadelauncher_secondary_edgedamage "60" |
|
| 303 |
set g_balance_grenadelauncher_secondary_radius 140 |
|
| 304 |
set g_balance_grenadelauncher_primary_ammo 2 |
|
| 305 |
set g_balance_grenadelauncher_secondary_ammo 2 |
|
| 306 |
set g_balance_grenadelauncher_reload_ammo 12 //default: 12 //fast shooter |
|
| 307 |
set g_balance_grenadelauncher_reload_time 0.8 //quick reload |
|
| 308 | ||
| 309 |
set g_balance_grenadelauncher_secondary_fragments 500 |
|
| 310 |
set g_balance_grenadelauncher_secondary_fragment_damage 40 |
|
| 311 |
set g_balance_grenadelauncher_secondary_fragment_speed 700 |
|
| 312 |
set g_balance_grenadelauncher_secondary_fragment_bulletconstant 1000 //1000 bulletconstant * 500speed = goes through thin wall |
|
| 313 |
set g_balance_grenadelauncher_secondary_fragment_headshotbonus 1 |
|
| 314 |
set g_balance_grenadelauncher_secondary_fragment_force 15 |
|
| 315 |
set g_balance_grenadelauncher_secondary_fragment_tracer 0 |
|
| 316 |
set g_balance_grenadelauncher_secondary_fragment_gravity 1 |
|
| 317 | ||
| 318 |
set g_balance_grenadelauncher_primary_fragments 100 |
|
| 319 |
set g_balance_grenadelauncher_primary_fragment_damage 80 |
|
| 320 |
set g_balance_grenadelauncher_primary_fragment_speed 700 |
|
| 321 |
set g_balance_grenadelauncher_primary_fragment_bulletconstant 1500 |
|
| 322 |
set g_balance_grenadelauncher_primary_fragment_headshotbonus 0.75 |
|
| 323 |
set g_balance_grenadelauncher_primary_fragment_force 30 |
|
| 324 |
set g_balance_grenadelauncher_primary_fragment_tracer 1 |
|
| 325 |
set g_balance_grenadelauncher_primary_fragment_gravity 1 |
|
| 326 | ||
| 327 |
set g_balance_nex_damage "150" // Nexuiz |
|
| 328 |
set g_balance_nex_primary_damage "150" // Xonotic |
|
| 329 |
set g_balance_nex_primary_force "0" //So it won't gib via force//Default was 400 |
|
| 330 | ||
| 331 |
set g_balance_hagar_primary_damage "70" |
|
| 332 |
set g_balance_hagar_secondary_damage "70" |
|
| 333 |
set g_balance_hagar_secondary_ammo 1 |
|
| 334 |
set g_balance_hagar_secondary_load_max 6 |
|
| 335 |
set g_balance_hagar_secondary_load_hold "-1" |
|
| 336 |
set g_balance_hagar_secondary_load_releasedeath 1 |
|
| 337 |
set g_balance_hagar_primary_ammo 1 |
|
| 338 |
set g_balance_hagar_reload_ammo 100 //100 round belt of 'nades |
|
| 339 |
set g_balance_hagar_reload_time 3 //Takes awhile to get the next 'nade belt hooked up |
|
| 340 | ||
| 341 |
set g_balance_crylink_primary_force -55 |
|
| 342 |
set g_balance_crylink_primary_damage 18 |
|
| 343 |
set g_balance_crylink_primary_bounces "7" |
|
| 344 |
set g_balance_crylink_primary_shots "6" |
|
| 345 |
set g_balance_crylink_secondary_force -40 |
|
| 346 |
set g_balance_crylink_secondary_damage 18 |
|
| 347 |
set g_balance_crylink_secondary_shots "11" |
|
| 348 |
set g_balance_crylink_secondary_refire "0.3" |
|
| 349 | ||
| 350 |
// set g_balance_electro_primary_damage "110" // Nexuiz |
|
| 351 |
//set g_balance_electro_primary_damage "220" // Old Xonotic where electro was like a lightning gun |
|
| 352 |
set g_balance_electro_primary_damage "90" |
|
| 353 |
set g_balance_electro_secondary_damage "80" |
|
| 354 |
set g_balance_electro_secondary_count "100" |
|
| 355 |
set g_balance_electro_primary_force 200 |
|
| 356 |
set g_balance_electro_secondary_force 200 |
|
| 357 |
set g_balance_electro_combo_force 120 |
|
| 358 | ||
| 359 |
set g_balance_seeker_reload_time 3.5 |
|
| 360 |
set g_balance_seeker_reload_ammo 0 |
|
| 361 |
set g_balance_seeker_missile_delay 0.11 |
|
| 362 |
set g_balance_seeker_missile_count 8 |
|
| 363 |
set g_balance_seeker_missile_health 1 |
|
| 364 |
set g_balance_seeker_missile_damage 90 |
|
| 365 |
set g_balance_seeker_missile_edgedamage 30 |
|
| 366 |
set g_balance_seeker_missile_radius 90 |
|
| 367 |
set g_balance_seeker_flac_damage 25 |
|
| 368 |
set g_balance_seeker_flac_edgedamage 20 |
|
| 369 |
set g_balance_seeker_type 0 |
|
| 370 |
set g_balance_seeker_tag_speed 10000 |
|
| 371 | ||
| 372 | ||
| 373 |
set g_balance_hlac_primary_damage 55 |
|
| 374 |
set g_balance_hlac_primary_refire 0.1 |
|
| 375 |
set g_balance_hlac_secondary_damage 55 |
|
| 376 | ||
| 377 |
//Fires same bullets as Rifle |
|
| 378 |
set g_balance_hmg_spread_min 0.003 //Less than uzi |
|
| 379 |
set g_balance_hmg_spread_max 0.03 //Less than uzi |
|
| 380 |
set g_balance_hmg_spread_add 0.0005 |
|
| 381 |
set g_balance_hmg_sustained_damage 95 |
|
| 382 |
set g_balance_hmg_sustained_headshotaddeddamage 1.37 //less speed less trauma? |
|
| 383 |
set g_balance_hmg_sustained_force 10 // Same as Rifle |
|
| 384 |
set g_balance_hmg_sustained_spread 0.03 |
|
| 385 |
set g_balance_hmg_sustained_refire 0.09 |
|
| 386 |
set g_balance_hmg_sustained_ammo 3 |
|
| 387 |
set g_balance_hmg_speed 30000 //Shorter barrel(s) than Rifle |
|
| 388 |
set g_balance_hmg_bulletconstant 119 // Same as Rifle |
|
| 389 |
set g_balance_hmg_reload_ammo 360 //120(amnt of bullets in belt)*3(cost of each) |
|
| 390 |
set g_balance_hmg_reload_time 3 //Got to load belt |
|
| 391 | ||
| 392 |
seta crosshair_hmg "" "crosshair to display when wielding the machinegun" |
|
| 393 |
seta crosshair_hmg_color "0.9 0.4 0.35" "crosshair color to display when wielding the machinegun" |
|
| 394 |
seta crosshair_hmg_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" |
|
| 395 |
seta crosshair_hmg_size 0.6 "crosshair size when wielding the machinegun" |
|
| 396 | ||
| 397 | ||
| 398 |
//Sniper Rifle. Will shoot through concrete, has long range. |
|
| 399 |
//##Nexuiz sniper/camping rifle: |
|
| 400 |
set g_balance_campingrifle_primary_damage 95 |
|
| 401 |
set g_balance_campingrifle_primary_headshotaddeddamage 2.75 |
|
| 402 |
set g_balance_campingrifle_secondary_force 10 |
|
| 403 |
set g_balance_campingrifle_secondary_burstcost 0 |
|
| 404 |
set g_balance_campingrifle_primary_speed 55000 // Old 40000 |
|
| 405 |
set g_balance_campingrifle_primary_bulletconstant 119 // Old 480 |
|
| 406 |
set g_balance_campingrifle_secondary_refire 0.06 |
|
| 407 |
set g_balance_campingrifle_secondary_animtime 0.06 |
|
| 408 |
set g_balance_campingrifle_secondary_speed 30000 |
|
| 409 |
set g_balance_campingrifle_magazinecapacity 30 |
|
| 410 |
//set g_ballistics_force_shotgun_bulletconstant 130 //OLD |
|
| 411 |
//set g_ballistics_force_uzi_bulletconstant 245 //OLD |
|
| 412 |
set g_balance_campingrifle_secondary_ammo 3 |
|
| 413 |
set g_balance_campingrifle_primary_ammo 3 |
|
| 414 |
set g_balance_campingrifle_secondary_tracer 1 |
|
| 415 |
set g_balance_campingrifle_primary_tracer 0 |
|
| 416 |
//##Old Xonotic sniper/camping rifle |
|
| 417 |
set g_balance_sniperrifle_primary_damage 95 |
|
| 418 |
set g_balance_sniperrifle_primary_headshotaddeddamage 2.75 |
|
| 419 |
set g_balance_sniperrifle_secondary_force 10 |
|
| 420 |
set g_balance_sniperrifle_secondary_burstcost 0 |
|
| 421 |
set g_balance_sniperrifle_primary_speed 55000 |
|
| 422 |
set g_balance_sniperrifle_primary_bulletconstant 119 |
|
| 423 |
set g_balance_sniperrifle_primary_refire "0.5" |
|
| 424 |
set g_balance_sniperrifle_secondary_refire 0.06 |
|
| 425 |
set g_balance_sniperrifle_secondary_animtime 0.06 |
|
| 426 |
set g_balance_sniperrifle_secondary_speed 30000 |
|
| 427 |
set g_balance_sniperrifle_magazinecapacity 30 |
|
| 428 |
set g_balance_sniperrifle_secondary_ammo 3 |
|
| 429 |
set g_balance_sniperrifle_primary_ammo 3 |
|
| 430 |
set g_balance_sniperrifle_secondary_tracer 1 |
|
| 431 |
set g_balance_sniperrifle_primary_tracer 0 |
|
| 432 |
//##Newer Xonotic |
|
| 433 |
set g_balance_rifle_primary_damage 95 |
|
| 434 |
set g_balance_rifle_primary_headshotaddeddamage 2.75 |
|
| 435 |
set g_balance_rifle_secondary_force 10 |
|
| 436 |
set g_balance_rifle_secondary_burstcost 0 |
|
| 437 |
set g_balance_rifle_primary_speed 55000 |
|
| 438 |
set g_balance_rifle_primary_bulletconstant 119 |
|
| 439 |
set g_balance_rifle_primary_refire "0.5" |
|
| 440 |
set g_balance_rifle_secondary_refire 0.06 |
|
| 441 |
set g_balance_rifle_secondary_animtime 0.06 |
|
| 442 |
set g_balance_rifle_secondary_speed 30000 |
|
| 443 |
set g_balance_rifle_reload_ammo 18 |
|
| 444 |
set g_balance_rifle_secondary_ammo 9 |
|
| 445 |
set g_balance_rifle_secondary_shots 3 |
|
| 446 |
set g_balance_rifle_primary_ammo 3 |
|
| 447 |
set g_balance_rifle_secondary_tracer 1 |
|
| 448 |
set g_balance_rifle_primary_tracer 0 |
|
| 449 |
set g_balance_rifle_secondary_damage 30 |
|
| 450 |
set g_balance_rifle_secondary_headshotaddeddamage 0.667 |
|
| 451 | ||
| 452 |
set g_balance_minelayer_health 15 |
|
| 453 |
set g_balance_minelayer_limit 100 |
|
| 454 |
set g_balance_minelayer_lifetime 99999 |
|
| 455 |
set g_balance_minelayer_damage 250 |
|
| 456 |
set g_balance_minelayer_edgedamage 20 |
|
| 457 |
set g_balance_minelayer_remotedamage 120 |
|
| 458 |
set g_balance_minelayer_ammo 4 |
|
| 459 |
set g_balance_minelayer_reload_ammo 0 // 40 if one wants to reload after 10 |
|
| 460 |
set g_balance_minelayer_reload_time 1.25 |
|
| 461 |
set g_balance_minelayer_persistent 1 |
|
| 462 | ||
| 463 |
set g_balance_fireball_primary_damagetime 9 |
|
| 464 |
set g_balance_fireball_primary_lifetime 10 |
|
| 465 |
set g_balance_fireball_primary_refire 0.5 |
|
| 466 |
set g_balance_fireball_primary_laserradius 256 |
|
| 467 |
set g_balance_fireball_secondary_edgedamage 20 |
|
| 468 |
set g_balance_fireball_secondary_damage 120 |
|
| 469 |
set g_balance_fireball_secondary_laserradius 192 |
|
| 470 |
set g_balance_fireball_secondary_lifetime 30 |
|
| 471 |
set g_balance_fireball_secondary_refire 0.9 |
|
| 472 | ||
| 473 |
//##Mod, pistol |
|
| 474 |
// {{{ pistol
|
|
| 475 |
exec pistol.cfg |
|
| 476 |
set g_balance_pistol_recoil 0 |
|
| 477 |
set g_balance_pistol_bursttime 0 |
|
| 478 |
set g_balance_pistol_primary_shots 1 |
|
| 479 |
set g_balance_pistol_primary_damage 25 //same as uzi, same ammo |
|
| 480 |
set g_balance_pistol_primary_headshotaddeddamage 3.2 |
|
| 481 |
set g_balance_pistol_primary_spread 0.02 |
|
| 482 |
set g_balance_pistol_primary_force 20 |
|
| 483 |
set g_balance_pistol_primary_speed 16000 //reduced from uzi due to shorter barrel |
|
| 484 |
set g_balance_pistol_primary_lifetime 5 |
|
| 485 |
set g_balance_pistol_primary_refire 0.2 |
|
| 486 |
set g_balance_pistol_primary_animtime 0.2 |
|
| 487 |
set g_balance_pistol_primary_ammo 1 |
|
| 488 |
set g_balance_pistol_primary_bulletconstant 115 |
|
| 489 |
set g_balance_pistol_primary_burstcost 0 |
|
| 490 |
set g_balance_pistol_primary_bullethail 0 // empty magazine on shot |
|
| 491 |
set g_balance_pistol_secondary 1 |
|
| 492 |
set g_balance_pistol_secondary_reload 0 |
|
| 493 |
set g_balance_pistol_secondary_shots 1 |
|
| 494 |
set g_balance_pistol_secondary_damage 10 |
|
| 495 |
set g_balance_pistol_secondary_headshotaddeddamage 3.2 |
|
| 496 |
set g_balance_pistol_secondary_spread 0.06 |
|
| 497 |
set g_balance_pistol_secondary_force 20 |
|
| 498 |
set g_balance_pistol_secondary_speed 16000 |
|
| 499 |
set g_balance_pistol_secondary_lifetime 5 |
|
| 500 |
set g_balance_pistol_secondary_refire 0.05 |
|
| 501 |
set g_balance_pistol_secondary_animtime 0.05 |
|
| 502 |
set g_balance_pistol_secondary_ammo 1 |
|
| 503 |
set g_balance_pistol_secondary_bulletconstant 115 |
|
| 504 |
set g_balance_pistol_secondary_burstcost 0 |
|
| 505 |
set g_balance_pistol_secondary_bullethail 0 // empty magazine on shot |
|
| 506 |
set g_balance_pistol_reload_ammo 10 //default: 10 |
|
| 507 |
set g_balance_pistol_reload_time 1.2 |
|
| 508 |
// }}} |
|
| 509 | ||
| 510 |
//1 q-unit |
|
| 511 |
//set g_ballistics_mindistance 1 |
|
| 512 |
//0 q-unit |
|
| 513 |
set g_ballistics_mindistance 0 |
|
| 514 | ||
| 515 |
//set g_casings 2 |
|
| 516 |
set g_antilag_bullets 0 |
|
| 517 | ||
| 518 |
////Vehicle stuff |
|
| 519 | ||
| 520 |
//Spiderbot: Anti armor 20 mm gatling gun cannons, Anti-personell rockets. |
|
| 521 |
set g_vehicle_spiderbot_health 10600 |
|
| 522 |
set g_vehicle_spiderbot_rocket_damage 250 |
|
| 523 |
set g_vehicle_spiderbot_rocket_edgedamage 150 |
|
| 524 |
set g_vehicle_spiderbot_rocket_force 200 |
|
| 525 |
set g_vehicle_spiderbot_rocket_radius 300 |
|
| 526 |
set g_vehicle_spiderbot_rocket_speed 1800 |
|
| 527 |
set g_vehicle_spiderbot_crush_dmg 100 |
|
| 528 |
set g_vehicle_spiderbot_health_regen 20 |
|
| 529 | ||
| 530 |
set g_vehicle_spiderbot_minigun_refire 0.01 |
|
| 531 |
set g_vehicle_spiderbot_minigun_damage 100 // 20mm shells do damage. |
|
| 532 | ||
| 533 |
set g_vehicle_spiderbot_minigun_expelbulletcasings 1 |
|
| 534 |
set g_vehicle_spiderbot_minigun_enableballistics 1 |
|
| 535 |
set g_vehicle_spiderbot_minigun_speed 48000 |
|
| 536 |
set g_vehicle_spiderbot_minigun_force 4 |
|
| 537 |
set g_vehicle_spiderbot_minigun_bulletconstant 470 // 20mm shells are good penetrators. |
|
| 538 | ||
| 539 |
set g_vehicle_spiderbot_minigun_headshotaddeddamage 4 |
|
| 540 |
set g_vehicle_spiderbot_minigun_coreshotaddeddamage 2 |
|
| 541 | ||
| 542 |
//Raptor flying vehicle: good for destroying ground troops (energy cannon) and spiderbot formations (bomblets) |
|
| 543 |
set g_vehicle_raptor_bomblets 66 |
|
| 544 |
set g_vehicle_raptor_bomblet_alt 2200 |
|
| 545 |
set g_vehicle_raptor_bomblet_time 0.1 |
|
| 546 |
set g_vehicle_raptor_bomblet_spread 0.65 |
|
| 547 |
set g_vehicle_raptor_bomblet_damage 300 |
|
| 548 |
set g_vehicle_raptor_bomblet_edgedamage 150 |
|
| 549 |
set g_vehicle_raptor_bomblet_radius 600 |
|
| 550 |
set g_vehicle_raptor_bomblet_force 300 |
|
| 551 |
set g_vehicle_raptor_bombs_refire 6 |
|
| 552 | ||
| 553 |
set g_vehicle_raptor_cannon_cost 6 |
|
| 554 |
set g_vehicle_raptor_cannon_damage 60 |
|
| 555 |
set g_vehicle_raptor_cannon_radius 45 |
|
| 556 |
set g_vehicle_raptor_cannon_refire 0.0025 |
|
| 557 |
set g_vehicle_raptor_cannon_speed 9000 |
|
| 558 |
set g_vehicle_raptor_cannon_spread 0.0125 |
|
| 559 | ||
| 560 |
set g_vehicle_raptor_energy 840 |
|
| 561 |
set g_vehicle_raptor_energy_regen 40 |
|
| 562 |
set g_vehicle_raptor_energy_regen_pause 1 |
|
| 563 | ||
| 564 |
set g_vehicle_raptor_health 800 |
|
| 565 |
set g_vehicle_raptor_health_regen 0 |
|
| 566 |
set g_vehicle_raptor_health_regen_pause 0 |
|
| 567 | ||
| 568 |
//Raptor misc |
|
| 569 |
set g_vehicle_raptor_guns_turnspeed 90 |
|
| 570 |
set g_vehicle_raptor_guns_turnlimit 20 |
|
| 571 |
set g_vehicle_raptor_guns_pitchlimit_up 12 |
|
| 572 |
set g_vehicle_raptor_guns_pitchlimit_down 32 |
|
| 573 | ||
| 574 |
set g_vehicle_raptor_movestyle 1 |
|
| 575 | ||
| 576 |
set g_vehicle_raptor_turnroll 0.1 |
|
| 577 | ||
| 578 |
set g_vehicle_raptor_turnspeed 70 |
|
| 579 |
set g_vehicle_raptor_pitchspeed 30 |
|
| 580 |
set g_vehicle_raptor_pitchlimit 35 |
|
| 581 | ||
| 582 |
set g_vehicle_raptor_speed_forward 1000 |
|
| 583 |
set g_vehicle_raptor_speed_strafe 750 |
|
| 584 |
set g_vehicle_raptor_speed_up 600 |
|
| 585 |
set g_vehicle_raptor_speed_down 900 |
|
| 586 |
set g_vehicle_raptor_friction 0.7 |
|
| 587 | ||
| 588 |
set g_vehicle_raptor_cannon_locktarget 1 |
|
| 589 |
set g_vehicle_raptor_cannon_locking_time 0.5 |
|
| 590 |
set g_vehicle_raptor_cannon_locking_releasetime 0.5 |
|
| 591 |
set g_vehicle_raptor_cannon_locked_time 1 |
|
| 592 |
set g_vehicle_raptor_cannon_predicttarget 1 |
|
| 593 | ||
| 594 |
set g_vehicle_racer_laser_refire 0.065 |
|
| 595 |
set g_vehicle_racer_laser_damage 30 |
|
| 596 | ||
| 597 |
set g_balance_rocketlauncher_enableshockwave 1 |
|
| 598 |
set g_vehicle_raptor_bomblet_explode_enableshockwave 1 |
|
| 599 | ||
| b/grenadelauncherfragmentation.cfg | ||
|---|---|---|
| 1 |
set g_balance_grenadelauncher_secondary_fragments 300 |
|
| 2 |
set g_balance_grenadelauncher_secondary_fragment_damage 20 |
|
| 3 |
set g_balance_grenadelauncher_secondary_fragment_speed 700 |
|
| 4 |
set g_balance_grenadelauncher_secondary_fragment_bulletconstant 1000 |
|
| 5 |
set g_balance_grenadelauncher_secondary_fragment_headshotbonus 20 |
|
| 6 |
set g_balance_grenadelauncher_secondary_fragment_force 15 |
|
| 7 |
set g_balance_grenadelauncher_secondary_fragment_tracer 0 |
|
| 8 |
set g_balance_grenadelauncher_secondary_fragment_gravity 1 |
|
| 9 | ||
| 10 |
set g_balance_grenadelauncher_primary_fragments 100 |
|
| 11 |
set g_balance_grenadelauncher_primary_fragment_damage 40 |
|
| 12 |
set g_balance_grenadelauncher_primary_fragment_speed 700 |
|
| 13 |
set g_balance_grenadelauncher_primary_fragment_bulletconstant 1000 |
|
| 14 |
set g_balance_grenadelauncher_primary_fragment_headshotbonus 40 |
|
| 15 |
set g_balance_grenadelauncher_primary_fragment_force 25 |
|
| 16 |
set g_balance_grenadelauncher_primary_fragment_tracer 1 |
|
| 17 |
set g_balance_grenadelauncher_primary_fragment_gravity 1 |
|
| b/make-chaos-esque-mod-serverpackage-pk3.sh | ||
|---|---|---|
| 1 |
git diff origin/master > xmod-chaos-esque-xonotic-binaries_1.serverpackage; |
|
| 2 |
git diff origin/master | grep Binary | cut -d " " -f 5- | cut -c 3- | cut -d " " -f 1 | zip -q xmod-chaos-esque-xonotic-binaries.pk3 -@ xmod-chaos-esque-xonotic-*.serverpackage; |
|
| 3 |
rm ./xmod-chaos-esque-xonotic-*.serverpackage; |
|
| 4 |
mv ./xmod-chaos-esque-xonotic-binaries.pk3 /var/www/xonoticmaps/ |
|
| 5 | ||
| b/models/weapons/h_nukelayer.iqm.framegroups | ||
|---|---|---|
| 1 |
1 8 20 0 // fire |
|
| 2 |
9 5 20 0 // fire2 |
|
| 3 |
15 200 20 1 // idle |
|
| 4 |
215 40 20 0 // reload |
|
| b/models/weapons/h_pistol.dpm.framegroups | ||
|---|---|---|
| 1 |
1 8 20 0 // fire |
|
| 2 |
9 5 20 0 // fire2 |
|
| 3 |
15 200 20 1 // idle |
|
| 4 |
215 39 20 0 // reload |
|
| b/models/weapons/h_pistol.iqm.framegroups | ||
|---|---|---|
| 1 |
1 8 20 0 // fire |
|
| 2 |
9 5 20 0 // fire2 |
|
| 3 |
15 200 20 1 // idle |
|
| 4 |
215 40 20 0 // reload |
|
| b/models/weapons/h_pumpshotgun.iqm.framegroups | ||
|---|---|---|
| 1 |
/* |
|
| 2 |
Generated framegroups file for h_pumpshotgun |
|
| 3 |
Used by DarkPlaces to simulate frame groups in DPM models. |
|
| 4 |
*/ |
|
| 5 | ||
| 6 |
1 22 30 0 // h_pumpshotgun sghmesh_fire |
|
| 7 |
300 15 30 0 // h_pumpshotgun sghmesh_fire2 |
|
| 8 |
54 201 5 1 // h_pumpshotgun sghmesh_idle |
|
| 9 |
255 61 22 1 // h_pumpshotgun sghmesh_reload |
|
| 10 | ||
| 11 |
/* |
|
| 12 |
//Orig: |
|
| 13 |
//1 22 30 0 // h_shotgun sghmesh_fire |
|
| 14 |
//23 31 30 0 // h_shotgun sghmesh_fire2 |
|
| 15 |
//54 201 5 1 // h_shotgun sghmesh_idle |
|
| 16 |
//255 61 30 1 // h_shotgun sghmesh_reload |
|
| 17 |
*/ |
|
| b/models/weapons/h_shotgunautomat.iqm.framegroups | ||
|---|---|---|
| 1 |
1 8 20 0 // fire |
|
| 2 |
9 23 20 0 // fire2 |
|
| 3 |
32 200 20 1 // idle |
|
| 4 |
232 40 20 0 // reload |
|
| 5 |
// compile opts used in the iqm exporter (apparently needed to prevent insane ram usage): |
|
| 6 |
// fire:1:8, fire2:1:23, idle:1:200, reload:1:40 |
|
| b/nukelayer.cfg | ||
|---|---|---|
| 1 |
// {{{ nukelayer
|
|
| 2 |
set g_balance_nukelayer_damage 20000 |
|
| 3 |
set g_balance_nukelayer_edgedamage 1000 |
|
| 4 |
set g_balance_nukelayer_force 2500 |
|
| 5 |
set g_balance_nukelayer_radius 8191 |
|
| 6 |
set g_balance_nukelayer_proximityradius 0 |
|
| 7 |
set g_balance_nukelayer_speed 1000 |
|
| 8 |
set g_balance_nukelayer_lifetime 99999999 |
|
| 9 |
set g_balance_nukelayer_lifetime_countdown 0.5 |
|
| 10 |
set g_balance_nukelayer_refire 1.5 |
|
| 11 |
set g_balance_nukelayer_animtime 0.4 |
|
| 12 |
set g_balance_nukelayer_ammo 400 |
|
| 13 |
set g_balance_nukelayer_health 15 |
|
| 14 |
set g_balance_nukelayer_limit 1 // 0 disables the limit |
|
| 15 |
set g_balance_nukelayer_protection 0 // don't explode if the nuke would hurt the owner or a team mate |
|
| 16 |
set g_balance_nukelayer_damageforcescale 0 |
|
| 17 |
set g_balance_nukelayer_detonatedelay 10 // positive: timer till detonation is allowed, negative: "security device" that prevents ANY remote detonation if it could hurt its owner, zero: detonatable at any time |
|
| 18 |
set g_balance_nukelayer_time 0.5 |
|
| 19 |
set g_balance_nukelayer_remote_damage 20000 |
|
| 20 |
set g_balance_nukelayer_remote_edgedamage 1000 |
|
| 21 |
set g_balance_nukelayer_remote_radius 8191 |
|
| 22 |
set g_balance_nukelayer_remote_force 3000 |
|
| 23 |
set g_balance_nukelayer_reload_ammo 400 //default: 15 |
|
| 24 |
set g_balance_nukelayer_reload_time 10 |
|
| 25 |
set g_balance_nukelayer_enableshockwave 1 |
|
| 26 |
//Cumulative: |
|
| 27 |
set g_balance_nukelayer_fire0_damage 90 |
|
| 28 |
set g_balance_nukelayer_fire0_burntime 90 |
|
| 29 |
set g_balance_nukelayer_fire0_radius 1.2 |
|
| 30 | ||
| 31 |
set g_balance_nukelayer_fire1_damage 70 |
|
| 32 |
set g_balance_nukelayer_fire1_burntime 60 |
|
| 33 |
set g_balance_nukelayer_fire1_radius 1.4 |
|
| 34 | ||
| 35 |
set g_balance_nukelayer_fire2_damage 60 |
|
| 36 |
set g_balance_nukelayer_fire2_burntime 30 |
|
| 37 |
set g_balance_nukelayer_fire2_radius 1.6 |
|
| 38 | ||
| 39 |
set g_balance_nukelayer_fire3_damage 50 |
|
| 40 |
set g_balance_nukelayer_fire3_burntime 10 |
|
| 41 |
set g_balance_nukelayer_fire3_radius 1.8 |
|
| 42 | ||
| 43 |
set g_balance_nukelayer_fire4_damage 40 |
|
| 44 |
set g_balance_nukelayer_fire4_burntime 8 |
|
| 45 |
set g_balance_nukelayer_fire4_radius 2 |
|
| 46 | ||
| 47 |
set g_balance_nukelayer_fire5_damage 30 |
|
| 48 |
set g_balance_nukelayer_fire5_burntime 5 |
|
| 49 |
set g_balance_nukelayer_fire5_radius 3 |
|
| 50 |
// }}} |
|
| 51 | ||
| 52 | ||
| 53 | ||
| 54 |
seta crosshair_nukelayer "" "crosshair to display when wielding the nukelayer" |
|
| 55 |
seta crosshair_nukelayer_color "1.00 0.50 0.15" "crosshair color to display when wielding the nukelayer" |
|
| 56 |
seta crosshair_nukelayer_alpha 1.15 "crosshair alpha value to display when wielding the nukelayer" |
|
| 57 |
seta crosshair_nukelayer_size 0.9 "crosshair size when wielding the nukelayer" |
|
| 58 | ||
| 59 |
seta crosshair_ring_nukelayer 1 |
|
| 60 |
seta crosshair_ring_nukelayer_alpha 0.15 |
|
| 61 | ||
| 62 | ||
| 63 |
set g_start_weapon_nukelayer -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms" |
|
| b/pistol.cfg | ||
|---|---|---|
| 1 |
// {{{ pistol
|
|
| 2 |
set g_balance_pistol_bursttime 0 |
|
| 3 |
set g_balance_pistol_primary_shots 1 |
|
| 4 |
set g_balance_pistol_primary_damage 14 |
|
| 5 |
set g_balance_pistol_primary_headshotaddeddamage 0 |
|
| 6 |
set g_balance_pistol_primary_spread 0.04 |
|
| 7 |
set g_balance_pistol_primary_force 20 |
|
| 8 |
set g_balance_pistol_primary_speed 18000 |
|
| 9 |
set g_balance_pistol_primary_lifetime 5 |
|
| 10 |
set g_balance_pistol_primary_refire 0.2 |
|
| 11 |
set g_balance_pistol_primary_animtime 0.2 |
|
| 12 |
set g_balance_pistol_primary_ammo 1 |
|
| 13 |
set g_balance_pistol_primary_bulletconstant 115 |
|
| 14 |
set g_balance_pistol_primary_burstcost 0 |
|
| 15 |
set g_balance_pistol_primary_bullethail 0 // empty magazine on shot |
|
| 16 |
set g_balance_pistol_secondary 1 |
|
| 17 |
set g_balance_pistol_secondary_reload 0 |
|
| 18 |
set g_balance_pistol_secondary_shots 1 |
|
| 19 |
set g_balance_pistol_secondary_damage 10 |
|
| 20 |
set g_balance_pistol_secondary_headshotaddeddamage 0 |
|
| 21 |
set g_balance_pistol_secondary_spread 0.06 |
|
| 22 |
set g_balance_pistol_secondary_force 20 |
|
| 23 |
set g_balance_pistol_secondary_speed 18000 |
|
| 24 |
set g_balance_pistol_secondary_lifetime 5 |
|
| 25 |
set g_balance_pistol_secondary_refire 0.1 |
|
| 26 |
set g_balance_pistol_secondary_animtime 0.1 |
|
| 27 |
set g_balance_pistol_secondary_ammo 1 |
|
| 28 |
set g_balance_pistol_secondary_bulletconstant 115 |
|
| 29 |
set g_balance_pistol_secondary_burstcost 0 |
|
| 30 |
set g_balance_pistol_secondary_bullethail 0 // empty magazine on shot |
|
| 31 |
set g_balance_pistol_reload_ammo 10 //default: 10 |
|
| 32 |
set g_balance_pistol_reload_time 2 |
|
| 33 |
// }}} |
|
| 34 | ||
| 35 |
seta crosshair_pistol "" "crosshair to display when wielding the pistol" |
|
| 36 |
seta crosshair_pistol_color "0.5 0.5 0.1" "crosshair color to display when wielding the pistol" |
|
| 37 |
seta crosshair_pistol_alpha 0.7 "crosshair alpha value to display when wielding the pistol" |
|
| 38 |
seta crosshair_pistol_size 0.3 "crosshair size when wielding the pistol" |
|
| 39 | ||
| 40 |
set g_start_weapon_pistol -1 "0 = never provide the weapon, 1 = always provide the weapon, -1 = game mode default, -2 = provide the weapon in ca and lms" |
|
| b/pumpshotgun.cfg | ||
|---|---|---|
| 1 | ||
| 2 |
set g_balance_pumpshotgun_primary_bullets 22 |
|
| 3 |
set g_balance_pumpshotgun_primary_damage 12 |
|
| 4 |
set g_balance_pumpshotgun_primary_force 90 |
|
| 5 |
set g_balance_pumpshotgun_primary_spread 0.03 |
|
| 6 |
set g_balance_pumpshotgun_primary_refire 0.75 |
|
| 7 |
set g_balance_pumpshotgun_primary_animtime 0.2 |
|
| 8 |
set g_balance_pumpshotgun_primary_ammo 1 |
|
| 9 |
set g_balance_pumpshotgun_primary_speed 14000 //Slightly longer barrel |
|
| 10 |
set g_balance_pumpshotgun_primary_bulletconstant 100 |
|
| 11 |
set g_balance_pumpshotgun_secondary 1 |
|
| 12 |
set g_balance_pumpshotgun_secondary_melee_delay 0.05 // 0.35 was too slow |
|
| 13 |
set g_balance_pumpshotgun_secondary_melee_range 120 |
|
| 14 |
set g_balance_pumpshotgun_secondary_melee_swing_side 120 |
|
| 15 |
set g_balance_pumpshotgun_secondary_melee_swing_up 30 |
|
| 16 |
set g_balance_pumpshotgun_secondary_melee_time 0.15 |
|
| 17 |
set g_balance_pumpshotgun_secondary_melee_traces 10 |
|
| 18 |
set g_balance_pumpshotgun_secondary_melee_no_doubleslap 1 |
|
| 19 |
set g_balance_pumpshotgun_secondary_melee_nonplayerdamage 40 |
|
| 20 |
set g_balance_pumpshotgun_secondary_melee_multihit 1 |
|
| 21 |
set g_balance_pumpshotgun_secondary_damage 70 |
|
| 22 |
set g_balance_pumpshotgun_secondary_force 200 |
|
| 23 |
set g_balance_pumpshotgun_secondary_refire 0.25 |
|
| 24 |
set g_balance_pumpshotgun_secondary_animtime 0.5 |
|
| 25 |
set g_balance_pumpshotgun_reload_ammo 4 //Tube mag |
|
| 26 |
set g_balance_pumpshotgun_reload_time 2.5 //Takes longer to reload |
|
| 27 | ||
| 28 |
seta crosshair_pumpshotgun "" "crosshair to display when wielding the pumpshotgun" |
|
| 29 |
seta crosshair_pumpshotgun_color "0.8 0.8 0.7" "crosshair color to display when wielding the pumpshotgun" |
|
| 30 |
seta crosshair_pumpshotgun_alpha 1.1 "crosshair alpha value to display when wielding the pumpshotgun" |
|
| 31 |
seta crosshair_pumpshotgun_size 0.65 "crosshair size when wielding the pumpshotgun" |
|
| b/qcsrc/client/hud.qc | ||
|---|---|---|
| 425 | 425 |
case WEP_SEEKER: return 2; |
| 426 | 426 |
case WEP_FIREBALL: return 4; |
| 427 | 427 |
case WEP_HOOK: return 3; |
| 428 |
case WEP_SHOTGUNAUTOMAT: return 0; |
|
| 429 |
case WEP_PISTOL: return 1; |
|
| 430 |
//case WEP_NUKE_LAYER: return 2; |
|
| 431 |
case WEP_MG: return 1; |
|
| 432 |
case WEP_HMG: return 1; |
|
| 433 |
case WEP_PUMPSHOTGUN: return 0; |
|
| 428 | 434 |
default: return -1; |
| 429 | 435 |
} |
| 430 | 436 |
} |
| ... | ... | |
| 2245 | 2251 |
{
|
| 2246 | 2252 |
s = "notify_headshot"; |
| 2247 | 2253 |
} |
| 2254 |
else if(type & HITTYPE_CORESHOT && (w == WEP_RIFLE || w == WEP_PISTOL || w == WEP_MG)) // some slower non-shotgun coreshot weapons go here |
|
| 2255 |
{
|
|
| 2256 |
s = "notify_coreshot"; |
|
| 2257 |
} |
|
| 2248 | 2258 |
else if(WEP_VALID(w)) |
| 2249 | 2259 |
{
|
| 2250 | 2260 |
self = get_weaponinfo(w); |
| b/qcsrc/client/waypointsprites.qc | ||
|---|---|---|
| 243 | 243 |
case "wpn-fireball": return '1 0.5 0'; |
| 244 | 244 |
case "wpn-hlac": return '0 1 0'; |
| 245 | 245 |
case "wpn-campingrifle": return '0.5 1 0'; |
| 246 |
case "wpn-hmg": return '1 0.8 0'; |
|
| 247 |
case "wpn-mg": return '0.8 1 0'; |
|
| 246 | 248 |
case "wpn-minelayer": return '0.75 1 0'; |
| 249 |
case "wpn-shotgunautomat": return '1 0.30 0'; |
|
| 250 |
case "wpn-pumpshotgun": return '0.5 0.25 0'; |
|
| 251 |
//case "wpn-nukelayer": return '1 1 0.20'; |
|
| 252 |
case "wpn-uzi": return '1 0.5 0'; |
|
| 247 | 253 |
default: return def; |
| 248 | 254 |
} |
| 249 | 255 |
} |
| ... | ... | |
| 302 | 308 |
case "wpn-fireball": return _("Fireball");
|
| 303 | 309 |
case "wpn-hlac": return _("HLAC");
|
| 304 | 310 |
case "wpn-campingrifle": return _("Rifle");
|
| 311 |
case "wpn-hmg": return _("Heavy Machine Gun");
|
|
| 312 |
case "wpn-mg": return _("Assault Rifle");
|
|
| 305 | 313 |
case "wpn-minelayer": return _("Mine Layer");
|
| 314 |
case "wpn-shotgunautomat": return _("ShotgunAutomat");
|
|
| 315 |
case "wpn-pumpshotgun": return _("Pump Shotgun");
|
|
| 316 |
//case "wpn-nukelayer": return _("Nuke Layer");
|
|
| 306 | 317 |
case "dom-neut": return _("Control point");
|
| 307 | 318 |
case "dom-red": return _("Control point");
|
| 308 | 319 |
case "dom-blue": return _("Control point");
|
| b/qcsrc/common/constants.qh | ||
|---|---|---|
| 417 | 417 |
float HITTYPE_SPLASH = 0x200; // automatically set by RadiusDamage |
| 418 | 418 |
float HITTYPE_BOUNCE = 0x400; |
| 419 | 419 |
float HITTYPE_HEADSHOT = 0x800; // automatically set by Damage (if headshotbonus is set) |
| 420 |
float HITTYPE_RESERVED = 0x1000; // unused yet |
|
| 420 |
float HITTYPE_CORESHOT = 0x1000; // |
|
| 421 |
//float HITTYPE_RESERVED = 0x1000; // unused yet |
|
| 421 | 422 | |
| 422 | 423 |
// macros to access these |
| 423 | 424 |
#define DEATH_ISTURRET(t) ((t) >= DEATH_TURRET && (t) <= DEATH_TURRET_LAST) |
| ... | ... | |
| 563 | 564 |
var vector autocvar_sv_player_crouch_mins = '-16 -16 -24'; |
| 564 | 565 |
var vector autocvar_sv_player_crouch_viewoffset = '0 0 20'; |
| 565 | 566 |
noref var vector autocvar_sv_player_headsize = '24 24 12'; |
| 567 |
noref var vector autocvar_sv_player_coresize = '13 13 8'; |
|
| 568 |
noref var float autocvar_sv_player_necklength = 3; |
|
| 566 | 569 | |
| 567 | 570 |
#define PL_VIEW_OFS autocvar_sv_player_viewoffset |
| 568 | 571 |
#define PL_MIN autocvar_sv_player_mins |
| ... | ... | |
| 571 | 574 |
#define PL_CROUCH_MIN autocvar_sv_player_crouch_mins |
| 572 | 575 |
#define PL_CROUCH_MAX autocvar_sv_player_crouch_maxs |
| 573 | 576 |
#define PL_HEAD autocvar_sv_player_headsize |
| 577 |
#define PL_CORE autocvar_sv_player_coresize |
|
| 574 | 578 | |
| 575 | 579 |
// helpers |
| 576 | 580 |
#define PL_VIEW_OFS_z autocvar_sv_player_viewoffset_z |
| ... | ... | |
| 581 | 585 |
#define PL_HEAD_x autocvar_sv_player_headsize_x |
| 582 | 586 |
#define PL_HEAD_y autocvar_sv_player_headsize_y |
| 583 | 587 |
#define PL_HEAD_z autocvar_sv_player_headsize_z |
| 588 |
#define PL_CORE_x autocvar_sv_player_coresize_x |
|
| 589 |
#define PL_CORE_y autocvar_sv_player_coresize_y |
|
| 590 |
#define PL_CORE_z autocvar_sv_player_coresize_z |
|
| 584 | 591 | |
| 585 | 592 |
// spawnpoint prios |
| 586 | 593 |
#define SPAWN_PRIO_NEAR_TEAMMATE_FOUND 200 |
| b/qcsrc/menu/xonotic/playermodel.c | ||
|---|---|---|
| 10 | 10 |
ATTRIB(XonoticPlayerModelSelector, currentModelImage, string, string_null) |
| 11 | 11 |
ATTRIB(XonoticPlayerModelSelector, currentModelTitle, string, string_null) |
| 12 | 12 |
ATTRIB(XonoticPlayerModelSelector, currentModelDescription, string, string_null) |
| 13 |
ATTRIB(XonoticPlayerModelSelector, currentModelSpecies, float, 0) |
|
| 13 | 14 |
METHOD(XonoticPlayerModelSelector, go, void(entity, float)) |
| 14 | 15 |
METHOD(XonoticPlayerModelSelector, destroy, void(entity)) |
| 15 | 16 |
ATTRIB(XonoticPlayerModelSelector, origin, vector, '0 0 0') |
| ... | ... | |
| 40 | 41 |
#define BUFMODELS_MODEL 2 |
| 41 | 42 |
#define BUFMODELS_SKIN 3 |
| 42 | 43 |
#define BUFMODELS_DESC 4 |
| 43 |
#define BUFMODELS_COUNT 5 |
|
| 44 |
#define BUFMODELS_SPECIES 5 |
|
| 45 |
#define BUFMODELS_COUNT 6 |
|
| 44 | 46 | |
| 45 | 47 |
void XonoticPlayerModelSelector_configureXonoticPlayerModelSelector(entity me) |
| 46 | 48 |
{
|
| ... | ... | |
| 75 | 77 |
bufstr_set(me.bufModels, BUFMODELS_COUNT*i+BUFMODELS_IMAGE, strcat("/", substring(get_model_datafilename(get_model_parameters_modelname, get_model_parameters_modelskin, "tga"), 0, -5)));
|
| 76 | 78 |
bufstr_set(me.bufModels, BUFMODELS_COUNT*i+BUFMODELS_MODEL, get_model_parameters_modelname); |
| 77 | 79 |
bufstr_set(me.bufModels, BUFMODELS_COUNT*i+BUFMODELS_SKIN, ftos(get_model_parameters_modelskin)); |
| 80 |
bufstr_set(me.bufModels, BUFMODELS_COUNT*i+BUFMODELS_SPECIES, ftos(get_model_parameters_species)); |
|
| 78 | 81 |
get_model_parameters_desc = strcat(get_model_parameters_desc, "\n"); |
| 79 | 82 |
if(get_model_parameters_sex) |
| 80 | 83 |
get_model_parameters_desc = strcat(get_model_parameters_desc, sprintf("\nSex: %s", get_model_parameters_sex));
|
| ... | ... | |
| 135 | 138 |
me.currentSkin = stof(bufstr_get(me.bufModels, BUFMODELS_COUNT*me.idxModels+BUFMODELS_SKIN)); |
| 136 | 139 |
me.currentModel = strzone(bufstr_get(me.bufModels, BUFMODELS_COUNT*me.idxModels+BUFMODELS_MODEL)); |
| 137 | 140 |
me.currentModelDescription = strzone(bufstr_get(me.bufModels, BUFMODELS_COUNT*me.idxModels+BUFMODELS_DESC)); |
| 141 |
me.currentModelSpecies = stof(bufstr_get(me.bufModels, BUFMODELS_COUNT*me.idxModels+BUFMODELS_SPECIES)); |
|
| 138 | 142 | |
| 139 | 143 |
// fix the image |
| 140 | 144 |
if(draw_PictureSize(me.currentModelImage) == '0 0 0') |
| ... | ... | |
| 165 | 169 |
// we can't immediately apply here because of flood control |
| 166 | 170 |
cvar_set("_cl_playermodel", me.currentModel);
|
| 167 | 171 |
cvar_set("_cl_playerskin", ftos(me.currentSkin));
|
| 172 |
|
|
| 173 |
// client side variables are fine to change here however |
|
| 174 |
if (me.currentModelSpecies == SPECIES_HUMAN) {
|
|
| 175 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 176 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_SOLID) {
|
|
| 177 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 178 |
} else if (me.currentModelSpecies == SPECIES_ALIEN) {
|
|
| 179 |
cvar_set("hud_damage_color", "0.12 0.25 0.06");
|
|
| 180 |
} else if (me.currentModelSpecies == SPECIES_ANIMAL) {
|
|
| 181 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 182 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_RUSTY) {
|
|
| 183 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 184 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_SHINY) {
|
|
| 185 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 186 |
} else if (me.currentModelSpecies == SPECIES_RESERVED) {
|
|
| 187 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 188 |
} else {
|
|
| 189 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 190 |
} |
|
| 168 | 191 |
} |
| 169 | 192 | |
| 170 | 193 |
void XonoticPlayerModelSelector_draw(entity me) |
| b/qcsrc/server/autocvars.qh | ||
|---|---|---|
| 1193 | 1193 |
float autocvar_sv_gameplayfix_gravityunaffectedbyticrate; |
| 1194 | 1194 |
float autocvar_g_trueaim_minrange; |
| 1195 | 1195 |
float autocvar_g_debug_defaultsounds; |
| 1196 | ||
| 1197 |
float autocvar_g_balance_shotgunautomat_primary_ammo; |
|
| 1198 |
float autocvar_g_balance_shotgunautomat_primary_animtime; |
|
| 1199 |
float autocvar_g_balance_shotgunautomat_primary_bulletconstant; |
|
| 1200 |
float autocvar_g_balance_shotgunautomat_primary_bullets; |
|
| 1201 |
float autocvar_g_balance_shotgunautomat_primary_damage; |
|
| 1202 |
float autocvar_g_balance_shotgunautomat_primary_force; |
|
| 1203 |
float autocvar_g_balance_shotgunautomat_primary_refire; |
|
| 1204 |
float autocvar_g_balance_shotgunautomat_primary_speed; |
|
| 1205 |
float autocvar_g_balance_shotgunautomat_primary_spread; |
|
| 1206 | ||
| 1207 |
float autocvar_g_balance_shotgunautomat_secondary_ammo; |
|
| 1208 |
float autocvar_g_balance_shotgunautomat_secondary_animtime; |
|
| 1209 |
float autocvar_g_balance_shotgunautomat_secondary_bulletconstant; |
|
| 1210 |
float autocvar_g_balance_shotgunautomat_secondary_bullets; |
|
| 1211 |
float autocvar_g_balance_shotgunautomat_secondary_damage; |
|
| 1212 |
float autocvar_g_balance_shotgunautomat_secondary_force; |
|
| 1213 |
float autocvar_g_balance_shotgunautomat_secondary_refire; |
|
| 1214 |
float autocvar_g_balance_shotgunautomat_secondary_speed; |
|
| 1215 |
float autocvar_g_balance_shotgunautomat_secondary_spread; |
|
| 1216 | ||
| 1217 |
float autocvar_g_balance_shotgunautomat_secondary; |
|
| 1218 |
float autocvar_g_balance_shotgunautomat_secondary_melee_delay; |
|
| 1219 |
float autocvar_g_balance_shotgunautomat_secondary_melee_range; |
|
| 1220 |
float autocvar_g_balance_shotgunautomat_secondary_melee_swing; |
|
| 1221 |
float autocvar_g_balance_shotgunautomat_secondary_melee_time; |
|
| 1222 |
float autocvar_g_balance_shotgunautomat_secondary_melee_no_doubleslap; |
|
| 1223 |
float autocvar_g_balance_shotgunautomat_reload_ammo; |
|
| 1224 |
float autocvar_g_balance_shotgunautomat_reload_time; |
|
| 1225 | ||
| 1226 |
float autocvar_g_balance_nukelayer_ammo; |
|
| 1227 |
float autocvar_g_balance_nukelayer_animtime; |
|
| 1228 |
float autocvar_g_balance_nukelayer_damage; |
|
| 1229 |
float autocvar_g_balance_nukelayer_damageforcescale; |
|
| 1230 |
float autocvar_g_balance_nukelayer_detonatedelay; |
|
| 1231 |
float autocvar_g_balance_nukelayer_edgedamage; |
|
| 1232 |
float autocvar_g_balance_nukelayer_force; |
|
| 1233 |
float autocvar_g_balance_nukelayer_health; |
|
| 1234 |
float autocvar_g_balance_nukelayer_lifetime; |
|
| 1235 |
float autocvar_g_balance_nukelayer_lifetime_countdown; |
|
| 1236 |
float autocvar_g_balance_nukelayer_limit; |
|
| 1237 |
float autocvar_g_balance_nukelayer_protection; |
|
| 1238 |
float autocvar_g_balance_nukelayer_proximityradius; |
|
| 1239 |
float autocvar_g_balance_nukelayer_radius; |
|
| 1240 |
float autocvar_g_balance_nukelayer_refire; |
|
| 1241 |
float autocvar_g_balance_nukelayer_remote_damage; |
|
| 1242 |
float autocvar_g_balance_nukelayer_remote_edgedamage; |
|
| 1243 |
float autocvar_g_balance_nukelayer_remote_force; |
|
| 1244 |
float autocvar_g_balance_nukelayer_remote_radius; |
|
| 1245 |
float autocvar_g_balance_nukelayer_speed; |
|
| 1246 |
float autocvar_g_balance_nukelayer_time; |
|
| 1247 |
float autocvar_g_balance_nukelayer_reload_ammo; |
|
| 1248 |
float autocvar_g_balance_nukelayer_reload_time; |
|
| 1249 |
float autocvar_g_balance_nukelayer_enableshockwave; |
|
| 1250 |
float autocvar_g_balance_nukelayer_fire0_damage; |
|
| 1251 |
float autocvar_g_balance_nukelayer_fire0_burntime; |
|
| 1252 |
float autocvar_g_balance_nukelayer_fire0_radius; |
|
| 1253 |
float autocvar_g_balance_nukelayer_fire1_damage; |
|
| 1254 |
float autocvar_g_balance_nukelayer_fire1_burntime; |
|
| 1255 |
float autocvar_g_balance_nukelayer_fire1_radius; |
|
| 1256 |
float autocvar_g_balance_nukelayer_fire2_damage; |
|
| 1257 |
float autocvar_g_balance_nukelayer_fire2_burntime; |
|
| 1258 |
float autocvar_g_balance_nukelayer_fire2_radius; |
|
| 1259 |
float autocvar_g_balance_nukelayer_fire3_damage; |
|
| 1260 |
float autocvar_g_balance_nukelayer_fire3_burntime; |
|
| 1261 |
float autocvar_g_balance_nukelayer_fire3_radius; |
|
| 1262 |
float autocvar_g_balance_nukelayer_fire4_damage; |
|
| 1263 |
float autocvar_g_balance_nukelayer_fire4_burntime; |
|
| 1264 |
float autocvar_g_balance_nukelayer_fire4_radius; |
|
| 1265 |
float autocvar_g_balance_nukelayer_fire5_damage; |
|
| 1266 |
float autocvar_g_balance_nukelayer_fire5_burntime; |
|
| 1267 |
float autocvar_g_balance_nukelayer_fire5_radius; |
|
| 1268 | ||
| 1269 |
float autocvar_g_balance_rocketlauncher_enableshockwave; |
|
| 1270 | ||
| 1271 |
float autocvar_g_balance_grenadelauncher_primary_fragments; |
|
| 1272 |
float autocvar_g_balance_grenadelauncher_primary_fragment_damage; |
|
| 1273 |
float autocvar_g_balance_grenadelauncher_primary_fragment_speed; |
|
| 1274 |
float autocvar_g_balance_grenadelauncher_primary_fragment_bulletconstant; |
|
| 1275 |
float autocvar_g_balance_grenadelauncher_primary_fragment_headshotbonus; |
|
| 1276 |
float autocvar_g_balance_grenadelauncher_primary_fragment_force; |
|
| 1277 |
float autocvar_g_balance_grenadelauncher_primary_fragment_tracer; |
|
| 1278 |
float autocvar_g_balance_grenadelauncher_primary_fragment_gravity; |
|
| 1279 | ||
| 1280 |
float autocvar_g_balance_grenadelauncher_secondary_fragments; |
|
| 1281 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_damage; |
|
| 1282 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_speed; |
|
| 1283 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_bulletconstant; |
|
| 1284 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_headshotbonus; |
|
| 1285 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_force; |
|
| 1286 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_tracer; |
|
| 1287 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_gravity; |
|
| 1288 | ||
| 1289 |
float autocvar_g_balance_tuba_nogibs; |
|
| 1290 |
float autocvar_g_balance_laser_nogibs; |
|
| 1291 |
float autocvar_g_balance_nex_nogibs; |
|
| 1292 |
float autocvar_g_balance_minstanex_nogibs; |
|
| 1293 |
float autocvar_g_balance_crylink_nogibs; |
|
| 1294 |
float autocvar_g_balance_electro_nogibs; |
|
| 1295 |
float autocvar_g_balance_hlac_nogibs; |
|
| 1296 |
float autocvar_g_balance_shotgun_nogibs; |
|
| 1297 |
float autocvar_g_balance_pumpshotgun_nogibs; |
|
| 1298 |
float autocvar_g_balance_rifle_nogibs; |
|
| 1299 |
float autocvar_g_balance_uzi_nogibs; |
|
| 1300 |
float autocvar_g_balance_hmg_nogibs; |
|
| 1301 |
float autocvar_g_balance_mg_nogibs; |
|
| 1302 |
float autocvar_g_balance_rocketlauncher_nogibs; |
|
| 1303 |
float autocvar_g_balance_grenadelauncher_nogibs; |
|
| 1304 |
float autocvar_g_balance_hagar_nogibs; |
|
| 1305 |
float autocvar_g_balance_minelayer_nogibs; |
|
| 1306 |
float autocvar_g_balance_seeker_nogibs; |
|
| 1307 |
float autocvar_g_balance_fireball_nogibs; |
|
| 1308 |
|
|
| 1309 |
float autocvar_g_balance_shotgunautomat_nogibs; |
|
| 1310 |
float autocvar_g_balance_nukelayer_nogibs; |
|
| 1311 |
float autocvar_g_balance_pistol_nogibs; |
|
| 1312 |
|
|
| 1313 |
float autocvar_sv_gibhealth_weapon_nogib_add; |
|
| 1314 | ||
| 1315 |
float autocvar_g_balance_pistol_recoil; |
|
| 1316 |
float autocvar_g_balance_pistol_bursttime; |
|
| 1317 |
float autocvar_g_balance_pistol_primary_ammo; |
|
| 1318 |
float autocvar_g_balance_pistol_primary_animtime; |
|
| 1319 |
float autocvar_g_balance_pistol_primary_bulletconstant; |
|
| 1320 |
float autocvar_g_balance_pistol_primary_bullethail; |
|
| 1321 |
float autocvar_g_balance_pistol_primary_burstcost; |
|
| 1322 |
float autocvar_g_balance_pistol_primary_damage; |
|
| 1323 |
float autocvar_g_balance_pistol_primary_force; |
|
| 1324 |
float autocvar_g_balance_pistol_primary_headshotaddeddamage; |
|
| 1325 |
float autocvar_g_balance_pistol_primary_lifetime; |
|
| 1326 |
float autocvar_g_balance_pistol_primary_refire; |
|
| 1327 |
float autocvar_g_balance_pistol_primary_shots; |
|
| 1328 |
float autocvar_g_balance_pistol_primary_speed; |
|
| 1329 |
float autocvar_g_balance_pistol_primary_spread; |
|
| 1330 |
//float autocvar_g_balance_pistol_primary_tracer; |
|
| 1331 |
float autocvar_g_balance_pistol_secondary; |
|
| 1332 |
float autocvar_g_balance_pistol_secondary_ammo; |
|
| 1333 |
float autocvar_g_balance_pistol_secondary_animtime; |
|
| 1334 |
float autocvar_g_balance_pistol_secondary_bulletconstant; |
|
| 1335 |
float autocvar_g_balance_pistol_secondary_bullethail; |
|
| 1336 |
float autocvar_g_balance_pistol_secondary_burstcost; |
|
| 1337 |
float autocvar_g_balance_pistol_secondary_damage; |
|
| 1338 |
float autocvar_g_balance_pistol_secondary_force; |
|
| 1339 |
float autocvar_g_balance_pistol_secondary_headshotaddeddamage; |
|
| 1340 |
float autocvar_g_balance_pistol_secondary_lifetime; |
|
| 1341 |
float autocvar_g_balance_pistol_secondary_reload; |
|
| 1342 |
float autocvar_g_balance_pistol_secondary_refire; |
|
| 1343 |
float autocvar_g_balance_pistol_secondary_shots; |
|
| 1344 |
float autocvar_g_balance_pistol_secondary_speed; |
|
| 1345 |
float autocvar_g_balance_pistol_secondary_spread; |
|
| 1346 |
//float autocvar_g_balance_pistol_secondary_tracer; |
|
| 1347 |
float autocvar_g_balance_pistol_reload_ammo; |
|
| 1348 |
float autocvar_g_balance_pistol_reload_time; |
|
| 1349 | ||
| 1350 |
float autocvar_g_balance_uzi_sustained_headshotaddeddamage; |
|
| 1351 |
float autocvar_g_balance_uzi_first_headshotaddeddamage; |
|
| 1352 | ||
| 1353 | ||
| 1354 |
float autocvar_g_balance_hmg_bulletconstant; |
|
| 1355 |
float autocvar_g_balance_hmg_speed; |
|
| 1356 |
float autocvar_g_balance_hmg_spread_add; |
|
| 1357 |
float autocvar_g_balance_hmg_spread_max; |
|
| 1358 |
float autocvar_g_balance_hmg_spread_min; |
|
| 1359 |
float autocvar_g_balance_hmg_sustained_ammo; |
|
| 1360 |
float autocvar_g_balance_hmg_sustained_damage; |
|
| 1361 |
float autocvar_g_balance_hmg_sustained_headshotaddeddamage; |
|
| 1362 |
float autocvar_g_balance_hmg_sustained_force; |
|
| 1363 |
float autocvar_g_balance_hmg_sustained_refire; |
|
| 1364 |
//float autocvar_g_balance_hmg_sustained_spread; |
|
| 1365 |
float autocvar_g_balance_hmg_reload_ammo; |
|
| 1366 |
float autocvar_g_balance_hmg_reload_time; |
|
| 1367 | ||
| 1368 |
float autocvar_g_balance_mg_bulletconstant; |
|
| 1369 |
float autocvar_g_balance_mg_burst; |
|
| 1370 |
float autocvar_g_balance_mg_burst_ammo; |
|
| 1371 |
float autocvar_g_balance_mg_burst_animtime; |
|
| 1372 |
float autocvar_g_balance_mg_burst_refire; |
|
| 1373 |
float autocvar_g_balance_mg_burst_refire2; |
|
| 1374 |
float autocvar_g_balance_mg_burst_spread; |
|
| 1375 |
float autocvar_g_balance_mg_first; |
|
| 1376 |
float autocvar_g_balance_mg_first_ammo; |
|
| 1377 |
float autocvar_g_balance_mg_first_damage; |
|
| 1378 |
float autocvar_g_balance_mg_first_headshotaddeddamage; |
|
| 1379 |
float autocvar_g_balance_mg_first_force; |
|
| 1380 |
float autocvar_g_balance_mg_first_refire; |
|
| 1381 |
float autocvar_g_balance_mg_first_spread; |
|
| 1382 |
float autocvar_g_balance_mg_mode; |
|
| 1383 |
float autocvar_g_balance_mg_speed; |
|
| 1384 |
float autocvar_g_balance_mg_spread_add; |
|
| 1385 |
float autocvar_g_balance_mg_spread_max; |
|
| 1386 |
float autocvar_g_balance_mg_spread_min; |
|
| 1387 |
float autocvar_g_balance_mg_sustained_ammo; |
|
| 1388 |
float autocvar_g_balance_mg_sustained_damage; |
|
| 1389 |
float autocvar_g_balance_mg_sustained_headshotaddeddamage; |
|
| 1390 |
float autocvar_g_balance_mg_sustained_force; |
|
| 1391 |
float autocvar_g_balance_mg_sustained_refire; |
|
| 1392 |
float autocvar_g_balance_mg_sustained_spread; |
|
| 1393 |
float autocvar_g_balance_mg_reload_ammo; |
|
| 1394 |
float autocvar_g_balance_mg_reload_time; |
|
| 1395 | ||
| 1396 |
float autocvar_g_balance_pumpshotgun_primary_ammo; |
|
| 1397 |
float autocvar_g_balance_pumpshotgun_primary_animtime; |
|
| 1398 |
float autocvar_g_balance_pumpshotgun_primary_bulletconstant; |
|
| 1399 |
float autocvar_g_balance_pumpshotgun_primary_bullets; |
|
| 1400 |
float autocvar_g_balance_pumpshotgun_primary_damage; |
|
| 1401 |
float autocvar_g_balance_pumpshotgun_primary_force; |
|
| 1402 |
float autocvar_g_balance_pumpshotgun_primary_refire; |
|
| 1403 |
float autocvar_g_balance_pumpshotgun_primary_speed; |
|
| 1404 |
float autocvar_g_balance_pumpshotgun_primary_spread; |
|
| 1405 |
float autocvar_g_balance_pumpshotgun_secondary; |
|
| 1406 |
float autocvar_g_balance_pumpshotgun_secondary_animtime; |
|
| 1407 |
float autocvar_g_balance_pumpshotgun_secondary_damage; |
|
| 1408 |
float autocvar_g_balance_pumpshotgun_secondary_force; |
|
| 1409 |
float autocvar_g_balance_pumpshotgun_secondary_melee_delay; |
|
| 1410 |
float autocvar_g_balance_pumpshotgun_secondary_melee_range; |
|
| 1411 |
float autocvar_g_balance_pumpshotgun_secondary_melee_swing_side; |
|
| 1412 |
float autocvar_g_balance_pumpshotgun_secondary_melee_swing_up; |
|
| 1413 |
float autocvar_g_balance_pumpshotgun_secondary_melee_time; |
|
| 1414 |
float autocvar_g_balance_pumpshotgun_secondary_melee_traces; |
|
| 1415 |
float autocvar_g_balance_pumpshotgun_secondary_melee_no_doubleslap; |
|
| 1416 |
float autocvar_g_balance_pumpshotgun_secondary_melee_nonplayerdamage; |
|
| 1417 |
float autocvar_g_balance_pumpshotgun_secondary_melee_multihit; |
|
| 1418 |
float autocvar_g_balance_pumpshotgun_secondary_refire; |
|
| 1419 |
float autocvar_g_balance_pumpshotgun_reload_ammo; |
|
| 1420 |
float autocvar_g_balance_pumpshotgun_reload_time; |
|
| 1421 | ||
| 1422 |
float autocvar_g_balance_grenadelauncher_primary_failurerate; |
|
| 1423 |
float autocvar_g_balance_grenadelauncher_secondary_failurerate; |
|
| 1424 | ||
| 1425 |
float autocvar_g_balance_rocketlauncher_primary_failurerate; |
|
| 1426 |
float autocvar_g_balance_rocketlauncher_secondary_failurerate; |
|
| 1427 |
float autocvar_g_balance_rocketlauncher_commlink_failurerate; |
|
| 1428 | ||
| 1429 |
float autocvar_g_balance_seeker_missile_failurerate; |
|
| 1430 | ||
| 1431 |
float autocvar_g_balance_hagar_primary_failurerate; |
|
| 1432 |
float autocvar_g_balance_hagar_secondary_failurerate; |
|
| 1433 | ||
| 1434 |
float autocvar_g_balance_minelayer_primary_failurerate; |
|
| 1435 |
float autocvar_g_balance_minelayer_secondary_failurerate; |
|
| 1436 | ||
| 1437 |
float autocvar_g_balance_uzi_jamrate; |
|
| 1438 |
float autocvar_g_balance_uzi_clearjam_time; |
|
| 1439 | ||
| 1440 |
float autocvar_g_balance_mg_jamrate; |
|
| 1441 |
float autocvar_g_balance_mg_clearjam_time; |
|
| 1442 | ||
| 1443 |
float autocvar_g_balance_shotgunautomat_jamrate; |
|
| 1444 |
float autocvar_g_balance_shotgunautomat_clearjam_time; |
|
| 1445 | ||
| 1446 |
float autocvar_g_balance_shotgun_jamrate; |
|
| 1447 |
float autocvar_g_balance_shotgun_clearjam_time; |
|
| 1448 | ||
| 1449 |
float autocvar_g_balance_pumpshotgun_jamrate; |
|
| 1450 |
float autocvar_g_balance_pumpshotgun_clearjam_time; |
|
| 1451 | ||
| 1452 |
float autocvar_g_balance_pistol_jamrate; |
|
| 1453 |
float autocvar_g_balance_pistol_clearjam_time; |
|
| 1454 | ||
| 1455 |
float autocvar_g_balance_hmg_jamrate; |
|
| 1456 |
float autocvar_g_balance_hmg_clearjam_time; |
|
| 1457 | ||