Does anyone know where offset references are stored?

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
dalecooper




Literarian 50

Posts: 96
Joined: Mon Oct 20, 2003 9:19 am

Does anyone know where offset references are stored?

Post 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!
WaLKa





Posts: 1314
Joined: Sat Nov 22, 2003 1:46 pm
Location: Montr

Post by WaLKa »

just search it in hex..
Image
User avatar
Iron_Forge




Illusionist Socialist Decryptor System Engineer
ONI Golden Age Magic Era Bloodhound
Coagulator Omega Mad Hatter Eureka
Critic Tsunami Firestorm Literarian 250

Posts: 532
Joined: Sat Sep 20, 2003 9:21 pm

Post 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...
Image
...Thats right...I invented modding...So give me Wii Points...
Post Reply