diff-xonotic-mod-dec_17c_2011.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 |
set g_showweaponspawns 1 |
|
| 5 | ||
| 6 |
set g_antilag_bullets 0 |
|
| 7 |
set g_ballistics_force 1 |
|
| 8 |
set g_casings 2 |
|
| 9 | ||
| 10 |
exec vehicle_spiderbot.cfg |
|
| 11 |
exec vehicle_racer.cfg |
|
| 12 |
exec vehicle_raptor.cfg |
|
| 13 | ||
| 14 |
//Main setting config for this mod |
|
| 15 |
exec fastweap.cfg |
|
| 16 | ||
| 17 |
//Looks like we're aming from the sholder, all tacticool, |
|
| 18 |
// also can see all the details on the sides of the guns, which is nice |
|
| 19 |
// also can shoot crouched from behind cover without hitting the cover |
|
| 20 |
exec shootfromrightshoulder.cfg |
|
| 21 | ||
| 22 |
// When you die, you are dead on the floor |
|
| 23 |
set g_respawn_ghosts 0 |
|
| 24 | ||
| 25 |
set g_projectiles_newton_style 2 |
|
| 26 |
set g_projectiles_newton_style_2_maxfactor 1000000 |
|
| 27 |
//0.01 causes nades to shoot many of it's projectiles downward |
|
| 28 |
set g_projectiles_newton_style_2_minfactor 0.8 |
|
| 29 | ||
| 30 |
//So we may use the new weapons: |
|
| 31 |
set g_weaponreplace_uzi "uzi uzi shotgunautomat uzi uzi hmg" |
|
| 32 |
set g_weaponreplace_nex "nex nex rifle" |
|
| 33 |
set g_weaponreplace_rifle "rifle rifle minstanex" |
|
| 34 |
set g_weaponreplace_hagar "hagar hagar minelayer" |
|
| 35 |
set g_weaponreplace_minelayer "minelayer minelayer porto" |
|
| 36 |
set g_weaponreplace_electro "electro electro fireball" |
|
| 37 |
set g_weaponreplace_rocketlauncher "rocketlauncher rocketlauncher seeker" |
|
| 38 |
set g_weaponreplace_hlac "hlac hlac mg" |
|
| 39 | ||
| 40 |
//Give everyone a pistol at start too |
|
| 41 |
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 | ||
| 60 |
//What should gib and what should not |
|
| 61 |
set g_balance_tuba_nogibs 1 |
|
| 62 |
set g_balance_laser_nogibs 1 |
|
| 63 |
set g_balance_nex_nogibs 1 |
|
| 64 |
set g_balance_minstanex_nogibs 1 |
|
| 65 |
set g_balance_crylink_nogibs 1 // I don't think the crylink has enough elec to destroy a body |
|
| 66 |
set g_balance_electro_nogibs 1 |
|
| 67 |
set g_balance_hlac_nogibs 1 |
|
| 68 |
set g_balance_shotgun_nogibs 0 |
|
| 69 |
set g_balance_rifle_nogibs 1 // The bullet goes through, it doesn't explode inside the person |
|
| 70 |
set g_balance_uzi_nogibs 1 // Ditto |
|
| 71 |
set g_balance_rocketlauncher_nogibs 0 |
|
| 72 |
set g_balance_grenadelauncher_nogibs 0 |
|
| 73 |
set g_balance_hagar_nogibs 0 |
|
| 74 |
set g_balance_seeker_nogibs 0 |
|
| 75 |
set g_balance_minelayer_nogibs 0 |
|
| 76 |
set g_balance_fireball_nogibs 1 |
|
| 77 |
set g_balance_hmg_nogibs 1 |
|
| 78 |
set g_balance_mg_nogibs 1 |
|
| 79 |
|
|
| 80 |
set g_balance_shotgunautomat_nogibs 0 |
|
| 81 |
set g_balance_nukelayer_nogibs 0 |
|
| 82 |
set g_balance_pistol_nogibs 1 |
|
| 83 | ||
| 84 |
set sv_gibhealth_weapon_nogib_add 999 |
|
| 85 | ||
| 86 |
//How reliable are munitions? |
|
| 87 |
//C13 failure rate 1.0% to 1.7%, Will set to 5% |
|
| 88 |
set g_balance_grenadelauncher_primary_failurerate "0.07" |
|
| 89 |
set g_balance_grenadelauncher_secondary_failurerate "0.05" |
|
| 90 | ||
| 91 |
//Going to set similar to Hellfire |
|
| 92 |
set g_balance_rocketlauncher_primary_failurerate "0.09" |
|
| 93 |
set g_balance_rocketlauncher_secondary_failurerate "0.09" |
|
| 94 |
set g_balance_rocketlauncher_commlink_failurerate "0.12" |
|
| 95 | ||
| 96 |
//40mm's have 3-8% failure rate |
|
| 97 |
set g_balance_hagar_primary_failurerate "0.16" |
|
| 98 |
set g_balance_hagar_secondary_failurerate "0.16" |
|
| 99 | ||
| 100 |
//I'll keep these reliable for now |
|
| 101 |
set g_balance_minelayer_primary_failurerate "0.01" |
|
| 102 |
set g_balance_minelayer_secondary_failurerate "0.01" |
|
| 103 | ||
| 104 |
set g_balance_uzi_jamrate "0.005" |
|
| 105 |
set g_balance_uzi_clearjam_time "3.5" |
|
| 106 | ||
| 107 |
set g_balance_mg_jamrate "0.0025" |
|
| 108 |
set g_balance_mg_clearjam_time "3.5" |
|
| 109 | ||
| 110 |
set g_balance_shotgunautomat_jamrate "0.002" |
|
| 111 |
set g_balance_shotgunautomat_clearjam_time "4" |
|
| 112 | ||
| 113 |
//Uzi, The machinegun. Shoots through sheetrock walls with ease. |
|
| 114 |
set g_balance_uzi_speed 18000 |
|
| 115 |
set g_balance_uzi_sustained_refire "0.05" |
|
| 116 |
set g_balance_uzi_first_refire "0.1" |
|
| 117 |
set g_balance_uzi_sustained_damage "25" |
|
| 118 |
set g_balance_uzi_first_damage "25" |
|
| 119 |
set g_balance_uzi_first_spread "0.007" |
|
| 120 |
set g_balance_uzi_spread_add "0.001" |
|
| 121 |
set g_balance_uzi_spread_min "0.018" |
|
| 122 |
set g_balance_uzi_spread_max "0.14" |
|
| 123 |
set g_balance_uzi_bulletconstant "115" |
|
| 124 |
set g_balance_uzi_reload_ammo "30" |
|
| 125 |
set g_balance_uzi_burst_refire "0.01" |
|
| 126 |
set g_balance_uzi_sustained_headshotaddeddamage 80 |
|
| 127 |
set g_balance_uzi_first_headshotaddeddamage 80 |
|
| 128 | ||
| 129 |
//Assault Rifle |
|
| 130 |
set g_balance_mg_mode 1 // Activates varible spread for sustained & burst mode secondary |
|
| 131 |
set g_balance_mg_spread_add 0.001 |
|
| 132 |
set g_balance_mg_spread_min 0.006 |
|
| 133 |
set g_balance_mg_spread_max 0.05 |
|
| 134 | ||
| 135 |
set g_balance_mg_burst 3 // # of bullets in a burst (if set to 2 or more) |
|
| 136 |
set g_balance_mg_burst_animtime 0.3 |
|
| 137 |
set g_balance_mg_burst_refire 0.1 // refire between burst bullets |
|
| 138 |
set g_balance_mg_burst_refire2 0.01 // refire after burst |
|
| 139 |
set g_balance_mg_burst_spread 0.006 |
|
| 140 |
|
|
| 141 |
set g_balance_mg_burst_force 20 |
|
| 142 |
set g_balance_mg_burst_ammo 6 |
|
| 143 | ||
| 144 |
set g_balance_mg_first 1 |
|
| 145 |
set g_balance_mg_first_headshotaddeddamage 90 |
|
| 146 |
set g_balance_mg_first_force 5 |
|
| 147 |
set g_balance_mg_first_spread 0.006 |
|
| 148 |
set g_balance_mg_first_refire 0.2 |
|
| 149 |
set g_balance_mg_first_ammo 2 // Between rifle and uzi |
|
| 150 | ||
| 151 |
set g_balance_mg_sustained_headshotaddeddamage 90 |
|
| 152 |
set g_balance_mg_sustained_force 5 |
|
| 153 |
set g_balance_mg_sustained_spread 0.03 |
|
| 154 |
set g_balance_mg_sustained_refire 0.1 |
|
| 155 |
set g_balance_mg_sustained_ammo 2 // Between rifle and uzi |
|
| 156 | ||
| 157 |
set g_balance_mg_speed 24000 |
|
| 158 |
set g_balance_mg_bulletconstant 117 // Between rifle and uzi |
|
| 159 |
set g_balance_mg_reload_ammo 48 //2 ammo cost * 24 shots |
|
| 160 |
set g_balance_mg_reload_time 2 // Norm |
|
| 161 | ||
| 162 |
set g_balance_mg_burst_damage 47 |
|
| 163 |
set g_balance_mg_sustained_damage 47 |
|
| 164 |
set g_balance_mg_first_damage 47 |
|
| 165 | ||
| 166 | ||
| 167 |
seta crosshair_mg "" "crosshair to display when wielding the machinegun" |
|
| 168 |
seta crosshair_mg_color "1 0.9 0.55" "crosshair color to display when wielding the machinegun" |
|
| 169 |
seta crosshair_mg_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" |
|
| 170 |
seta crosshair_mg_size 0.6 "crosshair size when wielding the machinegun" |
|
| 171 | ||
| 172 | ||
| 173 |
//Shotgun. Will shoot through a door, a window, or a thin wall. |
|
| 174 |
set g_balance_shotgun_primary_speed 12000 |
|
| 175 |
set g_balance_shotgun_primary_bullets "22" |
|
| 176 |
set g_balance_shotgun_primary_bulletconstant "100" |
|
| 177 |
set g_balance_shotgun_primary_damage "12" |
|
| 178 |
set g_balance_shotgun_primary_force "90" |
|
| 179 |
set g_balance_shotgun_secondary_bullets "22" |
|
| 180 |
set g_balance_shotgun_primary_spread "0.06" |
|
| 181 |
set g_balance_shotgun_secondary_spread "0.14" |
|
| 182 |
set g_balance_shotgun_primary_force "90" |
|
| 183 |
set g_balance_shotgun_reload_ammo "5" |
|
| 184 | ||
| 185 |
exec pumpshotgun.cfg |
|
| 186 | ||
| 187 |
exec shotgunautomat.cfg |
|
| 188 |
//ShotgunAutomat. Will shoot through a door, a window, or a thin wall... Quickly. |
|
| 189 |
set g_balance_shotgunautomat_primary_refire 0.13 |
|
| 190 |
set g_balance_shotgunautomat_primary_animtime 0.1 |
|
| 191 |
set g_balance_shotgunautomat_primary_speed 12000 |
|
| 192 |
set g_balance_shotgunautomat_primary_bullets "22" |
|
| 193 |
set g_balance_shotgunautomat_primary_bulletconstant "100" |
|
| 194 |
set g_balance_shotgunautomat_primary_ammo "1" |
|
| 195 |
set g_balance_shotgunautomat_primary_damage "12" |
|
| 196 |
set g_balance_shotgunautomat_primary_force "90" |
|
| 197 |
set g_balance_shotgunautomat_primary_spread "0.06" |
|
| 198 |
set g_balance_shotgunautomat_secondary_refire 0.8 |
|
| 199 |
set g_balance_shotgunautomat_secondary_animtime 0.2 |
|
| 200 |
set g_balance_shotgunautomat_secondary_speed 12000 |
|
| 201 |
set g_balance_shotgunautomat_secondary_bullets "66" |
|
| 202 |
set g_balance_shotgunautomat_secondary_bulletconstant "100" |
|
| 203 |
set g_balance_shotgunautomat_secondary_ammo "3" |
|
| 204 |
set g_balance_shotgunautomat_secondary_damage "12" |
|
| 205 |
set g_balance_shotgunautomat_secondary_force "90" |
|
| 206 |
set g_balance_shotgunautomat_secondary_spread "0.14" |
|
| 207 |
set g_balance_shotgunautomat_reload_ammo "9" |
|
| 208 | ||
| 209 |
exec nukelayer.cfg |
|
| 210 |
set g_balance_nukelayer_limit 1 |
|
| 211 |
set g_balance_nukelayer_reload_ammo 0 //Since we only allow one, no point to having this set. |
|
| 212 | ||
| 213 |
set g_balance_rocketlauncher_health 28 |
|
| 214 |
set g_balance_rocketlauncher_speed 2200 |
|
| 215 |
set g_balance_rocketlauncher_speedaccel 1800 |
|
| 216 |
set g_balance_rocketlauncher_speedstart 800 |
|
| 217 |
set g_balance_rocketlauncher_radius "253" |
|
| 218 |
set g_balance_rocketlauncher_damage "300" |
|
| 219 |
set g_balance_rocketlauncher_edgedamage "125" |
|
| 220 |
set g_balance_rocketlauncher_force 500 |
|
| 221 |
set g_balance_rocketlauncher_remote_radius "221" //0.875 * primary, rounded down |
|
| 222 |
set g_balance_rocketlauncher_remote_damage "262" //0.875 * primary, rounded down |
|
| 223 |
set g_balance_rocketlauncher_remote_edgedamage "109" //0.875 * primary, rounded down |
|
| 224 |
set g_balance_rocketlauncher_remote_force 500 |
|
| 225 |
set g_balance_rocketlauncher_ammo 4 |
|
| 226 |
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 |
|
| 227 |
set g_balance_rocketlauncher_reload_time 2 |
|
| 228 | ||
| 229 |
set g_balance_grenadelauncher_primary_damage "100" |
|
| 230 |
set g_balance_grenadelauncher_primary_edgedamage "60" |
|
| 231 |
set g_balance_grenadelauncher_primary_radius 140 |
|
| 232 |
set g_balance_grenadelauncher_primary_health 30 |
|
| 233 |
set g_balance_grenadelauncher_secondary_health 30 |
|
| 234 |
set g_balance_grenadelauncher_secondary_damage "100" |
|
| 235 |
set g_balance_grenadelauncher_secondary_edgedamage "60" |
|
| 236 |
set g_balance_grenadelauncher_secondary_radius 140 |
|
| 237 |
set g_balance_grenadelauncher_primary_ammo 2 |
|
| 238 |
set g_balance_grenadelauncher_secondary_ammo 2 |
|
| 239 |
set g_balance_grenadelauncher_reload_ammo 12 //default: 12 //fast shooter |
|
| 240 |
set g_balance_grenadelauncher_reload_time 0.8 //quick reload |
|
| 241 | ||
| 242 |
set g_balance_grenadelauncher_secondary_fragments 500 |
|
| 243 |
set g_balance_grenadelauncher_secondary_fragment_damage 40 |
|
| 244 |
set g_balance_grenadelauncher_secondary_fragment_speed 700 |
|
| 245 |
set g_balance_grenadelauncher_secondary_fragment_bulletconstant 1000 //1000 bulletconstant * 500speed = goes through thin wall |
|
| 246 |
set g_balance_grenadelauncher_secondary_fragment_headshotbonus 40 |
|
| 247 |
set g_balance_grenadelauncher_secondary_fragment_force 15 |
|
| 248 |
set g_balance_grenadelauncher_secondary_fragment_tracer 0 |
|
| 249 |
set g_balance_grenadelauncher_secondary_fragment_gravity 1 |
|
| 250 | ||
| 251 |
set g_balance_grenadelauncher_primary_fragments 100 |
|
| 252 |
set g_balance_grenadelauncher_primary_fragment_damage 80 |
|
| 253 |
set g_balance_grenadelauncher_primary_fragment_speed 700 |
|
| 254 |
set g_balance_grenadelauncher_primary_fragment_bulletconstant 1500 |
|
| 255 |
set g_balance_grenadelauncher_primary_fragment_headshotbonus 60 |
|
| 256 |
set g_balance_grenadelauncher_primary_fragment_force 30 |
|
| 257 |
set g_balance_grenadelauncher_primary_fragment_tracer 1 |
|
| 258 |
set g_balance_grenadelauncher_primary_fragment_gravity 1 |
|
| 259 | ||
| 260 |
set g_balance_nex_damage "150" // Nexuiz |
|
| 261 |
set g_balance_nex_primary_damage "150" // Xonotic |
|
| 262 |
set g_balance_nex_primary_force "0" //So it won't gib via force//Default was 400 |
|
| 263 | ||
| 264 |
set g_balance_hagar_primary_damage "70" |
|
| 265 |
set g_balance_hagar_secondary_damage "70" |
|
| 266 |
set g_balance_hagar_secondary_ammo 1 |
|
| 267 |
set g_balance_hagar_secondary_load_max 6 |
|
| 268 |
set g_balance_hagar_secondary_load_hold "-1" |
|
| 269 |
set g_balance_hagar_secondary_load_releasedeath 1 |
|
| 270 |
set g_balance_hagar_primary_ammo 1 |
|
| 271 |
set g_balance_hagar_reload_ammo 100 //100 round belt of 'nades |
|
| 272 |
set g_balance_hagar_reload_time 3 //Takes awhile to get the next 'nade belt hooked up |
|
| 273 | ||
| 274 |
set g_balance_crylink_primary_force -55 |
|
| 275 |
set g_balance_crylink_primary_damage 18 |
|
| 276 |
set g_balance_crylink_primary_bounces "7" |
|
| 277 |
set g_balance_crylink_primary_shots "6" |
|
| 278 |
set g_balance_crylink_secondary_force -40 |
|
| 279 |
set g_balance_crylink_secondary_damage 18 |
|
| 280 |
set g_balance_crylink_secondary_shots "11" |
|
| 281 |
set g_balance_crylink_secondary_refire "0.3" |
|
| 282 | ||
| 283 |
// set g_balance_electro_primary_damage "110" // Nexuiz |
|
| 284 |
//set g_balance_electro_primary_damage "220" // Old Xonotic where electro was like a lightning gun |
|
| 285 |
set g_balance_electro_primary_damage "90" |
|
| 286 |
set g_balance_electro_secondary_damage "80" |
|
| 287 |
set g_balance_electro_secondary_count "100" |
|
| 288 |
set g_balance_electro_primary_force 200 |
|
| 289 |
set g_balance_electro_secondary_force 200 |
|
| 290 |
set g_balance_electro_combo_force 120 |
|
| 291 | ||
| 292 |
set g_balance_seeker_missile_health 1 |
|
| 293 |
set g_balance_seeker_missile_damage 90 |
|
| 294 |
set g_balance_seeker_missile_edgedamage 30 |
|
| 295 |
set g_balance_seeker_missile_radius 90 |
|
| 296 |
set g_balance_seeker_flac_damage 25 |
|
| 297 |
set g_balance_seeker_flac_edgedamage 20 |
|
| 298 |
set g_balance_seeker_type 0 |
|
| 299 |
set g_balance_seeker_tag_speed 10000 |
|
| 300 | ||
| 301 | ||
| 302 |
set g_balance_hlac_primary_damage 55 |
|
| 303 |
set g_balance_hlac_primary_refire 0.1 |
|
| 304 |
set g_balance_hlac_secondary_damage 55 |
|
| 305 | ||
| 306 |
//Fires same bullets as Rifle |
|
| 307 |
set g_balance_hmg_spread_min 0.003 //Less than uzi |
|
| 308 |
set g_balance_hmg_spread_max 0.03 //Less than uzi |
|
| 309 |
set g_balance_hmg_spread_add 0.0005 |
|
| 310 |
set g_balance_hmg_sustained_damage 95 |
|
| 311 |
set g_balance_hmg_sustained_headshotaddeddamage 130 //less speed less trauma? |
|
| 312 |
set g_balance_hmg_sustained_force 10 // Same as Rifle |
|
| 313 |
set g_balance_hmg_sustained_spread 0.03 |
|
| 314 |
set g_balance_hmg_sustained_refire 0.09 |
|
| 315 |
set g_balance_hmg_sustained_ammo 3 |
|
| 316 |
set g_balance_hmg_speed 30000 //Shorter barrel(s) than Rifle |
|
| 317 |
set g_balance_hmg_bulletconstant 119 // Same as Rifle |
|
| 318 |
set g_balance_hmg_reload_ammo 360 //120(amnt of bullets in belt)*3(cost of each) |
|
| 319 |
set g_balance_hmg_reload_time 3 //Got to load belt |
|
| 320 | ||
| 321 |
seta crosshair_hmg "" "crosshair to display when wielding the machinegun" |
|
| 322 |
seta crosshair_hmg_color "0.9 0.4 0.35" "crosshair color to display when wielding the machinegun" |
|
| 323 |
seta crosshair_hmg_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" |
|
| 324 |
seta crosshair_hmg_size 0.6 "crosshair size when wielding the machinegun" |
|
| 325 | ||
| 326 | ||
| 327 |
//Sniper Rifle. Will shoot through concrete, has long range. |
|
| 328 |
//##Nexuiz sniper/camping rifle: |
|
| 329 |
set g_balance_campingrifle_primary_damage 95 |
|
| 330 |
set g_balance_campingrifle_primary_headshotaddeddamage 260 |
|
| 331 |
set g_balance_campingrifle_secondary_force 10 |
|
| 332 |
set g_balance_campingrifle_secondary_burstcost 0 |
|
| 333 |
set g_balance_campingrifle_primary_speed 55000 // Old 40000 |
|
| 334 |
set g_balance_campingrifle_primary_bulletconstant 119 // Old 480 |
|
| 335 |
set g_balance_campingrifle_secondary_refire 0.06 |
|
| 336 |
set g_balance_campingrifle_secondary_animtime 0.06 |
|
| 337 |
set g_balance_campingrifle_secondary_speed 30000 |
|
| 338 |
set g_balance_campingrifle_magazinecapacity 30 |
|
| 339 |
//set g_ballistics_force_shotgun_bulletconstant 130 //OLD |
|
| 340 |
//set g_ballistics_force_uzi_bulletconstant 245 //OLD |
|
| 341 |
set g_balance_campingrifle_secondary_ammo 3 |
|
| 342 |
set g_balance_campingrifle_primary_ammo 3 |
|
| 343 |
set g_balance_campingrifle_secondary_tracer 1 |
|
| 344 |
set g_balance_campingrifle_primary_tracer 0 |
|
| 345 |
//##Old Xonotic sniper/camping rifle |
|
| 346 |
set g_balance_sniperrifle_primary_damage 95 |
|
| 347 |
set g_balance_sniperrifle_primary_headshotaddeddamage 260 |
|
| 348 |
set g_balance_sniperrifle_secondary_force 10 |
|
| 349 |
set g_balance_sniperrifle_secondary_burstcost 0 |
|
| 350 |
set g_balance_sniperrifle_primary_speed 55000 |
|
| 351 |
set g_balance_sniperrifle_primary_bulletconstant 119 |
|
| 352 |
set g_balance_sniperrifle_primary_refire "0.5" |
|
| 353 |
set g_balance_sniperrifle_secondary_refire 0.06 |
|
| 354 |
set g_balance_sniperrifle_secondary_animtime 0.06 |
|
| 355 |
set g_balance_sniperrifle_secondary_speed 30000 |
|
| 356 |
set g_balance_sniperrifle_magazinecapacity 30 |
|
| 357 |
set g_balance_sniperrifle_secondary_ammo 3 |
|
| 358 |
set g_balance_sniperrifle_primary_ammo 3 |
|
| 359 |
set g_balance_sniperrifle_secondary_tracer 1 |
|
| 360 |
set g_balance_sniperrifle_primary_tracer 0 |
|
| 361 |
//##Newer Xonotic |
|
| 362 |
set g_balance_rifle_primary_damage 95 |
|
| 363 |
set g_balance_rifle_primary_headshotaddeddamage 260 |
|
| 364 |
set g_balance_rifle_secondary_force 10 |
|
| 365 |
set g_balance_rifle_secondary_burstcost 0 |
|
| 366 |
set g_balance_rifle_primary_speed 55000 |
|
| 367 |
set g_balance_rifle_primary_bulletconstant 119 |
|
| 368 |
set g_balance_rifle_primary_refire "0.5" |
|
| 369 |
set g_balance_rifle_secondary_refire 0.06 |
|
| 370 |
set g_balance_rifle_secondary_animtime 0.06 |
|
| 371 |
set g_balance_rifle_secondary_speed 30000 |
|
| 372 |
set g_balance_rifle_reload_ammo 18 |
|
| 373 |
set g_balance_rifle_secondary_ammo 9 |
|
| 374 |
set g_balance_rifle_secondary_shots 3 |
|
| 375 |
set g_balance_rifle_primary_ammo 3 |
|
| 376 |
set g_balance_rifle_secondary_tracer 1 |
|
| 377 |
set g_balance_rifle_primary_tracer 0 |
|
| 378 |
set g_balance_rifle_secondary_damage 30 |
|
| 379 |
set g_balance_rifle_secondary_headshotaddeddamage 20 |
|
| 380 | ||
| 381 |
set g_balance_minelayer_health 15 |
|
| 382 |
set g_balance_minelayer_limit 100 |
|
| 383 |
set g_balance_minelayer_lifetime 99999 |
|
| 384 |
set g_balance_minelayer_damage 250 |
|
| 385 |
set g_balance_minelayer_edgedamage 20 |
|
| 386 |
set g_balance_minelayer_remotedamage 120 |
|
| 387 |
set g_balance_minelayer_ammo 4 |
|
| 388 |
set g_balance_minelayer_reload_ammo 0 // 40 if one wants to reload after 10 |
|
| 389 |
set g_balance_minelayer_reload_time 1.25 |
|
| 390 |
set g_balance_minelayer_persistent 1 |
|
| 391 | ||
| 392 |
set g_balance_fireball_primary_damagetime 9 |
|
| 393 |
set g_balance_fireball_primary_lifetime 10 |
|
| 394 |
set g_balance_fireball_primary_refire 0.5 |
|
| 395 |
set g_balance_fireball_primary_laserradius 256 |
|
| 396 |
set g_balance_fireball_secondary_edgedamage 20 |
|
| 397 |
set g_balance_fireball_secondary_damage 120 |
|
| 398 |
set g_balance_fireball_secondary_laserradius 192 |
|
| 399 |
set g_balance_fireball_secondary_lifetime 30 |
|
| 400 |
set g_balance_fireball_secondary_refire 0.9 |
|
| 401 | ||
| 402 |
//##Mod, pistol |
|
| 403 |
// {{{ pistol
|
|
| 404 |
exec pistol.cfg |
|
| 405 |
set g_balance_pistol_bursttime 0 |
|
| 406 |
set g_balance_pistol_primary_tracer 0 //bullet too slow for tracer |
|
| 407 |
set g_balance_pistol_primary_shots 1 |
|
| 408 |
set g_balance_pistol_primary_damage 25 //same as uzi, same ammo |
|
| 409 |
set g_balance_pistol_primary_headshotaddeddamage 80 |
|
| 410 |
set g_balance_pistol_primary_spread 0.02 |
|
| 411 |
set g_balance_pistol_primary_force 20 |
|
| 412 |
set g_balance_pistol_primary_speed 16000 //reduced from uzi due to shorter barrel |
|
| 413 |
set g_balance_pistol_primary_lifetime 5 |
|
| 414 |
set g_balance_pistol_primary_refire 0.2 |
|
| 415 |
set g_balance_pistol_primary_animtime 0.2 |
|
| 416 |
set g_balance_pistol_primary_ammo 1 |
|
| 417 |
set g_balance_pistol_primary_bulletconstant 115 |
|
| 418 |
set g_balance_pistol_primary_burstcost 0 |
|
| 419 |
set g_balance_pistol_primary_bullethail 0 // empty magazine on shot |
|
| 420 |
set g_balance_pistol_secondary 1 |
|
| 421 |
set g_balance_pistol_secondary_reload 0 |
|
| 422 |
set g_balance_pistol_secondary_tracer 0 |
|
| 423 |
set g_balance_pistol_secondary_shots 1 |
|
| 424 |
set g_balance_pistol_secondary_damage 10 |
|
| 425 |
set g_balance_pistol_secondary_headshotaddeddamage 80 |
|
| 426 |
set g_balance_pistol_secondary_spread 0.06 |
|
| 427 |
set g_balance_pistol_secondary_force 20 |
|
| 428 |
set g_balance_pistol_secondary_speed 16000 |
|
| 429 |
set g_balance_pistol_secondary_lifetime 5 |
|
| 430 |
set g_balance_pistol_secondary_refire 0.05 |
|
| 431 |
set g_balance_pistol_secondary_animtime 0.05 |
|
| 432 |
set g_balance_pistol_secondary_ammo 1 |
|
| 433 |
set g_balance_pistol_secondary_bulletconstant 115 |
|
| 434 |
set g_balance_pistol_secondary_burstcost 0 |
|
| 435 |
set g_balance_pistol_secondary_bullethail 0 // empty magazine on shot |
|
| 436 |
set g_balance_pistol_reload_ammo 10 //default: 10 |
|
| 437 |
set g_balance_pistol_reload_time 2 |
|
| 438 |
// }}} |
|
| 439 | ||
| 440 |
//1 q-unit |
|
| 441 |
//set g_ballistics_mindistance 1 |
|
| 442 |
//0 q-unit |
|
| 443 |
set g_ballistics_mindistance 0 |
|
| 444 | ||
| 445 |
//set g_casings 2 |
|
| 446 |
set g_antilag_bullets 0 |
|
| 447 | ||
| 448 |
////Vehicle stuff |
|
| 449 | ||
| 450 |
//Spiderbot: Anti armor 20 mm gatling gun cannons, Anti-personell rockets. |
|
| 451 |
set g_vehicle_spiderbot_health 10600 |
|
| 452 |
set g_vehicle_spiderbot_rocket_damage 250 |
|
| 453 |
set g_vehicle_spiderbot_rocket_edgedamage 150 |
|
| 454 |
set g_vehicle_spiderbot_rocket_force 200 |
|
| 455 |
set g_vehicle_spiderbot_rocket_radius 300 |
|
| 456 |
set g_vehicle_spiderbot_rocket_speed 1800 |
|
| 457 |
set g_vehicle_spiderbot_crush_dmg 100 |
|
| 458 |
set g_vehicle_spiderbot_health_regen 20 |
|
| 459 | ||
| 460 |
set g_vehicle_spiderbot_minigun_refire 0.01 |
|
| 461 |
set g_vehicle_spiderbot_minigun_damage 100 // 20mm shells do damage. |
|
| 462 | ||
| 463 |
set g_vehicle_spiderbot_minigun_expelbulletcasings 1 |
|
| 464 |
set g_vehicle_spiderbot_minigun_enableballistics 1 |
|
| 465 |
set g_vehicle_spiderbot_minigun_speed 48000 |
|
| 466 |
set g_vehicle_spiderbot_minigun_force 4 |
|
| 467 |
set g_vehicle_spiderbot_minigun_bulletconstant 470 // 20mm shells are good penetrators. |
|
| 468 | ||
| 469 |
//Raptor flying vehicle: good for destroying ground troops (energy cannon) and spiderbot formations (bomblets) |
|
| 470 |
set g_vehicle_raptor_bomblets 66 |
|
| 471 |
set g_vehicle_raptor_bomblet_alt 2200 |
|
| 472 |
set g_vehicle_raptor_bomblet_time 0.1 |
|
| 473 |
set g_vehicle_raptor_bomblet_spread 0.65 |
|
| 474 |
set g_vehicle_raptor_bomblet_damage 300 |
|
| 475 |
set g_vehicle_raptor_bomblet_edgedamage 150 |
|
| 476 |
set g_vehicle_raptor_bomblet_radius 600 |
|
| 477 |
set g_vehicle_raptor_bomblet_force 300 |
|
| 478 |
set g_vehicle_raptor_bombs_refire 6 |
|
| 479 | ||
| 480 |
set g_vehicle_raptor_cannon_cost 6 |
|
| 481 |
set g_vehicle_raptor_cannon_damage 60 |
|
| 482 |
set g_vehicle_raptor_cannon_radius 45 |
|
| 483 |
set g_vehicle_raptor_cannon_refire 0.0025 |
|
| 484 |
set g_vehicle_raptor_cannon_speed 9000 |
|
| 485 |
set g_vehicle_raptor_cannon_spread 0.0125 |
|
| 486 | ||
| 487 |
set g_vehicle_raptor_energy 840 |
|
| 488 |
set g_vehicle_raptor_energy_regen 40 |
|
| 489 |
set g_vehicle_raptor_energy_regen_pause 1 |
|
| 490 | ||
| 491 |
set g_vehicle_raptor_health 800 |
|
| 492 |
set g_vehicle_raptor_health_regen 0 |
|
| 493 |
set g_vehicle_raptor_health_regen_pause 0 |
|
| 494 | ||
| 495 |
//Raptor misc |
|
| 496 |
set g_vehicle_raptor_guns_turnspeed 90 |
|
| 497 |
set g_vehicle_raptor_guns_turnlimit 20 |
|
| 498 |
set g_vehicle_raptor_guns_pitchlimit_up 12 |
|
| 499 |
set g_vehicle_raptor_guns_pitchlimit_down 32 |
|
| 500 | ||
| 501 |
set g_vehicle_raptor_movestyle 1 |
|
| 502 | ||
| 503 |
set g_vehicle_raptor_turnroll 0.1 |
|
| 504 | ||
| 505 |
set g_vehicle_raptor_turnspeed 70 |
|
| 506 |
set g_vehicle_raptor_pitchspeed 30 |
|
| 507 |
set g_vehicle_raptor_pitchlimit 35 |
|
| 508 | ||
| 509 |
set g_vehicle_raptor_speed_forward 1000 |
|
| 510 |
set g_vehicle_raptor_speed_strafe 750 |
|
| 511 |
set g_vehicle_raptor_speed_up 600 |
|
| 512 |
set g_vehicle_raptor_speed_down 900 |
|
| 513 |
set g_vehicle_raptor_friction 0.7 |
|
| 514 | ||
| 515 |
set g_vehicle_raptor_cannon_locktarget 1 |
|
| 516 |
set g_vehicle_raptor_cannon_locking_time 0.5 |
|
| 517 |
set g_vehicle_raptor_cannon_locking_releasetime 0.5 |
|
| 518 |
set g_vehicle_raptor_cannon_locked_time 1 |
|
| 519 |
set g_vehicle_raptor_cannon_predicttarget 1 |
|
| 520 | ||
| 521 |
set g_vehicle_racer_laser_refire 0.065 |
|
| 522 |
set g_vehicle_racer_laser_damage 30 |
|
| 523 | ||
| 524 |
set g_balance_rocketlauncher_enableshockwave 1 |
|
| 525 |
set g_vehicle_raptor_bomblet_explode_enableshockwave 1 |
|
| 526 | ||
| 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_tracer 1 |
|
| 4 |
set g_balance_pistol_primary_shots 1 |
|
| 5 |
set g_balance_pistol_primary_damage 14 |
|
| 6 |
set g_balance_pistol_primary_headshotaddeddamage 0 |
|
| 7 |
set g_balance_pistol_primary_spread 0.04 |
|
| 8 |
set g_balance_pistol_primary_force 20 |
|
| 9 |
set g_balance_pistol_primary_speed 18000 |
|
| 10 |
set g_balance_pistol_primary_lifetime 5 |
|
| 11 |
set g_balance_pistol_primary_refire 0.2 |
|
| 12 |
set g_balance_pistol_primary_animtime 0.2 |
|
| 13 |
set g_balance_pistol_primary_ammo 1 |
|
| 14 |
set g_balance_pistol_primary_bulletconstant 115 |
|
| 15 |
set g_balance_pistol_primary_burstcost 0 |
|
| 16 |
set g_balance_pistol_primary_bullethail 0 // empty magazine on shot |
|
| 17 |
set g_balance_pistol_secondary 1 |
|
| 18 |
set g_balance_pistol_secondary_reload 0 |
|
| 19 |
set g_balance_pistol_secondary_tracer 1 |
|
| 20 |
set g_balance_pistol_secondary_shots 1 |
|
| 21 |
set g_balance_pistol_secondary_damage 10 |
|
| 22 |
set g_balance_pistol_secondary_headshotaddeddamage 0 |
|
| 23 |
set g_balance_pistol_secondary_spread 0.06 |
|
| 24 |
set g_balance_pistol_secondary_force 20 |
|
| 25 |
set g_balance_pistol_secondary_speed 18000 |
|
| 26 |
set g_balance_pistol_secondary_lifetime 5 |
|
| 27 |
set g_balance_pistol_secondary_refire 0.1 |
|
| 28 |
set g_balance_pistol_secondary_animtime 0.1 |
|
| 29 |
set g_balance_pistol_secondary_ammo 1 |
|
| 30 |
set g_balance_pistol_secondary_bulletconstant 115 |
|
| 31 |
set g_balance_pistol_secondary_burstcost 0 |
|
| 32 |
set g_balance_pistol_secondary_bullethail 0 // empty magazine on shot |
|
| 33 |
set g_balance_pistol_reload_ammo 10 //default: 10 |
|
| 34 |
set g_balance_pistol_reload_time 2 |
|
| 35 |
// }}} |
|
| 36 | ||
| 37 |
seta crosshair_pistol "" "crosshair to display when wielding the pistol" |
|
| 38 |
seta crosshair_pistol_color "0.5 0.5 0.1" "crosshair color to display when wielding the pistol" |
|
| 39 |
seta crosshair_pistol_alpha 0.7 "crosshair alpha value to display when wielding the pistol" |
|
| 40 |
seta crosshair_pistol_size 0.3 "crosshair size when wielding the pistol" |
|
| 41 | ||
| 42 |
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; |
|
| 428 | 431 |
default: return -1; |
| 429 | 432 |
} |
| 430 | 433 |
} |
| 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-nukelayer": return '1 1 0.20'; |
|
| 251 |
case "wpn-uzi": return '1 0.5 0'; |
|
| 247 | 252 |
default: return def; |
| 248 | 253 |
} |
| 249 | 254 |
} |
| ... | ... | |
| 302 | 307 |
case "wpn-fireball": return _("Fireball");
|
| 303 | 308 |
case "wpn-hlac": return _("HLAC");
|
| 304 | 309 |
case "wpn-campingrifle": return _("Rifle");
|
| 310 |
case "wpn-hmg": return _("Heavy Machine Gun");
|
|
| 311 |
case "wpn-mg": return _("Assault Rifle");
|
|
| 305 | 312 |
case "wpn-minelayer": return _("Mine Layer");
|
| 313 |
case "wpn-shotgunautomat": return _("ShotgunAutomat");
|
|
| 314 |
case "wpn-nukelayer": return _("Nuke Layer");
|
|
| 306 | 315 |
case "dom-neut": return _("Control point");
|
| 307 | 316 |
case "dom-red": return _("Control point");
|
| 308 | 317 |
case "dom-blue": return _("Control point");
|
| 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 |
me.src = me.currentModelImage; |
| ... | ... | |
| 162 | 166 |
// we can't immediately apply here because of flood control |
| 163 | 167 |
cvar_set("_cl_playermodel", me.currentModel);
|
| 164 | 168 |
cvar_set("_cl_playerskin", ftos(me.currentSkin));
|
| 169 |
|
|
| 170 |
// client side variables are fine to change here however |
|
| 171 |
if (me.currentModelSpecies == SPECIES_HUMAN) {
|
|
| 172 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 173 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_SOLID) {
|
|
| 174 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 175 |
} else if (me.currentModelSpecies == SPECIES_ALIEN) {
|
|
| 176 |
cvar_set("hud_damage_color", "0.12 0.25 0.06");
|
|
| 177 |
} else if (me.currentModelSpecies == SPECIES_ANIMAL) {
|
|
| 178 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 179 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_RUSTY) {
|
|
| 180 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 181 |
} else if (me.currentModelSpecies == SPECIES_ROBOT_SHINY) {
|
|
| 182 |
cvar_set("hud_damage_color", "0.2 0.1 0.4");
|
|
| 183 |
} else if (me.currentModelSpecies == SPECIES_RESERVED) {
|
|
| 184 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 185 |
} else {
|
|
| 186 |
cvar_set("hud_damage_color", "1 0 0");
|
|
| 187 |
} |
|
| 165 | 188 |
} |
| 166 | 189 | |
| 167 | 190 |
void XonoticPlayerModelSelector_draw(entity me) |
| b/qcsrc/server/autocvars.qh | ||
|---|---|---|
| 1187 | 1187 |
float autocvar_sv_gameplayfix_gravityunaffectedbyticrate; |
| 1188 | 1188 |
float autocvar_g_trueaim_minrange; |
| 1189 | 1189 |
float autocvar_g_debug_defaultsounds; |
| 1190 | ||
| 1191 |
float autocvar_g_balance_shotgunautomat_primary_ammo; |
|
| 1192 |
float autocvar_g_balance_shotgunautomat_primary_animtime; |
|
| 1193 |
float autocvar_g_balance_shotgunautomat_primary_bulletconstant; |
|
| 1194 |
float autocvar_g_balance_shotgunautomat_primary_bullets; |
|
| 1195 |
float autocvar_g_balance_shotgunautomat_primary_damage; |
|
| 1196 |
float autocvar_g_balance_shotgunautomat_primary_force; |
|
| 1197 |
float autocvar_g_balance_shotgunautomat_primary_refire; |
|
| 1198 |
float autocvar_g_balance_shotgunautomat_primary_speed; |
|
| 1199 |
float autocvar_g_balance_shotgunautomat_primary_spread; |
|
| 1200 | ||
| 1201 |
float autocvar_g_balance_shotgunautomat_secondary_ammo; |
|
| 1202 |
float autocvar_g_balance_shotgunautomat_secondary_animtime; |
|
| 1203 |
float autocvar_g_balance_shotgunautomat_secondary_bulletconstant; |
|
| 1204 |
float autocvar_g_balance_shotgunautomat_secondary_bullets; |
|
| 1205 |
float autocvar_g_balance_shotgunautomat_secondary_damage; |
|
| 1206 |
float autocvar_g_balance_shotgunautomat_secondary_force; |
|
| 1207 |
float autocvar_g_balance_shotgunautomat_secondary_refire; |
|
| 1208 |
float autocvar_g_balance_shotgunautomat_secondary_speed; |
|
| 1209 |
float autocvar_g_balance_shotgunautomat_secondary_spread; |
|
| 1210 | ||
| 1211 |
float autocvar_g_balance_shotgunautomat_secondary; |
|
| 1212 |
float autocvar_g_balance_shotgunautomat_secondary_melee_delay; |
|
| 1213 |
float autocvar_g_balance_shotgunautomat_secondary_melee_range; |
|
| 1214 |
float autocvar_g_balance_shotgunautomat_secondary_melee_swing; |
|
| 1215 |
float autocvar_g_balance_shotgunautomat_secondary_melee_time; |
|
| 1216 |
float autocvar_g_balance_shotgunautomat_secondary_melee_no_doubleslap; |
|
| 1217 |
float autocvar_g_balance_shotgunautomat_reload_ammo; |
|
| 1218 |
float autocvar_g_balance_shotgunautomat_reload_time; |
|
| 1219 | ||
| 1220 |
float autocvar_g_balance_nukelayer_ammo; |
|
| 1221 |
float autocvar_g_balance_nukelayer_animtime; |
|
| 1222 |
float autocvar_g_balance_nukelayer_damage; |
|
| 1223 |
float autocvar_g_balance_nukelayer_damageforcescale; |
|
| 1224 |
float autocvar_g_balance_nukelayer_detonatedelay; |
|
| 1225 |
float autocvar_g_balance_nukelayer_edgedamage; |
|
| 1226 |
float autocvar_g_balance_nukelayer_force; |
|
| 1227 |
float autocvar_g_balance_nukelayer_health; |
|
| 1228 |
float autocvar_g_balance_nukelayer_lifetime; |
|
| 1229 |
float autocvar_g_balance_nukelayer_lifetime_countdown; |
|
| 1230 |
float autocvar_g_balance_nukelayer_limit; |
|
| 1231 |
float autocvar_g_balance_nukelayer_protection; |
|
| 1232 |
float autocvar_g_balance_nukelayer_proximityradius; |
|
| 1233 |
float autocvar_g_balance_nukelayer_radius; |
|
| 1234 |
float autocvar_g_balance_nukelayer_refire; |
|
| 1235 |
float autocvar_g_balance_nukelayer_remote_damage; |
|
| 1236 |
float autocvar_g_balance_nukelayer_remote_edgedamage; |
|
| 1237 |
float autocvar_g_balance_nukelayer_remote_force; |
|
| 1238 |
float autocvar_g_balance_nukelayer_remote_radius; |
|
| 1239 |
float autocvar_g_balance_nukelayer_speed; |
|
| 1240 |
float autocvar_g_balance_nukelayer_time; |
|
| 1241 |
float autocvar_g_balance_nukelayer_reload_ammo; |
|
| 1242 |
float autocvar_g_balance_nukelayer_reload_time; |
|
| 1243 |
float autocvar_g_balance_nukelayer_enableshockwave; |
|
| 1244 |
float autocvar_g_balance_nukelayer_fire0_damage; |
|
| 1245 |
float autocvar_g_balance_nukelayer_fire0_burntime; |
|
| 1246 |
float autocvar_g_balance_nukelayer_fire0_radius; |
|
| 1247 |
float autocvar_g_balance_nukelayer_fire1_damage; |
|
| 1248 |
float autocvar_g_balance_nukelayer_fire1_burntime; |
|
| 1249 |
float autocvar_g_balance_nukelayer_fire1_radius; |
|
| 1250 |
float autocvar_g_balance_nukelayer_fire2_damage; |
|
| 1251 |
float autocvar_g_balance_nukelayer_fire2_burntime; |
|
| 1252 |
float autocvar_g_balance_nukelayer_fire2_radius; |
|
| 1253 |
float autocvar_g_balance_nukelayer_fire3_damage; |
|
| 1254 |
float autocvar_g_balance_nukelayer_fire3_burntime; |
|
| 1255 |
float autocvar_g_balance_nukelayer_fire3_radius; |
|
| 1256 |
float autocvar_g_balance_nukelayer_fire4_damage; |
|
| 1257 |
float autocvar_g_balance_nukelayer_fire4_burntime; |
|
| 1258 |
float autocvar_g_balance_nukelayer_fire4_radius; |
|
| 1259 |
float autocvar_g_balance_nukelayer_fire5_damage; |
|
| 1260 |
float autocvar_g_balance_nukelayer_fire5_burntime; |
|
| 1261 |
float autocvar_g_balance_nukelayer_fire5_radius; |
|
| 1262 | ||
| 1263 |
float autocvar_g_balance_rocketlauncher_enableshockwave; |
|
| 1264 | ||
| 1265 |
float autocvar_g_balance_grenadelauncher_primary_fragments; |
|
| 1266 |
float autocvar_g_balance_grenadelauncher_primary_fragment_damage; |
|
| 1267 |
float autocvar_g_balance_grenadelauncher_primary_fragment_speed; |
|
| 1268 |
float autocvar_g_balance_grenadelauncher_primary_fragment_bulletconstant; |
|
| 1269 |
float autocvar_g_balance_grenadelauncher_primary_fragment_headshotbonus; |
|
| 1270 |
float autocvar_g_balance_grenadelauncher_primary_fragment_force; |
|
| 1271 |
float autocvar_g_balance_grenadelauncher_primary_fragment_tracer; |
|
| 1272 |
float autocvar_g_balance_grenadelauncher_primary_fragment_gravity; |
|
| 1273 | ||
| 1274 |
float autocvar_g_balance_grenadelauncher_secondary_fragments; |
|
| 1275 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_damage; |
|
| 1276 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_speed; |
|
| 1277 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_bulletconstant; |
|
| 1278 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_headshotbonus; |
|
| 1279 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_force; |
|
| 1280 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_tracer; |
|
| 1281 |
float autocvar_g_balance_grenadelauncher_secondary_fragment_gravity; |
|
| 1282 | ||
| 1283 |
float autocvar_g_balance_tuba_nogibs; |
|
| 1284 |
float autocvar_g_balance_laser_nogibs; |
|
| 1285 |
float autocvar_g_balance_nex_nogibs; |
|
| 1286 |
float autocvar_g_balance_minstanex_nogibs; |
|
| 1287 |
float autocvar_g_balance_crylink_nogibs; |
|
| 1288 |
float autocvar_g_balance_electro_nogibs; |
|
| 1289 |
float autocvar_g_balance_hlac_nogibs; |
|
| 1290 |
float autocvar_g_balance_shotgun_nogibs; |
|
| 1291 |
float autocvar_g_balance_pumpshotgun_nogibs; |
|
| 1292 |
float autocvar_g_balance_rifle_nogibs; |
|
| 1293 |
float autocvar_g_balance_uzi_nogibs; |
|
| 1294 |
float autocvar_g_balance_hmg_nogibs; |
|
| 1295 |
float autocvar_g_balance_mg_nogibs; |
|
| 1296 |
float autocvar_g_balance_rocketlauncher_nogibs; |
|
| 1297 |
float autocvar_g_balance_grenadelauncher_nogibs; |
|
| 1298 |
float autocvar_g_balance_hagar_nogibs; |
|
| 1299 |
float autocvar_g_balance_minelayer_nogibs; |
|
| 1300 |
float autocvar_g_balance_seeker_nogibs; |
|
| 1301 |
float autocvar_g_balance_fireball_nogibs; |
|
| 1302 |
|
|
| 1303 |
float autocvar_g_balance_shotgunautomat_nogibs; |
|
| 1304 |
float autocvar_g_balance_nukelayer_nogibs; |
|
| 1305 |
float autocvar_g_balance_pistol_nogibs; |
|
| 1306 |
|
|
| 1307 |
float autocvar_sv_gibhealth_weapon_nogib_add; |
|
| 1308 | ||
| 1309 |
float autocvar_g_balance_pistol_bursttime; |
|
| 1310 |
float autocvar_g_balance_pistol_primary_ammo; |
|
| 1311 |
float autocvar_g_balance_pistol_primary_animtime; |
|
| 1312 |
float autocvar_g_balance_pistol_primary_bulletconstant; |
|
| 1313 |
float autocvar_g_balance_pistol_primary_bullethail; |
|
| 1314 |
float autocvar_g_balance_pistol_primary_burstcost; |
|
| 1315 |
float autocvar_g_balance_pistol_primary_damage; |
|
| 1316 |
float autocvar_g_balance_pistol_primary_force; |
|
| 1317 |
float autocvar_g_balance_pistol_primary_headshotaddeddamage; |
|
| 1318 |
float autocvar_g_balance_pistol_primary_lifetime; |
|
| 1319 |
float autocvar_g_balance_pistol_primary_refire; |
|
| 1320 |
float autocvar_g_balance_pistol_primary_shots; |
|
| 1321 |
float autocvar_g_balance_pistol_primary_speed; |
|
| 1322 |
float autocvar_g_balance_pistol_primary_spread; |
|
| 1323 |
float autocvar_g_balance_pistol_primary_tracer; |
|
| 1324 |
float autocvar_g_balance_pistol_secondary; |
|
| 1325 |
float autocvar_g_balance_pistol_secondary_ammo; |
|
| 1326 |
float autocvar_g_balance_pistol_secondary_animtime; |
|
| 1327 |
float autocvar_g_balance_pistol_secondary_bulletconstant; |
|
| 1328 |
float autocvar_g_balance_pistol_secondary_bullethail; |
|
| 1329 |
float autocvar_g_balance_pistol_secondary_burstcost; |
|
| 1330 |
float autocvar_g_balance_pistol_secondary_damage; |
|
| 1331 |
float autocvar_g_balance_pistol_secondary_force; |
|
| 1332 |
float autocvar_g_balance_pistol_secondary_headshotaddeddamage; |
|
| 1333 |
float autocvar_g_balance_pistol_secondary_lifetime; |
|
| 1334 |
float autocvar_g_balance_pistol_secondary_reload; |
|
| 1335 |
float autocvar_g_balance_pistol_secondary_refire; |
|
| 1336 |
float autocvar_g_balance_pistol_secondary_shots; |
|
| 1337 |
float autocvar_g_balance_pistol_secondary_speed; |
|
| 1338 |
float autocvar_g_balance_pistol_secondary_spread; |
|
| 1339 |
float autocvar_g_balance_pistol_secondary_tracer; |
|
| 1340 |
float autocvar_g_balance_pistol_reload_ammo; |
|
| 1341 |
float autocvar_g_balance_pistol_reload_time; |
|
| 1342 | ||
| 1343 |
float autocvar_g_balance_uzi_sustained_headshotaddeddamage; |
|
| 1344 |
float autocvar_g_balance_uzi_first_headshotaddeddamage; |
|
| 1345 | ||
| 1346 | ||
| 1347 |
float autocvar_g_balance_hmg_bulletconstant; |
|
| 1348 |
float autocvar_g_balance_hmg_speed; |
|
| 1349 |
float autocvar_g_balance_hmg_spread_add; |
|
| 1350 |
float autocvar_g_balance_hmg_spread_max; |
|
| 1351 |
float autocvar_g_balance_hmg_spread_min; |
|
| 1352 |
float autocvar_g_balance_hmg_sustained_ammo; |
|
| 1353 |
float autocvar_g_balance_hmg_sustained_damage; |
|
| 1354 |
float autocvar_g_balance_hmg_sustained_headshotaddeddamage; |
|
| 1355 |
float autocvar_g_balance_hmg_sustained_force; |
|
| 1356 |
float autocvar_g_balance_hmg_sustained_refire; |
|
| 1357 |
//float autocvar_g_balance_hmg_sustained_spread; |
|
| 1358 |
float autocvar_g_balance_hmg_reload_ammo; |
|
| 1359 |
float autocvar_g_balance_hmg_reload_time; |
|
| 1360 | ||
| 1361 |
float autocvar_g_balance_mg_bulletconstant; |
|
| 1362 |
float autocvar_g_balance_mg_burst; |
|
| 1363 |
float autocvar_g_balance_mg_burst_ammo; |
|
| 1364 |
float autocvar_g_balance_mg_burst_animtime; |
|
| 1365 |
float autocvar_g_balance_mg_burst_refire; |
|
| 1366 |
float autocvar_g_balance_mg_burst_refire2; |
|
| 1367 |
float autocvar_g_balance_mg_burst_spread; |
|
| 1368 |
float autocvar_g_balance_mg_first; |
|
| 1369 |
float autocvar_g_balance_mg_first_ammo; |
|
| 1370 |
float autocvar_g_balance_mg_first_damage; |
|
| 1371 |
float autocvar_g_balance_mg_first_headshotaddeddamage; |
|
| 1372 |
float autocvar_g_balance_mg_first_force; |
|
| 1373 |
float autocvar_g_balance_mg_first_refire; |
|
| 1374 |
float autocvar_g_balance_mg_first_spread; |
|
| 1375 |
float autocvar_g_balance_mg_mode; |
|
| 1376 |
float autocvar_g_balance_mg_speed; |
|
| 1377 |
float autocvar_g_balance_mg_spread_add; |
|
| 1378 |
float autocvar_g_balance_mg_spread_max; |
|
| 1379 |
float autocvar_g_balance_mg_spread_min; |
|
| 1380 |
float autocvar_g_balance_mg_sustained_ammo; |
|
| 1381 |
float autocvar_g_balance_mg_sustained_damage; |
|
| 1382 |
float autocvar_g_balance_mg_sustained_headshotaddeddamage; |
|
| 1383 |
float autocvar_g_balance_mg_sustained_force; |
|
| 1384 |
float autocvar_g_balance_mg_sustained_refire; |
|
| 1385 |
float autocvar_g_balance_mg_sustained_spread; |
|
| 1386 |
float autocvar_g_balance_mg_reload_ammo; |
|
| 1387 |
float autocvar_g_balance_mg_reload_time; |
|
| 1388 | ||
| 1389 |
float autocvar_g_balance_pumpshotgun_primary_ammo; |
|
| 1390 |
float autocvar_g_balance_pumpshotgun_primary_animtime; |
|
| 1391 |
float autocvar_g_balance_pumpshotgun_primary_bulletconstant; |
|
| 1392 |
float autocvar_g_balance_pumpshotgun_primary_bullets; |
|
| 1393 |
float autocvar_g_balance_pumpshotgun_primary_damage; |
|
| 1394 |
float autocvar_g_balance_pumpshotgun_primary_force; |
|
| 1395 |
float autocvar_g_balance_pumpshotgun_primary_refire; |
|
| 1396 |
float autocvar_g_balance_pumpshotgun_primary_speed; |
|
| 1397 |
float autocvar_g_balance_pumpshotgun_primary_spread; |
|
| 1398 |
float autocvar_g_balance_pumpshotgun_secondary; |
|
| 1399 |
float autocvar_g_balance_pumpshotgun_secondary_animtime; |
|
| 1400 |
float autocvar_g_balance_pumpshotgun_secondary_damage; |
|
| 1401 |
float autocvar_g_balance_pumpshotgun_secondary_force; |
|
| 1402 |
float autocvar_g_balance_pumpshotgun_secondary_melee_delay; |
|
| 1403 |
float autocvar_g_balance_pumpshotgun_secondary_melee_range; |
|
| 1404 |
float autocvar_g_balance_pumpshotgun_secondary_melee_swing_side; |
|
| 1405 |
float autocvar_g_balance_pumpshotgun_secondary_melee_swing_up; |
|
| 1406 |
float autocvar_g_balance_pumpshotgun_secondary_melee_time; |
|
| 1407 |
float autocvar_g_balance_pumpshotgun_secondary_melee_traces; |
|
| 1408 |
float autocvar_g_balance_pumpshotgun_secondary_melee_no_doubleslap; |
|
| 1409 |
float autocvar_g_balance_pumpshotgun_secondary_melee_nonplayerdamage; |
|
| 1410 |
float autocvar_g_balance_pumpshotgun_secondary_melee_multihit; |
|
| 1411 |
float autocvar_g_balance_pumpshotgun_secondary_refire; |
|
| 1412 |
float autocvar_g_balance_pumpshotgun_reload_ammo; |
|
| 1413 |
float autocvar_g_balance_pumpshotgun_reload_time; |
|
| 1414 | ||
| 1415 |
float autocvar_g_balance_grenadelauncher_primary_failurerate; |
|
| 1416 |
float autocvar_g_balance_grenadelauncher_secondary_failurerate; |
|
| 1417 | ||
| 1418 |
float autocvar_g_balance_rocketlauncher_primary_failurerate; |
|
| 1419 |
float autocvar_g_balance_rocketlauncher_secondary_failurerate; |
|
| 1420 |
float autocvar_g_balance_rocketlauncher_commlink_failurerate; |
|
| 1421 | ||
| 1422 |
float autocvar_g_balance_hagar_primary_failurerate; |
|
| 1423 |
float autocvar_g_balance_hagar_secondary_failurerate; |
|
| 1424 | ||
| 1425 |
float autocvar_g_balance_minelayer_primary_failurerate; |
|
| 1426 |
float autocvar_g_balance_minelayer_secondary_failurerate; |
|
| 1427 | ||
| 1428 |
float autocvar_g_balance_uzi_jamrate; |
|
| 1429 |
float autocvar_g_balance_uzi_clearjam_time; |
|
| 1430 | ||
| 1431 |
float autocvar_g_balance_mg_jamrate; |
|
| 1432 |
float autocvar_g_balance_mg_clearjam_time; |
|
| 1433 | ||
| 1434 |
float autocvar_g_balance_shotgunautomat_jamrate; |
|
| 1435 |
float autocvar_g_balance_shotgunautomat_clearjam_time; |
|
| 1436 | ||
| 1190 | 1437 |
float autocvar_g_loituma; |
| 1438 | ||
| 1439 |
float autocvar_g_balance_minelayer_persistent; |
|
| 1440 | ||
| 1191 | 1441 |
float autocvar_g_grab_range; |
| 1192 | 1442 |
float autocvar_g_sandbox_info; |
| 1193 | 1443 |
float autocvar_g_sandbox_readonly; |
| b/qcsrc/server/cl_client.qc | ||
|---|---|---|
| 2133 | 2133 |
self.nex_chargepool_ammo = spectatee.nex_chargepool_ammo; |
| 2134 | 2134 |
self.hagar_load = spectatee.hagar_load; |
| 2135 | 2135 |
self.minelayer_mines = spectatee.minelayer_mines; |
| 2136 |
self.nukelayer_nukes = spectatee.nukelayer_nukes; |
|
| 2136 | 2137 |
self.punchangle = spectatee.punchangle; |
| 2137 | 2138 |
self.view_ofs = spectatee.view_ofs; |
| 2138 | 2139 |
self.v_angle = spectatee.v_angle; |
| b/qcsrc/server/cl_player.qc | ||
|---|---|---|
| 400 | 400 |
self.dmg_take = self.dmg_take + take;//max(take - 10, 0); |
| 401 | 401 |
self.dmg_inflictor = inflictor; |
| 402 | 402 | |
| 403 |
if (self.health <= -autocvar_sv_gibhealth && self.modelindex != 0) |
|
| 403 |
//print(sprintf("Gib Health: %v\n", self.health));
|
|
| 404 |
//This code allows the server to set which weapons can gib and which never gib. |
|
| 405 |
//I grouped the weapons mostly by ammo type, leaving one group for my own weapons. |
|
| 406 |
//The last weapon is the fireball so that one can easily delete references to my weapons if desired. |
|
| 407 |
//Turning off gibbing on the shotgun doesn't work, it seems the last pellet or so are not tracked properly. |
|
| 408 |
//This is perhaps a bug in the ballistic bullet code, but perhaps not as uzi and rifle work fine, however they |
|
| 409 |
//are much slower in spawing ballisticbullets than the shotgun (which spawns many almost all at once). |
|
| 410 |
//Crylink can also eventually gib, but it takes many many shots, with this off it gibs quickly, I'm guessing |
|
| 411 |
//that there is a race condition between DEATH_ISWEAPON and the dmg code, I'm not sure. |
|
| 412 |
//The RocketLauncher and GrenadeLauncher seem to gib regardless. |
|
| 413 |
//I suggest turning off gibbing on the uzi and rifle, perhaps on the crylink and other energy weapons |
|
| 414 |
//This way gibbing is special for powerful weapons that provide the needed shearing force (Explosives, etc) |
|
| 415 |
if ( |
|
| 416 |
(self.health <= -autocvar_sv_gibhealth && self.modelindex != 0) && |
|
| 417 |
!( DEATH_ISWEAPON(deathtype, WEP_TUBA) && autocvar_g_balance_tuba_nogibs) && |
|
| 418 |
!( DEATH_ISWEAPON(deathtype, WEP_LASER) && autocvar_g_balance_laser_nogibs) && |
|
| 419 |
|
|
| 420 |
!( DEATH_ISWEAPON(deathtype, WEP_NEX) && autocvar_g_balance_nex_nogibs) && |
|
| 421 |
!( DEATH_ISWEAPON(deathtype, WEP_MINSTANEX) && autocvar_g_balance_minstanex_nogibs) && |
|
| 422 |
!( DEATH_ISWEAPON(deathtype, WEP_CRYLINK) && autocvar_g_balance_crylink_nogibs) && |
|
| 423 |
!( DEATH_ISWEAPON(deathtype, WEP_ELECTRO) && autocvar_g_balance_electro_nogibs) && |
|
| 424 |
!( DEATH_ISWEAPON(deathtype, WEP_HLAC) && autocvar_g_balance_hlac_nogibs) && |
|
| 425 |
|
|
| 426 |
!( DEATH_ISWEAPON(deathtype, WEP_SHOTGUN) && autocvar_g_balance_shotgun_nogibs) && |
|
| 427 |
|
|
| 428 |
//!( DEATH_ISWEAPON(deathtype, WEP_PUMPSHOTGUN) && autocvar_g_balance_pumpshotgun_nogibs) && |
|
| 429 |
!( DEATH_ISWEAPON(deathtype, WEP_RIFLE) && autocvar_g_balance_rifle_nogibs) && |
|
| 430 |
!( DEATH_ISWEAPON(deathtype, WEP_UZI) && autocvar_g_balance_uzi_nogibs) && |
|
| 431 |
!( DEATH_ISWEAPON(deathtype, WEP_HMG) && autocvar_g_balance_hmg_nogibs) && |
|
| 432 |
!( DEATH_ISWEAPON(deathtype, WEP_MG) && autocvar_g_balance_mg_nogibs) && |
|
| 433 |
|
|
| 434 |
!( DEATH_ISWEAPON(deathtype, WEP_ROCKET_LAUNCHER) && autocvar_g_balance_rocketlauncher_nogibs) && |
|
| 435 |
!( DEATH_ISWEAPON(deathtype, WEP_GRENADE_LAUNCHER) && autocvar_g_balance_grenadelauncher_nogibs) && |
|
| 436 |
!( DEATH_ISWEAPON(deathtype, WEP_HAGAR) && autocvar_g_balance_hagar_nogibs) && |
|
| 437 |
!( DEATH_ISWEAPON(deathtype, WEP_SEEKER) && autocvar_g_balance_seeker_nogibs) && |
|
| 438 |
!( DEATH_ISWEAPON(deathtype, WEP_MINE_LAYER) && autocvar_g_balance_minelayer_nogibs) && |
|
| 439 |
|
|
| 440 |
!( DEATH_ISWEAPON(deathtype, WEP_SHOTGUNAUTOMAT) && autocvar_g_balance_shotgunautomat_nogibs) && |
|
| 441 |
!( DEATH_ISWEAPON(deathtype, WEP_NUKE_LAYER) && autocvar_g_balance_nukelayer_nogibs) && |
|
| 442 |
!( DEATH_ISWEAPON(deathtype, WEP_PISTOL) && autocvar_g_balance_pistol_nogibs) && |
|
| 443 |
|
|
| 444 |
!( DEATH_ISWEAPON(deathtype, WEP_FIREBALL) && autocvar_g_balance_fireball_nogibs) |
|
| 445 |
) |
|
| 404 | 446 |
{
|
| 405 | 447 |
// don't use any animations as a gib |
| 406 | 448 |
self.frame = 0; |
| ... | ... | |
| 411 | 453 |
Violence_GibSplash(self, 1, 1, attacker); |
| 412 | 454 |
self.modelindex = 0; // restore later |
| 413 | 455 |
self.solid = SOLID_NOT; // restore later |
| 456 |
} else if (self.health <= -autocvar_sv_gibhealth && self.modelindex != 0) {
|
|
| 457 |
//print("No Gib tripped\n");
|
|
| 458 |
//If we failed the first test due solely to the weapon being used on the corpse |
|
| 459 |
//being set to nogib, but for all other reasons gibbing should occur |
|
| 460 |
//Let us give health back to the gib to make sure that it does not gib due to |
|
| 461 |
//the nogib weapon pushing it against a wall. |
|
| 462 |
self.health = -1; |
|
| 463 |
|
|
| 464 |
//We will allow the server admin to set how much health to add to such a gib, to make it resilient |
|
| 465 |
//so that it will not be easily destroyed. By default, nothing. |
|
| 466 |
self.health = self.health + autocvar_sv_gibhealth_weapon_nogib_add; |
|
| 414 | 467 |
} |
| 415 | 468 |
} |
| 416 | 469 | |
| b/qcsrc/server/defs.qh | ||
|---|---|---|
| 615 | 615 |
.float old_clip_load; |
| 616 | 616 |
.float clip_size; |
| 617 | 617 |
.float minelayer_mines; |
| 618 |
.float nukelayer_nukes; |
|
| 618 | 619 | |
| 619 | 620 |
.float grab; // 0 = can't grab, 1 = owner can grab, 2 = owner and team mates can grab, 3 = anyone can grab |
| 620 | 621 | |
| b/qcsrc/server/vehicles/raptor.qc | ||
|---|---|---|
| 24 | 24 |
float autocvar_g_vehicle_raptor_bomblet_radius; |
| 25 | 25 |
float autocvar_g_vehicle_raptor_bomblet_force; |
| 26 | 26 |
float autocvar_g_vehicle_raptor_bomblet_explode_delay; |
| 27 |
float autocvar_g_vehicle_raptor_bomblet_explode_enableshockwave; |
|
| 27 | 28 |
float autocvar_g_vehicle_raptor_bombs_refire; |
| 28 | 29 | |
| 29 | 30 |
float autocvar_g_vehicle_raptor_cannon_turnspeed; |
| ... | ... | |
| 77 | 78 | |
| 78 | 79 |
void raptor_bomblet_boom() |
| 79 | 80 |
{
|
| 81 | ||
| 82 |
if (autocvar_g_vehicle_raptor_bomblet_explode_enableshockwave == 1) {
|
|
| 83 |
modeleffect_spawn("models/sphere/sphere.md3", 0, 0, self.origin, '0 0 0', '0 0 0', '0 0 0', 0, autocvar_g_vehicle_raptor_bomblet_radius, 0.2, 0.05, 0.25);
|
|
| 84 |
|
|
| 85 |
modeleffect_spawn("models/sphere/sphexp.md3", 0, 0, self.origin, '0 0 0', '0 0 0', '0 0 0', 0, autocvar_g_vehicle_raptor_bomblet_radius, 0.30, 0.05, 1.1);
|
|
| 86 |
} |
|
| 87 | ||
| 80 | 88 |
RadiusDamage (self, self.realowner, autocvar_g_vehicle_raptor_bomblet_damage, |
| 81 | 89 |
autocvar_g_vehicle_raptor_bomblet_edgedamage, |
| 82 | 90 |
autocvar_g_vehicle_raptor_bomblet_radius, world, |
| ... | ... | |
| 745 | 753 |
//precache_model ("models/vehicles/clusterbomb.md3");
|
| 746 | 754 |
precache_model ("models/vehicles/clusterbomb_folded.md3");
|
| 747 | 755 |
precache_model ("models/vehicles/raptor_body.dpm");
|
| 756 |
precache_model ("models/sphere/sphere.md3");
|
|
| 757 |
precache_model ("models/sphere/sphexp.md3");
|
|
| 748 | 758 |
|
| 749 | 759 |
precache_sound ("vehicles/raptor_fly.wav");
|
| 750 | 760 |
precache_sound ("vehicles/raptor_speed.wav");
|
| b/qcsrc/server/vehicles/spiderbot.qc | ||
|---|---|---|
| 32 | 32 |
float autocvar_g_vehicle_spiderbot_shield_regen; |
| 33 | 33 |
float autocvar_g_vehicle_spiderbot_shield_regen_pause; |
| 34 | 34 | |
| 35 |
// Start Ballistic bullet cvars |
|
| 36 |
float autocvar_g_vehicle_spiderbot_minigun_expelbulletcasings; |
|
| 37 |
float autocvar_g_vehicle_spiderbot_minigun_enableballistics; |
|
| 38 |
float autocvar_g_vehicle_spiderbot_minigun_speed; |
|
| 39 |
float autocvar_g_vehicle_spiderbot_minigun_force; |
|
| 40 |
float autocvar_g_vehicle_spiderbot_minigun_bulletconstant; |
|
| 41 |
// End ballistic bullet cvars |
|
| 42 | ||
| 35 | 43 |
float autocvar_g_vehicle_spiderbot_minigun_damage; |
| 36 | 44 |
float autocvar_g_vehicle_spiderbot_minigun_refire; |
| 37 | 45 |
float autocvar_g_vehicle_spiderbot_minigun_spread; |
| ... | ... | |
| 342 | 350 |
v_forward = normalize(v_forward); |
| 343 | 351 |
v += v_forward * 50; |
| 344 | 352 | |
| 353 |
if (autocvar_g_vehicle_spiderbot_minigun_enableballistics == 1) {
|
|
| 354 |
// Start Ballistic bullet |
|