diff --git a/weapons/dmg.def b/weapons/dmg.def new file mode 100644 index 000000000..a6fac31fa --- /dev/null +++ b/weapons/dmg.def @@ -0,0 +1,416 @@ +//---------------------------------------------------------------- +// dmg.def +// +// Copyright 2002-2004 Raven Software +//---------------------------------------------------------------- + +export dmg +{ + options -prefix DMG_ -scale .3937 -keep muzzle_flash -sourcedir work/models/weapons/strogg_dark_matter/animations -destdir models/weapons/darkmatter +// addoptions -parent middle_ring outer_ring +// addoptions -parent inner_ring middle_ring + addoptions -skipmesh rt_strogg_arm_mesh + addoptions -skipmesh lft_strogg_arm_mesh + + mesh dmg_mesh.ma -dest dmg + anim dmg_sequence.ma -range 14 21 -dest raise + anim dmg_sequence.ma -range 21 93 -dest reload + anim dmg_sequence.ma -range 93 141 -dest idle + anim dmg_sequence.ma -range 141 176 -dest fire + anim dmg_sequence.ma -range 176 181 -dest lower + anim dmg_sequence.ma -range 200 207 -dest raise_loaded + anim dmg_sequence.ma -range 207 212 -dest lower_loaded +} + +export dmg_strogg +{ + options -prefix DMG_ -scale .3937 -keep muzzle_flash -sourcedir work/models/weapons/strogg_dark_matter/animations -destdir models/weapons/darkmatter + addoptions -skipmesh rt_arm_mesh + addoptions -skipmesh lft_arm_mesh + mesh dmg_mesh.ma -dest dmg_strogg +} + + +export dmg +{ + options -prefix PLAYER_DMG_ -scale .4 -keep muzzle_flash ATTACHER -sourcedir work/models/characters/marine/multiplayer -destdir models/weapons/darkmatter/world -rename ATTACHER origin -clearorigin + mesh darkmattergun_idle.ma -dest darkmattergun + anim darkmattergun_idle.ma -dest idle +} + +entityDef viewStyle_q3_dmg { + "viewoffset" "-0.6 0.5 -0.8" + "viewangles" "-0.7 -0.3 -1.5" +} + +entityDef dmg_shellshock +{ + // Double Vision + "dv_time" "1500" + "dv_scale" ".02" + + // Hearing Loss + "hl_volumeDB" "-25" + "hl_fadeOutTime" ".5" + "hl_time" "2.5" + "hl_fadeInTime" "1" + "snd_hl" "player_sounds_ringing" +} + +entityDef dmg_shellshock_nohl +{ + // Double Vision + "dv_time" "1500" + "dv_scale" ".04" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Weapon Definition +//-------------------------------------------------------------------------------------------------------------------- + +entityDef weapon_dmg +{ + "editor_menu" "pickup" + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + + "editor_usage" "Dark Matter Gun" + + "spawnclass" "idItem" + "weaponclass" "rvWeaponDarkMatterGun" + "size" "32 32 32" + "model_view" "weapon_dmg_view" + "model_view_strogg" "weapon_dmg_view_strogg" + "model_world" "weapon_dmg_world" + "model" "models/weapons/darkmatter/w_dmg.lwo" + "def_dropItem" "weapon_dmg" + "mtr_crosshair" "gfx/guis/crosshairs/crosshair_grenadelauncher" + + "joint_attach" "DMG_ATTACHER" + "joint_view_flash" "muzzle_flash" + "joint_view_barrel" "muzzle_flash" + "joint_world_flash" "muzzle_flash" + "joint_core" "inner_ring" + + "fireRate" "2" + "spread" "0" + + "inv_weapon" "weapon_dmg" + "inv_start_ammo_dmg" "10" + "inv_item" "1" + "inv_icon" "gfx/guis/hud/icons/item_darkmatter.tga" + "inv_name" "#str_107401" + + "weaponname" "Dark Matter Gun" + "def_projectile" "projectile_dmg" + "ammoType" "ammo_dmg" + "clipSize" "1" + "ammoRequired" "1" + "mtr_icon" "gfx/guis/hud/icons/gun_darkmatter" + +// "muzzle_kick_time" "0.8" +// "muzzle_kick_maxtime" "0.8" +// "muzzle_kick_angles" "-4 0 0" +// "muzzle_kick_offset" "2 0 1" + + "recoilTime" "500" + "recoilAngles" "-.20 0 0" + + "mtr_flashShader" "lights/muzzleflash" + "flashColor" "0.99 0.84 .31" + "flashRadius" "200" + "flashPointLight" "1" + "flashTime" ".1" + "flashViewOffset" "15 -5 -5" + + "chargeDuration" "4" + + "mtr_guiLightShader" "lights/viewWeaponGuiLight" + + "fx_muzzleflash" "effects/weapons/dmg/muzzleflash.fx" + "fx_muzzleflash_world" "effects/weapons/dmg/muzzleflash_world.fx" + "fx_respawn" "effects/mp/itemrespawn.fx" + "fx_core_start" "effects/weapons/dmg/core_start.fx" + "fx_core" "effects/weapons/dmg/core.fx" + + "snd_acquire" "pickup_weapon" + "snd_rings" "weapon_darkmatter_whoosh" + "snd_quaddamage" "weapon_quaddamage_fire" + "snd_noAmmo" "weapon_darkmatter_dryfire" + + "def_viewStyle" "viewStyle_q3_dmg" + + "hidesurface3" "models/monsters/maya_texture/maya_surface3" + + "weaponAngleOffsetAverages" "10" + "weaponAngleOffsetScale" ".25" + "weaponAngleOffsetMax" "5" + "weaponOffsetTime" "600" + "weaponOffsetScale" "0.002" + + "ring_outer_joint" "outer_ring" + "ring_outer_velocity" "0 500 0" + "ring_middle_joint" "middle_ring" + "ring_middle_velocity" "500 0 0" + "ring_inner_joint" "inner_ring" + "ring_inner_velocity" "0 300 0" + +// "launchFromBarrel" "1" + "foreshorten" ".55" + "net_syncPhysics" "1" +} + +entityDef weapon_dmg_mp +{ + "inherit" "weapon_dmg" + "def_mod1" "" + "editor_ignore" "1" + + "def_projectile" "projectile_dmg_mp" + "inv_icon" "gfx/guis/hud/icons/item_darkmatter_colored" + "inv_start_ammo_dmg" "3" + "triggerSize" "32" + + "muzzle_kick_time" "0" + "muzzle_kick_maxtime" "0" + "muzzle_kick_angles" "0 0 0" + "muzzle_kick_offset" "0 0 0" + "recoilTime" "0" + "recoilAngles" "0 0 0" + + "respawn_Team DM" "30" + "respawn_Tourney" "15" +} + +entityDef moveable_item_dmg +{ + "inherit" "weapon_dmg" + + "editor_rotatable" "1" + + "itemclipmodel" "models/weapons/darkmatter/w_dmg_clip.lwo" + + + "spawnclass" "idMoveableItem" + "density" "0.05" + "friction" "0.2" + "bouncyness" "0" + "mass" "5000" +} + + +//-------------------------------------------------------------------------------------------------------------------- +// Models +//-------------------------------------------------------------------------------------------------------------------- + +model weapon_dmg_view +{ + mesh models/weapons/darkmatter/dmg.md5mesh + anim fire models/weapons/darkmatter/fire.md5anim + { + frame 1 sound_weapon weapon_darkmatter_fire + frame 1 sound_item weapon_darkmatter_stereo_fire + } +// anim fire_idle models/weapons/darkmatter/post_fire_idle.md5anim + anim reload models/weapons/darkmatter/reload.md5anim + { + frame 1 sound_weapon weapon_darkmatter_charge + } + anim idle models/weapons/darkmatter/idle.md5anim + anim raise models/weapons/darkmatter/raise.md5anim + anim putaway models/weapons/darkmatter/lower.md5anim + anim raise_loaded models/weapons/darkmatter/raise_loaded.md5anim + anim putaway_loaded models/weapons/darkmatter/lower_loaded.md5anim +} + +model weapon_dmg_view_strogg +{ + inherit weapon_dmg_view + mesh models/weapons/darkmatter/dmg_strogg.md5mesh +} + +model weapon_dmg_world +{ + mesh models/weapons/darkmatter/world/darkmattergun.md5mesh + anim idle models/weapons/darkmatter/world/idle.md5anim +} + + +//-------------------------------------------------------------------------------------------------------------------- +// Projectile +//-------------------------------------------------------------------------------------------------------------------- + +entityDef damage_dmg_fly +{ + "damage" "30" + "radius" "200" +// "knockback" "100" + "push" "-3000" + "gib" "1" + + "attackerDamageScale" "0" // Dont hurt the player who shot it, but still do effects + "attackerPushScale" "0" // Dont push the player who shot it + + "pain" "stream" + "cower" "1" + + +/* + // Hearing Loss + "hl_volumeDB" "-25" + "hl_fadeOutTime" "0" + "hl_time" ".5" + "hl_fadeInTime" ".01" +// "snd_hl" "player_sounds_ringing" +*/ +} + +entityDef damage_dmg_splash +{ + "damage" "50" + "radius" "150" + "knockback" "100" + "push" "20000" + "gib" "0" + + "deathPush" "100" + "deathPushMin" "7000 9000" + "deathPushMax" "10000 12000" + + "pain" "stream" + + "cower" "1" + +} + +entityDef projectile_dmg +{ + "spawnclass" "rvDarkMatterProjectile" + "mins" "-4 -4 -4" + "maxs" "4 4 4" + "cone" "" + "noshadows" "1" + "clipmask_largeshot" "1" + + "no_contents" "1" + + "def_splash_damage" "damage_dmg_splash" + + "def_radius_damage" "damage_dmg_fly" + "damageRate" ".05" + + "speed" "250" + + "delay_splash" ".45" + + "linear_friction" "0" + "angular_friction" "0" + "contact_friction" "10" + "fuse" "10" + + "detonate_on_fuse" "1" + "detonate_on_death" "0" + "detonate_on_world" "1" + "detonate_on_actor" "0" + + "impact_gib" "1" + "decal_size" "75" + + "flyEffectAttenuateSpeed" "200" + + "fx_fly" "effects/weapons/dmg/fly.fx" + "fx_detonate" "effects/weapons/dmg/impact_default.fx" + "fx_impact" "effects/weapons/dmg/impact_default_mp.fx" + "fx_impact_water" "effects/ambient/splash_med.fx" + + "snd_ricochet" "grenade_bounce" + "snd_fly" "weapon_darkmatter_energy_loop" +} + +entityDef damage_dmg_mp +{ + "damage" "200" + "gib" "1" + + /* + "push" "40000" + "deathPush" "1000" + "deathPushMin" "3000 2000" + "deathPushMax" "5000 3000" + */ + + "knockback" "200" + "push" "0" + "deathPush" "0" + "deathPushMin" "0 00" + "deathPushMax" "0 0" + + "pain" "concussive" + "cower" "1" +} + +entityDef damage_dmg_splash_mp +{ + "damage" "100" + "radius" "768" + "gib" "1" + + /* + "knockback" "500" + "push" "10000" + "deathPush" "500" + "deathPushMin" "5000 6000" + "deathPushMax" "7000 8000" + */ + "knockback" "100" + "push" "0" + "deathPush" "0" + "deathPushMin" "0 00" + "deathPushMax" "0 0" + + "pain" "concussive" + "cower" "1" + + "attackerDamageScale" "0.5" + "attackerPushScale" "1.0" +} + +entityDef projectile_dmg_mp +{ + "spawnclass" "idProjectile" + "mins" "-10 -10 -10" + "maxs" "10 10 10" + "cone" "2" + "noshadows" "1" + "clipmask_largeshot" "1" + + "def_damage" "damage_dmg_mp" + "def_splash_damage" "damage_dmg_splash_mp" + + "speed" "350" + "fuse" "10" + "push" "48000" + + "predictTime" "50" + + "detonate_on_fuse" "1" + "detonate_on_death" "0" + "detonate_on_world" "1" + "detonate_on_actor" "1" + "detonate_on_bounce" "1" + + "impact_gib" "1" + "decal_size" "75" + + "fx_fly" "effects/weapons/dmg/fly_mp.fx" + "fx_detonate" "effects/weapons/dmg/impact_default_mp.fx" + "fx_impact" "effects/weapons/dmg/impact_default_mp.fx" + "fx_impact_mp" "effects/weapons/dmg/impact_default_mp.fx" + "fx_impact_water" "effects/ambient/splash_med.fx" + + "snd_ricochet" "grenade_bounce" + "snd_fly" "weapon_darkmatter_energy_loop" + + "friendly_impact" "1" +} diff --git a/weapons/gauntlet.def b/weapons/gauntlet.def new file mode 100644 index 000000000..e39549451 --- /dev/null +++ b/weapons/gauntlet.def @@ -0,0 +1,210 @@ +//---------------------------------------------------------------- +// gauntlet.def +// +// Copyright 2002-2004 Raven Software +//---------------------------------------------------------------- + +export gauntlet +{ + options -prefix GAUNTLET_ -scale .4 -sourcedir work/models/weapons/strogg_gauntlet/animations -destdir models/weapons/gauntlet + + addoptions -skipmesh rt_strogg_arm_mesh + addoptions -skipmesh lft_strogg_arm_mesh + + mesh idle.ma -dest view + anim idle.ma -dest view_idle + anim lower_raise.ma -range 1 6 -dest lower + anim lower_raise.ma -range 11 18 -dest raise + anim attack_start_loop_end.ma -range 1 8 -dest attack_start + anim attack_start_loop_end.ma -range 8 23 -dest attack_loop + anim attack_start_loop_end.ma -range 23 32 -dest attack_end +} + +export gauntlet_strogg +{ + options -prefix GAUNTLET_ -scale .4 -sourcedir work/models/weapons/strogg_gauntlet/animations -destdir models/weapons/gauntlet + addoptions -skipmesh rt_arm_mesh + addoptions -skipmesh lft_arm_mesh + + mesh idle.ma -dest view_strogg +} + +export gauntlet +{ + options -prefix PLAYER_GNT_ -scale .4 -keep ATTACHER -sourcedir work/models/characters/marine/multiplayer -destdir models/weapons/gauntlet/world -rename ATTACHER origin -clearorigin + mesh idle.ma -dest gauntlet + anim idle.ma -dest idle + anim idle.ma -dest fire +} + +entityDef viewStyle_shouldered_gauntlet { + "viewangles" "0 0 0" + "viewoffset" "0 0 0" +} + +entityDef viewStyle_q3_gauntlet { + "viewangles" "-2.8 -5 2.4" + "viewoffset" "-1.2 2.1 0.3" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Weapon Defintion +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef weapon_gauntlet +{ + "editor_menu" "pickup" + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + + "editor_usage" "Gauntlet" + + "spawnclass" "idItem" + "weaponclass" "rvWeaponGauntlet" + "weaponname" "Gauntlet" + "size" "32 32 32" + + "model_view" "weapon_gauntlet_view" + "model_view_strogg" "weapon_gauntlet_view_strogg" + "model_world" "weapon_gauntlet_world" + "model" "models/weapons/gauntlet/gauntlet.lwo" + + "joint_attach" "GNT_ATTACHER" + +// "joint_attach" "PST_ATTACHER" +// "joint_view_flashlight" "barrel" +// "joint_view_flash" "barrel" +// "joint_world_flash" "muzzle_flash" + + "inv_weapon" "weapon_gauntlet" + "inv_item" "5" + "inv_icon" "gfx/guis/hud/icons/item_gauntlet_colored" + "inv_name" "#str_107402" + + "clipSize" "0" + "ammoRequired" "0" + "ammoType" "ammo_none" + + "weaponAngleOffsetAverages" "10" + "weaponAngleOffsetScale" ".25" + "weaponAngleOffsetMax" "10" + "weaponOffsetTime" "600" + "weaponOffsetScale" "0.003" + + "mtr_crosshair" "gfx/guis/crosshairs/crosshair_shotgun" + "mtr_icon" "gfx/guis/hud/icons/gun_gauntlet" + + "foreshorten" ".65" + + // -------------------- Recoil and Muzzle Kick --------------------------------------- + + "muzzle_kick_time" "0.1" + "muzzle_kick_maxtime" "0.2" + "muzzle_kick_angles" "-5 0 0" + "muzzle_kick_offset" "2 0 0" + + "recoilTime" "100" + "recoilAngles" "-2 0 0" + + // ---------------------------- Muzzle Flash --------------------------------------- + + "mtr_flashShader" "lights/muzzleflash" + "flashColor" "0.7 0.8 1" + "flashRadius" "200" + "flashPointLight" "1" + "flashTime" ".1" + "flashViewOffset" "15 5 -10" + + "def_viewStyle" "viewStyle_q3_gauntlet" + "def_viewStyle1" "viewStyle_shouldered_gauntlet" + + "snd_acquire" "pickup_weapon" + "snd_blade_fast" "generic_laser_coupling_spin_fast" +// "snd_blade_slow" "generic_laser_coupling_spin_slow" + + "snd_spin_up" "weapon_gauntlet_spinup" + "snd_spin_down" "weapon_gauntlet_spindown" + "snd_spin_loop" "weapon_gauntlet_spin" + "snd_spin_wall" "weapon_gauntlet_wall" + "snd_spin_flesh" "weapon_gauntlet_flesh" + + "joint_blade" "center" + "blade_spinfast" "900 0 0" + "blade_spinslow" "90 0 0" + "blade_accel" ".25" + + "def_damage" "damage_gauntlet" + "fx_impact" "effects/weapons/gauntlet/impact.fx" + "fx_impact_flesh" "effects/weapons/gauntlet/impact_flesh.fx" + "fx_impact_monstermetal" "effects/weapons/gauntlet/impact_monstermetal.fx" + //"range" "32" + "range" "48" + //"fireRate" ".075" + "fireRate" ".4" + + "has_windup" "1" + "snd_hit" "weapon_mp_gauntlet_impact" +} + +entityDef weapon_gauntlet_mp +{ + "inherit" "weapon_gauntlet" + "muzzle_kick_time" "0" + "muzzle_kick_maxtime" "0" + "muzzle_kick_angles" "0 0 0" + "muzzle_kick_offset" "0 0 0" + "recoilTime" "0" + "recoilAngles" "0 0 0" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Models +//-------------------------------------------------------------------------------------------------------------------- + +model weapon_gauntlet_view +{ + mesh models/weapons/gauntlet/view.md5mesh + anim idle models/weapons/gauntlet/view_idle.md5anim + anim lower models/weapons/gauntlet/lower.md5anim + anim raise models/weapons/gauntlet/raise.md5anim + anim attack_start models/weapons/gauntlet/attack_start.md5anim + { + frame 1 sound_weapon scientist_weapon_move + } + anim attack_loop models/weapons/gauntlet/attack_loop.md5anim + anim attack_end models/weapons/gauntlet/attack_end.md5anim + { + frame 1 sound_weapon scientist_weapon_move + } +} + +model weapon_gauntlet_view_strogg +{ + inherit weapon_gauntlet_view + mesh models/weapons/gauntlet/view_strogg.md5mesh +} + +model weapon_gauntlet_world +{ + mesh models/weapons/gauntlet/world/gauntlet.md5mesh + anim idle models/weapons/gauntlet/world/idle.md5anim + anim fire models/weapons/gauntlet/world/fire.md5anim +} + +entityDef damage_gauntlet +{ + "damage" "50" + "gib" "1" + + "dv_time" "100" + "dv_scale" ".05" + + "deathPush" "200" + "deathPushMin" "2000 400" + "deathPushMax" "4000 500" + "knockback" "50" + + "bleed" "1" +} + diff --git a/weapons/rocketlauncher.def b/weapons/rocketlauncher.def new file mode 100644 index 000000000..dc883aec5 --- /dev/null +++ b/weapons/rocketlauncher.def @@ -0,0 +1,425 @@ +//---------------------------------------------------------------- +// rocketlauncher.def +// +// Copyright 2002-2004 Raven Software +//---------------------------------------------------------------- + +export rocketlauncher +{ + options -prefix SRL_ -scale .4 -keep muzzle_flash l_vent r_vent -sourcedir work/models/weapons/strogg_rocket_launcher/animations -destdir models/weapons/rocketlauncher + + addoptions -skipmesh rt_strogg_arm_mesh + addoptions -skipmesh lft_strogg_arm_mesh + + mesh idle_00.ma -dest mesh + anim idle_00.ma -dest idle + anim fire_00.ma -dest fire + anim raise_00.ma -dest raise + anim lower_00.ma -dest lower + anim reload_fast.ma -dest reload + anim reload_fast.ma -dest reload_empty -range 1 17 + anim reload_fast.ma -dest idle_empty -range 17 18 + anim reload_fast.ma -dest ammo_pickup -range 16 20 +} + +export rocketlauncher_strogg +{ + options -prefix SRL_ -scale .4 -keep muzzle_flash l_vent r_vent -sourcedir work/models/weapons/strogg_rocket_launcher/animations -destdir models/weapons/rocketlauncher + addoptions -skipmesh rt_arm_mesh + addoptions -skipmesh lft_arm_mesh + mesh idle_00.ma -dest mesh_strogg +} + +export rocketlauncher +{ + options -prefix PLAYER_RKT_ -scale .4 -keep muzzle_flash ATTACHER -sourcedir work/models/characters/marine/animation_mocap_cinematics -destdir models/weapons/rocketlauncher/world -rename ATTACHER origin -clearorigin + mesh newMarine_oneframe_idle.ma -dest rocketlauncher + anim newMarine_oneframe_idle.ma -dest idle +} + +entityDef viewStyle_q3_rocketlauncher { + "viewoffset" "-2.6 2.2 2.3" + "viewangles" "5.7 -3.9 -1.2" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Weapon Definition +//-------------------------------------------------------------------------------------------------------------------- +entityDef weapon_rocketlauncher +{ + "editor_menu" "pickup" + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + + "editor_usage" "Rocket Launcher" + + "spawnclass" "idItem" + "weaponclass" "rvWeaponRocketLauncher" + "size" "32 32 32" + "model_view" "weapon_rocketlauncher_view" + "model_view_strogg" "weapon_rocketlauncher_view_strogg" + "model_world" "weapon_rocketlauncher_world" + "model" "models/weapons/rocketlauncher/w_rl.lwo" + "def_dropItem" "weapon_rocketlauncher" + "mtr_crosshair" "gfx/guis/crosshairs/crosshair_rocketlauncher" + + "joint_attach" "RKT_ATTACHER" + "joint_view_flash" "muzzle_flash" + "joint_view_barrel" "muzzle_flash" + "joint_world_flash" "muzzle_flash" + + "inv_weapon" "weapon_rocketlauncher" + "inv_start_ammo_rocketlauncher" "10" + "inv_item" "1" + "inv_icon" "gfx/guis/hud/icons/item_rocket.tga" + "inv_name" "#str_107409" + + "fireRate" ".08" + "reloadRate" ".08" + "spread" "0" + + "ammoRegenStep" "1" + "ammoRegenTime" "750" + + "weaponname" "COOL Rocket Launcher" + "def_projectile" "projectile_rocket" + "ammoType" "ammo_rocketlauncher" + "clipSize" "1" + "ammoRequired" "1" + "gui" "guis/weapons/rocketlauncher_ammo.gui" + "mtr_icon" "gfx/guis/hud/icons/gun_rocketlauncher" + + "muzzle_kick_time" "0.5" + "muzzle_kick_maxtime" "0.5" + "muzzle_kick_angles" "-15 0 0" + "muzzle_kick_offset" "3 0 3" + + "recoilTime" "500" + "recoilAngles" "-.20 0 0" + + "mtr_flashShader" "lights/muzzleflash" + "flashColor" "0.99 0.04 .99" + "flashRadius" "200" + "flashPointLight" "1" + "flashTime" ".1" + "flashViewOffset" "15 -5 -5" + + "mtr_guiLightShader" "lights/viewWeaponGuiLight" + + "fx_muzzleflash" "effects/weapons/rocketlauncher/muzzleflash.fx" + "fx_muzzleflash_world" "effects/weapons/rocketlauncher/muzzleflash_world.fx" + "fx_respawn" "effects/mp/itemrespawn.fx" + + "snd_acquire" "pickup_weapon" + "snd_quaddamage" "weapon_quaddamage_fire" + "snd_noAmmo" "weapon_rocketlauncher_dryfire" + + "foreshorten" ".6" + + "def_viewStyle" "viewStyle_q3_rocketlauncher" + + "weaponAngleOffsetAverages" "10" + "weaponAngleOffsetScale" ".15" + "weaponAngleOffsetMax" "3" + "weaponOffsetTime" "600" + "weaponOffsetScale" "0.002" + +// "launchFromBarrel" "1" + + "def_mod1" "wpmod_rocketlauncher_burst" + "def_mod2" "wpmod_rocketlauncher_homing" + + "net_syncPhysics" "1" +} + +entityDef moveable_item_rocketlauncher +{ + "inherit" "weapon_rocketlauncher" + + "editor_rotatable" "1" + + "itemclipmodel" "models/weapons/rocketlauncher/w_rl_clip.lwo" + + + "spawnclass" "idMoveableItem" + "mass" "5000" + "density" "0.05" + "friction" "0.2" + "bouncyness" "0" +} + +entityDef weapon_rocketlauncher_mp +{ + "inherit" "weapon_rocketlauncher" + + "muzzle_kick_time" "0" + "muzzle_kick_maxtime" "0" + "muzzle_kick_angles" "0 0 0" + "muzzle_kick_offset" "0 0 0" + "recoilTime" "0" + "recoilAngles" "0 0 0" + + "inv_icon" "gfx/guis/hud/icons/item_rocket_colored" + "triggerSize" "32" + + "respawn_Team DM" "30" + "respawn_Tourney" "15" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Models +//-------------------------------------------------------------------------------------------------------------------- + +model weapon_rocketlauncher_view +{ + mesh models/weapons/rocketlauncher/mesh.md5mesh + + channel legs ( *origin -*reload_rack -*ram -iris_bone_6 -iris_bone_5 -iris_bone_4 -iris_bone_3 -iris_bone_2 -iris_bone_1 ) + channel torso ( *reload_rack *ram iris_bone_6 iris_bone_5 iris_bone_4 iris_bone_3 iris_bone_2 iris_bone_1 ) + + anim idle models/weapons/rocketlauncher/idle.md5anim + anim fire models/weapons/rocketlauncher/fire.md5anim + { + rate .25 + + frame 1 sound_weapon player_rocketlauncher_fire + frame 1 sound_item player_rocketlauncher_fire_stereo + } + + anim idle_empty models/weapons/rocketlauncher/idle_empty.md5anim + + anim reload models/weapons/rocketlauncher/reload.md5anim + { + rate 2 + frame 5 sound_weapon player_rocketlauncher_load + frame 8 object_call AddToClip + frame 9 sound_item player_rocketlauncher_servo + } + + anim reload_empty models/weapons/rocketlauncher/reload_empty.md5anim + { + frame 5 sound_weapon player_rocketlauncher_load + frame 8 object_call AddToClip + frame 8 sound_item player_rocketlauncher_servo + } + + anim raise models/weapons/rocketlauncher/raise.md5anim + anim putaway models/weapons/rocketlauncher/lower.md5anim + { + frame 1 sound_weapon weapon_switch + } + + anim ammo_pickup models/weapons/rocketlauncher/ammo_pickup.md5anim +} + +model weapon_rocketlauncher_view_strogg +{ + inherit weapon_rocketlauncher_view + + mesh models/weapons/rocketlauncher/mesh_strogg.md5mesh + + channel legs ( *origin -*reload_rack -*ram -iris_bone_6 -iris_bone_5 -iris_bone_4 -iris_bone_3 -iris_bone_2 -iris_bone_1 ) + channel torso ( *reload_rack *ram iris_bone_6 iris_bone_5 iris_bone_4 iris_bone_3 iris_bone_2 iris_bone_1 ) +} + +model weapon_rocketlauncher_world +{ + mesh models/weapons/rocketlauncher/world/rocketlauncher.md5mesh + anim idle models/weapons/rocketlauncher/world/idle.md5anim +} + +//-------------------------------------------------------------------------------------------------------------------- +// Mods +//-------------------------------------------------------------------------------------------------------------------- + +// twhitaker: ugly hack to make it so that we only have a single rocket launcher mod. +// basically getting either of the mods is equivalent to getting both of the mods. +entityDef wpmod_rocketlauncher_burst +{ + "weapon" "weapon_rocketlauncher" + + "def_projectile" "projectile_rocket_homing" + + "fx_guide" "effects/weapons/rocketlauncher/guide.fx" + "zoomFov" "90" + + "lockRange" "10000" + "lockSlowdown" ".25" + "lockAccelTime" ".5" + + "clipSize" "3" + "fireRate" ".3" +} + +entityDef wpmod_rocketlauncher_homing +{ + "weapon" "weapon_rocketlauncher" + + "mod_showsurface" "models/weapons/rocketlauncher/rl_seeker" + + "def_projectile" "projectile_rocket_homing" + + "fx_guide" "effects/weapons/rocketlauncher/guide.fx" + "zoomFov" "90" + + "lockRange" "10000" + "lockSlowdown" ".25" + "lockAccelTime" ".5" + + "clipSize" "3" + "fireRate" ".3" +} + +entityDef weaponmod_rocketlauncher_burst +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + "editor_menu" "pickup" + "editor_usage" "RocketLauncher burst fire modification" + + "spawnclass" "idItem" + "size" "32 32 32" + "inv_weaponmod" "wpmod_rocketlauncher_burst" + "inv_ammo_rocketlauncher" "10" + "inv_item" "1" + "model" "models/items/ammo/ammo_box.lwo" + + "net_syncPhysics" "1" +} + +entityDef weaponmod_rocketlauncher_homing +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + "editor_menu" "pickup" + "editor_usage" "RocketLauncher homing rocket modification" + + "spawnclass" "idItem" + "size" "32 32 32" + "inv_weaponmod" "wpmod_rocketlauncher_homing" + "inv_ammo_rocketlauncher" "10" + "inv_item" "1" + "inv_icon" "gfx/guis/hud/icons/item_rocket.tga" + "inv_name" "#str_107440" + "model" "models/items/ammo/ammo_box.lwo" + + "net_syncPhysics" "1" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Projectile +//-------------------------------------------------------------------------------------------------------------------- + +entityDef projectile_rocket +{ + "spawnclass" "idProjectile" + "size" "7 7 7" + "cone" "2" + "noshadows" "1" + "clipmask_largeshot" "1" + + "model" "models/weapons/rocketlauncher/rocket.lwo" + "def_damage" "damage_rocketDirect" + "def_splash_damage" "damage_rocketSplash" + + "speed" "900" + "fuse" "6" + "push" "48000" + + + "detonate_on_fuse" "1" + "detonate_on_death" "0" + "detonate_on_world" "1" + "detonate_on_actor" "1" + "detonate_on_bounce" "1" + + "impact_gib" "1" + "decal_size" "75" + + "fx_fly" "effects/weapons/rocketlauncher/fly.fx" + "fx_fly_mp" "effects/weapons/rocketlauncher/fly_mp.fx" + "fx_detonate" "effects/weapons/rocketlauncher/detonate.fx" + "fx_detonate_mp" "effects/weapons/rocketlauncher/detonate_mp.fx" + "fx_impact" "effects/weapons/rocketlauncher/impact.fx" + "fx_impact_mp" "effects/weapons/rocketlauncher/impact_mp.fx" + "fx_impact_water" "effects/ambient/splash_med.fx" + "fx_impact_rock" "effects/weapons/rocketlauncher/impact_concrete.fx" + "fx_impact_rock_mp" "effects/weapons/rocketlauncher/impact_mp.fx" + "fx_impact_concrete" "effects/weapons/rocketlauncher/impact_concrete.fx" + "fx_impact_concrete_mp" "effects/weapons/rocketlauncher/impact_mp.fx" + + "snd_fly" "player_rocketlauncher_fly" + + "friendly_impact" "1" +} + +entityDef projectile_rocket_mp +{ + "inherit" "projectile_rocket" + "predictTime" "50" +} + +entityDef projectile_rocket_homing +{ + "inherit" "projectile_rocket" + + "spawnclass" "idGuidedProjectile" + "random" "450 450 450" + + "turn_max" "360" + "clamp_dist" "10000" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Damage +//-------------------------------------------------------------------------------------------------------------------- + +entityDef damage_rocketDirect +{ + "damage" "150" + "push" "45000" + "gib" "1" + + "deathPush" "200" + "deathPushMin" "3000 2000" + "deathPushMax" "5000 3000" + + "pain" "concussive" + "cower" "1" + +} + +entityDef damage_rocketDirect_mp +{ + "inherit" "damage_rocketDirect" + "damage" "100" + "knockback" "100" +} + +entityDef damage_rocketSplash +{ + "damage" "150" + "radius" "180" + "knockback" "100" + "push" "10000" + "gib" "0" + + "deathPush" "100" + "deathPushMin" "5000 6000" + "deathPushMax" "7000 8000" + + "pain" "concussive" + + "cower" "1" +} + +entityDef damage_rocketSplash_mp +{ + "inherit" "damage_rocketSplash" + "knockback" "100" + "damage" "100" + "radius" "120" +} \ No newline at end of file