Author Topic: How to procure items using the cube  (Read 14168 times)

maeyan

  • Loves Hellgate
  • Administrator
  • Eldest
  • *****
  • Posts: 1997
  • Karma: 31
How to procure items using the cube
« on: Aug 23, 2010; 01:58 PM »
DISCLAIMER: This document has been written without proof reading, formatting or explanatory pictures. This guide will eventually have all 3 of these things, tonight i'm too tired.

-------------

There are many different ways to get items into the game via Reanimator, but for the sake of simplicity, I will go over one of the least destructive/clean methods which is to create a recipe for it and retrieve it via the cube.

I recommend working from the 1.2.1 cooked files as they already contain all the tweaks that might otherwise prevent you from doing this. To do this, copy all the excel files from the SP modification and paste them over the top of the ones in the Reanimator directory.

The recipe works by creating a 'plan' for the item which involves a combination of other items, which then points to a 'treasure' class which is responsible for the conditions and types of items that are returned.

There are 3 tables involved: items, treasure and recipes. You don't actually edit the items table you'll just open it to retrieve the index of the item you want to create. In this example, lets create a recipe for the Attribute Retrainer. Open the items table in Reanimator and scroll down until you find the row containing the item. The index for the Attribute Retrainer is 265. You will also need to get the index of items you want to use for the recipe ingredients. To make it simple, we will use a Analyzer as the ingredient. The index for this item is 111. Remember these numbers and you can now close the items table.

Next we will create a treasure class that will return the Attribute Retrainer. This is easily done by using the 'Dupe' function which will copy a range of existing items and insert them as new rows. There are lots of bells and whistles to the treasure class and you can do an amazing amount of stuff with it but for simplicity, we will dupe an existing treasure class used for another recipe. So select row 469 which is labeled 'cube_result_townportal' and press dupe. Now scroll to the bottom of the table and a new row will be inserted. Take note of the index of this row which in this example is 531. Rename it to 'cube_result_attribute_retrainer' so you can keep track of it at a later time. Now scroll across until the column named 'item1'. It will currently have the item number 110 in it which is actually the index for the town portal item (uh huh..). Replace this number with the Attribute Retrainer index 265. You can now save and close this table. You should have the Revival SP 1.2.1 modification installed, so override this file which is located in your Hellgate London directory inside: data/excel/treasure.txt.cooked.

The file modification to make is to the recipe table. Open it up and again dupe an existing row, its the quickest way. Lets dupe row 50. Scroll down to the new row which would be row 83. Rename it to 'cube_attribute_retrainer' for reference. This table has a 'code' column which contains a 5 digit number. This must be a unique value to all the other rows in the same table. 32000 isn't used, so replace the current code with this value. This recipe actually already take 1 analyzer at the ingredient. So it doesn't conflict with the existing town portal recipe, change the quantity of analyzers required to 2. You need change the item1minQuality and item1maxQuality to both 2. Finally scroll across to the treasureResultClass column. Replace the number 469 with the new treasure class we created which has 531. Now save this file over the top of the existing one in the same location as the Recipe file.

Congratulations.. you can now create Attribute Retrainers by placing 2 Analyzers into the cube.
Don't dream what to be; be what you always dreamed.

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2834
  • Karma: 53
Re: How to procure items using the cube
« Reply #1 on: Aug 23, 2010; 05:58 PM »
<cue squeels of joy the world over>

Now that's sheer awesomeness,gotta love the Reanimator  :mrgreen:
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true to an extent for some mods and 2038.

hukhuk

  • Founder
  • Eldest
  • ****
  • Posts: 1721
  • Karma: -65369
  • lowfive
Re: How to procure items using the cube
« Reply #2 on: Aug 23, 2010; 11:01 PM »
41 views - so i am not the only one who saw this, thought: AWSM and fell dead tired into the bed.
sadly i am still on that damn eeepc O:<


keep on the nice work

Neferius

  • Nameless
  • *
  • Posts: 8
  • Karma: 0
Re: How to procure items using the cube
« Reply #3 on: Aug 26, 2010; 12:31 AM »
Actually... I tried following this through, but got Stuck on the "dupe" part  :(
I mean, what do I open... and how exactly do I go about inserting a new row? Better yet, WHERE does that row go!?

And while the thought of creating new Item-recipes is Enticing to say the least, I'm also interested learning how to Edit items I already have in my Inventory. Things like adding mod-slots and editing Properties. I've dabbled with the Reanimator and managed to give myself 50,000 Palladium :D ,but sadly the UI is just too complicated for me to completely figure-out on my own  :|
Eternally Seeking,
Neferius.

Kite

  • Developer
  • Eldest
  • ****
  • Posts: 1095
  • Karma: 3
Re: How to procure items using the cube
« Reply #4 on: Aug 26, 2010; 12:40 AM »
You can only modify items that will be dropped in the game, but not items that are already inside of your inventory. As for the row duping:
Open the table you want to work with and select the row you want to dupe by clicking the grey area to the left of the row. This will select the whole row. Then go to the lower right corner of the screen and click the "Dupe" button. A copy of that row will be appended to the end of the table.

[attachment=0:nkmfvdgi]dupe.png[/attachment:nkmfvdgi]
~ Recettear ~
Capitalism, ho!

Malachor

  • Developer
  • Eldest
  • ****
  • Posts: 1996
  • Karma: 25
Re: How to procure items using the cube
« Reply #5 on: Aug 26, 2010; 03:41 AM »
Quote from: "Neferius"
And while the thought of creating new Item-recipes is Enticing to say the least, I'm also interested learning how to Edit items I already have in my Inventory. Things like adding mod-slots and editing Properties. I've dabbled with the Reanimator and managed to give myself 50,000 Palladium :D ,but sadly the UI is just too complicated for me to completely figure-out on my own  :|
Regarding this, look here.

Neferius

  • Nameless
  • *
  • Posts: 8
  • Karma: 0
Re: How to procure items using the cube
« Reply #6 on: Sep 01, 2010; 08:33 PM »
Hey guys, thanx for the Response ...and yeah, sorry about being a bit of a Noob there :lol:
And @Malachor, thanx dude I already have that article Bookmarked, but unfortunately for me, I installed the Game on my Windows-7 x64 partition, and so-far neither HxD or CheatEngine have been successful in opening the Process.
I did consider installing a separate version of the game on my WinXp partition, but I know the graphics-rendering just won't be the same :(  ...I'm still gona' do it Eventually.

Right now I was looking on how to modify the savegames hands-on using HxD, but I quickly learned the information was encrypted  :? ...so for the time-being the Reanimator still remains my favorite tool  :mrgreen:
The reason I'm researching this stuff is because I wanted to find-out if I could Transplant the character-model from one savegame to another, or at least modify it. See, I made this Female Marksman and then painstakingly forged some great Armour for her via the Augmentex 3000 by repeatedly backing-up and restoring the .hg1 save-file. But now, I'm unsatisfied at her Physical appearance ...particularly how Short I've made her (The HGL Character-Creation screen isn't that big on accurate-rendering  :cry: )
Eventually I guess I'll just use the Cube's Item-Trading function to Transfer all the Items to another Character I've made that is aesthetically more Pleasing to me  8-)
It still bothers me that I'll loose the quest-progress, but that's Life  :|

Oh and, before I forget...
Quote from: "maeyan"
I recommend working from the 1.2.1 cooked files as they already contain all the tweaks that might otherwise prevent you from doing this. To do this, copy all the excel files from the SP modification and paste them over the top of the ones in the Reanimator directory.
When I did that, it broke the damn thing and I ended-up having to Reinstall it by removing it's registry manually  :(  ...just thought I should tell you. Maybe you guys could include an Uninstaller for less tech-savvy people in your final Release  ;)
Eternally Seeking,
Neferius.

Kite

  • Developer
  • Eldest
  • ****
  • Posts: 1095
  • Karma: 3
Re: How to procure items using the cube
« Reply #7 on: Sep 01, 2010; 09:40 PM »
@Neferius:
I'm currently working with the character saves and if you want I could try to give your character a small cosmetic lifting :) I can't promise anything, but it might be worth a try :P
Just send me both character saves and tell me which one should be modified and I'll give do my worst^^
~ Recettear ~
Capitalism, ho!

kevitachimaru

  • Nameless
  • *
  • Posts: 24
  • Karma: 0
Re: How to procure items using the cube
« Reply #8 on: Sep 08, 2010; 11:34 AM »
Why is it that I can't find this "dupe" button?

maeyan

  • Loves Hellgate
  • Administrator
  • Eldest
  • *****
  • Posts: 1997
  • Karma: 31
Re: How to procure items using the cube
« Reply #9 on: Sep 08, 2010; 12:22 PM »
Quote from: "kevitachimaru"
Why is it that I can't find this "dupe" button?
Oh that must be in a new version. I'll upload it now
Don't dream what to be; be what you always dreamed.

kevitachimaru

  • Nameless
  • *
  • Posts: 24
  • Karma: 0
Re: How to procure items using the cube
« Reply #10 on: Sep 09, 2010; 10:10 AM »
I can't seem to find this new version that has the "dupe" button, can somebody give me a link?

Kite

  • Developer
  • Eldest
  • ****
  • Posts: 1095
  • Karma: 3
Re: How to procure items using the cube
« Reply #11 on: Sep 09, 2010; 12:13 PM »
Once the new version is released, you'll know about it :)
~ Recettear ~
Capitalism, ho!

Ratero

  • Founder
  • Nameless
  • *
  • Posts: 69
  • Karma: 0
Re: How to procure items using the cube
« Reply #12 on: Oct 02, 2010; 03:48 PM »
I had little problems following this guide but I got stuck at the last step.  I modified the item1minQuality and item1maxQuality to 2 and then it says to go to the treasureResultClass and change the 465 to 531.  I could not find a treasureResultClass in the Recipe table.  Is this column in a different table?

Kite

  • Developer
  • Eldest
  • ****
  • Posts: 1095
  • Karma: 3
Re: How to procure items using the cube
« Reply #13 on: Oct 02, 2010; 06:27 PM »
This guide is based on an old Reanimator version. In the newer versions a lot more of the tables are known. The entry you're looking for is the "treasureResult1" column :) Additionally the name of the item you just added will be displayed in the right hand column so you can make sure you added the correct one (you'll probably have to select another row for Reanimator to load and display the name of the item).
~ Recettear ~
Capitalism, ho!

Ratero

  • Founder
  • Nameless
  • *
  • Posts: 69
  • Karma: 0
Re: How to procure items using the cube
« Reply #14 on: Oct 02, 2010; 07:52 PM »
Thanks Kite,  I saw that column but was unsure if I should do that one or not.