Jump to content


Photo

Unique Containers v3


58 replies to this topic

#1 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 23 May 2009 - 06:04 PM

Posted Image

File Name: Unique Containers v3
File Submitter: Miloch
File Submitted: 24 May 2009
File Updated: 2 Dec 2009
File Category: Miscellaneous Released Mods
Forum: www.shsforums.net/index.php?showtopic=40775
Readme: www.farseek.com/bg/contain-english.html

Unique Containers

This mini-mod assigns unique icons to all containers in the game. Containers include standard and mod-added bags of holding, gem bags, scroll cases, potion cases and ammo belts. The tweak allows you to identify containers at a glance by colour and use them for a particular type of storage. Or it just makes your character's accessories colour-coordinated :P. Optionally, you can assign unique names (based on the colour) to the containers to differentiate them further.

The mod will also fix various issues with stores and containers in both the unmodded (and Fixpacked) games, as well as with mods. Some of those mods include BP, CtB, NEJ2, RoT, SOS and UB. Most significantly, it fixes some issues with Lost Items v2, including containers with duplicate stores attached and other mod usability issues pointed out by Bursk and SixOfSpades. You don't need to have any of these mods installed to use the main feature though.

Ultimately, this mod will be included in a larger tweak mod but is released as a patch or mini-mod in the interim.

Installation: Extract to your game directory, double-click on setup-contain.exe and follow the prompts. Option 1 gives you unique names and icons for containers, option 2 gives new icons only and option 3 just fixes container and store bugs in the vanilla game and with mods.

Compatibility: This mod is compatible with (Easy)Tutu, BGT and BG2 with any combination of mods. However, you should install this after any mods that add containers, including BG2 Tweaks and BGT Tweaks.

Credits: DavidNowlin - initial idea and beta testing
Bursk, pro5 and SixOfSpades - for pointing out Lost Items issues
Aramis and Vedran - for the initial Lost Items mod
German translation: Leomar
Italian translation: Stoneangel and Andrea/ilot
Spanish translation: Ancalagon el Negro and Immortality
French translation: Graoumf
Russian translation: prowler and aerie.ru

Licence: This work (including all code and documentation) is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License. You are free to share (copy, distribute and transmit) and to remix (adapt) this work, except for commercial purposes.

Version History
Version 3: 2 Dec 2009
- Added a bevy of fixes for mod store bugs (BG2-SoA, Alex Macintosh, Bone Hill, CoM Encounters, CtB, Dark Horizons, Dark Ritual, DSotSC, Forgotten Wars Item Pack, Mod for the Orderly, Mortis Mini-Mod, MTS Crappack, Munchmod, NEJ, Ribald's Genie, RoT, SOS, TDD, The Undying)
- Updated "bottomless" bag fix to avoid using time-consuming regexp
- Fixed minor compatibility issue with SPItems and RoT
- Added French and Russian translations; updated other translations

Version 2: 25 Oct 2009
- Fixed and enhanced the Shadows Over Soubar patch
- Fixed bag/store bug on Paddy Stoutfellow in Check the Bodies
- Reversed Spellhold Gauntlet bag fix as it is now included in that mod
- Enhanced compatibility with Classic Adventures
- Added compatibility for more mods (Bellina's Bags, Bolsa, Charli, Mersetek and Mystigan)
- Added Spanish translation; updated other translations
- Added fix for buggy "bottomless" bags

Version 1: 23 May 2009
- Fixed minor inconsistency in Lost Items patch
- Fixed typo in "Bag of Holing" :P
- Added dupe-baggery fixes for Unfinished Business, Spellhold Gauntlet and Classic Adventures
- Added Italian and German translations

Beta Version 2: 19 Aug 2008
- Enhanced Lost Items usability patch
- Added Bearwere's Candlekeep Bags (from TweaksAndTricks) to container patch

Beta Version 1: 6 Jul 2008
- Initial release

Click here to download this file

Edited by Miloch, 02 December 2009 - 04:46 AM.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#2 dreamer2007

dreamer2007
  • Member
  • 430 posts

Posted 23 May 2009 - 08:18 PM

Nice work Miloch! I was wondering when this mod will come out of Beta. I can't wait to see the new version integrated in BWP :D . Thank you and welcome back after the long break! :cheers:

#3 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11144 posts

Posted 23 May 2009 - 08:46 PM

Wow, great work! :)

Personal: vonconrad.com. Work: Envato.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#4 ilot

ilot
  • Member
  • 564 posts

Posted 24 May 2009 - 04:34 AM

Thanks Miloch!!

Italian mods tanslator!!!!


#5 Shaitan

Shaitan
  • Member
  • 800 posts

Posted 25 May 2009 - 12:20 PM

Thanks for the beautiful work!

#6 Galan

Galan
  • Member
  • 28 posts

Posted 26 May 2009 - 05:29 AM

ERROR: BIFF [./DATA/STORES.BIF] cannot be loaded: Unix.Unix_error(20, "stat", "./DATA/STORES.BIF")

ERROR: BIFF [./DATA/STORES.BIF] cannot be loaded: Unix.Unix_error(20, "stat", "./DATA/STORES.BIF")
Probably because I already biffed the game...

#7 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 26 May 2009 - 05:36 AM

Probably because I already biffed the game...

Well, but why would you biff a biff that's already biffed? :huh:

Can you attach (not paste) your SETUP-CONTAIN.DEBUG log. And I guess your WeiDU.log though I doubt that'll help much.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#8 Galan

Galan
  • Member
  • 28 posts

Posted 26 May 2009 - 05:52 AM

Probably because I already biffed the game...

Well, but why would you biff a biff that's already biffed? :huh:

Can you attach (not paste) your SETUP-CONTAIN.DEBUG log. And I guess your WeiDU.log though I doubt that'll help much.

:cheers:

Attached Files



#9 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 26 May 2009 - 06:28 AM

Odd. It found your ToB and mod resources, but none of your SoA resources. :blink: Could be maybe your chitin.key is corrupt, because that (if correct) should point to your game resources regardless of which biff they're in. Or could be this Generalized Biffing thing messes with your game in cruel and unusual ways, though I don't think the bigg would do that. But he does say PLEASE NOTE THAT THIS MOD HAS NOT BEEN EXTENSIVELY TESTED AND MIGHT BREAK YOUR GAME in big caps...

You could try uninstalling Unique Containers, deleting everything from your /cache and /cache/data (and I guess /temp and /tempsave while you're at it) then try reinstalling it. But if your chitin.key is corrupt, that won't help much...

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#10 Galan

Galan
  • Member
  • 28 posts

Posted 26 May 2009 - 11:08 AM

Oh well... I just realized, that data/stores.bif was missing... After restoring the one from the backup everything worked fine :wub:
As to why stores.bif was missing... No idea...

Thanks anyway :cheers:

#11 MajorTomSawyer

MajorTomSawyer

    The great pretender... of modding!

  • Modder
  • 2079 posts

Posted 26 May 2009 - 01:06 PM

I love this.

Now (when I am done coding and testing) my inventory will not always look the same.

Thank you for making this.
"A good pipe and tobacco will allow you to endure fools, boobs, nitwits, most bosses, angry spouses, (well, maybe not angry spouses), incompetents, slings and arrows, broadsides and people who cut in front of you after you've waited 15 minutes in highway construction zones, and most of life's little problems." - Ted's Pipe Shop

Completed:
Alex Macintosh (PC) - Project Lead. - (Updated to version five - 2/17/10)
Baldur's Goth - Maintainer/Head of the various expansions. (Updated on 02/07/2010)
Hubelpot the Vegetable Merchant - Writer & Quest input.
Summon Bhaalspawn NPC (PC) - Project Lead. - (Updated to version three - 2/17/10)
The MTS Crappack - Project Lead. (Updated to version three - 2/17/10)
Johnathan NPC conversion for BGT - Project lead.
Taim NPC English Conversion - Project Lead - (Updated to 1.2 on 11/01/2007)

In Progress:
Shyhinworunto Chende NPC - Project Lead (Beta updated to version two! 11/12/2007)

Webmaster of Gaming Nerds Я Us

#12 melkor_morgoth75

melkor_morgoth75

    Lord

  • Member
  • 1506 posts

Posted 04 June 2009 - 05:48 AM

Excellent work ... another "must to have in any install" mod :)

mm75
Tired of the same boring spawned creatures u face in BG? Try BGSpawn

#13 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 17 October 2009 - 02:05 AM

I need the following strings translated to German, Italian and Spanish please, thanks to Lollorian and his frenzied bag-mod translating :P.

@136 = ~Rustic Ammo Belt~
@137 = ~Argent Ammo Belt~
@138 = ~Darkfire Ammo Belt~
@139 = ~Sea Green Ammo Belt~
@140 = ~Drow Ammo Belt~
@141 = ~Emerald Ammo Belt~
@142 = ~Argent Bag of Holding~
@143 = ~Darkfire Bag of Holding~
@144 = ~Sea Green Bag of Holding~
@145 = ~Drow Bag of Holding~
@146 = ~Emerald Bag of Holding~
@147 = ~Argent Gem Bag~
@148 = ~Darkfire Gem Bag~
@149 = ~Sea Green Gem Bag~
@150 = ~Drow Gem Bag~
@151 = ~Emerald Gem Bag~
@152 = ~Argent Potion Case~
@153 = ~Darkfire Potion Case~
@154 = ~Sea Green Potion Case~
@155 = ~Drow Potion Case~
@156 = ~Emerald Potion Case~
@157 = ~Argent Scroll Case~
@158 = ~Darkfire Scroll Case~
@159 = ~Sea Green Scroll Case~
@160 = ~Drow Scroll Case~
@161 = ~Emerald Scroll Case~

(Yes, I am getting creative with the bag names, because I ran out of proper colour names a while ago.)

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#14 Immortality

Immortality

    Love Boat Captain

  • Member
  • 1616 posts

Posted 18 October 2009 - 01:16 AM

Spanish translation:

@0  = ~Contenedores únicos~
@1  = ~Archivos Arcana~
@2  = ~Sio'chaire~
@3  = ~Tienda de Sio'chaire~
@4  = ~Mercancías de Ikert~
@5  = ~Bienes de Jayes~
@6  = ~Libros de Galoomp~
@7  = ~Bienes de Kich~
@8  = ~Mercaderías de Min~
@9  = ~Mercancías de Wallace~
@10 = ~Mercancías de Joluv~
@11 = ~Mercancías de Deidre~
@12 = ~Suministros de Deli~
@13 = ~Objetos mágicos del Carnaval~
@14 = ~Tienda de descuentos Aello el Afortunado~
@15 = ~Armas a distancia del Carnaval ~
@16 = ~Bolsa de gemas bronce ~
@17 = ~ Bolsa de gemas verde oscuro~
@18 = ~ Bolsa de gemas verde~
@19 = ~ Bolsa de gemas turquesa~
@20 = ~ Bolsa de gemas índigo~
@21 = ~ Bolsa de gemas púrpura~
@22 = ~ Bolsa de gemas dorado oscuro~
@23 = ~ Bolsa de gemas azul~
@24 = ~ Bolsa de gemas negra~
@25 = ~ Bolsa de gemas roja oscura~
@26 = ~ Bolsa de gemas burgundí~
@27 = ~ Bolsa de gemas plateada~
@28 = ~ Bolsa de gemas cobre~
@29 = ~ Bolsa de gemas dorada~
@30 = ~ Bolsa de gemas roja~
@31 = ~ Bolsa de gemas de piel de Orco~
@32 = ~ Bolsa de gemas marrón~
@33 = ~ Bolsa de gemas roja dorada~
@34 = ~ Bolsa de gemas roja violácea~
@35 = ~ Bolsa de gemas de terciopelo~
@36 = ~ Estuche para pergaminos bronce~
@37 = ~ Estuche para pergaminos verde oscuro~
@38 = ~ Estuche para pergaminos verde~
@39 = ~ Estuche para pergaminos turquesa~
@40 = ~ Estuche para pergaminos índigo~
@41 = ~ Estuche para pergaminos púrpura~
@42 = ~ Estuche para pergaminos negro~
@43 = ~ Estuche para pergaminos azul~
@44 = ~ Estuche para pergaminos rojo oscura~
@45 = ~ Estuche para pergaminos plateado~
@46 = ~ Estuche para pergaminos cobre~
@47 = ~ Estuche para pergaminos dorado~
@48 = ~ Estuche para pergaminos rojo~
@49 = ~ Estuche para pergaminos de latón~
@50 = ~ Estuche para pergaminos burgundí~
@51 = ~ Estuche para pergaminos rubí~
@52 = ~ Estuche para pergaminos marrón~
@53 = ~ Estuche para pergaminos de amatistas~
@54 = ~ Estuche para pergaminos anticuado~
@55 = ~ Bolsa de contención bronce~
@56 = ~ Bolsa de contención de malaquita~
@57 = ~ Bolsa de contención verde~
@58 = ~ Bolsa de contención turquesa~
@59 = ~ Bolsa de contención índigo~
@60 = ~ Bolsa de contención púrpura~
@61 = ~ Bolsa de contención plateada~
@62 = ~ Bolsa de contención naranja~
@63 = ~ Bolsa de contención burgundí~
@64 = ~ Bolsa de contención marrón~
@65 = ~ Bolsa de contención granate~
@66 = ~ Bolsa de contención negra~
@67 = ~ Bolsa de contención dorada~
@68 = ~ Bolsa de contención roja~
@69 = ~ Bolsa de contención cobre~
@70 = ~ Bolsa de contención de piel de Orco~
@71 = ~ Bolsa de contención del atardecer~
@72 = ~Equipo de acampar~
@73 = ~ Bolsa de contención marrón-azul~
@74 = ~ Bolsa de contención marrón-verde~
@75 = ~ Bolsa de contención marrón-rojo~
@76 = ~ Bolsa de contención marrón-dorado~
@77 = ~ Bolsa de contención verde-roja~
@78 = ~ Bolsa de contención roja-verde~
@79 = ~ Bolsa de contención roja oscura~
@80 = ~ Bolsa de contención dorado oscuro~
@81 = ~ Bolsa de contención azul-verde~
@82 = ~ Bolsa de contención azul-dorada~
@83 = ~ Bolsa de contención dorada-azul~
@84 = ~ Bolsa de contención dorada-verde~
@85 = ~ Bolsa de contención dorada-roja~
@86 = ~Bolsa de contención verde-dorada ~
@87 = ~ Bolsa de contención plateada-verde~
@88 = ~ Bolsa de contención plateada-roja~
@89 = ~ Bolsa de contención plateada-dorada~
@90 = ~ Bolsa de contención azul~
@91 = ~ Cinturón de munición blanco-dorado~
@92 = ~ Cinturón de munición rojo-negro~
@93 = ~ Cinturón de munición plateado-negro~
@94 = ~ Cinturón de munición turquesa~
@95 = ~ Cinturón de munición azul~
@96 = ~ Cinturón de munición púrpura~
@97 = ~ Cinturón de munición azul-negro~
@98 = ~Cinturón de munición de Forester~
@99 = ~ Cinturón de munición plateado~
@100 = ~ Cinturón de munición de colores fuertes~
@101 = ~ Cinturón de munición verde~
@102 = ~ Cinturón de munición rubí~
@103 = ~ Cinturón de munición de oro~
@104 = ~ Cinturón de munición de cuero~
@105 = ~ Caja de pociones cobre~
@106 = ~  Caja de pociones verde oscuro~
@107 = ~ Caja de pociones verde~
@108 = ~ Caja de pociones turquesa~
@109 = ~ Caja de pociones índigo~
@110 = ~ Caja de pociones púrpura~
@111 = ~ Caja de pociones negra~
@112 = ~ Caja de pociones de la medianoche~
@113 = ~ Caja de pociones verde-dorada~
@114 = ~ Caja de pociones herrumbrada~
@115 = ~ Caja de pociones rubí~
@116 = ~ Caja de pociones dorada~
@117 = ~ Caja de pociones roja~
@118 = ~ Caja de pociones dorado oscuro~
@119 = ~ Caja de pociones rosa~
@120 = ~ Caja de pociones blanca~
@121 = ~ Caja de pociones rústica~
@122 = ~Este componente no es relevante para BG1.~
@123 = ~Iconos y nombres unicos~
@124 = ~Solo iconos unicos~
@125 = ~Colores de los NPCs de BG2 para BG1/Tutu ~
@126 = ~Este componente no es relevante para BG2.~
@127 = ~ Bolsa de gemas vieja~
@128 = ~ Estuche para pergaminos viejo~
@129 = ~ Caja de pociones vieja~
@130 = ~Armadura del Carnaval ~
@131 = ~Armas mágicas del Carnaval ~
@132 = ~Bolsa de gemas cian~
@133 = ~Bolsa de gemas dorada-roja ~
@134 = ~Bolsa de contención azul-violeta~
@135 = ~Solo arreglos~
@136 = ~Cinturón de munición rústico~
@137 = ~ Cinturón de munición argénteo~
@138 = ~ Cinturón de munición fuego oscuro~
@139 = ~Cinturón de munición verde mar~
@140 = ~ Cinturón de munición drow~
@141 = ~ Cinturón de munición esmeralda~
@142 = ~ Bolsa de contención argéntea~
@143 = ~Bolsa de contención fuego oscuro ~
@144 = ~ Bolsa de contención verde mar~
@145 = ~ Bolsa de contención Drow~
@146 = ~ Bolsa de contención esmeralda~
@147 = ~ Bolsa de gemas argéntea~
@148 = ~ Bolsa de gemas fuego oscuro~
@149 = ~ Bolsa de gemas verde mar~
@150 = ~ Bolsa de gemas Drow~
@151 = ~ Bolsa de gemas esmeralda~
@152 = ~ Caja de pociones argéntea~
@153 = ~ Caja de pociones fuego oscuro~
@154 = ~ Caja de pociones verde mar~
@155 = ~ Caja de pociones Drow~
@156 = ~ Caja de pociones esmeralda~
@157 = ~ Estuche para pergaminos argénteo~
@158 = ~ Estuche para pergaminos fuego oscuro~
@159 = ~ Estuche para pergaminos verde mar~
@160 = ~ Estuche para pergaminos Drow~
@161 = ~ Estuche para pergaminos esmeralda~

Thanks!! :)
CLAN DLAN, your friendly neighborhood spanish community. Woo!

I am a retired translator. If you need my assistance, or need somebody to translate something for you, you can send me a PM. I don't check SHS regularly. Thanks!! : D

#15 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 18 October 2009 - 04:57 PM

Cheers. I think I have updates done or in progress for Spanish, Italian, German and French now.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#16 Leomar

Leomar
  • Member
  • 1720 posts

Posted 18 October 2009 - 05:14 PM

I've corrected the complete TRA. Please use the attached one. :)

Greetings Leomar

Attached Files


A Megamod does not mean that you can play all of the mods or all of their content,
but you have more choices or paths through the game.
- Chevalier

BiG World Project - Big Baldur's Gate World

#17 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 18 October 2009 - 05:28 PM

I've corrected the complete TRA. Please use the attached one.

Ok, thanks. Just wanted to note the readme (text in the first post above) has not been translated into any other languages. So anyone choosing to view it in any language gets it in English currently.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#18 Hoppy

Hoppy

    Mage Hunter

  • Member
  • 2107 posts

Posted 21 October 2009 - 07:06 AM

Hello Miloch! I like your Unique Containers mod ;)

However I had a minor discrepancy. In Shadows Over Soubar, the footlocker (CBLOCKER) item gets changed fine with the new BAM but the creatures that give them through dialog (GiveItem) are changed and do not have the item anymore so their dialog does not give the item. The footlocker is a key component for the mod although it has its quirks.

from my DEBUG
Copied [cb4287mj.cre] to [override/cb4287mj.cre]
Copied [cbsoumjr.cre] to [override/cbsoumjr.cre]

These are the two CRE's that are changed. Both are Soubar Major and have the cblocker.itm and are almost identical creatures but I think they are used differently or in separate areas. The foot locker would classify like a "bag of holding" and not like the ammo or gem bags if that makes a difference as fas as STO files.

No big woop as I deleted the changed CRE's from override since SOS Bifs its resources anyway. It was just strange.
?May God defend me from my friends; I can defend myself from my enemies.? - Voltaire

"If you think that a size of the mod indicates an amount of bugs that it introduces and their severity you're totally wrong...
Try not to use next time a load of shitty "super-mega-improving-tweaking-revising" small mods that you have installed and try to meet Wulfgar once again."
- King Diamond


Posted Image The Definitive Guide to Trolls

"Finding food and a place to sleep is your own business. I imagine Paul the Cat should have some fun with you, too" - Potencius in The Darkest Day
"You have been warned, little bastard!" -Khelben to a young <CHARNAME>in Check the Bodies
There are those who will snivel, and offer nothing in return except criticism, meanwhile never lifting a finger to do other than to cut other peoples labor down simply for the fact that they lack the capability to put anything of their own together. -erebusant

#19 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 21 October 2009 - 03:54 PM

In Shadows Over Soubar, the footlocker (CBLOCKER) item gets changed fine with the new BAM but the creatures that give them through dialog (GiveItem) are changed and do not have the item anymore so their dialog does not give the item. The footlocker is a key component for the mod although it has its quirks.

from my DEBUG

Copied [cb4287mj.cre] to [override/cb4287mj.cre]
Copied [cbsoumjr.cre] to [override/cbsoumjr.cre]
These are the two CRE's that are changed. Both are Soubar Major and have the cblocker.itm and are almost identical creatures but I think they are used differently or in separate areas.

I removed the footlockers from their inventories to prevent duplicate container bugs, because I thought they used GiveItemCreate instead of GiveItem. Meaning you could kill or pickpocket them for another footlocker (which is really the *same* one accessing the same store). But now that I look at it further, this whole thing is pretty buggy, because they use *both* GiveItem and GiveItemCreate in their dialogues.

The best solution is probably to remove the items from their inventories (like I've done) and then change all GiveItem references to GiveItemCreate in their dialogues. That way it doesn't matter if the item is in their inventories (and if it isn't, it can't be pickpocketed, which is good because it'd be kind of stupid to be able to steal a footlocker off someone without them noticing).

Now if you say these are different creatures in different areas, then another fix is necessary, since otherwise it will create duplicate footlockers - maybe the "quirks" you're talking about? We'd have to clone the footlocker, give it a different name and BAM, and then change the dialogue references in *one* of the dialogues.

But you know this mod better than I do, so tell me if any of that is off. There was something similar in CtB where Paddy Stoutfellow and someone else had the same Camping Gear, so I had to clone that too (but I neglected to clone the store which led to another bug, but I've fixed that).

Edit: and if I'm right about that last being a duplication bug, then I'll need two more strings translated into German, Italian and Spanish. Maybe something like these?
~Brass Footlocker~
~Oak Footlocker~


Edit2: Actually, it appears to be the same CRE, with the same footlocker. Well, sort of - the cb4287mj.cre that appears in ar4287 offers to give the footlocker *back* to the PC that he took from him earlier. So I'm assuming he's supposed to be the same as the cbsoumjr in ar4286. So all that's really necessary here is to change cbsoumj1.dlg to use GiveItemCreate since cb4287mj.dlg already does.

Edited by Miloch, 21 October 2009 - 05:15 PM.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly


#20 Shaitan

Shaitan
  • Member
  • 800 posts

Posted 21 October 2009 - 07:18 PM

In the DL location the file still says containers_v1. Is it a v1 and you just forgot to rename it or is it v2?

Cheers



Reply to this topic