Author Topic: Custom shield/torch baseitem troubles  (Read 350 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Custom shield/torch baseitem troubles
« on: July 26, 2013, 06:29:05 pm »


               Seems that custom torch, maybe shield too cannot be used in quickslot with 1handed weapon, while normally it works.

The baseitem line for my custom torch is the same as the default torch except icon base and model.

Is there any way to enable this? I know that CEP2 uses pretty much every baseitem copied with different ACtype so was curious if they came across this problem too and if they solved it.
               
               

               
            

Legacy_OldMansBeard

  • Full Member
  • ***
  • Posts: 245
  • Karma: +0/-0
Custom shield/torch baseitem troubles
« Reply #1 on: July 26, 2013, 07:33:41 pm »


               It works for me. There's a custom torch in the OHS that is like the vanilla one but burns red instead of yellow, and I can put that into a quickslot along with a longsword and it works fine: they get equipped and unequipped together.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Custom shield/torch baseitem troubles
« Reply #2 on: July 26, 2013, 07:38:28 pm »


               interesting this is my baseitems line:

             Name       label                InvSlotWidth      InvSlotHeight   EquipableSlots   CanRotateIcon   ModelType   ItemClass     GenderSpecific   Part1EnvMap   Part2EnvMap   Part3EnvMap   DefaultModel    DefaultIcon       Container   WeaponWield   WeaponType   WeaponSize   RangedWeapon   PrefAttackDist   MinRange   MaxRange   NumDice   DieToRoll   CritThreat   CritHitMult   Category   BaseCost   Stacking   ItemMultiplier   Description   InvSoundType   MaxProps   MinProps   PropColumn   StorePanel   ReqFeat0   ReqFeat1   ReqFeat2   ReqFeat3   ReqFeat4   AC_Enchant   BaseAC   ArmorCheckPen   BaseItemStatRef   ChargesStarting   RotateOnGround   TenthLBS   WeaponMatType   AmmunitionType   QBBehaviour   ArcaneSpellFailure   %AnimSlashL   %AnimSlashR   %AnimSlashS   StorePanelSort   ILRStackSize  
133    5800       invis_torch          1                 3               0x00020          1               0           it_torch2     0                ****          ****          ****          it_torch        iit_torch_000     0           1             0            2            ****           ****             0          150        ****      ****        ****         ****          20         1          1          0.02             1725          17             8          0          20           4            ****       ****       ****       ****       ****       ****         0        0               5444              0                 1                1          ****            ****             ****          ****                 ****          ****          ****          0                1             

can you post yours?

damit mess formatting :/ code neither quote helps
               
               

               


                     Modifié par ShaDoOoW, 26 juillet 2013 - 06:40 .
                     
                  


            

Legacy_OldMansBeard

  • Full Member
  • ***
  • Posts: 245
  • Karma: +0/-0
Custom shield/torch baseitem troubles
« Reply #3 on: July 26, 2013, 08:04:46 pm »


               Ah, I see the difference. Mine doesn't use a custom base item - it's base item 15, the same as the vanilla torch, just a different model/bitmap/icon with its own itp added into the item palette.

So it's custom base items that aren't accepted? That makes more sense. Are the quickslots hard coded or is there a 2da somewhere that defines what combinations they accept?
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Custom shield/torch baseitem troubles
« Reply #4 on: July 26, 2013, 08:56:19 pm »


               There are certain base item types that are basically hardcoded with regards to their use, and trying to add a new base item type that copies them doesn't work quite right.  Mostly ones that have specific animations and/or functions tied to them: small shield, large shield, tower shield, torch...probably armor, cloak, and helmet, too.

I tried several years ago to make a new large shield base item type (using plt textures for tinting), and it just ended up held strangely in the left hand like a weapon.