From 50d9e8eab7934e0b76c04ef4a300f0fe93d4f7f5 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Oct 2009 11:42:48 +0000 Subject: * Replace reams of BG_Find* functions with: BG_Buildable, BG_Class, BG_Weapon, BG_Upgrade * Move "overrides/*" to "configs/" and remove all the overriden data from bg_misc.c, instead requiring it to be in the cfg files * Add cfg files to source control * Clean up some naming and typing issues --- configs/buildables/acid_tube.cfg | 5 +++++ configs/buildables/arm.cfg | 5 +++++ configs/buildables/barricade.cfg | 5 +++++ configs/buildables/booster.cfg | 5 +++++ configs/buildables/dcc.cfg | 5 +++++ configs/buildables/eggpod.cfg | 5 +++++ configs/buildables/hive.cfg | 5 +++++ configs/buildables/hovel.cfg | 5 +++++ configs/buildables/medistat.cfg | 5 +++++ configs/buildables/mgturret.cfg | 7 +++++++ configs/buildables/overmind.cfg | 5 +++++ configs/buildables/reactor.cfg | 5 +++++ configs/buildables/repeater.cfg | 5 +++++ configs/buildables/telenode.cfg | 5 +++++ configs/buildables/tesla.cfg | 5 +++++ configs/buildables/trapper.cfg | 5 +++++ configs/classes/builder.cfg | 16 ++++++++++++++++ configs/classes/builderupg.cfg | 16 ++++++++++++++++ configs/classes/human_base.cfg | 16 ++++++++++++++++ configs/classes/human_bsuit.cfg | 16 ++++++++++++++++ configs/classes/level0.cfg | 16 ++++++++++++++++ configs/classes/level1.cfg | 16 ++++++++++++++++ configs/classes/level1upg.cfg | 16 ++++++++++++++++ configs/classes/level2.cfg | 16 ++++++++++++++++ configs/classes/level2upg.cfg | 16 ++++++++++++++++ configs/classes/level3.cfg | 16 ++++++++++++++++ configs/classes/level3upg.cfg | 16 ++++++++++++++++ configs/classes/level4.cfg | 16 ++++++++++++++++ configs/classes/spectator.cfg | 16 ++++++++++++++++ 29 files changed, 290 insertions(+) create mode 100644 configs/buildables/acid_tube.cfg create mode 100644 configs/buildables/arm.cfg create mode 100644 configs/buildables/barricade.cfg create mode 100644 configs/buildables/booster.cfg create mode 100644 configs/buildables/dcc.cfg create mode 100644 configs/buildables/eggpod.cfg create mode 100644 configs/buildables/hive.cfg create mode 100644 configs/buildables/hovel.cfg create mode 100644 configs/buildables/medistat.cfg create mode 100644 configs/buildables/mgturret.cfg create mode 100644 configs/buildables/overmind.cfg create mode 100644 configs/buildables/reactor.cfg create mode 100644 configs/buildables/repeater.cfg create mode 100644 configs/buildables/telenode.cfg create mode 100644 configs/buildables/tesla.cfg create mode 100644 configs/buildables/trapper.cfg create mode 100644 configs/classes/builder.cfg create mode 100644 configs/classes/builderupg.cfg create mode 100644 configs/classes/human_base.cfg create mode 100644 configs/classes/human_bsuit.cfg create mode 100644 configs/classes/level0.cfg create mode 100644 configs/classes/level1.cfg create mode 100644 configs/classes/level1upg.cfg create mode 100644 configs/classes/level2.cfg create mode 100644 configs/classes/level2upg.cfg create mode 100644 configs/classes/level3.cfg create mode 100644 configs/classes/level3upg.cfg create mode 100644 configs/classes/level4.cfg create mode 100644 configs/classes/spectator.cfg (limited to 'configs') diff --git a/configs/buildables/acid_tube.cfg b/configs/buildables/acid_tube.cfg new file mode 100644 index 00000000..e44ed48f --- /dev/null +++ b/configs/buildables/acid_tube.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/acid_tube/acid_tube.md3 +modelScale 0.6 +mins -15 -15 -15 +maxs 15 15 15 +zOffset -8.5 diff --git a/configs/buildables/arm.cfg b/configs/buildables/arm.cfg new file mode 100644 index 00000000..3e45fc29 --- /dev/null +++ b/configs/buildables/arm.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/arm/arm.md3 +modelScale 1.0 +mins -40 -40 -13 +maxs 40 40 50 +zOffset -2.0 diff --git a/configs/buildables/barricade.cfg b/configs/buildables/barricade.cfg new file mode 100644 index 00000000..56146478 --- /dev/null +++ b/configs/buildables/barricade.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/barricade/barricade.md3 +modelScale 1.0 +mins -35 -35 -15 +maxs 35 35 60 +zOffset 0 diff --git a/configs/buildables/booster.cfg b/configs/buildables/booster.cfg new file mode 100644 index 00000000..b0903df5 --- /dev/null +++ b/configs/buildables/booster.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/booster/booster.md3 +modelScale 1.0 +mins -26 -26 -9 +maxs 26 26 9 +zOffset 0 diff --git a/configs/buildables/dcc.cfg b/configs/buildables/dcc.cfg new file mode 100644 index 00000000..932e3023 --- /dev/null +++ b/configs/buildables/dcc.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/dcc/dcc.md3 +modelScale 1.0 +mins -35 -35 -13 +maxs 35 35 47 +zOffset 0 diff --git a/configs/buildables/eggpod.cfg b/configs/buildables/eggpod.cfg new file mode 100644 index 00000000..71cb6c70 --- /dev/null +++ b/configs/buildables/eggpod.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/eggpod/eggpod.md3 +modelScale 1.0 +mins -15 -15 -15 +maxs 15 15 15 +zOffset 0 diff --git a/configs/buildables/hive.cfg b/configs/buildables/hive.cfg new file mode 100644 index 00000000..b700f6ed --- /dev/null +++ b/configs/buildables/hive.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/hive/hive.md3 +modelScale 1.0 +mins -35 -35 -25 +maxs 35 35 25 +zOffset 0 diff --git a/configs/buildables/hovel.cfg b/configs/buildables/hovel.cfg new file mode 100644 index 00000000..5e2922c9 --- /dev/null +++ b/configs/buildables/hovel.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/hovel/hovel.md3 +modelScale 1.0 +mins -50 -50 -20 +maxs 50 50 20 +zOffset 0 diff --git a/configs/buildables/medistat.cfg b/configs/buildables/medistat.cfg new file mode 100644 index 00000000..179a0528 --- /dev/null +++ b/configs/buildables/medistat.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/medistat/medistat.md3 +modelScale 1.0 +mins -35 -35 -7 +maxs 35 35 4 +zOffset 0 diff --git a/configs/buildables/mgturret.cfg b/configs/buildables/mgturret.cfg new file mode 100644 index 00000000..83a23093 --- /dev/null +++ b/configs/buildables/mgturret.cfg @@ -0,0 +1,7 @@ +model 0 models/buildables/mgturret/turret_base.md3 +model 1 models/buildables/mgturret/turret_barrel.md3 +model 2 models/buildables/mgturret/turret_top.md3 +modelScale 1.0 +mins -25 -25 -20 +maxs 25 25 20 +zOffset 0 diff --git a/configs/buildables/overmind.cfg b/configs/buildables/overmind.cfg new file mode 100644 index 00000000..f9baca5d --- /dev/null +++ b/configs/buildables/overmind.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/overmind/overmind.md3 +modelScale 1.0 +mins -45 -45 -15 +maxs 45 45 95 +zOffset 0 diff --git a/configs/buildables/reactor.cfg b/configs/buildables/reactor.cfg new file mode 100644 index 00000000..d724c44f --- /dev/null +++ b/configs/buildables/reactor.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/reactor/reactor.md3 +mins -41 -41 -15 +maxs 41 41 95 +zOffset -2.0 +modelScale 0.85 diff --git a/configs/buildables/repeater.cfg b/configs/buildables/repeater.cfg new file mode 100644 index 00000000..eec28243 --- /dev/null +++ b/configs/buildables/repeater.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/repeater/repeater.md3 +modelScale 1.0 +mins -15 -15 -15 +maxs 15 15 25 +zOffset 0 diff --git a/configs/buildables/telenode.cfg b/configs/buildables/telenode.cfg new file mode 100644 index 00000000..173a92f1 --- /dev/null +++ b/configs/buildables/telenode.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/telenode/telenode.md3 +modelScale 1.0 +mins -40 -40 -4 +maxs 40 40 6 +zOffset 0 diff --git a/configs/buildables/tesla.cfg b/configs/buildables/tesla.cfg new file mode 100644 index 00000000..36d1e33a --- /dev/null +++ b/configs/buildables/tesla.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/tesla/tesla.md3 +modelScale 1.0 +mins -22 -22 -40 +maxs 22 22 40 +zOffset 0 diff --git a/configs/buildables/trapper.cfg b/configs/buildables/trapper.cfg new file mode 100644 index 00000000..0c3f0d01 --- /dev/null +++ b/configs/buildables/trapper.cfg @@ -0,0 +1,5 @@ +model 0 models/buildables/trapper/trapper.md3 +modelScale 1.0 +mins -15 -15 -15 +maxs 15 15 15 +zOffset 0 diff --git a/configs/classes/builder.cfg b/configs/classes/builder.cfg new file mode 100644 index 00000000..d06fec6f --- /dev/null +++ b/configs/classes/builder.cfg @@ -0,0 +1,16 @@ +name "Granger" +model builder +modelScale 1.0 +skin default +shadowScale 1.0 +hud alien_builder_hud + +mins -20 -20 -20 +maxs 20 20 20 +crouchMaxs 20 20 20 +deadMins -20 -20 -4 +deadMaxs 20 20 4 +zOffset 0.0 + +viewheight 0 +crouchViewheight 0 diff --git a/configs/classes/builderupg.cfg b/configs/classes/builderupg.cfg new file mode 100644 index 00000000..6762d97a --- /dev/null +++ b/configs/classes/builderupg.cfg @@ -0,0 +1,16 @@ +name "Advanced Granger" +model builder +modelScale 1.25 +skin advanced +shadowScale 1.25 +hud alien_builder_hud + +mins -25 -25 -25 +maxs 25 25 25 +crouchMaxs 25 25 25 +deadMins -25 -25 -4 +deadMaxs 25 25 4 +zOffset 0.0 + +viewheight 0 +crouchViewheight 0 diff --git a/configs/classes/human_base.cfg b/configs/classes/human_base.cfg new file mode 100644 index 00000000..a6e51ff5 --- /dev/null +++ b/configs/classes/human_base.cfg @@ -0,0 +1,16 @@ +name "Human Base" +model human_base +modelScale 1.0 +skin default +shadowScale 1.0 +hud human_hud + +mins -15 -15 -24 +maxs 15 15 32 +crouchMaxs 15 15 16 +deadMins -15 -15 -4 +deadMaxs 15 15 4 +zOffset 0.0 + +viewheight 26 +crouchViewheight 12 diff --git a/configs/classes/human_bsuit.cfg b/configs/classes/human_bsuit.cfg new file mode 100644 index 00000000..b14f3a89 --- /dev/null +++ b/configs/classes/human_bsuit.cfg @@ -0,0 +1,16 @@ +name "Human Battlesuit" +model human_bsuit +modelScale 1.0 +skin default +shadowScale 1.0 +hud human_hud + +mins -15 -15 -38 +maxs 15 15 38 +crouchMaxs 15 15 38 +deadMins -15 -15 -4 +deadMaxs 15 15 4 +zOffset -16.0 + +viewheight 35 +crouchViewheight 35 diff --git a/configs/classes/level0.cfg b/configs/classes/level0.cfg new file mode 100644 index 00000000..fbfefffc --- /dev/null +++ b/configs/classes/level0.cfg @@ -0,0 +1,16 @@ +name "Dretch" +model level0 +modelScale 1.0 +skin default +shadowScale 0.3 +hud alien_general_hud + +mins -15 -15 -15 +maxs 15 15 15 +crouchMaxs 15 15 15 +deadMins -15 -15 -15 +deadMaxs 15 15 15 +zOffset -8.0 + +viewheight 0 +crouchViewheight 0 diff --git a/configs/classes/level1.cfg b/configs/classes/level1.cfg new file mode 100644 index 00000000..81daae31 --- /dev/null +++ b/configs/classes/level1.cfg @@ -0,0 +1,16 @@ +name "Basilisk" +model level1 +modelScale 1.0 +skin default +shadowScale 1.0 +hud alien_general_hud + +mins -18 -18 -18 +maxs 18 18 18 +crouchMaxs 18 18 18 +deadMins -18 -18 -4 +deadMaxs 18 18 4 +zOffset 0.0 + +viewheight 0 +crouchViewheight 0 diff --git a/configs/classes/level1upg.cfg b/configs/classes/level1upg.cfg new file mode 100644 index 00000000..9448694a --- /dev/null +++ b/configs/classes/level1upg.cfg @@ -0,0 +1,16 @@ +name "Advanced Basilisk" +model level1 +modelScale 1.1666 +skin upgrade +shadowScale 1.0 +hud alien_general_hud + +mins -21 -21 -21 +maxs 21 21 21 +crouchMaxs 21 21 21 +deadMins -21 -21 -4.666 +deadMaxs 21 21 4.666 +zOffset 0.0 + +viewheight 0 +crouchViewheight 0 diff --git a/configs/classes/level2.cfg b/configs/classes/level2.cfg new file mode 100644 index 00000000..e5d54b2d --- /dev/null +++ b/configs/classes/level2.cfg @@ -0,0 +1,16 @@ +name "Marauder" +model level2 +modelScale 1.0 +skin default +shadowScale 1.0 +hud alien_general_hud + +mins -25 -25 -22 +maxs 25 25 16 +crouchMaxs 25 25 16 +deadMins -25 -25 -4 +deadMaxs 25 25 4 +zOffset 0.0 + +viewheight 10 +crouchViewheight 10 diff --git a/configs/classes/level2upg.cfg b/configs/classes/level2upg.cfg new file mode 100644 index 00000000..2d11d274 --- /dev/null +++ b/configs/classes/level2upg.cfg @@ -0,0 +1,16 @@ +name "Advanced Marauder" +model level2 +modelScale 1.1 +skin adv +shadowScale 1.0 +hud alien_general_hud + +mins -26 -26 -24 +maxs 26 26 18 +crouchMaxs 26 26 18 +deadMins -26 -26 -4 +deadMaxs 26 26 4 +zOffset 0.0 + +viewheight 12 +crouchViewheight 12 diff --git a/configs/classes/level3.cfg b/configs/classes/level3.cfg new file mode 100644 index 00000000..100b4c16 --- /dev/null +++ b/configs/classes/level3.cfg @@ -0,0 +1,16 @@ +name "Dragoon" +model level3 +modelScale 1.0 +skin default +shadowScale 1.0 +hud alien_general_hud + +mins -26 -26 -23 +maxs 26 26 32 +crouchMaxs 26 26 32 +deadMins -26 -26 -4 +deadMaxs 26 26 4 +zOffset 0.0 + +viewheight 24 +crouchViewheight 24 diff --git a/configs/classes/level3upg.cfg b/configs/classes/level3upg.cfg new file mode 100644 index 00000000..683c5722 --- /dev/null +++ b/configs/classes/level3upg.cfg @@ -0,0 +1,16 @@ +name "Advanced Dragoon" +model level3 +modelScale 1.25 +skin adv +shadowScale 1.0 +hud alien_general_hud + +mins -32 -32 -29 +maxs 32 32 38 +crouchMaxs 32 32 38 +deadMins -32 -32 -4 +deadMaxs 32 32 4 +zOffset 0.0 + +viewheight 27 +crouchViewheight 27 diff --git a/configs/classes/level4.cfg b/configs/classes/level4.cfg new file mode 100644 index 00000000..0cab3567 --- /dev/null +++ b/configs/classes/level4.cfg @@ -0,0 +1,16 @@ +name "Tyrant" +model level4 +modelScale 1.0 +skin default +shadowScale 2.0 +hud alien_general_hud + +mins -32 -32 -22 +maxs 32 32 70 +crouchMaxs 32 32 70 +deadMins -32 -32 -34 +deadMaxs 32 32 34 +zOffset 0.0 + +viewheight 35 +crouchViewheight 35 diff --git a/configs/classes/spectator.cfg b/configs/classes/spectator.cfg new file mode 100644 index 00000000..f7efc1f3 --- /dev/null +++ b/configs/classes/spectator.cfg @@ -0,0 +1,16 @@ +name "Spectator" +model "" +modelScale 1.0 +skin "" +shadowScale 1.0 +hud "" + +mins -12 -12 -12 +maxs 12 12 12 +crouchMaxs 12 12 12 +deadMins -12 -12 -12 +deadMaxs 12 12 12 +zOffset 0.0 + +viewheight 0 +crouchViewheight 0 -- cgit