From: Mario Date: Sat, 13 May 2017 17:25:08 +0000 (+1000) Subject: Fix use of .mins/.maxs in turret and vehicle registries X-Git-Tag: xonotic-v0.8.5~2785 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b870fa4148e978743c89ea51cbc7d6bf9c608612;p=xonotic%2Fxonotic-data.pk3dir.git Fix use of .mins/.maxs in turret and vehicle registries --- diff --git a/qcsrc/common/turrets/cl_turrets.qc b/qcsrc/common/turrets/cl_turrets.qc index 809b69a96..11d5e5d72 100644 --- a/qcsrc/common/turrets/cl_turrets.qc +++ b/qcsrc/common/turrets/cl_turrets.qc @@ -212,7 +212,7 @@ void turret_construct(entity this, bool isnew) setorigin(this, this.origin); _setmodel(this, tur.model); _setmodel(this.tur_head, tur.head_model); - setsize(this, tur.mins, tur.maxs); + setsize(this, tur.m_mins, tur.m_maxs); setsize(this.tur_head, '0 0 0', '0 0 0'); if(this.m_id == TUR_EWHEEL.m_id) diff --git a/qcsrc/common/turrets/sv_turrets.qc b/qcsrc/common/turrets/sv_turrets.qc index d6442df8b..4d598db54 100644 --- a/qcsrc/common/turrets/sv_turrets.qc +++ b/qcsrc/common/turrets/sv_turrets.qc @@ -1325,7 +1325,7 @@ bool turret_initialize(entity this, Turret tur) ++turret_count; _setmodel(this, tur.model); - setsize(this, tur.mins, tur.maxs); + setsize(this, tur.m_mins, tur.m_maxs); this.m_id = tur.m_id; this.classname = "turret_main"; diff --git a/qcsrc/common/turrets/turret.qh b/qcsrc/common/turrets/turret.qh index 8e5239702..7f9b746cd 100644 --- a/qcsrc/common/turrets/turret.qh +++ b/qcsrc/common/turrets/turret.qh @@ -18,9 +18,9 @@ CLASS(Turret, Object) ATTRIB(Turret, spawnflags, int, 0); /** turret hitbox size */ - ATTRIB(Turret, mins, vector, '-0 -0 -0'); + ATTRIB(Turret, m_mins, vector, '-0 -0 -0'); /** turret hitbox size */ - ATTRIB(Turret, maxs, vector, '0 0 0'); + ATTRIB(Turret, m_maxs, vector, '0 0 0'); METHOD(Turret, display, void(Turret this, void(string name, string icon) returns)) { returns(this.turret_name, string_null); diff --git a/qcsrc/common/turrets/turret/ewheel.qh b/qcsrc/common/turrets/turret/ewheel.qh index b34adb2fe..ed1a5a630 100644 --- a/qcsrc/common/turrets/turret/ewheel.qh +++ b/qcsrc/common/turrets/turret/ewheel.qh @@ -6,8 +6,8 @@ CLASS(EWheel, Turret) /* spawnflags */ ATTRIB(EWheel, spawnflags, int, TUR_FLAG_PLAYER | TUR_FLAG_MOVE | TUR_FLAG_ROAM); -/* mins */ ATTRIB(EWheel, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(EWheel, maxs, vector, '32 32 48'); +/* mins */ ATTRIB(EWheel, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(EWheel, m_maxs, vector, '32 32 48'); /* modelname */ ATTRIB(EWheel, mdl, string, "ewheel-base2.md3"); /* model */ ATTRIB_STRZONE(EWheel, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(EWheel, head_model, string, strcat("models/turrets/", "ewheel-gun1.md3")); diff --git a/qcsrc/common/turrets/turret/flac.qh b/qcsrc/common/turrets/turret/flac.qh index d53422c60..216dcd71f 100644 --- a/qcsrc/common/turrets/turret/flac.qh +++ b/qcsrc/common/turrets/turret/flac.qh @@ -4,8 +4,8 @@ CLASS(Flac, Turret) /* spawnflags */ ATTRIB(Flac, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_FASTPROJ | TUR_FLAG_MISSILE); -/* mins */ ATTRIB(Flac, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(Flac, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(Flac, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(Flac, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(Flac, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(Flac, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(Flac, head_model, string, strcat("models/turrets/", "flac.md3")); diff --git a/qcsrc/common/turrets/turret/fusionreactor.qh b/qcsrc/common/turrets/turret/fusionreactor.qh index 134b805e9..2ca369b94 100644 --- a/qcsrc/common/turrets/turret/fusionreactor.qh +++ b/qcsrc/common/turrets/turret/fusionreactor.qh @@ -2,8 +2,8 @@ CLASS(FusionReactor, Turret) /* spawnflags */ ATTRIB(FusionReactor, spawnflags, int, TUR_FLAG_SUPPORT | TUR_FLAG_AMMOSOURCE); -/* mins */ ATTRIB(FusionReactor, mins, vector, '-34 -34 0'); -/* maxs */ ATTRIB(FusionReactor, maxs, vector, '34 34 90'); +/* mins */ ATTRIB(FusionReactor, m_mins, vector, '-34 -34 0'); +/* maxs */ ATTRIB(FusionReactor, m_maxs, vector, '34 34 90'); /* modelname */ ATTRIB(FusionReactor, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(FusionReactor, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(FusionReactor, head_model, string, strcat("models/turrets/", "reactor.md3")); diff --git a/qcsrc/common/turrets/turret/hellion.qh b/qcsrc/common/turrets/turret/hellion.qh index 642645b85..216b4c7ec 100644 --- a/qcsrc/common/turrets/turret/hellion.qh +++ b/qcsrc/common/turrets/turret/hellion.qh @@ -4,8 +4,8 @@ CLASS(Hellion, Turret) /* spawnflags */ ATTRIB(Hellion, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_FASTPROJ | TUR_FLAG_PLAYER | TUR_FLAG_MISSILE); -/* mins */ ATTRIB(Hellion, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(Hellion, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(Hellion, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(Hellion, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(Hellion, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(Hellion, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(Hellion, head_model, string, strcat("models/turrets/", "hellion.md3")); diff --git a/qcsrc/common/turrets/turret/hk.qh b/qcsrc/common/turrets/turret/hk.qh index d7c9cfbbe..639924fc4 100644 --- a/qcsrc/common/turrets/turret/hk.qh +++ b/qcsrc/common/turrets/turret/hk.qh @@ -6,8 +6,8 @@ CLASS(HunterKiller, Turret) /* spawnflags */ ATTRIB(HunterKiller, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER | TUR_FLAG_RECIEVETARGETS); -/* mins */ ATTRIB(HunterKiller, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(HunterKiller, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(HunterKiller, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(HunterKiller, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(HunterKiller, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(HunterKiller, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(HunterKiller, head_model, string, strcat("models/turrets/", "hk.md3")); diff --git a/qcsrc/common/turrets/turret/machinegun.qh b/qcsrc/common/turrets/turret/machinegun.qh index 92a8fbaa4..c4a6066b3 100644 --- a/qcsrc/common/turrets/turret/machinegun.qh +++ b/qcsrc/common/turrets/turret/machinegun.qh @@ -4,8 +4,8 @@ CLASS(MachineGunTurret, Turret) /* spawnflags */ ATTRIB(MachineGunTurret, spawnflags, int, TUR_FLAG_PLAYER); -/* mins */ ATTRIB(MachineGunTurret, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(MachineGunTurret, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(MachineGunTurret, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(MachineGunTurret, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(MachineGunTurret, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(MachineGunTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(MachineGunTurret, head_model, string, strcat("models/turrets/", "machinegun.md3")); diff --git a/qcsrc/common/turrets/turret/mlrs.qh b/qcsrc/common/turrets/turret/mlrs.qh index b2a6a5c43..7e0bccf22 100644 --- a/qcsrc/common/turrets/turret/mlrs.qh +++ b/qcsrc/common/turrets/turret/mlrs.qh @@ -4,8 +4,8 @@ CLASS(MLRSTurret, Turret) /* spawnflags */ ATTRIB(MLRSTurret, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER); -/* mins */ ATTRIB(MLRSTurret, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(MLRSTurret, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(MLRSTurret, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(MLRSTurret, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(MLRSTurret, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(MLRSTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(MLRSTurret, head_model, string, strcat("models/turrets/", "mlrs.md3")); diff --git a/qcsrc/common/turrets/turret/phaser.qh b/qcsrc/common/turrets/turret/phaser.qh index fedbe66cb..887a11a9e 100644 --- a/qcsrc/common/turrets/turret/phaser.qh +++ b/qcsrc/common/turrets/turret/phaser.qh @@ -4,8 +4,8 @@ CLASS(PhaserTurret, Turret) /* spawnflags */ ATTRIB(PhaserTurret, spawnflags, int, TUR_FLAG_SNIPER | TUR_FLAG_HITSCAN | TUR_FLAG_PLAYER); -/* mins */ ATTRIB(PhaserTurret, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(PhaserTurret, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(PhaserTurret, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(PhaserTurret, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(PhaserTurret, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(PhaserTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(PhaserTurret, head_model, string, strcat("models/turrets/", "phaser.md3")); diff --git a/qcsrc/common/turrets/turret/plasma.qh b/qcsrc/common/turrets/turret/plasma.qh index fc2a96de7..f15ecfc89 100644 --- a/qcsrc/common/turrets/turret/plasma.qh +++ b/qcsrc/common/turrets/turret/plasma.qh @@ -4,8 +4,8 @@ CLASS(PlasmaTurret, Turret) /* spawnflags */ ATTRIB(PlasmaTurret, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER); -/* mins */ ATTRIB(PlasmaTurret, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(PlasmaTurret, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(PlasmaTurret, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(PlasmaTurret, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(PlasmaTurret, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(PlasmaTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(PlasmaTurret, head_model, string, strcat("models/turrets/", "plasma.md3")); diff --git a/qcsrc/common/turrets/turret/plasma_dual.qh b/qcsrc/common/turrets/turret/plasma_dual.qh index e4c7b0e7d..04436c47f 100644 --- a/qcsrc/common/turrets/turret/plasma_dual.qh +++ b/qcsrc/common/turrets/turret/plasma_dual.qh @@ -10,8 +10,8 @@ REGISTER_WEAPON(PLASMA_DUAL, NEW(PlasmaDualAttack)); CLASS(DualPlasmaTurret, PlasmaTurret) /* spawnflags */ ATTRIB(DualPlasmaTurret, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER); -/* mins */ ATTRIB(DualPlasmaTurret, mins, vector, '-32 -32 0'); -/* maxs */ ATTRIB(DualPlasmaTurret, maxs, vector, '32 32 64'); +/* mins */ ATTRIB(DualPlasmaTurret, m_mins, vector, '-32 -32 0'); +/* maxs */ ATTRIB(DualPlasmaTurret, m_maxs, vector, '32 32 64'); /* modelname */ ATTRIB(DualPlasmaTurret, mdl, string, "base.md3"); /* model */ ATTRIB_STRZONE(DualPlasmaTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(DualPlasmaTurret, head_model, string, strcat("models/turrets/", "plasmad.md3")); diff --git a/qcsrc/common/turrets/turret/tesla.qh b/qcsrc/common/turrets/turret/tesla.qh index c5f67b1b9..ee3192eb9 100644 --- a/qcsrc/common/turrets/turret/tesla.qh +++ b/qcsrc/common/turrets/turret/tesla.qh @@ -4,8 +4,8 @@ CLASS(TeslaCoil, Turret) /* spawnflags */ ATTRIB(TeslaCoil, spawnflags, int, TUR_FLAG_HITSCAN | TUR_FLAG_PLAYER | TUR_FLAG_MISSILE); -/* mins */ ATTRIB(TeslaCoil, mins, vector, '-60 -60 0'); -/* maxs */ ATTRIB(TeslaCoil, maxs, vector, '60 60 128'); +/* mins */ ATTRIB(TeslaCoil, m_mins, vector, '-60 -60 0'); +/* maxs */ ATTRIB(TeslaCoil, m_maxs, vector, '60 60 128'); /* modelname */ ATTRIB(TeslaCoil, mdl, string, "tesla_base.md3"); /* model */ ATTRIB_STRZONE(TeslaCoil, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(TeslaCoil, head_model, string, strcat("models/turrets/", "tesla_head.md3")); diff --git a/qcsrc/common/turrets/turret/walker.qh b/qcsrc/common/turrets/turret/walker.qh index 54a908bd1..1c923cad7 100644 --- a/qcsrc/common/turrets/turret/walker.qh +++ b/qcsrc/common/turrets/turret/walker.qh @@ -6,8 +6,8 @@ CLASS(WalkerTurret, Turret) /* spawnflags */ ATTRIB(WalkerTurret, spawnflags, int, TUR_FLAG_PLAYER | TUR_FLAG_MOVE); -/* mins */ ATTRIB(WalkerTurret, mins, vector, '-70 -70 0'); -/* maxs */ ATTRIB(WalkerTurret, maxs, vector, '70 70 95'); +/* mins */ ATTRIB(WalkerTurret, m_mins, vector, '-70 -70 0'); +/* maxs */ ATTRIB(WalkerTurret, m_maxs, vector, '70 70 95'); /* modelname */ ATTRIB(WalkerTurret, mdl, string, "walker_body.md3"); /* model */ ATTRIB_STRZONE(WalkerTurret, model, string, strcat("models/turrets/", this.mdl)); /* head_model */ ATTRIB_STRZONE(WalkerTurret, head_model, string, strcat("models/turrets/", "walker_head_minigun.md3")); diff --git a/qcsrc/common/vehicles/sv_vehicles.qc b/qcsrc/common/vehicles/sv_vehicles.qc index 0c9ff29d9..659b3c148 100644 --- a/qcsrc/common/vehicles/sv_vehicles.qc +++ b/qcsrc/common/vehicles/sv_vehicles.qc @@ -814,7 +814,7 @@ void vehicles_exit(entity vehic, bool eject) WriteAngle(MSG_ONE, 0); } - setsize(player, STAT(PL_MIN,player), STAT(PL_MAX, player)); + setsize(player, STAT(PL_MIN, player), STAT(PL_MAX, player)); player.takedamage = DAMAGE_AIM; player.solid = SOLID_SLIDEBOX; @@ -989,7 +989,7 @@ void vehicles_enter(entity pl, entity veh) pl.crouch = false; pl.view_ofs = STAT(PL_VIEW_OFS, pl); - setsize (pl, STAT(PL_MIN, pl), STAT(PL_MAX, pl)); + setsize(pl, STAT(PL_MIN, pl), STAT(PL_MAX, pl)); veh.event_damage = vehicles_damage; veh.nextthink = 0; @@ -1246,14 +1246,14 @@ bool vehicle_initialize(entity this, Vehicle info, bool nodrop) setattachment(this.vehicle_viewport, this.vehicle_hudmodel, info.tag_view); } - setsize(this, info.mins, info.maxs); + setsize(this, info.m_mins, info.m_maxs); info.vr_setup(info, this); if(!nodrop) { setorigin(this, this.origin); - tracebox(this.origin + '0 0 100', info.mins, info.maxs, this.origin - '0 0 10000', MOVE_WORLDONLY, this); + tracebox(this.origin + '0 0 100', info.m_mins, info.m_maxs, this.origin - '0 0 10000', MOVE_WORLDONLY, this); setorigin(this, trace_endpos); } diff --git a/qcsrc/common/vehicles/vehicle.qh b/qcsrc/common/vehicles/vehicle.qh index cb4225a27..4e3b7b872 100644 --- a/qcsrc/common/vehicles/vehicle.qh +++ b/qcsrc/common/vehicles/vehicle.qh @@ -27,9 +27,9 @@ CLASS(Vehicle, Object) /** */ ATTRIB(Vehicle, spawnflags, int, 0); /** vehicle hitbox size */ - ATTRIB(Vehicle, mins, vector, '-0 -0 -0'); + ATTRIB(Vehicle, m_mins, vector, '-0 -0 -0'); /** vehicle hitbox size */ - ATTRIB(Vehicle, maxs, vector, '0 0 0'); + ATTRIB(Vehicle, m_maxs, vector, '0 0 0'); /** vehicle 3rd person view offset */ ATTRIB(Vehicle, view_ofs, vector, '0 0 0'); /** vehicle 3rd person view distance */ diff --git a/qcsrc/common/vehicles/vehicle/bumblebee.qh b/qcsrc/common/vehicles/vehicle/bumblebee.qh index 2c90b7c40..4c226f97a 100644 --- a/qcsrc/common/vehicles/vehicle/bumblebee.qh +++ b/qcsrc/common/vehicles/vehicle/bumblebee.qh @@ -4,8 +4,8 @@ CLASS(Bumblebee, Vehicle) /* spawnflags */ ATTRIB(Bumblebee, spawnflags, int, VHF_DMGSHAKE); -/* mins */ ATTRIB(Bumblebee, mins, vector, '-245 -130 -130'); -/* maxs */ ATTRIB(Bumblebee, maxs, vector, '230 130 130'); +/* mins */ ATTRIB(Bumblebee, m_mins, vector, '-245 -130 -130'); +/* maxs */ ATTRIB(Bumblebee, m_maxs, vector, '230 130 130'); /* view offset*/ ATTRIB(Bumblebee, view_ofs, vector, '0 0 300'); /* view dist */ ATTRIB(Bumblebee, height, float, 450); /* model */ ATTRIB(Bumblebee, mdl, string, "models/vehicles/bumblebee_body.dpm"); diff --git a/qcsrc/common/vehicles/vehicle/racer.qh b/qcsrc/common/vehicles/vehicle/racer.qh index dd1414413..3c348ae1c 100644 --- a/qcsrc/common/vehicles/vehicle/racer.qh +++ b/qcsrc/common/vehicles/vehicle/racer.qh @@ -4,8 +4,8 @@ CLASS(Racer, Vehicle) /* spawnflags */ ATTRIB(Racer, spawnflags, int, VHF_DMGSHAKE | VHF_DMGROLL); -/* mins */ ATTRIB(Racer, mins, vector, '-120 -120 -40' * 0.5); -/* maxs */ ATTRIB(Racer, maxs, vector, '120 120 40' * 0.5); +/* mins */ ATTRIB(Racer, m_mins, vector, '-120 -120 -40' * 0.5); +/* maxs */ ATTRIB(Racer, m_maxs, vector, '120 120 40' * 0.5); /* view offset*/ ATTRIB(Racer, view_ofs, vector, '0 0 50'); /* view dist */ ATTRIB(Racer, height, float, 200); /* model */ ATTRIB(Racer, mdl, string, "models/vehicles/wakizashi.dpm"); diff --git a/qcsrc/common/vehicles/vehicle/raptor.qh b/qcsrc/common/vehicles/vehicle/raptor.qh index 12666523c..954d54aea 100644 --- a/qcsrc/common/vehicles/vehicle/raptor.qh +++ b/qcsrc/common/vehicles/vehicle/raptor.qh @@ -4,8 +4,8 @@ CLASS(Raptor, Vehicle) /* spawnflags */ ATTRIB(Raptor, spawnflags, int, VHF_DMGSHAKE | VHF_DMGROLL); -/* mins */ ATTRIB(Raptor, mins, vector, '-80 -80 0'); -/* maxs */ ATTRIB(Raptor, maxs, vector, '80 80 70'); +/* mins */ ATTRIB(Raptor, m_mins, vector, '-80 -80 0'); +/* maxs */ ATTRIB(Raptor, m_maxs, vector, '80 80 70'); /* view offset*/ ATTRIB(Raptor, view_ofs, vector, '0 0 160'); /* view dist */ ATTRIB(Raptor, height, float, 200); /* model */ ATTRIB(Raptor, mdl, string, "models/vehicles/raptor.dpm"); diff --git a/qcsrc/common/vehicles/vehicle/spiderbot.qh b/qcsrc/common/vehicles/vehicle/spiderbot.qh index a594ace04..414e0f805 100644 --- a/qcsrc/common/vehicles/vehicle/spiderbot.qh +++ b/qcsrc/common/vehicles/vehicle/spiderbot.qh @@ -4,8 +4,8 @@ CLASS(Spiderbot, Vehicle) /* spawnflags */ ATTRIB(Spiderbot, spawnflags, int, VHF_DMGSHAKE); -/* mins */ ATTRIB(Spiderbot, mins, vector, '-75 -75 10'); -/* maxs */ ATTRIB(Spiderbot, maxs, vector, '75 75 125'); +/* mins */ ATTRIB(Spiderbot, m_mins, vector, '-75 -75 10'); +/* maxs */ ATTRIB(Spiderbot, m_maxs, vector, '75 75 125'); /* view offset*/ ATTRIB(Spiderbot, view_ofs, vector, '0 0 70'); /* view dist */ ATTRIB(Spiderbot, height, float, 170); /* model */ ATTRIB(Spiderbot, mdl, string, "models/vehicles/spiderbot.dpm");