Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 77 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: Weapon modding
killerciao
General Member
Since: Oct 11, 2008
Posts: 27
Last: Jul 26, 2010
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Thursday, Jul. 22, 2010 06:49 am
Hi i need a very strange help!
I've found in the game a weapon (USP) modified tant shoots brick than bullet O.O
How i can change this and put...another model? like... barrel or car...
Help me!

This is the suorce cod of weap!
WEAPONFILE\displayName\^2A^7K^1M ^1Lancia ^3Mattoni\modeName\\playerAnimType\none\altWeapon\\AIOverlayDescription\\weaponType\bullet\weaponClass\pistol\penetrateType\none\impactType\bullet_large\inventoryType\primary\fireType\Full Auto\twoHanded\0\rifleBullet\1\armorPiercing\0\boltAction\1\aimDownSight\1\rechamberWhileAds\1\noPartialReload\0\segmentedReload\0\adsFire\0\noAdsWhenMagEmpty\0\avoidDropCleanup\0\enhanced\0\cancelAutoHolsterWhenEmpty\0\suppressAmmoReserveDisplay\0\laserSightDuringNightvision\0\blocksProne\0\silenced\0\autoAimRange\0\aimAssistRange\3200\aimAssistRangeAds\3200\enemyCrosshairRange\320\crosshairColorChange\1\moveSpeedScale\1\adsMoveSpeedScale\1\sprintDurationScale\1\gunMaxPitch\2\gunMaxYaw\8\lowAmmoWarningThreshold\0.33\ammoName\usp\maxAmmo\5000\startAmmo\5000\clipName\usp\clipSize\5000\shotCount\3\dropAmmoMin\1\dropAmmoMax\300\reloadAmmoAdd\0\reloadStartAdd\0\damage\50\minDamage\10\meleeDamage\100\maxDamageRange\384\minDamageRange\2000\playerDamage\150\locNone\1\locHelmet\3\locHead\3\locNeck\1\locTorsoUpper\1\locTorsoLower\1\locRightArmUpper\1\locRightArmLower\1\locRightHand\1\locLeftArmUpper\1\locLeftArmLower\1\locLeftHand\1\locRightLegUpper\1\locRightLegLower\1\locRightFoot\1\locLeftLegUpper\1\locLeftLegLower\1\locLeftFoot\1\locGun\0\fireTime\0.125\fireDelay\0\meleeTime\0.7\meleeChargeTime\0\meleeDelay\0.1\meleeChargeDelay\0\reloadTime\2\reloadEmptyTime\2\reloadStartTime\0\reloadEndTime\0\reloadAddTime\1.7\reloadStartAddTime\0\rechamberTime\0.1\rechamberBoltTime\0\dropTime\0\raiseTime\0.5\altDropTime\0\altRaiseTime\0\quickDropTime\0.25\quickRaiseTime\0.25\firstRaiseTime\0.5\emptyDropTime\0.5\emptyRaiseTime\0.5\sprintInTime\0.5\sprintLoopTime\0.5\sprintOutTime\0.5\nightVisionWearTime\0\nightVisionWearTimeFadeOutEnd\0\nightVisionWearTimePowerUp\0\nightVisionRemoveTime\0\nightVisionRemoveTimePowerDown\0\nightVisionRemoveTimeFadeInStart\0\standMoveF\0\standMoveR\1\standMoveU\-1.7\standRotP\0\standRotY\0\standRotR\0\standMoveMinSpeed\0\standRotMinSpeed\0\posMoveRate\5\posRotRate\6\duckedMoveF\0\duckedMoveR\1\duckedMoveU\-2\duckedRotP\0\duckedRotY\0\duckedRotR\0\duckedOfsF\-0.8\duckedOfsR\1.2\duckedOfsU\-1\duckedMoveMinSpeed\0\duckedRotMinSpeed\0\proneMoveF\-20\proneMoveR\-25\proneMoveU\-95\proneRotP\0\proneRotY\270\proneRotR\-300\proneOfsF\2\proneOfsR\2\proneOfsU\-1.6\posProneMoveRate\8\posProneRotRate\8\proneMoveMinSpeed\0\proneRotMinSpeed\0\hipIdleAmount\30\adsIdleAmount\28\hipIdleSpeed\1\adsIdleSpeed\1\idleCrouchFactor\0.8\idleProneFactor\0.6\adsSpread\0\adsAimPitch\0\adsTransInTime\0.15\adsTransOutTime\0.15\adsTransBlendTime\0.1\adsReloadTransTime\0.6\adsCrosshairInFrac\1\adsCrosshairOutFrac\0.2\adsZoomFov\65\adsZoomInFrac\0.42\adsZoomOutFrac\0.08\adsBobFactor\0.5\adsViewBobMult\0.25\adsViewErrorMin\0\adsViewErrorMax\0\hipSpreadStandMin\3\hipSpreadDuckedMin\2.5\hipSpreadProneMin\2\hipSpreadMax\8\hipSpreadDuckedMax\8\hipSpreadProneMax\8\hipSpreadFireAdd\1\hipSpreadTurnAdd\0\hipSpreadMoveAdd\4.5\hipSpreadDecayRate\4\hipSpreadDuckedDecay\1\hipSpreadProneDecay\1\hipGunKickReducedKickBullets\0\hipGunKickReducedKickPercent\0\hipGunKickPitchMin\0\hipGunKickPitchMax\0\hipGunKickYawMin\0\hipGunKickYawMax\0\hipGunKickAccel\1000\hipGunKickSpeedMax\1200\hipGunKickSpeedDecay\100\hipGunKickStaticDecay\2\adsGunKickReducedKickBullets\0\adsGunKickReducedKickPercent\0\adsGunKickPitchMin\0\adsGunKickPitchMax\0\adsGunKickYawMin\0\adsGunKickYawMax\0\adsGunKickAccel\0\adsGunKickSpeedMax\0\adsGunKickSpeedDecay\25\adsGunKickStaticDecay\50\hipViewKickPitchMin\0\hipViewKickPitchMax\0\hipViewKickYawMin\0\hipViewKickYawMax\0\hipViewKickCenterSpeed\1200\adsViewKickPitchMin\0\adsViewKickPitchMax\0\adsViewKickYawMin\0\adsViewKickYawMax\0\adsViewKickCenterSpeed\1200\swayMaxAngle\5\swayLerpSpeed\4\swayPitchScale\0.1\swayYawScale\0.1\swayHorizScale\0.14\swayVertScale\0.5\swayShellShockScale\5\adsSwayMaxAngle\6\adsSwayLerpSpeed\6\adsSwayPitchScale\0\adsSwayYawScale\0\adsSwayHorizScale\0.16\adsSwayVertScale\0.25\fightDist\720\maxDist\250\aiVsAiAccuracyGraph\\aiVsPlayerAccuracyGraph\\reticleCenter\\reticleSide\reticle_side_small\reticleCenterSize\4\reticleSideSize\8\reticleMinOfs\0\hipReticleSidePos\0\adsOverlayShader\\adsOverlayShaderLowRes\\adsOverlayReticle\none\adsOverlayWidth\220\adsOverlayHeight\220\gunModel\viewmodel_USP\gunModel2\\gunModel3\\gunModel4\\gunModel5\\gunModel6\\gunModel7\\gunModel8\\gunModel9\\gunModel10\\gunModel11\\gunModel12\\gunModel13\\gunModel14\\gunModel15\\gunModel16\\handModel\viewmodel_base_viewhands\worldModel\weapon_USP\worldModel2\\worldModel3\\worldModel4\\worldModel5\\worldModel6\\worldModel7\\worldModel8\\worldModel9\\worldModel10\\worldModel11\\worldModel12\\worldModel13\\worldModel14\\worldModel15\\worldModel16\\worldClipModel\\knifeModel\\worldKnifeModel\\idleAnim\viewmodel_USP_idle\emptyIdleAnim\viewmodel_USP_idle\fireAnim\viewmodel_USP_fire\lastShotAnim\viewmodel_USP_lastfire\rechamberAnim\\meleeAnim\viewmodel_USP_melee\meleeChargeAnim\\reloadAnim\viewmodel_USP_reload\reloadEmptyAnim\viewmodel_USP_reload_empty\reloadStartAnim\\reloadEndAnim\\raiseAnim\viewmodel_USP_pullout2\dropAnim\viewmodel_USP_putaway\firstRaiseAnim\\altRaiseAnim\viewmodel_USP_pullout2\altDropAnim\viewmodel_USP_putaway\quickRaiseAnim\viewmodel_USP_pullout2\quickDropAnim\viewmodel_USP_putaway\emptyRaiseAnim\\emptyDropAnim\\sprintInAnim\\sprintLoopAnim\\sprintOutAnim\\nightVisionWearAnim\\nightVisionRemoveAnim\\adsFireAnim\viewmodel_USP_fire_ads\adsLastShotAnim\viewmodel_USP_lastfire\adsRechamberAnim\\adsUpAnim\viewmodel_USP_ADS_up\adsDownAnim\viewmodel_USP_ADS_down\viewFlashEffect\test/brick_1\worldFlashEffect\test/brick_1\viewShellEjectEffect\\worldShellEjectEffect\\viewLastShotEjectEffect\\worldLastShotEjectEffect\\worldClipDropEffect\\pickupSound\\pickupSoundPlayer\\ammoPickupSound\\ammoPickupSoundPlayer\\fireSound\\fireSoundPlayer\\lastShotSound\\lastShotSoundPlayer\\emptyFireSound\\emptyFireSoundPlayer\\meleeSwipeSound\\meleeSwipeSoundPlayer\\meleeHitSound\\meleeMissSound\\rechamberSound\\rechamberSoundPlayer\\reloadSound\\reloadSoundPlayer\\reloadEmptySound\\reloadEmptySoundPlayer\\reloadStartSound\\reloadStartSoundPlayer\\reloadEndSound\\reloadEndSoundPlayer\\altSwitchSound\\altSwitchSoundPlayer\\raiseSound\\raiseSoundPlayer\\firstRaiseSound\\firstRaiseSoundPlayer\\putawaySound\\putawaySoundPlayer\\nightVisionWearSound\\nightVisionWearSoundPlayer\\nightVisionRemoveSound\\nightVisionRemoveSoundPlayer\\hudIcon\hud_icon_pistol\killIcon\hud_icon_pistol\dpadIcon\\ammoCounterIcon\\hudIconRatio\4:1\killIconRatio\4:1\dpadIconRatio\4:1\ammoCounterIconRatio\4:1\ammoCounterClip\None\flipKillIcon\1\fireRumble\defaultweapon_fire\meleeImpactRumble\defaultweapon_melee\adsDofStart\0\adsDofEnd\0\hideTags\\notetrackSoundMap\melee_knife_stab melee_knife_stab
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Thursday, Jul. 22, 2010 02:40 pm
what you would have to do is find where it says something like "shoot projectile" or find were it has the bricks model name then edit that to the model of a car.
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Thursday, Jul. 22, 2010 02:44 pm
Quote:
^3Mattoni\modeName\\playerAnimType\none\altWeapon\\AIOverlayDescription\\weaponType\bullet\weaponClass\pistol\penetrateType\none\impactType\bullet_large\inventoryType\primary\fireType\Full Auto\twoHanded\0\rifleBullet\1\armorPiercing\0\boltAction\1\aimDownSight\1\rechamberWhileAds\1\noPartialReload\0\segmentedReload\0\adsFire\0\noAdsWhenMagEmpty\0\avoidDropCleanup\0\enhanced\0\cancelAutoHolsterWhenEmpty\0\suppressAmmoReserveDisplay\0\laserSightDuringNightvision\0\blocksProne\0\silenced\0\autoAimRange\0\aimAssistRange\3200\aimAssistRangeAds\3200\enemyCrosshairRange\320\crosshairColorChange\1\moveSpeedScale\1\adsMoveSpeedScale\1\sprintDurationScale\1\gunMaxPitch\2\gunMaxYaw\8\lowAmmoWarningThreshold\0.33\ammoName\usp\maxAmmo\5000\startAmmo\5000\clipName\usp\clipSize\5000\shotCount\3\dropAmmoMin\1\dropAmmoMax\300\reloadAmmoAdd\0\reloadStartAdd\0\damage\50\minDamage\10\meleeDamage\100\maxDamageRange\384\minDamageRange\2000\playerDamage\150\locNone\1\locHelmet\3\locHead\3\locNeck\1\locTorsoUpper\1\locTorsoLower\1\locRightArmUpper\1\locRightArmLower\1\locRightHand\1\locLeftArmUpper\1\locLeftArmLower\1\locLeftHand\1\locRightLegUpper\1\locRightLegLower\1\locRightFoot\1\locLeftLegUpper\1\locLeftLegLower\1\locLeftFoot\1\locGun\0\fireTime\0.125\fireDelay\0\meleeTime\0.7\meleeChargeTime\0\meleeDelay\0.1\meleeChargeDelay\0\reloadTime\2\reloadEmptyTime\2\reloadStartTime\0\reloadEndTime\0\reloadAddTime\1.7\reloadStartAddTime\0\rechamberTime\0.1\rechamberBoltTime\0\dropTime\0\raiseTime\0.5\altDropTime\0\altRaiseTime\0\quickDropTime\0.25\quickRaiseTime\0.25\firstRaiseTime\0.5\emptyDropTime\0.5\emptyRaiseTime\0.5\sprintInTime\0.5\sprintLoopTime\0.5\sprintOutTime\0.5\nightVisionWearTime\0\nightVisionWearTimeFadeOutEnd\0\nightVisionWearTimePowerUp\0\nightVisionRemoveTime\0\nightVisionRemoveTimePowerDown\0\nightVisionRemoveTimeFadeInStart\0\standMoveF\0\standMoveR\1\standMoveU\-1.7\standRotP\0\standRotY\0\standRotR\0\standMoveMinSpeed\0\standRotMinSpeed\0\posMoveRate\5\posRotRate\6\duckedMoveF\0\duckedMoveR\1\duckedMoveU\-2\duckedRotP\0\duckedRotY\0\duckedRotR\0\duckedOfsF\-0.8\duckedOfsR\1.2\duckedOfsU\-1\duckedMoveMinSpeed\0\duckedRotMinSpeed\0\proneMoveF\-20\proneMoveR\-25\proneMoveU\-95\proneRotP\0\proneRotY\270\proneRotR\-300\proneOfsF\2\proneOfsR\2\proneOfsU\-1.6\posProneMoveRate\8\posProneRotRate\8\proneMoveMinSpeed\0\proneRotMinSpeed\0\hipIdleAmount\30\adsIdleAmount\28\hipIdleSpeed\1\adsIdleSpeed\1\idleCrouchFactor\0.8\idleProneFactor\0.6\adsSpread\0\adsAimPitch\0\adsTransInTime\0.15\adsTransOutTime\0.15\adsTransBlendTime\0.1\adsReloadTransTime\0.6\adsCrosshairInFrac\1\adsCrosshairOutFrac\0.2\adsZoomFov\65\adsZoomInFrac\0.42\adsZoomOutFrac\0.08\adsBobFactor\0.5\adsViewBobMult\0.25\adsViewErrorMin\0\adsViewErrorMax\0\hipSpreadStandMin\3\hipSpreadDuckedMin\2.5\hipSpreadProneMin\2\hipSpreadMax\8\hipSpreadDuckedMax\8\hipSpreadProneMax\8\hipSpreadFireAdd\1\hipSpreadTurnAdd\0\hipSpreadMoveAdd\4.5\hipSpreadDecayRate\4\hipSpreadDuckedDecay\1\hipSpreadProneDecay\1\hipGunKickReducedKickBullets\0\hipGunKickReducedKickPercent\0\hipGunKickPitchMin\0\hipGunKickPitchMax\0\hipGunKickYawMin\0\hipGunKickYawMax\0\hipGunKickAccel\1000\hipGunKickSpeedMax\1200\hipGunKickSpeedDecay\100\hipGunKickStaticDecay\2\adsGunKickReducedKickBullets\0\adsGunKickReducedKickPercent\0\adsGunKickPitchMin\0\adsGunKickPitchMax\0\adsGunKickYawMin\0\adsGunKickYawMax\0\adsGunKickAccel\0\adsGunKickSpeedMax\0\adsGunKickSpeedDecay\25\adsGunKickStaticDecay\50\hipViewKickPitchMin\0\hipViewKickPitchMax\0\hipViewKickYawMin\0\hipViewKickYawMax\0\hipViewKickCenterSpeed\1200\adsViewKickPitchMin\0\adsViewKickPitchMax\0\adsViewKickYawMin\0\adsViewKickYawMax\0\adsViewKickCenterSpeed\1200\swayMaxAngle\5\swayLerpSpeed\4\swayPitchScale\0.1\swayYawScale\0.1\swayHorizScale\0.14\swayVertScale\0.5\swayShellShockScale\5\adsSwayMaxAngle\6\adsSwayLerpSpeed\6\adsSwayPitchScale\0\adsSwayYawScale\0\adsSwayHorizScale\0.16\adsSwayVertScale\0.25\fightDist\720\maxDist\250\aiVsAiAccuracyGraph\\aiVsPlayerAccuracyGraph\\reticleCenter\\reticleSide\reticle_side_small\reticleCenterSize\4\reticleSideSize\8\reticleMinOfs\0\hipReticleSidePos\0\adsOverlayShader\\adsOverlayShaderLowRes\\adsOverlayReticle\none\adsOverlayWidth\220\adsOverlayHeight\220\gunModel\viewmodel_USP\gunModel2\\gunModel3\\gunModel4\\gunModel5\\gunModel6\\gunModel7\\gunModel8\\gunModel9\\gunModel10\\gunModel11\\gunModel12\\gunModel13\\gunModel14\\gunModel15\\gunModel16\\handModel\viewmodel_base_viewhands\worldModel\weapon_USP\worldModel2\\worldModel3\\worldModel4\\worldModel5\\worldModel6\\worldModel7\\worldModel8\\worldModel9\\worldModel10\\worldModel11\\worldModel12\\worldModel13\\worldModel14\\worldModel15\\worldModel16\\worldClipModel\\knifeModel\\worldKnifeModel\\idleAnim\viewmodel_USP_idle\emptyIdleAnim\viewmodel_USP_idle\fireAnim\viewmodel_USP_fire\lastShotAnim\viewmodel_USP_lastfire\rechamberAnim\\meleeAnim\viewmodel_USP_melee\meleeChargeAnim\\reloadAnim\viewmodel_USP_reload\reloadEmptyAnim\viewmodel_USP_reload_empty\reloadStartAnim\\reloadEndAnim\\raiseAnim\viewmodel_USP_pullout2\dropAnim\viewmodel_USP_putaway\firstRaiseAnim\\altRaiseAnim\viewmodel_USP_pullout2\altDropAnim\viewmodel_USP_putaway\quickRaiseAnim\viewmodel_USP_pullout2\quickDropAnim\viewmodel_USP_putaway\emptyRaiseAnim\\emptyDropAnim\\sprintInAnim\\sprintLoopAnim\\sprintOutAnim\\nightVisionWearAnim\\nightVisionRemoveAnim\\adsFireAnim\viewmodel_USP_fire_ads\adsLastShotAnim\viewmodel_USP_lastfire\adsRechamberAnim\\adsUpAnim\viewmodel_USP_ADS_up\adsDownAnim\viewmodel_USP_ADS_down\viewFlashEffect\test/brick_1\worldFlashEffect\test/brick_1\viewShellEjectEffect\\worldShellEjectEffect\\viewLastShotEjectEffect\\worldLastShotEjectEffect\\worldClipDropEffect\\pickupSound\\pickupSoundPlayer\\ammoPickupSound\\ammoPickupSoundPlayer\\fireSound\\fireSoundPlayer\\lastShotSound\\lastShotSoundPlayer\\emptyFireSound\\emptyFireSoundPlayer\\meleeSwipeSound\\meleeSwipeSoundPlayer\\meleeHitSound\\meleeMissSound\\rechamberSound\\rechamberSoundPlayer\\reloadSound\\reloadSoundPlayer\\reloadEmptySound\\reloadEmptySoundPlayer\\reloadStartSound\\reloadStartSoundPlayer\\reloadEndSound\\reloadEndSoundPlayer\\altSwitchSound\\altSwitchSoundPlayer\\raiseSound\\raiseSoundPlayer\\firstRaiseSound\\firstRaiseSoundPlayer\\putawaySound\\putawaySoundPlayer\\nightVisionWearSound\\nightVisionWearSoundPlayer\\nightVisionRemoveSound\\nightVisionRemoveSoundPlayer\\hudIcon\hud_icon_pistol\killIcon\hud_icon_pistol\dpadIcon\\ammoCounterIcon\\hudIconRatio\4:1\killIconRatio\4:1\dpadIconRatio\4:1\ammoCounterIconRatio\4:1\ammoCounterClip\None\flipKillIcon\1\fireRumble\defaultweapon_fire\meleeImpactRumble\defaultweapon_melee\adsDofStart\0\adsDofEnd\0\hideTags\\notetrackSoundMap\melee_knife_stab melee_knife_stab



The bit i have highlighted is the only bit with "brick" in it, this is proberally what you will have to change for a different model
Share |
9837265498
General Member
Since: Nov 6, 2009
Posts: 193
Last: Jan 23, 2012
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Thursday, Jul. 22, 2010 07:24 pm
not to be a downer but that is a FX file by the looks of things not a xmodel.

You can change the FX into a explosion, rubble, smoke, flame, church towers, exploding tanks, and helicopters, but you will still be shooting bullets.

Because i have messed with weapons files before, I recall that in order for you to "shoot" a xmodel your weapon needs to be a Projectile based weapon like the RPG, Javelin, or AT4.

Not that you cant make the USP into one of those, as I have made a Barret that shoots Javelin missles... it was quite a surprise for my buddy when i pulled that one on him. [sniper]

Code:
WEAPONFILE\displayName\WEAPON_BARRETTC\modeName\\playerAnimType\sniper\altWeapon\\AIOverlayDescription\\weaponType\projectile\weaponClass\rifle\penetrateType\large\impactType\rocket_explode\inventoryType\primary\fireType\Single Shot\twoHanded\1\rifleBullet\1\armorPiercing\1\boltAction\1\aimDownSight\1\rechamberWhileAds\1\noPartialReload\0\segmentedReload\0\adsFire\0\noAdsWhenMagEmpty\0\avoidDropCleanup\0\enhanced\0\cancelAutoHolsterWhenEmpty\0\suppressAmmoReserveDisplay\0\laserSightDuringNightvision\1\blocksProne\0\silenced\0\autoAimRange\0\aimAssistRange\600\aimAssistRangeAds\2000\enemyCrosshairRange\600\crosshairColorChange\1\moveSpeedScale\1\adsMoveSpeedScale\1\sprintDurationScale\1\gunMaxPitch\30\gunMaxYaw\15\lowAmmoWarningThreshold\0.33\ammoName\.50 BMG\maxAmmo\60\startAmmo\60\clipName\barrett_acog_mp\clipSize\10\shotCount\1\dropAmmoMin\60\dropAmmoMax\60\reloadAmmoAdd\0\reloadStartAdd\1\damage\70\minDamage\70\meleeDamage\135\maxDamageRange\4000\minDamageRange\5000\playerDamage\30\locNone\1\locHelmet\1.5\locHead\1.5\locNeck\1.5\locTorsoUpper\1.5\locTorsoLower\1.1\locRightArmUpper\1\locRightArmLower\1\locRightHand\1\locLeftArmUpper\1\locLeftArmLower\1\locLeftHand\1\locRightLegUpper\1\locRightLegLower\1\locRightFoot\1\locLeftLegUpper\1\locLeftLegLower\1\locLeftFoot\1\locGun\0\fireTime\0.05\fireDelay\0\meleeTime\0.8\meleeChargeTime\1.16\meleeDelay\0.13\meleeChargeDelay\0.16\reloadTime\4.08\reloadEmptyTime\4.625\reloadStartTime\0\reloadEndTime\0\reloadAddTime\2.8\reloadStartAddTime\0\rechamberTime\0.1\rechamberBoltTime\2.3\dropTime\0.7\raiseTime\1\altDropTime\0\altRaiseTime\0\quickDropTime\0.25\quickRaiseTime\0.75\firstRaiseTime\1\emptyDropTime\0.7\emptyRaiseTime\1\sprintInTime\0.3\sprintLoopTime\0.7\sprintOutTime\0.3\nightVisionWearTime\0\nightVisionWearTimeFadeOutEnd\0\nightVisionWearTimePowerUp\0\nightVisionRemoveTime\0\nightVisionRemoveTimePowerDown\0\nightVisionRemoveTimeFadeInStart\0\standMoveF\0\standMoveR\0\standMoveU\-2.2\standRotP\0\standRotY\0\standRotR\0\standMoveMinSpeed\80\standRotMinSpeed\80\posMoveRate\6\posRotRate\6\duckedMoveF\0\duckedMoveR\0\duckedMoveU\-1.7\duckedRotP\0\duckedRotY\0\duckedRotR\0\duckedOfsF\-0.5\duckedOfsR\0.8\duckedOfsU\-0.2\duckedMoveMinSpeed\20\duckedRotMinSpeed\20\proneMoveF\-55\proneMoveR\3\proneMoveU\-145\proneRotP\0\proneRotY\220\proneRotR\-200\proneOfsF\-2\proneOfsR\1.5\proneOfsU\0.8\posProneMoveRate\25\posProneRotRate\30\proneMoveMinSpeed\0\proneRotMinSpeed\0\hipIdleAmount\30\adsIdleAmount\40\hipIdleSpeed\1\adsIdleSpeed\1.5\idleCrouchFactor\1\idleProneFactor\1\adsSpread\0\adsAimPitch\0\adsTransInTime\0.3\adsTransOutTime\0.6\adsTransBlendTime\0.1\adsReloadTransTime\0.6\adsCrosshairInFrac\1\adsCrosshairOutFrac\0.2\adsZoomFov\30\adsZoomInFrac\0.4\adsZoomOutFrac\0.6\adsBobFactor\0\adsViewBobMult\1\adsViewErrorMin\0\adsViewErrorMax\0\hipSpreadStandMin\10\hipSpreadDuckedMin\9.5\hipSpreadProneMin\9\hipSpreadMax\15\hipSpreadDuckedMax\14\hipSpreadProneMax\13\hipSpreadFireAdd\1\hipSpreadTurnAdd\0\hipSpreadMoveAdd\5\hipSpreadDecayRate\5\hipSpreadDuckedDecay\1\hipSpreadProneDecay\1\hipGunKickReducedKickBullets\0\hipGunKickReducedKickPercent\0\hipGunKickPitchMin\80\hipGunKickPitchMax\85\hipGunKickYawMin\-35\hipGunKickYawMax\35\hipGunKickAccel\1000\hipGunKickSpeedMax\1200\hipGunKickSpeedDecay\100\hipGunKickStaticDecay\100\adsGunKickReducedKickBullets\0\adsGunKickReducedKickPercent\0\adsGunKickPitchMin\0\adsGunKickPitchMax\0\adsGunKickYawMin\0\adsGunKickYawMax\0\adsGunKickAccel\600\adsGunKickSpeedMax\600\adsGunKickSpeedDecay\100\adsGunKickStaticDecay\100\hipViewKickPitchMin\80\hipViewKickPitchMax\95\hipViewKickYawMin\-80\hipViewKickYawMax\-95\hipViewKickCenterSpeed\1000\adsViewKickPitchMin\80\adsViewKickPitchMax\95\adsViewKickYawMin\-80\adsViewKickYawMax\-95\adsViewKickCenterSpeed\1000\swayMaxAngle\20\swayLerpSpeed\4\swayPitchScale\-1\swayYawScale\-1\swayHorizScale\0.3\swayVertScale\0.1\swayShellShockScale\5\adsSwayMaxAngle\2\adsSwayLerpSpeed\6\adsSwayPitchScale\0.1\adsSwayYawScale\0.1\adsSwayHorizScale\0.02\adsSwayVertScale\0.02\fightDist\720\maxDist\730\aiVsAiAccuracyGraph\\aiVsPlayerAccuracyGraph\\reticleCenter\\reticleSide\reticle_side_small\reticleCenterSize\3\reticleSideSize\8\reticleMinOfs\0\hipReticleSidePos\0\adsOverlayShader\\adsOverlayShaderLowRes\\adsOverlayReticle\none\adsOverlayWidth\480\adsOverlayHeight\480\gunModel\viewmodel_barrett_mp\gunModel2\viewmodel_barrett_mp_brock\gunModel3\viewmodel_barrett_mp_bshdwl\gunModel4\viewmodel_barrett_mp_bwmrpt\gunModel5\viewmodel_barrett_mp_cmdtgr\gunModel6\viewmodel_barrett_mp_stagger\gunModel7\\gunModel8\\gunModel9\\gunModel10\\gunModel11\\gunModel12\\gunModel13\\gunModel14\\gunModel15\\gunModel16\\handModel\viewmodel_base_viewhands\worldModel\weapon_m82\worldModel2\weapon_m82_mp_brock\worldModel3\weapon_m82_mp_bshdwl\worldModel4\weapon_m82_mp_bwmrpt\worldModel5\weapon_m82_mp_cmdtgr\worldModel6\weapon_m82_mp_stagger\worldModel7\\worldModel8\\worldModel9\\worldModel10\\worldModel11\\worldModel12\\worldModel13\\worldModel14\\worldModel15\\worldModel16\\worldClipModel\\knifeModel\viewmodel_knife\worldKnifeModel\weapon_parabolic_knife\idleAnim\viewmodel_barrett_idle\emptyIdleAnim\viewmodel_barrett_idle\fireAnim\viewmodel_barrett_fire\lastShotAnim\viewmodel_barrett_fire\rechamberAnim\\meleeAnim\viewmodel_M4m203_knife_melee_1\meleeChargeAnim\viewmodel_M4m203_knife_melee_2\reloadAnim\viewmodel_barrett_reload\reloadEmptyAnim\viewmodel_barrett_reload_empty\reloadStartAnim\\reloadEndAnim\\raiseAnim\viewmodel_barrett_pullout\dropAnim\viewmodel_barrett_putaway\firstRaiseAnim\viewmodel_barrett_pullout\altRaiseAnim\viewmodel_dragunov_pullout\altDropAnim\viewmodel_barrett_putaway\quickRaiseAnim\viewmodel_barrett_pullout_quick\quickDropAnim\viewmodel_barrett_putaway_quick\emptyRaiseAnim\viewmodel_barrett_pullout\emptyDropAnim\viewmodel_barrett_putaway\sprintInAnim\viewmodel_barrett_sprint_in\sprintLoopAnim\viewmodel_barrett_sprint_loop\sprintOutAnim\viewmodel_barrett_sprint_out\nightVisionWearAnim\\nightVisionRemoveAnim\\adsFireAnim\viewmodel_barrett_ADS_acog_fire\adsLastShotAnim\viewmodel_barrett_ADS_acog_fire\adsRechamberAnim\\adsUpAnim\viewmodel_barrett_ADS_acog_up\adsDownAnim\viewmodel_barrett_ADS_acog_down\viewFlashEffect\muzzleflashes/at4_flash\worldFlashEffect\muzzleflashes/at4_flash\viewShellEjectEffect\shellejects/rifle_view\worldShellEjectEffect\shellejects/rifle\viewLastShotEjectEffect\\worldLastShotEjectEffect\\worldClipDropEffect\\pickupSound\weap_pickup\pickupSoundPlayer\weap_pickup\ammoPickupSound\\ammoPickupSoundPlayer\\projectileSound\weap_rpg_loop\fireSound\ac130_105mm_fire\fireSoundPlayer\ac130_105mm_fire\lastShotSound\\lastShotSoundPlayer\\emptyFireSound\weap_dryfire_rifle_npc\emptyFireSoundPlayer\weap_dryfire_rifle_plr\meleeSwipeSound\melee_swing_large\meleeSwipeSoundPlayer\melee_m82sniper_swing_plr\meleeHitSound\\meleeMissSound\\rechamberSound\\rechamberSoundPlayer\\reloadSound\weap_m82_reload_npc\reloadSoundPlayer\\reloadEmptySound\weap_m82_reload_npc\reloadEmptySoundPlayer\\reloadStartSound\\reloadStartSoundPlayer\\reloadEndSound\\reloadEndSoundPlayer\\altSwitchSound\\altSwitchSoundPlayer\\raiseSound\weap_raise\raiseSoundPlayer\weap_raise_plr\firstRaiseSound\\firstRaiseSoundPlayer\\putawaySound\\putawaySoundPlayer\\nightVisionWearSound\\nightVisionWearSoundPlayer\\nightVisionRemoveSound\\nightVisionRemoveSoundPlayer\\hudIcon\hud_icon_barrett50cal\killIcon\hud_icon_barrett50cal\dpadIcon\\ammoCounterIcon\\hudIconRatio\2:1\killIconRatio\2:1\dpadIconRatio\4:1\ammoCounterIconRatio\4:1\ammoCounterClip\Magazine\flipKillIcon\1\explosionRadius\800\explosionInnerDamage\800\explosionOuterDamage\300\damageConeAngle\180\projectileSpeed\2500\projectileSpeedUp\500\projectileActivateDist\0\projectileLifetime\60\projectileModel\projectile_javelin_missile\projExplosionType\rocket\projExplosionEffect\\projExplosionEffectForceNormalUp\0\projExplosionSound\\projDudEffect\\projDudSound\\projImpactExplode\1\projTrailEffect\smoke/smoke_geotrail_rpg\projectileDLight\200\projectileRed\0.75\projectileGreen\0.3\projectileBlue\1\projIgnitionDelay\0\projIgnitionEffect\\projIgnitionSound\\destabilizationRateTime\0.4\destabilizationCurvatureMax\10\destabilizeDistance\300\parallelDefaultBounce\0.5\parallelBarkBounce\0.5\parallelBrickBounce\0.5\parallelCarpetBounce\0.5\parallelClothBounce\0.5\parallelConcreteBounce\0.5\parallelDirtBounce\0.5\parallelFleshBounce\0.5\parallelFoliageBounce\0.5\parallelGlassBounce\0.5\parallelGrassBounce\0.5\parallelGravelBounce\0.5\parallelIceBounce\0.5\parallelMetalBounce\0.5\parallelMudBounce\0.5\parallelPaperBounce\0.5\parallelPlasterBounce\0.5\parallelRockBounce\0.5\parallelSandBounce\0.5\parallelSnowBounce\0.5\parallelWaterBounce\0.5\parallelWoodBounce\0.5\parallelAsphaltBounce\0.5\parallelCeramicBounce\0.5\parallelPlasticBounce\0.5\parallelRubberBounce\0.5\parallelCushionBounce\0.5\parallelFruitBounce\0.5\parallelPaintedMetalBounce\0.5\perpendicularDefaultBounce\0.5\perpendicularBarkBounce\0.5\perpendicularBrickBounce\0.5\perpendicularCarpetBounce\0.5\perpendicularClothBounce\0.5\perpendicularConcreteBounce\0.5\perpendicularDirtBounce\0.5\perpendicularFleshBounce\0.5\perpendicularFoliageBounce\0.5\perpendicularGlassBounce\0.5\perpendicularGrassBounce\0.5\perpendicularGravelBounce\0.5\perpendicularIceBounce\0.5\perpendicularMetalBounce\0.5\perpendicularMudBounce\0.5\perpendicularPaperBounce\0.5\perpendicularPlasterBounce\0.5\perpendicularRockBounce\0.5\perpendicularSandBounce\0.5\perpendicularSnowBounce\0.5\perpendicularWaterBounce\0.5\perpendicularWoodBounce\0.5\perpendicularAsphaltBounce\0.5\perpendicularCeramicBounce\0.5\perpendicularPlasticBounce\0.5\perpendicularRubberBounce\0.5\perpendicularCushionBounce\0.5\perpendicularFruitBounce\0.5\perpendicularPaintedMetalBounce\0.5\fireRumble\sniper_fire\meleeImpactRumble\defaultweapon_melee\adsDofStart\0\adsDofEnd\15\hideTags\tag_m82_scope
\notetrackSoundMap\melee_knife_stab melee_knife_stab
weap_m82_lift_plr weap_m82_lift_plr
weap_m82_clipout_plr weap_m82_clipout_plr
weap_m82_clipin_plr weap_m82_clipin_plr
weap_m82_chamber_close_plr weap_m82_chamber_close_plr

Javelin Barret modified by 9837265498

I would use this as a base and just replace the M82 refernces with the USP equivalent

then if you want to make him shoot a teddy bear or a tank just change the projectileModel\projectile_javelin_missile to what ever xmodel you want.

also be aware that the the dmg settings are ridiculously huge as it will kill anything within about 2000 units of impact.

Have fun! [casanova]
Share |
killerciao
General Member
Since: Oct 11, 2008
Posts: 27
Last: Jul 26, 2010
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Friday, Jul. 23, 2010 06:12 am
and where i found xmodel name?
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Friday, Jul. 23, 2010 08:50 am
load up radiant and they have prefabs of every model already cliped and that name is the name of the actual model.
Share |
killerciao
General Member
Since: Oct 11, 2008
Posts: 27
Last: Jul 26, 2010
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Friday, Jul. 23, 2010 12:05 pm
tried but dont work!
When i shoot appaire a text (red) :S
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Friday, Jul. 23, 2010 12:30 pm
what does the text say? and mabey just try making an FX of a car =)

Thanks, Ukdjaj[thumbs_up]
Share |
killerciao
General Member
Since: Oct 11, 2008
Posts: 27
Last: Jul 26, 2010
[view latest posts]
Level 2
Category: CoD4 Scripting
Posted: Friday, Jul. 23, 2010 02:00 pm
ukdjaj writes...
Quote:
what does the text say? and mabey just try making an FX of a car =)

Thanks, Ukdjaj[thumbs_up]


isn't a normal text! when i shoot i shoot the text :D
Share |
LiQ.HeaDShOt
General Member
Since: Jun 1, 2010
Posts: 51
Last: Feb 21, 2011
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Wednesday, Aug. 4, 2010 02:17 pm
killerciao writes...
Quote:
ukdjaj writes...
Quote:
what does the text say? and mabey just try making an FX of a car =)

Thanks, Ukdjaj[thumbs_up]


isn't a normal text! when i shoot i shoot the text :D


I'm not sure but when u fire is that a red FX?
Cuz that happens when the model is missing or glitching..

If you are using the Barret that fires the javelins, u have to first recompile the mod adn include the projectilemodel.

Then it should work.
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»