Weapon Modification Specifics

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

    #1

    Weapon Modification Specifics

    Ok, I have been tweaking weapons in BF to make them play the way -I- feel they should play (What do the bots care anyways right?).

    I was wondering how to change a few things that I can't seem to find, first, how can I, provided it is possible, change the zoom magnification on a weapon, I changed the addZoomfactor(or something like that I odn't have that file right handy on this computer) but the zoom level is stil the same, and I also would liket o know what flag to set for body armor penetration. Also need to know what would be a good damage setting for a anti-tank rifle to rake down light vehicles in 2 shots and heavy vehicles in 3 shots.

    Also, is there any place that would be particularly good for reading up on making/changing a gun implacements properties? Currently I am trying to find a tree in a forest as far as finding information.

    Thanks alot,
    Deveyus
  • Kodakk
    Member
    • Oct 2006
    • 3486

    #2
    Re: Weapon Modification Specifics

    ok... here

    to change the zoom, you have to change the zoom modifier number.
    You can also add another zoom modifier below it to have a double zoom function.

    ObjectTemplate.zoom.addZoomFactor 0
    ObjectTemplate.zoom.addZoomFactor 0.2

    change that, NOT:

    ObjectTemplate.recoil.zoomModifier 0.25

    To change soldier armor, go to soldiers/Army you want and select either the light or the heavy soldier, and tweak the armor given.

    ObjectTemplate.createComponent Armor
    ObjectTemplate.armor.maxHitPoints 100
    ObjectTemplate.armor.hitPoints 100

    To change the SRAW/ERYX damage, you have to go to weapons/armament/missiles open the file you want, and change the damage from there. (BTW the SRAW is known as the predator in the files)


    ObjectTemplate.minDamage 1
    ObjectTemplate.damage 500

    Comment

    • Deveyus

      #3
      Re: Weapon Modification Specifics

      Thanks, took me a little while, but once I played with it over the past couple days I found out how to get the zoom to change. In addition addZoomFactor is inverse, so a low zoom factor like .1 is alot (for some fun try making a zoom factor .01) and 1 seems to be your normal sight range, so if there was a need you could spcify 2,3, or 4 to create a weapon that zoomed out instead of in.


      As far as armor penetration I was wanting to know how to make a proectile penetrate armor (like the m95 barret) or not pentrate armor.

      Also is there a way to stop player movement and give them a different camera angle so I could have "sattelite targeting" (can even use the post processing effects to make it look different).

      ANOTHER thing:
      Would it be possible to have a weapon that can only be fired at a target that was being laser painted (by another person with the laser painter)

      Another:
      Is it possible to have more than 6 kits available for choosing?

      Another:
      How can I create more "commander Options' Like another weapons based one (The artillery), or even a vehicle drop or something like this?

      Lastly:
      Will it take another 3 days for someone to answer this question for me?

      Comment

      • Kodakk
        Member
        • Oct 2006
        • 3486

        #4
        Re: Weapon Modification Specifics

        ermm, dude, get xfire and I can help you out more quickly.

        I'll edit this post in a second with some answers for you.


        Originally posted by Deveyus
        As far as armor penetration I was wanting to know how to make a proectile penetrate armor (like the m95 barret) or not pentrate armor.
        I'm 99% sure you change

        ObjectTemplate.createComponent DefaultPenetrateComp
        (default for m4)
        to

        ObjectTemplate.createComponent DefaultPenetrateComp
        ObjectTemplate.penetrate.allowSolidPenetration 1
        ObjectTemplate.penetrate.allowLiquidPenetration 1
        (default m95)

        I think the defaultpenetratecomp is the default bulelt penetration, so if you add the other lines into the code it changes it to 1 hit penetration. However, I'm not sure as I haven't tested it yet.

        Originally posted by Deveyus
        Also is there a way to stop player movement and give them a different camera angle so I could have "sattelite targeting" (can even use the post processing effects to make it look different).
        I don't know personally. My best advice, check the POE code, they were able to get it working with the binoculars

        Originally posted by Deveyus
        ANOTHER thing:
        Would it be possible to have a weapon that can only be fired at a target that was being laser painted (by another person with the laser painter)
        ^^^

        Originally posted by Deveyus
        Another:
        Is it possible to have more than 6 kits available for choosing?
        Yes, if you want more details PM me, or I'll reply to this later... it's more time consuming than you'd think.

        Originally posted by Deveyus
        Another:
        How can I create more "commander Options' Like another weapons based one (The artillery), or even a vehicle drop or something like this?
        ^^^


        sorry for the short responses, I have a chemistry test to study for.

        Comment

        • Deveyus

          #5
          Re: Weapon Modification Specifics

          Many thanks to you and if I can can find some wifi to jack into from somewhere, I'll get hold of you on the laptop, (has Xfire) I am using a public computer to get on here right now, as I don't have interenet yet since I just moved myself.

          Comment

          • Kodakk
            Member
            • Oct 2006
            • 3486

            #6
            Re: Weapon Modification Specifics

            Alright... when i get back in about 2 hours I'll provide some more details for you. I just started a single player realism mod (yes, I know PR is out) for myself, so I can experiment with some of your ideas in the process.

            and btw

            do you use the mod editor or do you directly edit the files?

            Comment

            • jdrou
              Member
              • Jul 2006
              • 1860

              #7
              Re: Weapon Modification Specifics

              To add modify armor penetration you need to change the material of the ammo. See here: http://www.totalbf2.com/forums/showthread.php?t=62485 .

              Comment

              • Kodakk
                Member
                • Oct 2006
                • 3486

                #8
                Re: Weapon Modification Specifics

                alright, thanks jdrou, wasn't sure about my response XD

                Comment

                • Deveyus

                  #9
                  Re: Weapon Modification Specifics

                  Thanks for the info about materials, it was more or less the next thing on my list to explore. Stalker: I tend to edit the files directly more often then not, although I use the editor for some things or to check the lists of possible properties. I also use it for level design until I can get a plugin for GIMP that lets me read the RAW files, then I will write the Heightmaps in GIMP and just use the editor to place objects and to create spawns etc.

                  Comment

                  • Kodakk
                    Member
                    • Oct 2006
                    • 3486

                    #10
                    Re: Weapon Modification Specifics

                    I don't know how to make maps.... want to teach me? lol

                    Comment

                    • Deveyus

                      #11
                      Re: Weapon Modification Specifics

                      Maps are easier than normal modding, I prefer to work directly with heightmaps rather than using the vague terrain edditing tools provided by the bf2ed. Working with hieightmaps is really easy once you understand how to do it. I learned it from here : http://spring.clan-sy.com/wiki/Maps:Tutorial heh, SPRING was alot of fun, but the engine develpment slowed to a standstill, so I got tired of playing a buggy beta engine and quit until they get thier act together, but the tutorial is good nonetheless. If that tutorial doesn't help you there are about 8 others in that wiki and a couple more of them are good info on how to do hieghtmaps, if you have a specific question about them, or if you have a base image (like a sketch you scaned, or a JPG you made) that you want converted to a heightmap, I find it rather enjoyable, so I wouldn't mind converting yours, although until I get a RAW exporter importer someone else would have to convert the file type for you. I really wanna do some mortars and a couple other ideas, I'll have to try the POE mod out then huh?


                      EDIT: Just found out because of the way the POS download and internet protection services are set up I can't get POE because it's in a ZIP, however, this service is too dumb to stop .rar Files, so, does anyone know where I can find one that is all Rar'd up instead of in ZIP format?

                      Comment

                      • Kodakk
                        Member
                        • Oct 2006
                        • 3486

                        #12
                        Re: Weapon Modification Specifics

                        I can't access the files

                        Comment

                        • jdrou
                          Member
                          • Jul 2006
                          • 1860

                          #13
                          Re: Weapon Modification Specifics

                          Originally posted by Deveyus
                          EDIT: Just found out because of the way the POS download and internet protection services are set up I can't get POE because it's in a ZIP, however, this service is too dumb to stop .rar Files, so, does anyone know where I can find one that is all Rar'd up instead of in ZIP format?
                          Try asking on the PoE forum if they will put up a rar version (preferably of the new "turbo package" so you don't need to download separate 1.0+1.1.5 patch+map pack).

                          Comment

                          • Deveyus

                            #14
                            Re: Weapon Modification Specifics

                            I'll look into that, but I have yet another quesion to ask:
                            Is it possible to adjust the opacity of a soldier/weapon?

                            Comment

                            • Kodakk
                              Member
                              • Oct 2006
                              • 3486

                              #15
                              Re: Weapon Modification Specifics

                              I highly doubt it... the BEST you could do would be

                              make a new photoshop .dds file or edit the existing one
                              and edit the opacity of that layer... I'm not sure how this would affect the game, but I'm sure you could try it.

                              Comment

                              Working...