bitmasks

Moderator: Altimit01

Post Reply
?mike?
Ranger
Posts: 768
Joined: Sat Apr 22, 2006 4:41 am
Contact:

bitmasks

Post by ?mike? » Sun Jul 30, 2006 3:31 pm

i was just wondering where the bitmasks for weapons are located. i know where the biped and vehicle ones are. I've been looking and just cant find the weapon ones....

«Beast»
Ranger
Posts: 1217
Joined: Fri Apr 14, 2006 11:42 am
Location: Creepin' up with a sock full o' pennies. :D
Contact:

Post by «Beast» » Sun Jul 30, 2006 4:19 pm

Bitmasks or bitmaps? o_O
Image

?mike?
Ranger
Posts: 768
Joined: Sat Apr 22, 2006 4:41 am
Contact:

Post by ?mike? » Sun Jul 30, 2006 4:20 pm

bitmasks not bitmaps.

«Beast»
Ranger
Posts: 1217
Joined: Fri Apr 14, 2006 11:42 am
Location: Creepin' up with a sock full o' pennies. :D
Contact:

Post by «Beast» » Sun Jul 30, 2006 4:22 pm

Use the HMT plugins to find 'em.
Image

?mike?
Ranger
Posts: 768
Joined: Sat Apr 22, 2006 4:41 am
Contact:

Post by ?mike? » Sun Jul 30, 2006 4:27 pm

i know how to use the HMT plugins and i also know that the bitmasks are not necessarily in the place u would thing they would be. like vehicles, the bitmasks are not located in 0x00 of a vehicles meta. they are in a different place. the weapon bitmasks are not located at 0x00 they are someplace else even though the HMT plug-ins say that they are located there.

A Bunny
Operative
Posts: 186
Joined: Mon Feb 27, 2006 1:44 pm

Post by A Bunny » Sun Jul 30, 2006 7:52 pm

The plugins say they are in a structure, and that structure is referenced by a reflexive, follow the reflexive and it will tell you where the bitmask is.

Yummy
Ranger
Posts: 684
Joined: Wed Jun 14, 2006 5:42 pm
Location: Near Pittsburgh, PA

Post by Yummy » Sun Jul 30, 2006 8:18 pm

Yeah, the plugins are accurate. You just have to do what A Bunny said. I finally understand bitmasks and have been able to get drop trigger and trigger lock. (Didn't realize the 4 bytes were little endian, so i edited the wrong bits before). Thanks to Disabler's tutorial.

?mike?
Ranger
Posts: 768
Joined: Sat Apr 22, 2006 4:41 am
Contact:

Post by ?mike? » Mon Jul 31, 2006 6:36 am

A Bunny wrote:The plugins say they are in a structure, and that structure is referenced by a reflexive, follow the reflexive and it will tell you where the bitmask is.

0x00 is not a reflexive... is it? or is it in the meta somewhere else?

«Beast»
Ranger
Posts: 1217
Joined: Fri Apr 14, 2006 11:42 am
Location: Creepin' up with a sock full o' pennies. :D
Contact:

Post by «Beast» » Mon Jul 31, 2006 7:12 am

You go to where the plugins point to within the meta you want to edit, and there will be four bytes that are something, and then the next four bytes will end in either 4B or 4C. Take those four bytes, un-endian them. (For example if the four bytes were 5C 2D 3A 4C, then you would write 4C 3A 2D 5C.) Then take the four bytes you just got and subtract the map magic from them. You will get a new offset. Go there and that's what you're looking for.
Image

Yummy
Ranger
Posts: 684
Joined: Wed Jun 14, 2006 5:42 pm
Location: Near Pittsburgh, PA

Post by Yummy » Mon Jul 31, 2006 2:01 pm

:: Claps for beast ::

?mike?
Ranger
Posts: 768
Joined: Sat Apr 22, 2006 4:41 am
Contact:

Post by ?mike? » Mon Jul 31, 2006 2:08 pm

well this topic is useless now. ive got it all figured out.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests