|
Modding Tutorials Information and tutorials related to modding BF2. |
|
Thread Tools | Display Modes |
2011-03-31, 12:05 | #41 |
Join Date: Mar 2011
Posts: 3
United States of America
|
Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)
Hamid;1571007]Ok!
I have found a way to put guns into bf2! I have played with the gun,but when i shoot,it does not shoot and kill.The Bullets go through every thing! Someone Please Help! thanks!!! |
2011-06-21, 19:41 | #42 | |
Join Date: May 2009
Posts: 9
Saudi Arabia
Location: Syria but i was born in Saudi Arabia but don't hav
|
Re: [TUTORIAL] Transfering weapons and vehicles into your BF2 (or other sources)
Quote:
Or add the missing ones however i advice u change the projectiles | |
2013-06-16, 14:26 | #43 |
Join Date: Mar 2012
Posts: 39
Germany
Location: Thuringia
|
Re: Transfering Weapons and Vehicles Into Your BF2 (or other sources)
Hey, i managed to get my Game so far that it comes past the Loading screen but then this happens:
and now here is the .tweak file (for ppl that are interested): Code:
rem *** Generated with Bf2Editor.exe [created: 2006/5/15 11:52] GeometryTemplate.setMaterialReflectionScale 0 0 0 0.25 GeometryTemplate.setSpecularStaticGloss 0 0 0 0.15 GeometryTemplate.compressVertexData 1 GeometryTemplate.maxTextureRepeat 16 ObjectTemplate.activeSafe GenericFireArm gbrif_l86 ObjectTemplate.creator SHAWN:Shawn's ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.castsDynamicShadow 1 ObjectTemplate.cullRadiusScale 10 rem ---BeginComp:WeaponHud --- ObjectTemplate.createComponent WeaponHud ObjectTemplate.weaponHud.selectIcon Ingame\Weapons\Icons\Hud\Selection\GBRIF_L86.tga ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\GBRIF_L86.tga ObjectTemplate.weaponHud.hudName "killed" ObjectTemplate.weaponHud.guiIndex 9 ObjectTemplate.weaponHud.altGuiIndex 1001 ObjectTemplate.weaponHud.deviationFactor 1 ObjectTemplate.weaponHud.disableOnSprint 0 ObjectTemplate.weaponHud.enablePostProcessingOnGuiIndex 1001 rem ---EndComp --- rem ---BeginComp:SingleFireComp --- ObjectTemplate.createComponent SingleFireComp ObjectTemplate.fire.roundsPerMinute 600 ObjectTemplate.fire.addFireRate 0 ObjectTemplate.fire.addFireRate 2 ObjectTemplate.fire.fireInCameraDof 1 rem ---EndComp --- rem ---BeginComp:DefaultAmmoComp --- ObjectTemplate.createComponent DefaultAmmoComp ObjectTemplate.ammo.ammoType 1 ObjectTemplate.ammo.nrOfMags 9 ObjectTemplate.ammo.magSize 30 ObjectTemplate.ammo.reloadTime 6.3 ObjectTemplate.ammo.reloadWithoutPlayer 0 ObjectTemplate.ammo.magLinkWeapon gbrif_l86deployed rem ---EndComp --- rem ---BeginComp:SoldierBasedRecoilComp --- rem Long Barrel 556 Low Recoil Precision Rifle ObjectTemplate.createComponent SoldierBasedRecoilComp ObjectTemplate.recoil.hasRecoilForce 1 ObjectTemplate.recoil.recoilForceUp CRD_UNIFORM/2/2/0 ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/-1/1/1 ObjectTemplate.recoil.zoomModifier 0.6 ObjectTemplate.recoil.goBackOnRecoil 1 rem ---EndComp --- rem ---BeginComp:SoldierDeviationComp --- rem Long Barrel 556 Optical Sight Precision Rifle ObjectTemplate.createComponent SoldierDeviationComp ObjectTemplate.deviation.minDev .333 ObjectTemplate.deviation.setFireDev 1.4 .7 .023 ObjectTemplate.deviation.setTurnDev 2 .15 .15 .05 ObjectTemplate.deviation.setSpeedDev 3 .02 .02 .02 ObjectTemplate.deviation.setMiscDev 20 20 .15 ObjectTemplate.deviation.devModStand 1.5 ObjectTemplate.deviation.devModCrouch 1.0 ObjectTemplate.deviation.devModLie 0.9 ObjectTemplate.deviation.devModZoom .3 rem ---EndComp --- rem ---BeginComp:DefaultSoundComp --- ObjectTemplate.createComponent DefaultSoundComp rem ---EndComp --- rem ---BeginComp:PostProcess --- ObjectTemplate.createComponent PostProcess ObjectTemplate.postProcess.tvInterference 270.320 rem ---EndComp --- rem ---BeginComp:DefaultAnimationComp --- ObjectTemplate.createComponent DefaultAnimationComp ObjectTemplate.animation.useShiftAnimation 1 ObjectTemplate.animation.shiftDelay .05 rem ---EndComp --- rem ---BeginComp:DefaultZoomComp --- ObjectTemplate.createComponent DefaultZoomComp ObjectTemplate.zoom.zoomDelay 0.4 ObjectTemplate.zoom.changeFovDelay 0.4 ObjectTemplate.zoom.zoomLod 1 ObjectTemplate.zoom.addZoomFactor 0 ObjectTemplate.zoom.addZoomFactor 0.306 ObjectTemplate.zoom.disableMuzzleWhenZoomed 1 rem ---EndComp --- ObjectTemplate.geometry gbrif_l86 ObjectTemplate.hasMobilePhysics 0 ObjectTemplate.aiTemplate marksman_rifle_ai rem ------------------------------------- ObjectTemplate.addTemplate S_gbrif_l86_Fire1P ObjectTemplate.addTemplate S_gbrif_l86_Fire1P_Outdoor ObjectTemplate.addTemplate S_gbrif_l86_Fire3P ObjectTemplate.setPosition 0/0.023/0.655 ObjectTemplate.addTemplate S_gbrif_l86_BoltClick ObjectTemplate.addTemplate S_gbrif_l86_TriggerClick ObjectTemplate.addTemplate S_gbrif_l86_SwitchFireRate ObjectTemplate.addTemplate S_gbrif_l86_Reload1P ObjectTemplate.addTemplate S_gbrif_l86_Reload3P ObjectTemplate.setPosition 0/-0.056/-0.102 ObjectTemplate.addTemplate S_gbrif_l86_Deploy1P ObjectTemplate.addTemplate S_gbrif_l86_Deploy3P ObjectTemplate.addTemplate S_gbrif_l86_Zoom ObjectTemplate.addTemplate e_muzz_m4 ObjectTemplate.setPosition 0/0.023/0.555 ObjectTemplate.addTemplate e_shellejection_556 ObjectTemplate.setPosition 0.012/0.026/-0.108 ObjectTemplate.setRotation -2.5/0/0 rem ------------------------------------- ObjectTemplate.animationSystem1P objects/weapons/handheld/gbrif_l86/AnimationSystem1p.inc ObjectTemplate.animationSystem3P objects/weapons/handheld/gbrif_l86/AnimationSystem3p.inc ObjectTemplate.keepProjectiles 5 ObjectTemplate.velocity 970 ObjectTemplate.itemIndex 3 ObjectTemplate.delayToUse 2.85 ObjectTemplate.activeSafe Sound S_gbrif_l86_Fire1P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/gbrif_l85a2iron/sounds/GBRIF_L85A2_fire_1p.wav" ObjectTemplate.loopCount 0 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 1 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 1 ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.981/1.035/ ObjectTemplate.volumeEnvelope 0/1/0/1/1/1/0/0.9/1/ ObjectTemplate.activeSafe Sound S_gbrif_l86_Fire3P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/gbrif_l85a2iron/sounds/GBRIF_L85A2_fire_3p.wav" ObjectTemplate.loopCount 0 ObjectTemplate.is3dSound 1 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.95 ObjectTemplate.pitch 1 ObjectTemplate.reverbLevel 1 ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.975/1.03/ ObjectTemplate.volumeEnvelope 0/1/0/1/1/1/0/0.9/1/ ObjectTemplate.position 0/0.023/0.655 ObjectTemplate.minDistance 3 ObjectTemplate.halfVolumeDistance 10 ObjectTemplate.soundRadius 1.5 ObjectTemplate.activeSafe Sound S_gbrif_l86_BoltClick ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/chrif_type95/sounds/type95_bolt_click.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.69 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 0.5 ObjectTemplate.activeSafe Sound S_gbrif_l86_TriggerClick ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/uspis_92fs/sounds/mono/trigger_click.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.35 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 1 ObjectTemplate.activeSafe Sound S_gbrif_l86_SwitchFireRate ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/usrif_m4/sounds/mono/m4_fire_rate_switch.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.38 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 0.3 ObjectTemplate.activeSafe Sound S_gbrif_l86_Reload1P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/gbrif_l85a2iron/sounds/GBRIF_L85A2_reload3p.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.46 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 1 ObjectTemplate.activeSafe Sound S_gbrif_l86_Reload3P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/gbrif_l85a2iron/sounds/GBRIF_L85A2_reload3p.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 1 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.46 ObjectTemplate.pitch 1 ObjectTemplate.reverbLevel 1 ObjectTemplate.position 0/-0.056/-0.102 ObjectTemplate.minDistance 2 ObjectTemplate.halfVolumeDistance 4 ObjectTemplate.activeSafe Sound S_gbrif_l86_Deploy1P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/gbrif_l85a2iron/sounds/GBRIF_L85A2_deploy_1p.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 0 ObjectTemplate.volume 0.4 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 1 ObjectTemplate.activeSafe Sound S_gbrif_l86_Deploy3P ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/usrif_m4/sounds/mono/m4_deploy.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 1 ObjectTemplate.stopType 0 ObjectTemplate.volume 0.35 ObjectTemplate.pitch 1 ObjectTemplate.reverbLevel 1 ObjectTemplate.minDistance 0.5 ObjectTemplate.halfVolumeDistance 1 ObjectTemplate.activeSafe Sound S_gbrif_l86_Zoom ObjectTemplate.modifiedByUser "Shawn's" ObjectTemplate.lowSamples 2147483647 ObjectTemplate.mediumSamples 2147483647 ObjectTemplate.soundFilename "objects/weapons/handheld/rurif_bizon/sounds/zoom_generic_2.wav" ObjectTemplate.loopCount 1 ObjectTemplate.is3dSound 0 ObjectTemplate.stopType 1 ObjectTemplate.volume 0.35 ObjectTemplate.pitch 1 ObjectTemplate.pan 0.5 ObjectTemplate.reverbLevel 1 |
Last edited by CrY3R; 2013-06-16 at 15:58..
|
2013-06-16, 15:01 | #44 |
Retired PR Developer
Join Date: Jun 2010
Posts: 936
Poland
Location: Rzeszow
|
Re: Transfering Weapons and Vehicles Into Your BF2 (or other sources)
Do you have other weapon in this kit with same itemindex?
|
|
|
2013-06-16, 15:11 | #45 | |
Join Date: Mar 2012
Posts: 39
Germany
Location: Thuringia
|
Re: Transfering Weapons and Vehicles Into Your BF2 (or other sources)
Quote:
Code:
ObjectTemplate.create Kit US_Medic ObjectTemplate.saveInSeparateFile 1 ObjectTemplate.kitType Medic ObjectTemplate.geometry US_kits ObjectTemplate.aiTemplate Medic ObjectTemplate.geometry.kit 1 ObjectTemplate.geometry.dropGeom 11 ObjectTemplate.networkableInfo KitInfo ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.dropHeadwear helmet ObjectTemplate.abilityRestoreRate 0.05 ObjectTemplate.abilityInVehicleRadius 7 ObjectTemplate.abilityInVehicleStrength 0.25 ObjectTemplate.abilityInVehicleMaterial 73 ObjectTemplate.unlockIndex 3 ObjectTemplate.cullRadiusScale 2.4 rem ------------------------------------- ObjectTemplate.addTemplate USPIS_92FS ObjectTemplate.addTemplate USHGR_M67 ObjectTemplate.addTemplate medikit ObjectTemplate.addTemplate defibrillator ObjectTemplate.addTemplate kni_knife ObjectTemplate.addTemplate UnlockUSMedic ObjectTemplate.addTemplate UnlockUSMedic2 ObjectTemplate.addTemplate gbrif_l86iron ObjectTemplate.addTemplate ParachuteLauncher rem ------------------------------------- ObjectTemplate.createComponent Ability ObjectTemplate.ability.hasHealingAbility 1 ObjectTemplate.createComponent AbilityHud ObjectTemplate.abilityHud.healingSound S_Heal ObjectTemplate.abilityHud.repairingSound S_Repair ObjectTemplate.abilityHud.ammoSound S_Resupply ObjectTemplate.createComponent VehicleHud ObjectTemplate.vehicleHud.hudName "HUD_TEXT_MENU_SPAWN_KIT_MEDIC" ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Medic_outline.tga" ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Medic.tga" ObjectTemplate.vehicleHud.spottedIcon "Ingame\Player\Icons\Minimap\mini_Soldier.dds" ObjectTemplate.vehicleHud.pantingSound S_SprintBreath ObjectTemplate.vehicleHud.injurySound S_Injury ObjectTemplate.vehicleHud.vehicleType 7 ObjectTemplate.sprintStaminaDissipationFactor 0.2 rem ---BeginComp:HelpHud --- ObjectTemplate.createComponent HelpHud ObjectTemplate.HelpHud.helpStringKey "HUD_HELP_KIT_MEDIC_inVehicle" ObjectTemplate.HelpHud.helpSoundKey "HUD_HELP_KIT_MEDIC_inVehicle" rem ---EndComp --- rem ---BeginComp:Radio --- ObjectTemplate.createComponent Radio ObjectTemplate.Radio.spottedMessage "infantry_spotted" rem ---EndComp --- ObjectTemplate.create ItemContainer UnlockUSMedic ObjectTemplate.addTemplate gbrif_l86iron ObjectTemplate.unlockLevel 1 ObjectTemplate.create ItemContainer UnlockUSMedic2 ObjectTemplate.addTemplate sasrif_g36e ObjectTemplate.replaceItem usrif_m16a2 ObjectTemplate.replaceItem gbrif_l86iron ObjectTemplate.unlockLevel 2 | |
Last edited by CrY3R; 2013-06-16 at 15:59..
|
2013-06-16, 15:59 | #47 |
Join Date: Mar 2012
Posts: 39
Germany
Location: Thuringia
|
Re: Transfering Weapons and Vehicles Into Your BF2 (or other sources)
|
Last edited by CrY3R; 2013-06-17 at 12:01..
Reason: Solved
|
Tags |
bf2, sources, transfering, tutorial, vehicles, weapons |
|
|