I'm Live!
Watch Now

Creating Anakin’s Radon-Ulzer Podracer in game – Part 1

Choose an existing speeder as your template – here I’m using the IPG-X1131 Longtail Podracer

TRE Work:

  1. Extract the misc/object_template_crc_string_table.iff from SIE.  It is VERY important that you get the latest version of this, so right click and extract the relevant one in the bottom box rather than the one in the main window, as you can see here that they are different. This is the file that contains a CRC for every object in the game and will be the cause of much swearing and gnashing of teeth (and invisible objects in game).
  2. Loot Schematic
    1. In SIE, extract : object/tangible/loot/loot_schematic/vehicles/shared_podracer_ipg_x1131_longtail_schematic.iff
    2. rename to : object/tangible/loot/loot_schematic/vehicles/shared_podracer_anakin_schematic.iff
    3. Edit in SIE

      Note that craft_vehicle_ingredients_n is the name of the string file that you will need to edit for the name of the speeder
    4. Change the objectName from podracer_IPG_X1131_longtail_schematic to podracer_anakin_schematic
      Note that craft_vehicle_ingredients_d is the name of the string file that you will need to edit for the description of the speeder
    5. Change the detailedDescription from podracer_IPG_X1131_longtail_schematic to podracer_anakin_schematic
    6. I usually set the string file for the lookAtText to the same as that for the detailedDescription.
      Change the lookAtText from podracer_IPG_X1131_longtail_schematic to podracer_anakin_schematic
    7. The next thing is to change the appearance of the loot schematic item, the one that will drop/be rewarded/is used to learn the draft schematic from.If you’re happy with the one that’s in here, then just leave it as is and save the IFF file.
    8. Add the strings for the objectName and detailedDescription
      1. In SIE, extract the most recent strings/en/craft_vehicle_ingredients_n and strings/en/craft_vehicle_ingredients_d 
      2. In the SIE editor, create a new STF editor and open the craft_vehicle_ingredients_n file
      3. Add the string for the objectName field
      4. open the craft_vehicle_ingredients_d file
      5. Add the string for the detailedDescription field
    9. Add the new object to the object_template_crc_string_table
      1. open the object_template_crc_string_table in SIE
      2. Add the new IFF using Add from Files
      3. Navigate to and choose object/tangible/loot/loot_schematic/vehicles/shared_podracer_anakin_schematic.iff
  3. Tangible Object (for vehicles it’s in the object/mobile folder)
    1. In SIE, extract : object/mobile/vehicle/shared_podracer_ipg_x1131_longtail.iff

    2. rename to : object/mobile/vehicle/shared_podracer_anakin.iff
    3. Edit in SIE

      1. acceleration and speed, turn rate etc can be set for vehicles in here.  I’m not going to detail how to do that here.
      2. Edit the objectName and detailedDescription as you did above for the loot schematic.
        Note the different string files here, monster_name and monster_detail.
        Change to podracer_anakin.
      3. Change the to the apt or sat file for your new speeder
        Change it here to appearance/anakin_podracer.sat
        NOTE : YOU NEED TO LEAVE THE FUNNY SYMBOLS TO THE LEFT OF THE WORD appearance. DO NOT DELETE THEM
    4. Modify the monster_name and monster_detail string files as you did for the loot schematic string files above.
    5. Add the new object to the object_template_crc_string_table as you did with the loot schematic above
  4. Intangible Object (only needed for pets, ie. things that need a control device in the datapad)
    1. In SIE, extract : object/intangible/vehicle/shared_podracer_ipg_x1131_longtail_pcd.iff
    2. rename to : object/intangible/vehicle/shared_podracer_anakin_pcd.iff
    3. Edit in SIE

      1. As in the previous steps, change the objectName and detailedDescription values to podracer_anakin
      2. The string files used are the monster_name and monster_detail files used in the previous steps, so no additions required there.
      3. Change the appearance file, if desired to point to appearance/anakin_podracer.sat
    4. Add the new object to the object_template_crc_string_table as you did with the schematics above
  5. Object Deed (used for objects that will then have the additional step to generate the final tangible object. As vehicles are datapad objects, the deed is what would be sold/traded to other players).
    1. In SIE, extract : object/tangible/deed/vehicle_deed/shared_podracer_ipg_x1131_longtail_deed.iff
    2. rename to : object/tangible/deed/vehicle_deed/shared_podracer_anakin_deed.iff
    3. Edit in SIE

      1. As in the previous steps, change the objectName and detailedDescription values to podracer_anakin
        1. The string files used are the monster_name and monster_detail files used in the previous steps, so no additions required there.
        2. Change the appearance file, if desired to point to appearance/anakin_podracer.sat
      2. Add the new object to the object_template_crc_string_table as you did with the schematics above
  6. Draft Schematic

    1. In SIE, extract : object/draft_schematic/vehicle/civilian/shared_podracer_ipg_x1131_longtail.iff
    2. rename to : object/draft_schematic/vehicle/civilian/shared_podracer_anakin.iff
    3. Edit in SIE

      Note that the number of SISS chunks in the draft schematic IFF under the 0003 form should match the number of components in your draft schematic LUA.  If it doesn’t, you won’t get the list of ingredients when crafting and may also get a segfault when learning the schematic.
    4. After the SISS chunks will be a few DSSA chunks, and then an additional XXXX chunk which will contain the craftedSharedTemplate field
      change the path to point to the deed created above, object/tangible/deed/vehicle_deed/shared_podracer_anakin_deed.iff
      The objectName, detailedDescription and appearanceFilename fields can be set as above, but it’s none-essential for the draft schematic.
    5. Add the new object to the object_template_crc_string_table as you did with the schematics above
  7. Build the TRE, copy to the server. When ready to run…
    1. Add to config.lua
    2. Delete bin/databases/clientobjects.db
    3. Start the server with ./core reloadstrings

That’s the TRE work done.  Time to head over and set up the server files.

Creating Anakins Radon-Ulzer Podracer in game – Part 2

 

 

Affiliates