diff --git a/IT266MOD/Quake4Config.cfg b/IT266MOD/Quake4Config.cfg new file mode 100644 index 000000000..232954302 --- /dev/null +++ b/IT266MOD/Quake4Config.cfg @@ -0,0 +1,294 @@ +unbindall +bind "RIGHTALT" "_strafe" +bind "RIGHTCTRL" "_attack" +bind "RIGHTSHIFT" "_speed" +bind "LEFTALT" "_strafe" +bind "LEFTCTRL" "_attack" +bind "LEFTSHIFT" "_speed" +bind "TAB" "_impulse19" +bind "ESCAPE" "togglemenu" +bind "SPACE" "_moveup" +bind "0" "_impulse9" +bind "1" "_impulse0" +bind "2" "_impulse1" +bind "3" "_impulse2" +bind "4" "_impulse3" +bind "5" "_impulse4" +bind "6" "_impulse5" +bind "7" "_impulse6" +bind "8" "_impulse7" +bind "9" "_impulse8" +bind "[" "_impulse14" +bind "]" "_impulse15" +bind "`" "toggleconsole" +bind "a" "_moveleft" +bind "c" "_movedown" +bind "d" "_moveright" +bind "f" "_impulse50" +bind "r" "_impulse13" +bind "s" "_back" +bind "t" "clientmessagemode" +bind "w" "_forward" +bind "y" "clientmessagemode 1" +bind "z" "_ingameStats" +bind "~" "toggleconsole" +bind "F1" "_impulse28" +bind "F2" "_impulse29" +bind "F3" "_impulse17" +bind "F5" "savegame quick" +bind "F6" "_impulse20" +bind "F7" "_impulse22" +bind "F9" "loadgame quick" +bind "F12" "screenshot" +bind "MOUSE1" "_attack" +bind "MOUSE2" "_zoom" +bind "MOUSE3" "_zoom" +bind "MWHEELDOWN" "_impulse14" +bind "MWHEELUP" "_impulse15" +bind "PAUSE" "pause" +bind "UPARROW" "_forward" +bind "DOWNARROW" "_back" +bind "LEFTARROW" "_left" +bind "RIGHTARROW" "_right" +bind "DEL" "_lookdown" +bind "PGDN" "_lookup" +bind "END" "_impulse18" +bind "KP_ENTER" "_impulse21" +bind "KP_INS" "_moveup" +seta bse_rateCost "1.0" +seta bse_rateLimit "1.0" +seta bse_scale "1.2" +seta gui_mediumFontLimit "0.60" +seta gui_smallFontLimit "0.30" +seta win_viewlog_update_count "10" +seta win_viewlog_ypos "0" +seta win_viewlog_xpos "1" +seta net_socksPassword "" +seta net_socksUsername "" +seta net_socksPort "1080" +seta net_socksServer "" +seta net_socksEnabled "0" +seta win_ypos "0" +seta win_xpos "0" +seta r_strictResolutionMatch "1" +seta s_useDeferredSettings "1" +seta s_minStereo "8" +seta s_deviceName "" +seta s_useEAXOcclusion "0" +seta s_useEAXReverb "0" +seta s_useOpenAL "0" +seta s_voiceVolume "1.0" +seta s_voiceLatency "100" +seta s_micInputLevel "6" +seta s_voiceChatEcho "0" +seta s_voiceChatReceive "1" +seta s_voiceChatSend "1" +seta s_radioChatterFraction "0.9" +seta s_speakerFraction "0.65" +seta s_numberOfSpeakers "2" +seta s_subFraction "0.5" +seta s_meterTopTime "2000" +seta s_reverse "0" +seta s_mp_maxWindow "0.4" +seta s_mp_minVolume "0.15" +seta s_earSeperationAlgo "0" +seta s_spatializationDecay "2" +seta s_dotbias2 "1.1" +seta s_minVolume2 "0.25" +seta s_dotbias6 "0.8" +seta s_minVolume6 "0" +seta s_maxChannelsMixed "24" +seta s_musicVolume "0.5" +seta s_decompressionLimit "2" +seta s_globalFraction "0.8" +seta s_useOcclusion "1" +seta s_playDefaultSound "1" +seta s_maxSoundsPerShader "0" +seta s_doorDistanceAdd "150" +seta s_volume "1" +seta r_skipSky "0" +seta r_forceAmbient "0" +seta r_debugArrowStep "120" +seta r_debugLineWidth "1" +seta r_debugLineDepthTest "0" +seta r_forceLoadImages "0" +seta r_shadows "1" +seta r_useSMP "0" +seta r_skipBump "0" +seta r_skipSpecular "0" +seta r_skipNewAmbient "0" +seta r_renderer "best" +seta r_ignoreHWGamma "0" +seta r_brightness "1.2" +seta r_gamma "1" +seta r_swapInterval "0" +seta r_useIndexBuffers "0" +seta r_customHeight "486" +seta r_customWidth "720" +seta r_fullscreen "0" +seta r_displayRefresh "0" +seta r_mode "17" +seta r_aspectRatio "1" +seta r_alphaToCoverage "1" +seta r_multiSamples "0" +seta image_downSizeLimit "128" +seta image_ignoreHighQuality "1" +seta image_downSizeBumpLimit "128" +seta image_downSizeSpecularLimit "64" +seta image_downSizeBump "1" +seta image_downSizeSpecular "1" +seta image_useCache "0" +seta image_cacheMegs "100" +seta image_cacheMinK "30" +seta image_usePrecompressedTextures "0" +seta image_useNormalCompressionLoadDDSForPal "1" +seta image_useNormalCompression "0" +seta image_useAllFormats "1" +seta image_useCompression "0" +seta image_downSize "1" +seta image_lodbias "0" +seta image_anisotropy "8" +seta image_filter "GL_LINEAR_MIPMAP_LINEAR" +seta g_friendsList "" +seta g_favoritesList "" +seta demo_enforceFS "0" +seta ri_maxViewers "0" +seta net_httpServerPlayerBW "0" +seta net_httpServerGlobalBW "0" +seta net_httpServerPort "0" +seta net_httpProxyMode "1" +seta net_httpProxy "" +seta net_reportUsageStatistics "0" +seta net_clientDownload "1" +seta net_serverAllowServerMod "0" +seta net_spawnRepeater "0" +seta net_LANRepeater "0" +seta net_LANServer "0" +seta net_menuLANServer "0" +seta net_master4 "" +seta net_master3 "" +seta net_master2 "" +seta net_master1 "" +seta net_clientUseroriginTime "100" +seta net_clientUsercmdPacking "2" +seta net_clientPrediction "10" +seta net_clientMaxRate "16000" +seta net_serverMaxClientRate "3686" +seta net_serverMenuDedicated "0" +seta net_clientRepeaterDelay "0" +seta m_strafeSmooth "4" +seta m_smooth "1" +seta m_strafeScale "6.25" +seta m_yaw "0.022" +seta m_pitch "0.022" +seta m_accel "0" +seta sensitivity "5" +seta in_joystickLeftStickMove "1" +seta in_toggleZoom "0" +seta in_toggleCrouch "0" +seta in_toggleRun "0" +seta in_alwaysRun "1" +seta in_freeLook "1" +seta in_anglespeedkey "1.5" +seta in_pitchspeed "140" +seta in_yawspeed "140" +seta gui_configServerRate "0" +seta com_lastQuicksave "Quick0" +seta com_skipLevelLoadPause "0" +seta com_guid "oO/qPr0TSNg" +seta com_preloadDemos "0" +seta com_compressDemos "1" +seta sv_punkbuster "0" +seta cl_punkbuster "0" +seta com_videoRam "-1" +seta com_showFPS "0" +seta com_allowConsole "0" +seta com_purgeAll "1" +seta com_machineSpec "3" +seta sys_lang "english" +seta ui_name "Player" +seta ui_model "model_player_marine" +seta ui_skin "base" +seta si_fragLimit "10" +seta si_timeLimit "0" +seta si_map "game/airdefense1" +seta si_gameType "singleplayer" +seta g_showHudPopups "0" +seta g_brassTime "2" +seta g_decals "1" +seta g_projectileLights "1" +seta si_numPlayers "4" +seta g_announcerDelay "1000" +seta g_mapCycle "mapcycle" +seta g_voteFlags "0" +seta g_gameReviewPause "15" +seta g_password "" +seta g_gunViewStyle "0" +seta g_crosshairCustomFile "gfx/guis/crosshairs/crosshair_blaster.tga" +seta g_crosshairCustom "0" +seta g_crosshairColor "1 1 1 1" +seta g_crosshairSize "32" +seta g_showProjectilePct "0" +seta g_showHud "1" +seta g_skipItemShadowsMP "0" +seta g_skipPlayerShadowsMP "0" +seta g_showPlayerShadow "0" +seta pm_vehicleSoundLerpScale "10" +seta pm_vehicleCameraScaleMax "300" +seta pm_vehicleCameraSpeedScale "0.5" +seta pm_vehicleCameraMinDist "300" +seta pm_vehicleCameraSnap "1" +seta g_editEntityTextDistance "256" +seta g_editEntityDistance "512" +seta g_showcamerainfo "0" +seta g_healthTakeLimit "25" +seta g_healthTakeAmt "5" +seta g_healthTakeTime "5" +seta g_useDynamicProtection "1" +seta g_armorProtectionMP "0.66667" +seta g_armorProtection "0.66667" +seta g_nightmare "0" +seta g_doubleVision "1" +seta g_muzzleFlash "1" +seta ui_showGun "1" +seta ui_autoReload "1" +seta ui_autoSwitch "1" +seta ui_hitscanTint "120.0 0.6 1.0" +seta ui_clan "" +seta ui_model_strogg "" +seta ui_model_marine "" +seta ui_team "Marine" +seta si_autobalance "1" +seta si_shuffle "0" +seta si_spectators "1" +seta si_usePass "0" +seta si_warmup "1" +seta si_teamDamage "0" +seta si_allowHitscanTint "2" +seta si_allowVoting "0" +seta si_useReady "0" +seta si_tourneyLimit "3" +seta si_captureLimit "5" +seta si_minPlayers "2" +seta si_maxPlayers "8" +seta si_mapCycle "" +seta si_name "Quake 4 Server" +seta g_spectatorChat "0" +seta net_clientLagOMeter "0" +seta si_voiceChat "1" +seta si_serverURL "" +seta net_serverDlTable "" +seta net_serverDlBaseURL "" +seta net_serverDownload "0" +seta si_voteFlags "0" +seta g_simpleItems "0" +seta pm_zoomedSlow "100" +seta g_forceMarineModel "" +seta g_forceStroggModel "" +seta g_forceModel "" +seta si_controlTime "120" +seta si_suddenDeathRestart "1" +seta g_privatePassword "" +seta si_privatePlayers "0" +seta si_dropWeaponsInBuyingModes "0" +seta si_isBuyingEnabled "0" diff --git a/IT266MOD/config.spec b/IT266MOD/config.spec new file mode 100644 index 000000000..e69de29bb diff --git a/IT266MOD/def/weapons/rocketlauncher.def b/IT266MOD/def/weapons/rocketlauncher.def new file mode 100644 index 000000000..77c09c743 --- /dev/null +++ b/IT266MOD/def/weapons/rocketlauncher.def @@ -0,0 +1,437 @@ +//---------------------------------------------------------------- +// 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" ".8" + "reloadRate" ".8" + "spread" "0" + + "ammoRegenStep" "1" + "ammoRegenTime" "1750" + + "weaponname" "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.84 .31" + "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" + "mtr_simple_icon" "simpleicons/item_rocket_colored" + "simple_icon_scale" "32.0" + "triggerSize" "32" + + "respawn_Team DM" "30" + "respawn_Tourney" "15" + + // played when you touch a weapon you can't acquire, i.e. weaponStay in MP + "snd_noAcquire" "pickup_weaponstay" +} + +//-------------------------------------------------------------------------------------------------------------------- +// 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 player_rocketlauncher_load + frame 8 object_call AddToClip + frame 9 sound player_rocketlauncher_servo + } + + anim reload_empty models/weapons/rocketlauncher/reload_empty.md5anim + { + frame 5 sound player_rocketlauncher_load + frame 8 object_call AddToClip + frame 8 sound player_rocketlauncher_servo + } + + anim raise models/weapons/rocketlauncher/raise.md5anim + anim putaway models/weapons/rocketlauncher/lower.md5anim + { + frame 1 sound 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" "9" + "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_fly_mp_low" "effects/weapons/rocketlauncher/fly_mp_low.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" + + "fx_teleport_enter" "effects/mp/item_teleport.fx" + "fx_teleport" "effects/mp/item_teleport.fx" +} + +entityDef projectile_rocket_mp +{ + "inherit" "projectile_rocket" + "predictTime" "50" + "speed" "935" + "size" "5 5 5" + "no_impact_prediction" "1" +} + +entityDef projectile_rocket_homing +{ + "inherit" "projectile_rocket" + + "spawnclass" "idGuidedProjectile" + "random" "450 450 450" + + "turn_max" "360" + "clamp_dist" "10000" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Damage +//-------------------------------------------------------------------------------------------------------------------- + +entityDef damage_rocketDirect +{ + "damage" "1500" + "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" "110" +} + +entityDef damage_rocketSplash +{ + "damage" "1500" + "radius" "18" + "knockback" "10000" + "push" "10000" + "gib" "0" + + "deathPush" "100" + "deathPushMin" "5000 6000" + "deathPushMax" "7000 8000" + + "pain" "concussive" + + "cower" "1" +} + +entityDef damage_rocketSplash_mp +{ + "inherit" "damage_rocketSplash" + "knockback" "110" + "damage" "100" + "radius" "120" +} \ No newline at end of file diff --git a/IT266MOD/def/weapons/shotgun.def b/IT266MOD/def/weapons/shotgun.def new file mode 100644 index 000000000..543ca8d45 --- /dev/null +++ b/IT266MOD/def/weapons/shotgun.def @@ -0,0 +1,376 @@ +//---------------------------------------------------------------- +// shotgun.def +// +// Copyright 2002-2004 Raven Software +//---------------------------------------------------------------- + +export shotgun +{ + options -prefix SHOTGUN_ -keep lft_pnky_3 -scale .4 -keep flash eject -parent lft_wrst body + + addoptions -skipmesh rt_strogg_arm_mesh + addoptions -skipmesh lft_strogg_arm_mesh + + mesh work/models/weapons/marine_shotgun/animations/SHOTGUN_mesh.ma -dest models/weapons/shotgun/view + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_fire.ma -dest models/weapons/shotgun/fire + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_idle.ma -dest models/weapons/shotgun/idle + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_raise.ma -dest models/weapons/shotgun/raise + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_lower.ma -dest models/weapons/shotgun/lower + + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_reload_start.ma -dest models/weapons/shotgun/reload_start + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_reload_loop.ma -dest models/weapons/shotgun/reload_loop + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_reload_end.ma -dest models/weapons/shotgun/reload_end + anim work/models/weapons/marine_shotgun/animations/SHOTGUN_reload_clip.ma -dest models/weapons/shotgun/reload_clip +} + +export shotgun_strogg +{ + options -prefix SHOTGUN_ -keep lft_pnky_3 -scale .4 -keep flash eject -parent lft_wrst body + + addoptions -skipmesh rt_arm_mesh + addoptions -skipmesh lft_arm_mesh + mesh work/models/weapons/marine_shotgun/animations/SHOTGUN_mesh.ma -dest models/weapons/shotgun/view_strogg +} + +export shotgun +{ + options -prefix PLAYER_SG_ -scale .4 -keep ATTACHER muzzle_flash -sourcedir work/models/characters/marine/multiplayer -destdir models/weapons/shotgun/world -rename ATTACHER origin -clearorigin + mesh shotgun_idle.ma -dest shotgun + anim shotgun_idle.ma -dest idle +} + +entityDef viewStyle_shouldered_shotgun { + "viewoffset" "-1.6 4.5 3.7" + "viewangles" "2 -6.25 2" +} + +entityDef viewStyle_q3_shotgun { + "viewoffset" "-1.6 3.8 3.7" + "viewangles" "3 -8.5 2" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Weapon Defintion +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef weapon_shotgun +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + + "editor_usage" "Shotgun" + "editor_menu" "pickup" + "editor_var inv_weaponmod" "comma separated of any of the following shotgun modifications.\n - weapon_shotgun_ammo" + + "spawnclass" "idItem" + "weaponclass" "rvWeaponShotgun" + "size" "32 32 32" + "model_view" "weapon_shotgun_view" + "model_view_strogg" "weapon_shotgun_view_strogg" + "model_world" "weapon_shotgun_world" + "model" "models/weapons/shotgun/w_sg.lwo" + "def_dropItem" "weapon_shotgun" + "def_ejectBrass" "debris_brass_shotgun" + + "joint_attach" "SG_ATTACHER" + "joint_view_flash" "flash" + "joint_view_eject" "eject" + "joint_view_guiLight" "body" + "joint_world_flash" "muzzle_flash" + + "fireRate" ".1" + "spread" "100" + "hitscans" "110" + + "inv_weapon" "weapon_shotgun" + "inv_start_ammo_shotgun" "100" + "inv_item" "1" + "inv_icon" "gfx/guis/hud/icons/item_shotgun.tga" + "inv_name" "#str_107410" + + "weaponname" "Shotgun" + "def_hitscan" "hitscan_shotgun_pellet" + "mtr_crosshair" "gfx/guis/crosshairs/crosshair_shotgun" + "ammoType" "ammo_shotgun" + "clipSize" "80" + "ammoRequired" "1" + "gui" "guis/weapons/shotgun_ammo.gui" + "mtr_icon" "gfx/guis/hud/icons/gun_shotgun" + + "muzzle_kick_time" "0.5" + "muzzle_kick_maxtime" "0.8" + "muzzle_kick_angles" "0 0 0" + "muzzle_kick_offset" "5.5 .15 .15" // 1 1 2" //"2.5 1 2" + + "ammoRegenStep" "1" + "ammoRegenTime" "1" + + "ejectOffset" "6 -4 -3" + + "recoilTime" "600" + "recoilAngles" "-.25 0 0" + + "def_mod1" "wpmod_shotgun_ammo" + + "foreshorten" ".44" + + "mtr_flashShader" "lights/muzzleflash" + "flashColor" "1 0.8 0.4" + "flashRadius" "240" + "flashPointLight" "1" + "flashTime" ".1" + "flashViewOffset" "15 -5 -5" + + "fx_eject" "effects/weapons/shotgun/eject.fx" + "fx_muzzleflash" "effects/weapons/shotgun/muzzleflash.fx" + "fx_muzzleflash_world" "effects/weapons/shotgun/muzzleflash_world.fx" + "fx_respawn" "effects/mp/itemrespawn.fx" + + "def_viewStyle" "viewStyle_q3_shotgun" + "def_viewStyle1" "viewStyle_shouldered_shotgun" + + "weaponAngleOffsetAverages" "10" + "weaponAngleOffsetScale" ".10" + "weaponAngleOffsetMax" "2" + "weaponOffsetTime" "600" + "weaponOffsetScale" "0.002" + + "snd_quaddamage" "weapon_quaddamage_fire" + "snd_acquire" "pickup_weapon" + "snd_noAmmo" "weapon_shotgun_dryfire" + + "mtr_guiLightShader" "lights/viewWeaponGuiLight" + "glightRadius" ".9" + "glightOffset" "0 1.5 -5.0" + "glightColor" "1 0 0 1" + + "net_syncPhysics" "1" +} + +entityDef weapon_shotgun_mp +{ + "inherit" "weapon_shotgun" + "clipsize" "0" + "hidesurface" "models/weapons/shotgun/clip" + // q3 style spread + "shotgunSpreadStyle" "1" + "spread" "875" + "hitscans" "110" + "editor_ignore" "1" + "range" "131072" + "fireRate" "1.0" + "inv_icon" "gfx/guis/hud/icons/item_shotgun_colored" + "mtr_simple_icon" "simpleicons/item_shotgun_colored" + "simple_icon_scale" "32.0" + "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" + + // played when you touch a weapon you can't acquire, i.e. weaponStay in MP + "snd_noAcquire" "pickup_weaponstay" +} + +entityDef moveable_item_shotgun +{ + "inherit" "weapon_shotgun" + + "editor_rotatable" "1" + + "itemclipmodel" "models/weapons/shotgun/w_sg_clip.lwo" + + "spawnclass" "idMoveableItem" + "mass" "2000" + "density" "0.05" + "friction" "0.2" + "bouncyness" "0" + +} + +//-------------------------------------------------------------------------------------------------------------------- +// Models +//-------------------------------------------------------------------------------------------------------------------0 + +model weapon_shotgun_view +{ + mesh models/weapons/shotgun/view.md5mesh + + anim idle models/weapons/shotgun/idle.md5anim + { + rate .25 + } + anim raise models/weapons/shotgun/raise.md5anim + { + frame 5 sound weapon_shotgun_pump1 + frame 10 sound weapon_shotgun_pump2 + } + anim putaway models/weapons/shotgun/lower.md5anim + { + frame 1 sound_weapon weapon_switch + } + + anim fire1 models/weapons/shotgun/fire.md5anim + { + frame 1 sound_weapon weapon_shotgun_fire + frame 1 sound_item weapon_shotgun_fire_stereo + frame 12 sound weapon_shotgun_pump1 + frame 15 object_call EjectBrass + frame 16 sound weapon_shotgun_pump2 + } + + anim reload_start models/weapons/shotgun/reload_start.md5anim + anim reload_loop models/weapons/shotgun/reload_loop.md5anim + { + frame 4 sound_item weapon_shotgun_shell + } + + anim reload_end models/weapons/shotgun/reload_end.md5anim + { + frame 4 sound weapon_shotgun_pump1 + frame 8 sound weapon_shotgun_pump2 + } + + anim reload_clip models/weapons/shotgun/reload_clip.md5anim + { + frame 9 sound weapon_shotgun_clipout + frame 22 sound weapon_shotgun_clipin + frame 35 sound weapon_shotgun_pump1 + frame 38 sound weapon_shotgun_pump2 + } +} + +model weapon_shotgun_view_strogg +{ + inherit weapon_shotgun_view + mesh models/weapons/shotgun/view_strogg.md5mesh +} + +model weapon_shotgun_world +{ + mesh models/weapons/shotgun/world/shotgun.md5mesh + anim idle models/weapons/shotgun/world/idle.md5anim + +/* + anim idle models/weapons/shotgun/world/shotgun_idle.md5anim + anim aim models/weapons/shotgun/world/shotgun_idle.md5anim + anim fire1 models/weapons/shotgun/world/shotgun_fire1.md5anim + anim fire2 models/weapons/shotgun/world/shotgun_fire1.md5anim + anim fire3 models/weapons/shotgun/world/shotgun_fire1.md5anim + anim fire4 models/weapons/shotgun/world/shotgun_fire1.md5anim + anim fire5 models/weapons/shotgun/world/shotgun_fire1.md5anim + anim reload_start models/weapons/shotgun/world/shotgun_reload_start.md5anim + anim reload_loop models/weapons/shotgun/world/shotgun_reload_loop.md5anim + anim reload_end models/weapons/shotgun/world/shotgun_reload_end.md5anim + anim putaway models/weapons/shotgun/world/shotgun_idle.md5anim +*/ +} + +//-------------------------------------------------------------------------------------------------------------------- +// Mods +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef wpmod_shotgun_ammo +{ + "weapon" "weapon_shotgun" + "mod_showsurface" "models/weapons/shotgun/clip" + "clipSize" "100" +} + +entityDef weaponmod_shotgun_ammo +{ + "editor_color" ".3 .3 1" + "editor_mins" "-16 -16 0" + "editor_maxs" "16 16 32" + "editor_menu" "pickup" + "editor_usage" "Shotgun Ammo Modification" + + "spawnclass" "idItem" + "size" "32 32 32" + "inv_weaponmod" "wpmod_shotgun_ammo" + "inv_ammo_shotgun" "320" + "inv_item" "1" + "inv_icon" "gfx/guis/hud/icons/item_shotgun.tga" + "inv_name" "#str_107431" + "model" "models/items/ammo/ammo_box.lwo" +} + +//-------------------------------------------------------------------------------------------------------------------- +// HitScan +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef hitscan_shotgun_pellet +{ + "inherit" "hitscan_bullet" + "fx_impact" "effects/weapons/shotgun/impact_default.fx" + "fx_impact_water" "effects/ambient/splash_smll.fx" + "fx_impact_concrete" "effects/weapons/shotgun/impact_concrete.fx" + "fx_impact_electronics" "effects/weapons/shotgun/impact_electronics.fx" + "fx_impact_flesh" "effects/weapons/shotgun/impact_flesh.fx" + "fx_impact_glass" "effects/weapons/shotgun/impact_glass.fx" + "fx_impact_bpglass" "effects/weapons/shotgun/impact_bpglass.fx" + "fx_impact_monstermetal" "effects/weapons/shotgun/impact_monstermetal.fx" + "fx_impact_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "fx_impact_concrete_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "fx_impact_rock_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "fx_impact_glass_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "fx_impact_bpglass_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "fx_impact_electronics_mp" "effects/weapons/shotgun/impact_default_mp.fx" + "def_damage" "damage_pellet" + "def_damage_flesh" "damage_pellet" + // for multiplayer clients. we only sync the hitscan def + // must be the same as weapon_shotgun_mp + "hitscans" "110" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Damage +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef damage_pellet +{ + "inherit" "damage_bullet" + "damage" "14" + + "splat_size" "128" + + "deathPush" "100" + "deathPushMin" "4000 500" + "deathPushMax" "9000 600" +} + +entityDef damage_pellet_mp +{ + "inherit" "damage_pellet" + "knockback" "1000" + "damage" "10" +} + +//-------------------------------------------------------------------------------------------------------------------- +// Casing +//-------------------------------------------------------------------------------------------------------------------0 + +entityDef debris_brass_shotgun { + "model" "models/weapons/shotgun/sshell_bigger.lwo" + + "scale" "0.3" + "scale_reset_duration" "0.35" + + "linear_velocity" "10 -55 75" + "linear_velocity_range" "0.1 0.2 0.25" + "angular_velocity" "0 16000 0" + "angular_velocity_range" "0 0.5 0" + + "density" "0.02" + "linear_friction" "0.2" + "angular_friction" "0.1" + "friction" "0.2" + "bouncyness" "0.1" + "snd_bounce" "shotgun_shell" +} diff --git a/IT266MOD/game000.pk4 b/IT266MOD/game000.pk4 new file mode 100644 index 000000000..adf8e0a25 Binary files /dev/null and b/IT266MOD/game000.pk4 differ diff --git a/IT266MOD/gamex86.dll b/IT266MOD/gamex86.dll new file mode 100644 index 000000000..0377f2726 Binary files /dev/null and b/IT266MOD/gamex86.dll differ diff --git a/IT266MOD/savegames/Autosave_game_airdefense1.save b/IT266MOD/savegames/Autosave_game_airdefense1.save new file mode 100644 index 000000000..1fe40e96b Binary files /dev/null and b/IT266MOD/savegames/Autosave_game_airdefense1.save differ diff --git a/IT266MOD/savegames/Autosave_game_airdefense1.txt b/IT266MOD/savegames/Autosave_game_airdefense1.txt new file mode 100644 index 000000000..09d698f7c --- /dev/null +++ b/IT266MOD/savegames/Autosave_game_airdefense1.txt @@ -0,0 +1,4 @@ +"Autosave game/airdefense1" +"^:Map Start ^0AIR DEFENSE BUNKER" +"gfx/guis/loadscreens/generic" +nooverwrite \ No newline at end of file