[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS :: View topic - Infinite Sprint
Battlefield Modding Tutorials BFMODS
https://battlefieldmodding.com/ssm/phpBB3/

Infinite Sprint
https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=18&t=1587
Page 1 of 1

Author:  Looney [ Tue Jun 14, 2005 8:32 am ]
Post subject:  Infinite Sprint

ok open up the all the following files and make the changes bellow

mods/bf2/objects_server/soilders/us/US_heavy_soilder.tweak
mods/bf2/objects_server/soilders/us/US_light_soilder.tweak
mods/bf2/objects_server/soilders/mec/mec_heavy_soilder.tweak
mods/bf2/objects_server/soilders/mec/mec_light_soilder.tweak

this is what u will see once u open them, scroll down
and find the text in bold.once found go all the way to
the bottom for the changes needed to be made.

===CODE===
GeometryTemplate.setSubGeometryLodDistance 1 0 10
GeometryTemplate.setSubGeometryLodDistance 1 1 20
ObjectTemplate.active us_heavy_soldier
ObjectTemplate.networkableInfo BasicInfo
ObjectTemplate.hasMobilePhysics 1
rem ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.collisionGroups 16
ObjectTemplate.CullRadiusScale 2.5
ObjectTemplate.castsDynamicShadow 1
ObjectTemplate.aiTemplate Soldier

rem For adding lightflare at item index 7 --jkj
ObjectTemplate.inventorySize 10

ObjectTemplate.manDownCameraOffsetInDof 0.11
ObjectTemplate.manDownCameraOffsetInUp 0.5
ObjectTemplate.ragdollLandedDelay 4

ObjectTemplate.drag 1.0
ObjectTemplate.mass 100
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.SprintRecoverTime 20
ObjectTemplate.SprintDissipationTime 8
ObjectTemplate.SprintLimit 0.05
ObjectTemplate.SprintLossAtJump 0.2
rem ObjectTemplate.Grip 20

rem ---BeginComp:Armor ---
ObjectTemplate.createComponent Armor
ObjectTemplate.armor.maxHitPoints 100
ObjectTemplate.armor.hitPoints 100
ObjectTemplate.armor.wreckhitpoints 320
ObjectTemplate.armor.defaultMaterial 24
ObjectTemplate.armor.explosionForceMod 25
ObjectTemplate.armor.explosionForceMax 1000
ObjectTemplate.armor.TimeToStayAsWreck 6
ObjectTemplate.armor.timeToStayafterDestroyed 1
ObjectTemplate.armor.angleMod 1
ObjectTemplate.armor.wreckExplosionForceMod 0
ObjectTemplate.armor.wreckExplosionForceMax 0
rem ---EndComp ---

rem ---BeginComp:Radio ---
ObjectTemplate.createComponent Radio
ObjectTemplate.Radio.spottedMessage infantry_spotted
rem ---EndComp ---

ObjectTemplate.collisionMesh Soldier_CollisionMesh
rem *** Animation ****
ObjectTemplate.skeleton1P Objects/Soldiers/Common/Animations/1p_setup.ske
ObjectTemplate.skeleton3P Objects/Soldiers/Common/Animations/3p_setup.ske
ObjectTemplate.animationSystem1P Objects/Soldiers/Common/Animations/AnimationSystem1p.inc
ObjectTemplate.animationSystem3P Objects/Soldiers/Common/Animations/AnimationSystem3p.inc
rem Stand
ObjectTemplate.poseCameraPosition 0 0/0.47/0.1
rem Crouch
ObjectTemplate.poseCameraPosition 1 0/-0.05/0.1
rem Prone
ObjectTemplate.poseCameraPosition 2 0/-0.63/0.1

rem boneName, material, offset, radius, length
ObjectTemplate.setSkeletonCollisionBone left_upperleg 24 0/0.03/0 0.09 -0.35
ObjectTemplate.setSkeletonCollisionBone right_upperleg 24 0/0.03/0 0.09 0.35

ObjectTemplate.setSkeletonCollisionBone left_lowerleg 77 0/0.03/0.02 0.08 -0.32
ObjectTemplate.setSkeletonCollisionBone right_lowerleg 77 0/0.03/0.02 0.08 0.32

ObjectTemplate.setSkeletonCollisionBone head 25 0/-0.02/0.02 0.07 -0.08
ObjectTemplate.setSkeletonCollisionBone spine2 23 0/-0.05/-0.03 0.15 -0.16
ObjectTemplate.setSkeletonCollisionBone spine3 23 0/-0.03/0.02 0.16 -0.05

ObjectTemplate.setSkeletonCollisionBone right_shoulder 77 0.01/0.03/0 0.06 0.2
ObjectTemplate.setSkeletonCollisionBone right_low_arm 77 -0.01/0.03/0 0.045 0.18

ObjectTemplate.setSkeletonCollisionBone left_shoulder 77 0.01/0.03/0 0.06 -0.2
ObjectTemplate.setSkeletonCollisionBone left_low_arm 77 -0.01/0.03/0 0.045 -0.18

ObjectTemplate.addTemplate SoldierCamera
ObjectTemplate.setPosition 0/4.1/0
ObjectTemplate.addTemplate e_sold_swim

ObjectTemplate.active S_US_heavy_soldier_Death
ObjectTemplate.createdInEditor 1
ObjectTemplate.soundFilename common/sound/Die/Die_01.wav,common/sound/Die/
Die_02.wav,common/sound/Die/Die_03.wav,common/
sound/Die/Die_04.wav,common/sound/Die/
Die_05.wav,common/sound/Die/Die_06.wav,common/sound/Die/
Die_07.wav,common/
sound/Die/Die_08.wav,common/sound/Die/
Die_09.wav,common/sound/Die/Die_10.wav,common/sound/Die/
Die_11.wav,common/sound/Die/Die_12.wav,common/sound/Die/
Die_13.wav,common/sound/Die/Die_14.wav,common/sound/Die/Die_15.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.volume 1
ObjectTemplate.reverbLevel 0.8
ObjectTemplate.position 0/0.8/0
ObjectTemplate.pitch 0.94
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.98/1.03/
ObjectTemplate.volumeEnvelope 0/1/0/1/0/0/
ObjectTemplate.minDistance 2
ObjectTemplate.halfVolumeDistance 6


ObjectTemplate.active S_US_heavy_soldier_Revive
ObjectTemplate.createdInEditor 1
ObjectTemplate.soundFilename Objects/Soldiers/Common/Sound/Cough/cough_01.wav,Objects/
Soldiers/Common/Sound/Cough/cough_02.wav,Objects/Soldiers/
Common/Sound/Cough/cough_03.wav,Objects/Soldiers/Common/
Sound/Cough/cough_04.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.volume 0.75
ObjectTemplate.reverbLevel 0.8
ObjectTemplate.position 0/0/0
ObjectTemplate.pitch 0.88
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.85/0.88/
ObjectTemplate.volumeEnvelope 0/1/0/1/0/0/
ObjectTemplate.minDistance 1.5


ObjectTemplate.active S_US_heavy_soldier_Swim
ObjectTemplate.createdInEditor 1
ObjectTemplate.soundFilename Objects/Soldiers/Common/Sound/Swim/swim_stroke_01.wav,Objects/
Soldiers/Common/Sound/Swim/swim_stroke_02.wav,Objects/Soldiers/
Common/Sound/Swim/swim_stroke_03.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.volume 0.86
ObjectTemplate.reverbLevel 0.8
ObjectTemplate.position 0/0/0
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.99/1.01/
ObjectTemplate.minDistance 2

ObjectTemplate.active S_US_heavy_soldier_Swim_Sprint
ObjectTemplate.createdInEditor 1
ObjectTemplate.soundFilename Objects/Soldiers/Common/Sound/Swim/swim_sprint_01.wav,Objects/
Soldiers/Common/Sound/Swim/swim_sprint_02.wav,Objects/Soldiers/
Common/Sound/Swim/swim_sprint_03.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.volume 0.96
ObjectTemplate.reverbLevel 0.8
ObjectTemplate.position 0/0/0
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.99/1.01/
ObjectTemplate.minDistance 2


ObjectTemplate.active S_US_heavy_soldier_Swim_Still
ObjectTemplate.createdInEditor 1
ObjectTemplate.soundFilename Objects/Soldiers/Common/Sound/Swim/swim_still_01.wav,Objects/
Soldiers/Common/Sound/Swim/swim_still_02.wav,Objects/Soldiers/
Common/Sound/Swim/swim_still_03.wav
ObjectTemplate.loopCount 1
ObjectTemplate.is3dSound 1
ObjectTemplate.volume 0.73
ObjectTemplate.reverbLevel 0.8
ObjectTemplate.position 0/0/0
ObjectTemplate.pitchEnvelope 0/1/0.9/1.1/1/1/0/0.99/1.01/
ObjectTemplate.minDistance 1.5
===CODE===


now change the ones in bold till they look like
ObjectTemplate.SprintDissipationTime 9999
ObjectTemplate.SprintLossAtJump 0.001

*note* do this for all four files listed at the top

Author:  Random_Sexual_Encounter [ Tue Jun 14, 2005 3:38 pm ]
Post subject: 


Author:  Looney [ Tue Jun 14, 2005 4:52 pm ]
Post subject: 


Author:  Harry [ Sun Jun 19, 2005 11:05 am ]
Post subject: 

Sprint bar will stay up, but it stutters a little bit, especcially when you jump, but it does work.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/