Results 1 to 1 of 1
  1. #1
    mw2tuber's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    Canada
    Posts
    137
    Reputation
    10
    Thanks
    682

    Post Mini hacks w source code


    Reduce prone devidation

     
    Normal:
    ControlMap.addKeyToTriggerMapping c_PILie IDFKeyboard IDKey_Z 0 0
    Tweaked:
    ControlMap.addKeyToTriggerMapping c_PILie IDFKeyboard IDKey_Z 10000 0


    TV & Inf Autoclicker

     
    TV
    Normal:
    ControlMap.addButtonToTriggerMapping c_GIOk IDFMouse IDButton_0 0 0
    Tweaked:
    ControlMap.addButtonToTriggerMapping c_GIOk IDFMouse IDButton_0 0.0334 0

    Inf for sample right mouse button
    Put it under
    //ControlMap.addButtonToTriggerMapping c_PIFire IDFMouse IDButton_0 0 0
    Tweaked
    ControlMap.addButtonToTriggerMapping c_PIFire IDFMouse IDButton_1 0.0334 1



    Jump Tweak (Allways jump. You can climb mountans easily)

     
    Normal:
    ControlMap.addKeyToTriggerMapping c_PIAction IDFKeyboard IDKey_Space 10000 0
    Tweaked:
    ControlMap.addKeyToTriggerMapping c_PIAction IDFKeyboard IDKey_Space 0 0


    test code:

     
    #little wallhack
    renderer.TweakNearPlane 0.4 - 1 value
    #no gras
    renderer.drawundergrowth 0
    #sun tweaks
    renderer.drawSunFlare 0
    renderer.AmbientSun 0
    #donno^^
    renderer.Glowenabled 0
    #no trees
    renderer.drawOvergrowth 0
    renderer.drawTrees 0
    #Nametags
    NameTags.EnemyDotLimit 0.0000001
    NameTags.EnemyTagDelayTime 0.0000001
    NameTags.EnemyTagFadeInTime 0.00000001
    NameTags.EnemyTagFadeOutTime 999999
    NameTags.MaxEnemyDistance 999999
    #no particles
    renderer.drawParticles 0
    #nosky
    renderer.drawSkyDome 0


    PB stuff

     
    pb_LogMD5Tool 0
    pb_sleep 500
    pb_system 1
    pb_LogToFile 1
    pb_SsLog
    pb_SsSave 1
    pb_writecfg


    Tinyer cross-hair

     
    ObjectTemplate.activeSafe Camera SoldierCamera
    ObjectTemplate.worldFOV 1.3
    ObjectTemplate.insideFOV 1.3
    ObjectTemplate.cameraShakeSensitivity 0.01

    ObjectTemplate.activeSafe GenericFireArm uslmg_m249saw_stationary
    ObjectTemplate.weaponHud.deviationFactor 2
    ObjectTemplate.weaponHud.maxVisualDeviation 2
    ObjectTemplate.weaponHud.minVisualDeviation 2

    ObjectTemplate.activeSafe GenericFireArm rulmg_rpk74_stationary
    ObjectTemplate.weaponHud.deviationFactor 2
    ObjectTemplate.weaponHud.maxVisualDeviation 2
    ObjectTemplate.weaponHud.minVisualDeviation 2

    ObjectTemplate.activeSafe GenericFireArm ushgr_m67
    ObjectTemplate.weaponHud.disableOnSprint 0
    ObjectTemplate.weaponHud.maxVisualDeviation 2
    ObjectTemplate.weaponHud.minVisualDeviation 2

    ObjectTemplate.activeSafe GenericFireArm rurif_ak101
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 14
    ObjectTemplate.weaponHud.minVisualDeviation 3.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rurif_gp30
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 13.5
    ObjectTemplate.weaponHud.minVisualDeviation 2
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rurgl_gp30
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm usrif_m16a2
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 10
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0

    ObjectTemplate.activeSafe GenericFireArm usrif_m203
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 10
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0

    ObjectTemplate.activeSafe GenericFireArm usrgl_m203
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rurif_ak47
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 17
    ObjectTemplate.weaponHud.minVisualDeviation 3.5
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rurif_gp25
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 12.5
    ObjectTemplate.weaponHud.minVisualDeviation 3
    ObjectTemplate.weaponHud.disableOnSprint 0
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0

    ObjectTemplate.activeSafe GenericFireArm rurgl_gp25
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm sasrif_fn2000
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm sasrgl_fn2000
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chpis_qsz92
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1.5
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rupis_baghira
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1.5
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/0/0/0
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm uspis_92fs
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rulmg_pkm
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rulmg_rpk74
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm uslmg_m249saw
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chlmg_type95
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chrif_type85
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 20
    ObjectTemplate.weaponHud.minVisualDeviation 2.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chrif_type95
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chsht_norinco982
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm chsht_protecta
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm eurif_famas
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm eurif_fnp90
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 20
    ObjectTemplate.weaponHud.minVisualDeviation 2.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm eurif_hk21
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm eurif_hk53a3
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 20
    ObjectTemplate.weaponHud.minVisualDeviation 2.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm gbgr_sa80a2_l85
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm gbrif_benelli_m4
    ObjectTemplate.weaponHud.maxVisualDeviation 15
    ObjectTemplate.weaponHud.minVisualDeviation 10
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm gbrif_sa80a2_l85
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 2
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rurif_bizon
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm rusht_saiga12
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm sasrif_g36e
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm sasrif_mg36
    ObjectTemplate.weaponHud.deviationFactor 1.5
    ObjectTemplate.weaponHud.maxVisualDeviation 32.5
    ObjectTemplate.weaponHud.minVisualDeviation 5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm sasrif_mp7
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 20
    ObjectTemplate.weaponHud.minVisualDeviation 2.5
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm usrif_fnscarl
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm usrif_g3a3
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 12.5
    ObjectTemplate.weaponHud.minVisualDeviation 3
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm usrif_g36c
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 1
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm usrif_sa80
    ObjectTemplate.weaponHud.deviationFactor 2.5
    ObjectTemplate.weaponHud.maxVisualDeviation 11.5
    ObjectTemplate.weaponHud.minVisualDeviation 2
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm ussht_jackhammer
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm defibrillator
    ObjectTemplate.weaponHud.disableOnSprint 0

    ObjectTemplate.activeSafe GenericFireArm kni_knife
    ObjectTemplate.weaponHud.disableOnSprint 0


    Visual NO RECOIL


    - go to C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\bf2
    - open Objects_client.zip
    - In it/ Weapons/ Handheld
    - Open YOUR WEAPON/ YOUR WEAPON.tweaked
    - Search ObjectTemplate.activeSafe GenericFireArm YOUR WEAPON
    - Save this first in your Profile.con
    - Save this under .activeSafe....... YOUR WEAPON

    then use this code:
     
    ObjectTemplate.recoil.recoilForceUp CRD_UNIFORM/0/0/0
    ObjectTemplate.recoil.recoilForceLeftRight CRD_UNIFORM/-0/0/0
    ObjectTemplate.recoil.recoilGraphTotalMovement 0
    ObjectTemplate.deviation.setFireDev 0 0.0 0.00
    ObjectTemplate.deviation.minDev 0.0
    ObjectTemplate.deviation.setTurnDev 0 0 0 0
    ObjectTemplate.deviation.setSpeedDev 0 0.0 0.0 0.0
    ObjectTemplate.deviation.setMiscDev 0 0.0 0.01
    ObjectTemplate.deviation.devModStand 1.5
    ObjectTemplate.deviation.devModCrouch 1.3
    ObjectTemplate.deviation.devModZoom 0.8


    sky change:
     
    Skydome.skyTexture common\textures\sky\SkyClear01


    No fog (only works with the sky change)
     
    Renderer.fogStartEndAndBase 00.00/999.00/0.00/0.00
    GameLogic.MaximumLevelViewDistance 999
    Game.SetViewDistance 999


    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Now this hack is the no Kill message and no HUD + Nametags
    PB: Detected on servers
    Use: Offline

     
    nameTags.MaxEnemyDistance 9999999999999999999999999999999999999999 9999999999 999999999999999999999
    NameTags.EnemyTagFadeInTime 0
    NameTags.EnemyTagFadeOutTime 9999999999999999999999
    NameTags.EnemyTagDelayTime 0
    NameTags.EnemyDotLimit 0
    NameTags.maxFriendlyDistance 0
    NameTags.manDownFadeOutTime 999999999999
    NameTags.deployableDistance 9999999999999
    NameTags.maxCallDistance 9999999999999999999999999999999999999999 999999

    GameLogic.MaximumLevelViewDistance 20000
    NameTags.EnemyDotLimit 0
    NameTags.EnemyTagDelayTime 0
    NameTags.EnemyTagFadeInTime 0
    NameTags.EnemyTagFadeOutTime 9999999999
    NameTags.ManDownFadeOutTime 999999999

    Renderer.fogStartEndAndBase 1000/1000/1000/1000


    renderer.DrawFog 1
    renderer.DrawSkyDome 0
    SettingsManager.FloatSet GsDefaultLatencyCompensation .0100
    Game.SetViewDistance 1000
    renderer.fogstart 0
    renderer.fogend 10000
    NameTags.ManDownFadeOutTime 999999999
    NameTags.MaxCallDistance 1500
    GameLogic.MaximumLevelViewDistance 1500

    Renderer.DrawFps 1
    Renderer.
    renderer.drawundergrowth 0

    Renderer.TweakNearPlane 0.8
    Renderer.tvInterference 0
    Last edited by mw2tuber; 08-31-2012 at 11:57 PM.
    500 Thanks:
    100 Posts:

    Repping Canada, Ontario >>

  2. The Following User Says Thank You to mw2tuber For This Useful Post:

    hakker199 (09-20-2012)

Similar Threads

  1. [SOLVED]Request for release complete ava hack VC + + source code
    By cqzxc in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 10-05-2010, 09:53 AM
  2. Need in game hack menu source code!
    By tambre in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 12
    Last Post: 06-18-2010, 09:59 PM
  3. Replies: 7
    Last Post: 01-17-2010, 08:16 AM
  4. Replies: 1
    Last Post: 06-28-2009, 08:36 AM
  5. Stamina Hack and source code ?
    By Teh Sasuke in forum C++/C Programming
    Replies: 0
    Last Post: 12-31-2007, 06:08 PM

Tags for this Thread