xboxscene.org forums

Author Topic: Weapon Structure Hacking  (Read 58 times)

unsc1

  • Archived User
  • Sr. Member
  • *
  • Posts: 284
Weapon Structure Hacking
« on: August 14, 2003, 02:30:00 PM »

nice  biggrin.gif
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #1 on: August 14, 2003, 05:01:00 PM »

anything and everything is referenced from the weapon structure smile.gif from muzzle flash to sounds to projectiles to HUD images and displays.... its quite nice, i should have a complete writeup on the AR's structure soon if i have the time, im about one quarter the way thru it lol.... its good stuff tho, someone with the drive can prolly change a weapon to reference to custom made stuff injected into the file's many many strings of zero's.

this is a reminder, i need people to test the AR clip size and max ammo on all maps to make sure weapon structures dont vary map to map... and if those with the drive and know how could try applying the clip size changing to other guns and give feedback on what guns work and what dont that would be great.
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #2 on: August 15, 2003, 11:47:00 AM »

AR struct is mapped out, within a day or 2 i should have all useful places noted... if there isnt much support ill jsut keep it to myself i guess..... i think i found where u set how many bullets come out of ur gun at a time, ill post later if it's right or not.
Logged

UberJim

  • Archived User
  • Full Member
  • *
  • Posts: 165
Weapon Structure Hacking
« Reply #3 on: August 15, 2003, 12:10:00 PM »

With this all set up right we could have some interesting multiplayer games.  If the Sniper rifle shot straight even with 5 rounds coming out you could set up a nice round of instagib.  Slow the rate of fire down a bit, and make it so there is an infinite amount of rounds in a clip.  Halo instagib would be really nice.  Maybe even change the sniper bullet round model to something bright and red, and have the bullet trails be red.  If we could all agree on a good way to do instagib we would have a hit new online multiplayer game.
Logged

cexe

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Weapon Structure Hacking
« Reply #4 on: August 15, 2003, 12:12:00 PM »

thanks for the info..... appreciated.....
Logged

slidellsimba2

  • Archived User
  • Sr. Member
  • *
  • Posts: 287
Weapon Structure Hacking
« Reply #5 on: August 15, 2003, 12:44:00 PM »

yeah itd be kewl to do something with the bullets

espically for legendary
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #6 on: August 15, 2003, 12:47:00 PM »

u want instagib? i found the offset for # of bullets fired.... i had an AR shooting 255 rockets per shot, anything it hits is blown out of the level instantly.... oh and yeah theres severe fps drain if u hold the trigger smile.gif


# shots fired 0x027a3be2
(this is for AR on bloodgulch, i dunno if it accepts 2 byte values, i jsut used FF (255) and 32 (50). 255 rockets lag for a sec or three when it hits something and has to calculate physics and dont think of holding it down (maybe AR isnt best suited for it.... if u want u can change it to shoot normal AR bullets and have a super machine gun, *shrug*) 50 rockets works fine till u hold it for about 3-5 secs then it lags up a bit.... with 255 rockets whenever u hit ground it turns pink/white, like what i heard the flamethrower does, heat/damage to ground changes color, etc.... if i wasnt on dialup i would make a movie to show off, something along the lines of "a halo physic's experiment, part2: no pansy 'nades needed" if someone else wants to make one and put my name on the credit's that'd be great

and thanks cexe, thats the kind of feed back im looking for, angered me when i only had 2 replies and like 200 views smile.gif ill be looking into weapon firing rate and damages next, then move onto vehicle structure if there arent any other things people will need.... if i get around to it ill have a nice layout made for weapon structures soon (list the references in the structures, anything associated with a gun is in it)

Edit: more values...
shotgun clip 0x028a266e    (+a5a)
shotgun shots fired 0x028a2a6c  (+e58)
shotgun max ammo 0x028a266c (+a58)

the values in parentheses(sp?) are the values to add to the base offset if u want to try applying these to other maps, which would be good for testing.... finding the base offset is described in the first post
Logged

UberJim

  • Archived User
  • Full Member
  • *
  • Posts: 165
Weapon Structure Hacking
« Reply #7 on: August 15, 2003, 01:54:00 PM »

Rockets are not good for instagib.  I think I have another way to do it though.  Just change the damage of getting hit by a sniper shot to that of getting hit by a vehicle.
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #8 on: August 15, 2003, 01:54:00 PM »

is 30 secs a fixed respawn rate? i never paid too much attention to it b4 but i think i remmeber noticing 'nades spawn faster than that... i wonder how they stored sec's in hex, wether it reads a direct 30 (1E) and knows its seconds, or if it stores it in fractions of a minute or so on. if u want to help try and come up with places where it would be kept track of, it seems to be a universal value so i doubt its in weapon structures, theres prolly a game variable structure somewhere that needs to be found and documented.... if u want to help try creating these super weapons on other levels using the offset change listed in parenthesis and let me know how that goes.

side note, how many people have done this mod? i see a lot of views but low feedback, wonder if they're scared becuz it hasnt really been confirmed (havent seen anyone mention they've tried it).... ah well well im jsut rambling.... trying to figure out how bitmaps are stored. texture extraction has been done but i havent seen any documentation on it and i wonder what format thse pics are stored in and where they actually are.... i think i found where it references to a header but ill keep looking....

and yes i do take requests as long as they're meaningful and not stupid. im in boonies ohio, dont even have cable tv so braodband is a no go (or i woulda put out a movie from launching scorpian from one base to the outside of the level behind the other base... like i said, with 255 rockets, if u hit something, its gone)

edit: i would like to retract what i said earlier somewhat: "anything and everything is referenced from the weapon structure  from muzzle flash to sounds to projectiles to HUD images and displays." a lot of what i thought was editable has yet to be proven so by myself, there are references to all that i mentioned but they just point to filenames, probably left over from compiling..... i thought modifying them would change things but there seems to be no result, as they only point to strings.
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #9 on: August 15, 2003, 06:17:00 PM »

they're mentioned in the form of: "65 64 6f 6d 38 6c 3b 80" the first 4 bytes are edom, which is the tag class model, and the last flipped become the offset 0x803b6c38, then u subtract the magic number 0x7E06AA00 and u get the offset 0x234C238, which is the file name string offset.... it all comes together like that but switching string offsets doesnt do anything... i think that stuff like this in the weapon struct might just be left over from compiling or something, becuz ive had no luck so far switching em..... they must be linked together in a diff area, like u said, the main structure.... which one would that be? some more info could help me out... maybe ive got it backwards and the sound's structure links to the weapon, i dunno.... or it could be the animation's play the sounds also but i figured it was all lopped together in each weapon's structure..... im currently working on trying to view bitmaps but that isnt getting anywhere, i need more ideas for stuff to do..... ive even starting thinking about trying to duplicate list items and insert them which would be very nice to the advancement of mods.....*shrug*
Logged

cexe

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Weapon Structure Hacking
« Reply #10 on: August 15, 2003, 06:39:00 PM »

30 seconds is fixed, and the plas nades i think are 3 minutes, i forget, there is a time list at halo.bungie.org.  thanks for the info

This is a very intereting subject, maybe a little diffucult for most to understand.  Still at work, sorry cant help much now.

thanks
Logged

kornkob69

  • Archived User
  • Jr. Member
  • *
  • Posts: 54
Weapon Structure Hacking
« Reply #11 on: August 15, 2003, 06:47:00 PM »

smile.gif people must be scared to hex edit again now with these tools out... damn things.... and if all goes well someone will be releasing a movie demonstrating this

is anyone else working on extracting files that is will to give me tips and such? i know atleast one person has had success with extrating textures, i saw em on some site... people jsut dont like to share info tho.... boy i mumble on and on a lot, im bored i guess.... ill cut this off now and get back to work....

edit: 30 and .5 (float) werent found in the AR weapon struct so it looks like respawn timing is going to be in the xbe.... good luck to any others wanting to find it
Logged

corey72388

  • Archived User
  • Newbie
  • *
  • Posts: 6
Weapon Structure Hacking
« Reply #12 on: August 17, 2003, 11:33:00 PM »

muhaha.gif
Logged

cexe

  • Archived User
  • Jr. Member
  • *
  • Posts: 51
Weapon Structure Hacking
« Reply #13 on: August 18, 2003, 01:48:00 AM »

thanks for the info, although for different maps, the respawn rates are different for the weapons.  like the sniper on hang em is 30 sec, but in bg its 2 mins, so i would think it would have to do with one of the map files, but honestly, i dont have the skills u got
Logged