Author Topic: small crate turning issue  (Read 1354 times)

August 21, 2013, 03:06:40 PM

Offline Kane

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 449
  • Karma: +65/-26
Take a small crate you get from a Tyrant, lock it down at your house and then use the int dec tool to turn it.  The small crate turns into a small keg of the same color, turn it again and it turns back a small crate.   The other size crate seems to work fine, as does actual small kegs found this same way.

Thanks.

August 21, 2013, 04:09:38 PM
Reply #1

Offline Keldon

  • Full Member
  • ***
  • Posts: 235
  • Karma: +26/-0
going to make a guess here as to what the issue is.  In the coding there is a line to call out what graphic to use depending on which way an item if facing.


Code: [Select]
[FlipableAttribute( 0x13db, 0x13e2 )]


This is probably set to 2 different container graphics so they only had to write 1 file to get the two different tyrant chest graphics.  Hence the reason we see either small crates or kegs as tyrant chests.  It is the same as the chest dropping facing the two different ways.
« Last Edit: August 21, 2013, 06:24:30 PM by Keldon »
Just a ghost

August 21, 2013, 06:03:55 PM
Reply #2

Offline Kyn

  • Hero Member
  • *****
  • Posts: 534
  • Karma: +232/-35
Code: [Select]
going to make a guess here as to what the issue is.  In the coding there is a line to call out what graphic to use depending on which way an item if facing.


[code
[FlipableAttribute( 0x13db, 0x13e2 )]


This is probably set to 2 different container graphics so they only had to write 1 file to get the two different tyrant chest graphics.  Hence the reason we see either small crates or kegs as tyrant chests.  It is the same as the chest dropping facing the two different ways.


Since its a square box. my fix was probably going to be making it the same itemID on flip. However I need to look at it first and see if there is an actual "flipped" itemID for the box first :)

August 21, 2013, 06:27:02 PM
Reply #3

Offline Keldon

  • Full Member
  • ***
  • Posts: 235
  • Karma: +26/-0
hehe, made my post as i was running out the door to leave for work.  Corrected the code tags so it doesn't look like a retard posted it.


I think all of the containers are slightly longer but I do not know if they have a second ItemID for when it is turned.  If i was not at work I would take a look.
Just a ghost