Finding light names in shape files

Sometimes you have a .GeoPcDx file and you want to write a script for it. If you deal with default signals, your starting point will be the default scripts. But there is also the following method.

You copy the .GeoPcDx to a safe place outside the RW folder hierarchy.
Append .bin to the extension.
Apply serz.exe to it, creating a file with .GeoPcDx.xml at the end.
View it using Notepad or any other editor.
Search for transformname, you will see something like this:

<transformname>
<e type="cDeltaString">Mod_hd_3asp</e>
<e type="cDeltaString">Mod_hd3_Red</e>
<e type="cDeltaString">Mod_hd3_green</e>
<e type="cDeltaString">Mod_hd3_orange</e>
</transformname>

Clearly, you need to use you imagination to guess what is what, and clearly, it is not such a challenge.

You can use RW-Tools for the conversion, I believe.

In the above example,
Call ( "ActivateNode", "Mod_hd3_Red", 0)
will switch off the red light.

No comments:

Post a Comment