SRTT All about unlockables

[V] IdolNinja

Volition Staff
How are unlocks triggered in SRTT? In Saints Row 2, there was a table named sr2_city_missions.xtbl that a mission would reference when it was completed that contained <unlockable> entries for that mission. These entries were then referenced/processed from unlockables.xtbl for the actual unlock itself. In SRTT we can still edit unlockables.xtbl and change unlocks, but cannot add new entries or change when missions or activities actually process them. For example, if I wanted to add the Learning Computer truck as an unlock for completing m15 there is no currently no known way to actually do that since that mission doesn't currently have any unlocks that process.

I am hoping beyond hope that this isn't something hardcoded in the exe.
 
The mission and activity unlocks are added to the mission or activity start node objects, which would be located in one of the crunched AL zone files. I'll have to dig a bit to figure out which one(s) they actually end up in, but I believe they end up in the AL for the zone where the mission start trigger is located. Knobby would probably know more about the actual files these objects end up getting packed into.

Changing mission/activity unlocks may be a bit tricky until the documentation for the zone file formats is released.
 
That's great news. We were all suspicious that it was hardcoded after not finding anything in the files ourselves. Thanks!
 
I hope to eventually get exposure to spawn these nodes from lua as a way for you guys to create missions. Until then, I can try to find offsets and data information for you if you're interested in binary hacking of this data for now.
 
I think it's actually very rare for unlockables to be hardcoded. There are usually a couple of specific spots, such as the end of an activity or mission that they can be triggered, but which one is unlocked is a matter of data.
 
Back
Top