FreshxX (07-24-2009),marcipaans (07-24-2009),monkuar (08-01-2009),skycaptain95 (08-05-2009),Spiidi (07-24-2009)
Ok, I've seen a few people interested in editing items (weapons), and some having problems with it, so here's a quick tutorials.
First of all keep these notes in mind.
Damage is most likely server sided, meaning setting damage for a gun to be 999999 probably won't work, if anything, it will ONLY affect you, dealing 999999 damage to you, but normal damage to other people, I haven't tested this to be sure, but that's how most games work.
Safe things to edit in the weapons files and my typical settings:
ObjectTemplate.ammo.magSize -1 (makes unlimited ammo)
objectTemplate.fire.burstSize 10 (This is how many bullets are fired on a burst weapon, usually 3, i make it 10 for lolz)
ObjectTemplate.fire.roundsPerMinute 900 (How many bullets are fired per minutes, set high for a weapon with no delay, auto shotguns)
ObjectTemplate.fire.addFireRate 0=Single-shot 1=Burst 2=Full Auto (buggy on non-auto weapons, sometimes damage wont register)
ObjectTemplate.velocity 1200 (speed of bullets, set high, can snipe planes with shotty)
ObjectTemplate.fire.criticalHitChance 0.99 (Chance of critical hit, set to 99%)
These are the only things I have tested that work.
You can experiment with other things.
Now that you know what you CAN edit, I will tell you HOW.
Things you will need:
WinRar (rarlabs.com)
Eyes
Brain
First, navigate to where you installed battlefield heroes, usually
C:\Program Files\EA Games\Battlefield Heroes\
Then go to the \mods\bfheroes\objects folder
Find Weapons_Server.zip
Open it.
Find the weapon you want to edit, they are named by their description, such as Ger_Pistol_Burst_1
This would be the National pistol that fires in bursts.
Drag the folder of your weapon to somewhere convenient (desktop)
NOTE: KEEP THE ARCHIVE OPEN! WE WILL NEED IT WHEN WE ARE DONE
Open the folder, find the .con file (should be the only one in the folder, but there might be more), right click the file, go to properties, uncheck the box that says Read-Only, then click ok.
Now right click the file and select Open With...
It will ask you if you want to find the program on the web or select it, select it.
In the list of programs find notepad, make sure the box at the bottoms that says use this program to open files of this type is checked, now you can simply double click .con files and they will open in notepad.
Now edit what you want, keeping the notes above in mind, and then just save.
Now
Close the file you just edited and drag the ENTIRE FOLDER back to the archive, it should replace the files that were already there with your newly edited files.
You're done. Now go test you new weapon out or edit some more.
NOTES:
-You can also edit every other item in the game (clothes, vehicles, etc. but I have not managed to find a good way to edit these safely yet, feel free to experiment.
-MAKE SURE TO BACK UP ALL OF YOUR FILES IN CASE YOU WANT TO RETORE THEM !
-Sometimes when you try to connect it will say you have invalid data, but this usually only happens to me once and then when i click play again it never happens again.
Hope this tutorial helped!
Thanks please
FreshxX (07-24-2009),marcipaans (07-24-2009),monkuar (08-01-2009),skycaptain95 (08-05-2009),Spiidi (07-24-2009)
o dude it dont work i go to \mods\bfheroes then it doesnt say objects it says cache...am i in wrong folder or something??
my chicken gave birth to a cow, what should i do now? i needed a chicken to give me eggs, but then i get a cow, god really screwed me on this...
imma hungry so feedz me munchies >:3
The most is already said and i think only copied from other threads.
Wait, let me make sure I've understood you, because I'm not sure I fully grasp what you're saying through your utter raping of the English language.
You're trying to say that I copied this tutorial from other threads?
Please, if you're going to insult me by calling me a leech, at least give something to back yourself up on.
Which threads did I copy from then?
Don't worry, I'll wait.
https://www.mpgh.net/forum/169-battle...ance-hack.html
There are 4 of your 6 editings.
Hey Uhm Yeah To The TUT Maker It's A Great Tut And I've Thanked You On It But Also To The TUT Maker Or Anyone Else. I Can't Figure How To Edit The Knifes Its Speed Any Help? Or The Ability Poison Dagger? Thanks ~~Freshh
So because we edited the same things in a file, which happen to be the only beneficial things to edit, I copied from him?
By editing the ONLY things that you CAN edit in a specific file, I copied him?
No, you're right.
And Intel and AMD copied off of IBM by making processors.
ATI and Nvidia copied off VooDoo by making a GPU.
No, your logic is flawless.
This was more for people to actually know how to GET to the files and edit them than for any of the specifics on the actual editing.
But please, keep trying, your win is astounding.
@FreshXx
As for the poison ability, I believe that's something that is server sided, if you were wanting to increase the ability by editing a file.
I'm about 90% sure abilities are stored with your character on the server instead of client side on a file.
As for editing the knife delay, you could try setting the rate of fire to 2 to make it full auto, I haven't tested it, but it's worth a shot.
Random Note:
I'm working a way to edit the effects of the game, "Skinning" it so to speak, not sure if it's possible or worth it, but will keep you updated as I progress.
Last edited by livin4noone; 07-24-2009 at 04:13 AM.
Okayzzz Thankzz Ima Go Try It Out Now Be Back In 5 Minutes Ty For Tip
It Works But It Only Makes It Like 0.1 Milli Second Faster I Guess Its Better Than Nothing. Thanks
editing you guns min and maz damage crashes the game
PSN: palkiabros
Play MW2 and BC2 and Help me CA mod in Photoshop
[YOUTUBE]<object width="480" height="385"><param name="movie" value="https://www.youtube.com/v/Qtnq7DQSpS4&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/Qtnq7DQSpS4&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>[/YOUTUBE]
moralityboy,Yes, u r in the wrong folder, there is 2 folders, search for the other folder.
Buuh . It's all client side. Half of the time I was firing blanks. I was getting excited too.
is the velocity editting work, and what should i change it into?? BTW, i tried edit knife file, and i got it auto-stab 3 times per 1 click
yeah if its set to high you shoot blanks and wont get xp or your gonna lagg like crazy
the knife thing i dont use very much since i modded a pistol
PSN: palkiabros
Play MW2 and BC2 and Help me CA mod in Photoshop
[YOUTUBE]<object width="480" height="385"><param name="movie" value="https://www.youtube.com/v/Qtnq7DQSpS4&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/Qtnq7DQSpS4&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>[/YOUTUBE]