Adding a flashlight to a weapon

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
santamaycry





Posts: 463
Joined: Mon Mar 28, 2005 6:32 pm

Adding a flashlight to a weapon

Post by santamaycry »

Ok i understand you need the chunk adder for this, but i havnt really messed with the idea, i used the search button but to no avail, any pointers?
User avatar
Aequitas




Socialist Artisan Miner Pi
Bloodhound Mad Hatter Enthraller Logistician
Eureka Critic Wave

Posts: 469
Joined: Thu Nov 11, 2004 10:07 pm

Post by Aequitas »

No you don't need "the chunk adder"...

You need to add chunks, though. Try Insolence, Hex Workshop, and a few interflexives.
TF6
santamaycry





Posts: 463
Joined: Mon Mar 28, 2005 6:32 pm

Post by santamaycry »

Aequitas wrote:No you don't need "the chunk adder"...

You need to add chunks, though. Try Insolence, Hex Workshop, and a few interflexives.
i hate insolence, because then i need serenity

i dont want to use hex

doesnt the chunk adder do that for me?
User avatar
Aequitas




Socialist Artisan Miner Pi
Bloodhound Mad Hatter Enthraller Logistician
Eureka Critic Wave

Posts: 469
Joined: Thu Nov 11, 2004 10:07 pm

Post by Aequitas »

Well, if you don't use stuff like "the chunk adder" that creates improper maps, you'll be set to use Serenity and there won't be any problems.
TF6
santamaycry





Posts: 463
Joined: Mon Mar 28, 2005 6:32 pm

Post by santamaycry »

serenity hates me
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

SantaMayCry wrote:serenity hates me
i wonder why... :roll:. u can use glitchys chunk adder but you would have to add the reflexive to the plugin and then like aequitas said, it wouldnt be compatable with serenity patches. another way without making interflexes would be to just extract the weapon tag u wish to edit, copy the chunk that u wanna use and put it at the end of the weapon meta and then just add reflexive info in the meta.data, then u can just inject it back into the map over something else and it will automatically translate the reflexives for u so u dont need to do any converting. it doesnt get much easier than that
User avatar
Aequitas




Socialist Artisan Miner Pi
Bloodhound Mad Hatter Enthraller Logistician
Eureka Critic Wave

Posts: 469
Joined: Thu Nov 11, 2004 10:07 pm

Post by Aequitas »

I usually just use Insolence to make an extra tag that's around the size I need, then handle the rest in Hex Workshop. I'll have to try ADI instead of Hex Workshop... might be quicker. ;x
TF6
santamaycry





Posts: 463
Joined: Mon Mar 28, 2005 6:32 pm

Post by santamaycry »

xbox7887 wrote:
SantaMayCry wrote:serenity hates me
i wonder why... :roll:. u can use glitchys chunk adder but you would have to add the reflexive to the plugin and then like aequitas said, it wouldnt be compatable with serenity patches. another way without making interflexes would be to just extract the weapon tag u wish to edit, copy the chunk that u wanna use and put it at the end of the weapon meta and then just add reflexive info in the meta.data, then u can just inject it back into the map over something else and it will automatically translate the reflexives for u so u dont need to do any converting. it doesnt get much easier than that
could you explain that in a tad more detail?
Extrinsic





Posts: 16
Joined: Wed Jul 20, 2005 2:54 pm

Post by Extrinsic »

ok i understand every thing accept how do i just add reflexive info in the meta.data?
Signature exceeded 75KB.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

SantaMayCry wrote:could you explain that in a tad more detail?
ive never actually added light to a weapon but first you need to extract the meta of the weapon u wish to add the flashlight to, i prefer ADI but any map editor will do. then you need to find the location of where the light reflexive should be, i think its at decimal offset 148 but im referring to a really old plug i made a while ago so it could be wrong. you cant just put reflexives anywhere u want, the game has specified locations on where each one should be so make sure its in the right place or the game will most likely freeze. now youre gonna want to add a light chunk to the end of the weapon meta, if i was right before then it has a chunk size of 24 bytes. there should be a light dependency at offset 0 of the chunk, then a couple of string ids that follow and i dunno what else. after u build the chunk and reference it to the light u wanna add then you can save the weapon meta. now its time to edit the meta.data...im gonna use adis format as an example. just add "Reflexive|152|X|1", "X" being the offset of where your injected chunk is located. the offsets i gave might be incorrect and knowing me probly are :woops: but at least u have some sort of example to follow
Post Reply