Editing Weapon Upgrades

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xXx-Tricky-xXx

    #1

    Editing Weapon Upgrades

    Can someone help me out here? Ive tried editing both of them doing numerous numbers but none seem to do anything. 0 0 gives me the l96a1 but I want the berret95. What two numbers do I use to have that working? BTW I play SP so im not worried about it not working on multiplayer.

    ObjectTemplate.create ItemContainer UnlockUSSniper
    ObjectTemplate.addTemplate ussni_m95_barret
    ObjectTemplate.unlockLevel 3

    ObjectTemplate.create ItemContainer UnlockUSSniper2
    ObjectTemplate.addTemplate gbrif_l96a1
    ObjectTemplate.replaceItem USRIF_M24
    ObjectTemplate.replaceItem ussni_m95_barret
    ObjectTemplate.unlockLevel 3
  • Ghilleman

    #2
    Re: Editing Weapon Upgrades

    Be aware though, htat messin gwith your files, even if its only for Sp, can still get you PB banned for using "modified content". You have been warned.

    Comment

    • Batesy

      #3
      Re: Editing Weapon Upgrades

      With "Ghilleman"'s post I'll add a comment;
      ALWAYS backup what your editing.

      Comment

      • jdrou
        Member
        • Jul 2006
        • 1860

        #4
        Re: Editing Weapon Upgrades

        The only valid unlockLevel numbers are 0 or 1. 0 for the first one and 1 for the second should give you the M95 (i.e. the 1 means "not unlocked").

        Comment

        • DemonOfhatred

          #5
          Re: Editing Weapon Upgrades

          Originally posted by Ghilleman
          Be aware though, htat messin gwith your files, even if its only for Sp, can still get you PB banned for using "modified content". You have been warned.
          Rofl. PB is worried about single player? Wait soooooo many in the community claim that pb cant do crap for mp. I'm just saying that pb isnt going to do anything for Singleplayer because they claim that they POLICE ONLINE PLAYERS. Hope thats clear.

          Comment

          • xXx-Tricky-xXx

            #6
            Re: Editing Weapon Upgrades

            oo sweet thank you a bunch! Thats exactly what I was trying to figure out.

            Im not worrying about any PB w/e that is, I wont ever be playing online unless one day I was to move to a broadband provided area.

            Thanks again.

            Comment

            • xXx-Tricky-xXx

              #7
              Re: Editing Weapon Upgrades

              >.< Could I get some help again lol. I sort of like the AK47 more than the AK101, and since theres not really any chinese maps that are city based I wanted to switch the Mec Assault gp30 with the gp25 the 25 is the ak47 the assault chinese guys have I think. But when I change all the gp30 to gp25 on the MecAssault in objects server, it just crashes half way loading any map with Mecs in it. What do I need to do?



              -crap, I changed it back with my backup files but it still crashes while loading the map. AHHH whats going on. I backed up EVERYTHING before editing.

              Comment

              • jdrou
                Member
                • Jul 2006
                • 1860

                #8
                Re: Editing Weapon Upgrades

                Should be a fairly simple change. In MEC_Assault.con just replace:
                ObjectTemplate.addTemplate RURIF_GP30
                ObjectTemplate.addTemplate RURGL_GP30
                with
                ObjectTemplate.addTemplate RURIF_GP25
                ObjectTemplate.addTemplate RURGL_GP25

                Your biggest problem is probably getting the files zipped back up properly. Most people extract the individual file to edit rather than extracting the whole thing. Rezipping the whole archive seems to cause problems for many people.

                I don't see how the backup/restore wouldn't work. How did you back up?

                Comment

                • xXx-Tricky-xXx

                  #9
                  Re: Editing Weapon Upgrades

                  ahh ya now doing that works fine, i just drag it to desktop, uncheck read only edit then check read only and drag over. It works fine for any class and nationality, but any map with MEC I cant play now, im so confused, anything with MEC just loads half way and crashes actually not even half way.

                  When I installed bf2 and sf, i made backups of objects_server and then just dragged over the kits file and overwrit it. But MEC still crashes. Dunno what else it could be. Thats only thing I edited.

                  Comment

                  • jdrou
                    Member
                    • Jul 2006
                    • 1860

                    #10
                    Re: Editing Weapon Upgrades

                    You didn't mod any files other than objects_server.zip and only MEC_Assault.con in that zip file? If you PM me your email address I'll send you a zip with just the kit files with that weapon swap made. Instead of replacing objects_server.zip this will be loaded in addition to it by adding the filename to the top of serverArchives.con.

                    Comment

                    • xXx-Tricky-xXx

                      #11
                      Re: Editing Weapon Upgrades

                      I just went ahead and reinstalled BF2 and SF. I edited something else by accident I think. Im not sure what youer talking about on serverarchives.

                      Comment

                      • jdrou
                        Member
                        • Jul 2006
                        • 1860

                        #12
                        Re: Editing Weapon Upgrades

                        Originally posted by xXx-Tricky-xXx
                        I just went ahead and reinstalled BF2 and SF. I edited something else by accident I think. Im not sure what youer talking about on serverarchives.
                        The serverArchives.con file tells BF2 which zip files to load when it runs a server (which is what SP actually is). (clientArchives.con does the same for client files.) Instead of modifying the actual objects_server.zip you can modify a copy and remove anything you aren't modding so you have a much smaller zip file (much easier to send by email). Then you add that filename to serverArchives.con so it loads after the objects_server.zip and its kit files will be used instead of the ones in objects_server.zip. Note that the files are loaded starting at the bottom so you want to add your mod zip at the top. Another benefit to this method is that if you create your own mod in a separate folder instead of in mods\bf2 you don't need to copy all the zips into your mod. All you need is the zip containing your modded files; the others can be pointed back to the vanilla bf2 folder (e.g. ../bf2/Objects_server.zip).

                        Comment

                        • xXx-Tricky-xXx

                          #13
                          Re: Editing Weapon Upgrades

                          you lost me there lol. Are you saying edit severarchives.con and somewhere find objects server and change the path of which it is and thats it?

                          You lost me on the mod thing though.



                          Also a bit off topic-
                          CPU: 32C
                          System: 47C
                          GPU: 49C

                          Are these temperatures ok or too high? This is when im idle not doing anything.

                          Comment

                          • phen0m

                            #14
                            Re: Editing Weapon Upgrades

                            Do this

                            Take Objects_server.zip and extract all files to a Temp folder some where. Edit the kits and place the weapon name in the files, like my Spec Ops edits are like this...

                            ObjectTemplate.addTemplate eurif_HK53A3
                            rem ObjectTemplate.addTemplate SIMRAD
                            ObjectTemplate.addTemplate USHGR_M67
                            ObjectTemplate.addTemplate c4_explosives
                            ObjectTemplate.addTemplate kni_knife
                            ObjectTemplate.addTemplate UnlockUSSpecops
                            ObjectTemplate.addTemplate UnlockUSSpecops2
                            ObjectTemplate.addTemplate usrif_fnscarl
                            ObjectTemplate.addTemplate ParachuteLauncher


                            I have the FN SCAR as itemindex 3 and I went to the hk53a3 and changed its item index to 2 (pistol) so I dont have a pistol but the 53a3 and the scar as my 2 and 3 slots. If you dont edit the itemindex in the actual gun tweak file you will crash.

                            Comment

                            • xXx-Tricky-xXx

                              #15
                              Re: Editing Weapon Upgrades

                              lol you lost me. Im totally confused what your talking about. What I did to Insergeants and Spatz or w/e on SF is just change the gp30 to 25 and it worked fine, but when i did it for MEC it wont work.

                              Comment

                              Working...