Page 1 of 1

Does anyone know where offset references are stored?

Posted: Wed Dec 10, 2003 6:05 am
by dalecooper
Specific example here: I have a mod going with rocket hogs, but the warthogs have become base-defending turrets via the popular turret mod tutorial. I am trying to rename just the warthog so that it doesn't show "press x to enter gunner seat of warthog"... but at the same time will still show that when you enter the rocket hog.

I figure/hope that there are two references in hex that tell Halo where to get the vehicle name, and that I could direct one of those references to a blank spot in the map file, where I could insert a new vehicle name for the turret. However, this is all theoretical and quite beyond my actual knowledge. Can anyone shed a little light? I'm interested in hard facts, not more theorizing. Thanks!

Posted: Wed Dec 10, 2003 1:18 pm
by WaLKa
just search it in hex..

Posted: Wed Dec 10, 2003 7:19 pm
by Iron_Forge
In the map files, there is a ustr object (unicode string) which contains a group of strings for all the vehicle names (and some other stuff)...Because of how its formatted, you can't just add another string to it (it needs to be rebuilt)...However, if memory serves correctly, there are some free spaces / strings in it which aren't used that you could play with...Don't quote me on that though...

Each vehicle also has a value which references what string it uses from this grouping in its meta...(Just straight index, so if the vehicle has value 18, it uses the 18th string, starting with 0 of course)...I did this in HogWars if you want an example to look at...