Skip to content
This repository has been archived by the owner on Feb 14, 2025. It is now read-only.

How To: Adding a New Translokator Object

Greavesy1899 edited this page Jan 16, 2020 · 1 revision

How to add new object to translocator file?

Thanks to this step-by-step guide you will learn how to add a new object from the FrameResource file (.fr) in the city_crash.sds file to translocator file (.tra).

Getting to know the hash

Unpack city_crash.sds and open FrameResource file ( with .fr extension).

Find object that you are interested in and click on frame (that icon of clapperboard in scene outliner)

Click on ActorHash in Frame Properties/Property Grid and copy uHash

Now you know hash! In this example hash is 17846118737649266337.

Close map editor after copying numbers from uhash.

Adding new object to translocator file (.tra)

When we know hash, we can add new object to file with .tra extension. To do this open Translocator File from extracted before city_crash.sds.

Go to Object Groups and open any of group, then click on that object group and click Add Object

Go to newly added object (example "NewObject XX") and click on name and rename that object to name that you want (must be unique). Then in hash paste a hash that you copied before from uhash.

GridMax and GridMin are used to set render distance of object, you can copy gridmax and gridmin from another object.

You can leave Unk02 empty

Properties should looks like that

Click CTRL+A to add instance to newly added object

Set properties to instance (position and rotation etc) like before (like adding new instance to existing object)

Done!

Mafia: II

Mafia: Definitive Edition

Clone this wiki locally