Couple of probably easy questions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rahabib

    #1

    Couple of probably easy questions

    I have looked all over, and unless I am blind I cannot find how to adjust the following:

    1- Disable the autoswitch to detonator on C4. I cannot tell you how many times I lost count of satchels and blew myself up!
    ObjectTemplate.ammo.toggleWhenNoAmmo 0
    I thought it was this but it doesnt work.

    2- Is there a way to make it so you adjust the distance a C4 can be thrown? I want it to be very small so that you have to place the satchels and not toss it.

    3- Forcing reviving people to only give 25 health points instead of all of it. I got it to work a bit with this command
    ObjectTemplate.collision.resurrectDamage 25
    What it would do is give the person 25 health but not revive the person and it would not let them respawn.

    I even tried changing the following commands as well
    ObjectTemplate.collision.restoreHP 25
    ObjectTemplate.damage 25
    Those didnt work, in any combination either. I dont know, maybe you cant change that.

    4- Increase damage of rockets. I dont see anywhere a damage object. Maybe I am looking for the wrong thing?

    5- I used the double zoom for the M24 (thanks CXZAR) which works great. Now is there a way to decrease the time after a shot you can unzoom.

    Changing these made it stay zoomed after you fire a bullet which is fine.
    ObjectTemplate.zoom.zoomOutAfterFire 0
    This I dont know what it did. I didnt see a difference.
    ObjectTemplate.zoom.disableMuzzleWhenZoomed 0
    Changing these didnt make it so I could unzoom the second after I fired. Instead it would wait about 3-4 seconds before I could unzoom.
    ObjectTemplate.zoom.zoomDelay 0.001
    ObjectTemplate.zoom.changeFovDelay 0.01
    I would assume the zoomDelay only relates to the time for ZoomOutAfterFire if set to 1 and not 0, but I could be wrong. changeFovDelay, I have no idea what that does.

    Anyway, thanks for any assistance you can give.
  • Rahabib

    #2
    Bump..anyone? anything?

    Comment

    • Rahabib

      #3
      bump again. I know some one knows at least one of these.

      Comment

      • grolsche

        #4
        The reason people wont resurrect is the shock paddles kill you first and then they respawn you. If you look on stats pages for example it shows you have died numerous times with a shock paddle, but you can never remember that happening. So in the code DICE have made the shock paddles do 20000 damage and then with another live, give you 120 health back.

        ObjectTemplate.collision.resurrectDamage 20000
        ObjectTemplate.collision.restoreHP 120
        So theoretically you would simple have to change this to:

        ObjectTemplate.collision.resurrectDamage 20000
        ObjectTemplate.collision.restoreHP 20
        Thats what I "think" should be done. I havent tested it but thats what should fix the problem.

        Comment

        • Djuice

          #5
          what GrolscHe said, i did that on my beta testing version, and it should work

          Comment

          • Rahabib

            #6
            thanks Ill give it a try

            Comment

            • Rahabib

              #7
              I thought I had tested that before, and after trying it again, I realized I had. Changing ObjectTemplate.collision.restoreHP does nothing. You revive but at full health no matter what teh value is.

              Thanks for helping though.

              Comment

              • grolsche

                #8
                Just a question how is your code set up to run in the mod, i.e. how is laid out in another folder?

                Comment

                • Rahabib

                  #9
                  I created a mod folder which has everything from the BF2 folder. All the rest tweaks have worked just fine (except the few questions I still have above). After I get the mod done, I will delete the stuff I dont need. For now I am using the Objects_server.zip and modifying the things I need.

                  Why do you ask? Does it work for you?

                  Comment

                  • Rahabib

                    #10
                    bump.. last attempt. I found the problem with the rocket damage, but the others still have me stumped.

                    Comment

                    • SgtDuke

                      #11
                      Re: Couple of probably easy questions

                      Originally posted by Rahabib
                      I thought I had tested that before, and after trying it again, I realized I had. Changing ObjectTemplate.collision.restoreHP does nothing. You revive but at full health no matter what teh value is.
                      Has anyone found a solution to this problem? I also would like to have revived players with about 1/4 health but changing collision.restoreHP does nothing for me either. Did they just not implement this correctly in the code and there's nothing we can do to change it?

                      Comment

                      Working...