Page 1 of 1

How to Hex edit?

Posted: Fri Mar 13, 2009 10:05 pm
by baneore
I got a hex editing tool 'XVI32' how do i use it to change gun damage, jump height and other cool things...(can i even use it for that?) ive tryed to read all the Hex-Editing topics but havent found anything.... :?

Re: How to Hex edit?

Posted: Fri Mar 13, 2009 10:21 pm
by RogueKnight
All those cool things can be done by changing odf files.

Download the BFII modtools if you don't already have them

Read the getting started docs

read the everything you need forum here on gametoast.

Welcome!

Re: How to Hex edit?

Posted: Fri Mar 13, 2009 11:17 pm
by baneore
Thank you ill get reading those things right away!(i do already have the modtools) :D

Re: How to Hex edit?

Posted: Fri Mar 13, 2009 11:38 pm
by Delta 47
I wound suggest using Windows Notepad to edit the odf files to change those properties you mentioned above. Its easier.

Re: How to Hex edit?

Posted: Sat Mar 14, 2009 2:04 am
by baneore
Thx windows Notepad works great, :D Is there specific codes? or any dangers i need to look outfor?.

Also, i read the documentations...but how do i know what to change in the text to make the unit do the things i asked about, or ammo and health..

Re: How to Hex edit?

Posted: Sat Mar 14, 2009 3:32 pm
by Delta 47
baneore wrote:Thx windows Notepad works great, :D Is there specific codes? or any dangers i need to look outfor?.

Also, i read the documentations...but how do i know what to change in the text to make the unit do the things i asked about, or ammo and health..
1. Nope that's it! Notepad is much more simpler and there's no codes in it just use it like you were typing.
2. The default odf's [e.g rep_inf_default_rifleman] are the odf files to edit each units properties and knowing what to change/edit is all something each modder just figures out, it isn't that hard just study the odf's and remember each number stands for another number and each odf file connects with other odf files. You learn more all the time but for example if you wanted to know how to change the ammo you would open up your default odf (for the unit you are editing) and change "WeaponAmmo = 4" and bump that 4 or whatever up a bit and like I said earlier each number stands for another number, that is the number you see in-game so that four represents the number of ammo there is for the rifle. Or lets say you wanted to know know how to bump up the health a bit you would edit the odf and this is a little different than the ammo or weapons because depending on the unit the health will be located in different places. But if you wanted to edit the health for lets say a Jet Trooper (you know those guys don't last on the battlefield) you would open up "rep_inf_default_jettrooper" and edit the "MaxHealth = 300.0" an put that 300 up a little (or a lot).

Remember to edit the weapons themselves you would need to edit the "rep_weap_inf_***.odf" (*** is whatever weapon).