using load4hex function & bytearray

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

using load4hex function & bytearray

Post by xzodia »

can someone who know what there talking about explain how to use the load4hex function & bytearray to change values plz? (VB6)
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
nsilva





Posts: 411
Joined: Wed Nov 30, 2005 3:15 pm
Location: RI
Contact:

Phenom is a sly fox!

Post by nsilva »

Ill find out from google, to prove your lazy :P And try the MSDN boards
Sig file size too high.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

i take it you didnt find anything i knew you wouldnt

as for the msdn board it has to be the most unorganised thing ever and wouldnt be able to help anyway since its a function created by someone not a single piece of code

so anyone help plz?
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
M.A.T.T.





Posts: 12
Joined: Sun Nov 13, 2005 4:46 am

Post by M.A.T.T. »

Erm ill try and provide some knowledge dont know if it will be of help

Bytearray:
Loads the map into a array so that u can serach for offsets and edit the map

Load4Hex:
will get hex from a file and endian swap it i think
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

thanx but i already knew that i want to know how to use them to change values
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
M.A.T.T.





Posts: 12
Joined: Sun Nov 13, 2005 4:46 am

Post by M.A.T.T. »

u will need other functions aswell to edit a map u can only get info using them two
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

So, now the map is fully loaded. To change something, simply use this command:

Code: Select all

ByteArray(offset) = number between 0 and 255 
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Post Reply