glow offset for fp weapons

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

glow offset for fp weapons

Post by EchoRanger449 »

I don't know if there is an offset for this but here is what I know:

To make the energy sword have a first person model, without using HEK, PMI the first person model from another model, say the plasma rifle.

However, I want to enhance it even further and make it like its 3rd person counterpart. What makes the sword in Halo 1 really a sword? The glow

glw! or !wlg, depending on how you look at it.

I noticed that to add dependencies to the weapon file, I had to edit the weapon.xml file. I saw that the offsets for the animation triggers, models, ect. were identical. I don't know what these offsets refer to exactly, but I know that the energy sword (upper and lower) are different:
0x55C and 0x57C
I'm assuming the offsets just mean where in the list of dependencies (for the weapon) the dependency is.

so then... how do I acquire the offset? Does HMT have any tools for finding out what it is?

I'll keep experimenting and updating with what I get, but I need your help!

Thanks!


>>>I renamed the glows (just the glows for the first person). I updated the xhtml file for the weapon.meta and gave it a new offset (made one up using a hex calculator; one I thought would work) and I got this error:

Image

so I guess I will just use the original offset then...

Here I go...again...

>>>I have chosen some better offset values for the new glow tags. However, even though it allows me to create a second set of glow tags for the sword as well as it shows the glow tag dependencies- it will not work in first person, neither will the tags be defined (on the left hand side of a dependency is the tag category: bipd, cont, deca, etc.).

Apparently only pre-existing offsets can be used (they help the weapon file define what kind of dependency the file is.
The only dependencies that can be used for first person models are animation triggers and models.

Therefore in conclusion, the glow tags cannot be used in first person.
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Why do you have two 'fp' folders? I would check the filenames before rebuilding again.
For anybody still wondering where FTD has gone, here it is.
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

However, even when you get that fixed, you can't get that to work because you can't add new dependencies to a weapon that doesn't already have them.
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Ahh, I see. What about that function in HaloMap Tools? It says 'inject blank space into meta', although I've never heard anyone mention it.
For anybody still wondering where FTD has gone, here it is.
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

I've never really gotten how to use it.

If I could...then I'd try it.

I mean, I don't know where the offset should be if I added the dependency.
Post Reply