how do you load all of the map

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





Posts: 27
Joined: Fri Dec 14, 2007 2:17 pm
Location: I 1s 1n Ur H0us3 k1ll1ng ur DUd3z0rz

how do you load all of the map

Post by Plank755 »

I want to load the whole halo 2 map in to a text Editor i made, but it only loads the 'daeh' part any Help?

EDIT: Sorry IN C# Visual Studio 2008 (not-beta);
Last edited by Plank755 on Fri Dec 14, 2007 3:19 pm, edited 2 times in total.
User avatar
Prey




Connoisseur Snitch! Pyre Articulatist 500

Posts: 1026
Joined: Wed Dec 27, 2006 6:49 am
Location: UK
Contact:

Post by Prey »

So... You even going to tell us what language this is in?..
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
Plank755





Posts: 27
Joined: Fri Dec 14, 2007 2:17 pm
Location: I 1s 1n Ur H0us3 k1ll1ng ur DUd3z0rz

Post by Plank755 »

C#
If you wish for PI then it shall be.
If you wish for pie then it shall be.
H4x0rn3ss 1s cl0s3 t0 g0dly!!!!11111111111oneoneone
Its over 9000!!!!!!!!!!!!!!!!!!!!

This is one awesome mod! H2V FTW!

Is the internet serious?
spikes122





Posts: 292
Joined: Thu Dec 21, 2006 7:44 am

Post by spikes122 »

i would like to know this too
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

Learn basic map file structure first. And go to the eschaton website, it has a lot of info on how to go about breaking everything down. idk about h2 though
edit: http://forums.halomods.com/viewtopic.php?t=38615 try that

and it sounds like you're trying to load it with a filestream object, that only loads text, in this case, the first four bytes of the header (daeh = head)
What you want to use is a binary reader.
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
Plank755





Posts: 27
Joined: Fri Dec 14, 2007 2:17 pm
Location: I 1s 1n Ur H0us3 k1ll1ng ur DUd3z0rz

Post by Plank755 »

thanks a lot

EDIT: what do you mean "Eschaton Website"
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

Most likely here. It's for H1 though.

I highly suggest reading some of this as well.
Image
Download Eschaton: Halomods | Filefront | Mediafire
Plank755





Posts: 27
Joined: Fri Dec 14, 2007 2:17 pm
Location: I 1s 1n Ur H0us3 k1ll1ng ur DUd3z0rz

Post by Plank755 »

i tried that source thing but i keep getting an exception and i have absolutley no clue how to fix it
User avatar
Patrickh




Wordewatician 500

Posts: 1173
Joined: Wed Mar 14, 2007 4:53 pm

Post by Patrickh »

Plank755 wrote:i tried that source thing but i keep getting an exception and i have absolutley no clue how to fix it
It's not source code, It's a rough idea of what you're supposed to do to read the map. Just read it and try to understand what it says, then convert it to C#
Image
conure says: or i could jsut incase my shoes in papar mache, followed by my dog
|||Lethargy||| Mr. Mohawk|||
|||feel free to contact me via PMs, AIM, MSNM, or Xfire if you have any questions|||
Post Reply