Fable: The Lost Chapters Mod Scene - RDF feed
type: channel
description: Fast Uncompromising Discussions. FUDforum will get your users talking.
items: What is wrong with this script?
items: Re: What is wrong with this script?

What is wrong with this script?
type: item
description: My first attempt at making a barrel spawn items. Items are: - all style cards - all books - all clothes Game crashes upon hitting the barrel. Perhaps clothes are the problem, at least some items. My script (made using JohnDoe's template): Beware, it's a bit long... Script [code]NewThing Object; Player 4; UID 78966741874686296086; DefinitionType "OBJECT_BARREL_BREAKABLE"; ScriptName NULL; ScriptData "NULL"; ThingGamePersistent FALSE; ThingLevelPersistent FALSE; StartCTCPhysicsStandard; PositionX 18.000000; PositionY 124.000000; PositionZ 26.5; RHSetForwardX 0.0; RHSetForwardY 1.0; RHSetForwardZ 0.0; RHSetUpX 0.0; RHSetUpY 0.0; RHSetUpZ 1.0; EndCTCPhysicsStandard; StartCTCTargeted; Targetable TRUE; EndCTCTargeted; StartCTCEditor; EndCTCEditor; StartCTCVillageMember; VillageUID 0; EndCTCVillageMember; StartCTCContainerRewardHero; ContainerContents[0] "OBJECT_BOOK_STORY_01"; ContainerContents[1] "OBJECT_BOOK_STORY_02"; ContainerContents[2] "OBJECT_BOOK_STORY_03"; ContainerContents[3] "OBJECT_BOOK_STORY_04"; ContainerContents[4] "OBJECT_BOOK_STORY_05"; ContainerContents[5] "OBJECT_BOOK_STORY_06"; ContainerContents[6] "OBJECT_BOOK_STORY_07"; ContainerContents[7] "OBJECT_BOOK_STORY_08"; ContainerContents[8] "OBJECT_BOOK_STORY_09"; ContainerContents[9] "OBJECT_BOOK_STORY_10"; ContainerContents[10] "OBJECT_BOOK_STORY_11"; ContainerContents[11] "OBJECT_BOOK_STORY_12"; ContainerContents[12] "OBJECT_BOOK_STORY_13"; ContainerContents[13] "OBJECT_BOOK_STORY_14"; ContainerContents[14] "OBJECT_BOOK_STORY_15"; ContainerContents[15] "OBJECT_BOOK_STORY_16"; ContainerContents[16] "OBJECT_BOOK_GUILD_ARENA"; ContainerContents[17] "OBJECT_BOOK_GUILD_CREATURES"; ContainerContents[18] "OBJECT_BOOK_GUILD_CREATURES_02"; ContainerContents[19] "OBJECT_BOOK_GUILD_CREATURES_03"; ContainerContents[20] "OBJECT_BOOK_GUILD_CREATURES_04"; ContainerContents[21] "OBJECT_BOOK_GUILD_DRAGONS"; ContainerContents[22] "OBJECT_BOOK_GUILD_HAIKUS"; ContainerContents[23] "OBJECT_BOOK_GUILD_HISTORY"; ContainerCont…
creator: quicksilver
date: 2009-07-29T17:34:38-00:00

Re: What is wrong with this script?
type: item
description: I think its because you added Hero Suit. the suit is the whole thing put together so that would confuse the game. remove the Hero_suit things. you can only put in objects.
date: 2009-07-29T17:42:02-00:00

Re: What is wrong with this script?
type: item
description: Yeah, hero suit was the problem. I made such an obvious mistake because I thought it's like getting the whole, for example, Archon's armor set. Thanks man for pointing out the mistake.
creator: quicksilver
date: 2009-07-29T18:21:12-00:00

Re: What is wrong with this script?
type: item
description: Wow. Having that many items in a barrel can be dangerous if you don't have a relatively strong computer. Bravo. Yes, as McCain said, the problem is the HERO_SUIT pieces. OBJECTs are all that you can put in a chest/barrel/bookcase/whatever.
creator: JohnDoe
date: 2009-07-29T19:27:36-00:00

Re: What is wrong with this script?
type: item
description: Well it took him a while to show all of them in left HUD corner. But not all of tattoos are in my inventory. I have 45 tattoo cards, but judging by item list, there are 77, +/- some that are either duplicates or don't work. Why is that?
creator: quicksilver
date: 2009-07-29T19:35:14-00:00

Re: What is wrong with this script?
type: item
description: This might be your solution.
creator: OldBoy
date: 2009-07-29T20:30:35-00:00

Re: What is wrong with this script?
type: item
description: Tried that, but I still have only 45 tattoo cards. EDIT: Made it to work, finally. I reverted my game.bin before the Packrat mod and changed INVENTORY CATEGORY DESIGNS second value from 120 (I think, forgot original value) to 200, and not 1000. Perhaps value was to high for game to register.
creator: quicksilver
date: 2009-07-30T10:57:56-00:00

Re: What is wrong with this script?
type: item
description: I don't think the rat packer mod edits that category. quicksilver wrote on Thu, 30 July 2009 05:57 Perhaps value was to high for game to register. That's not the case for certain.
creator: JohnDoe
date: 2009-07-30T13:05:10-00:00

Re: What is wrong with this script?
type: item
description: I opened RatpackerMod.fmp with Notepad++ and found this: So I figured there got to be something in INVENTORY CATEGORY. Checked it out with FE and saw values of 1000 there. So I restored game.bin backup, did as said in my last post and voila. I'm not saying that you don't know how things work, but this worked out perfectly for me. If only I knew how to arrange items alphabetically now . P.S. This is just a part of the RatpackerMod.fmp. Off-topic: How to make spoilers? The ones above are done by hand, typing [ spoiler ][ /spoiler ], but something got mixed up. Off-topic #2: Is there any Arena mod that makes everything like before the first Arena fight, with the traders and other Arena competitors and that you can fight every day against some creatures or bandits for money?
creator: quicksilver
date: 2009-07-30T13:36:52-00:00

Re: What is wrong with this script?
type: item
description: Picture time eh? Pro-tip: You can rename the fmp extension to big, use FE to open it as a standard archive (as opposed to loading it) and you end up with this... Toggle Spoiler As I thought, INVENTORY_CATEGORY_DESIGNS is absent from the mod. The entries were arranged by ID. Spoilers [spoiler]Stuff inside spoiler.[/spoiler] Turns into: Toggle Spoiler Stuff inside spoiler. [spoiler=Spoiler Title]Stuff inside spoiler.[/spoiler] Turns into: Spoiler Title Stuff inside spoiler. Using code, pre, and align tags inside a spoiler can kill the formatting when you go to edit it, which is why I've switched to various other formatting codes such as a blank quote for a box: [quote title= ][/quote] And making use of font and color codes, specifically: [font=monospace][/font] [color=#008000][/color] Combine these with a spoiler and a script from your first post, you end up with: Script NewThing Object; Player 4; UID 78966741874686296086; DefinitionType "OBJECT_BARREL_BREAKABLE"; ScriptName NULL; ScriptData "NULL"; ThingGamePersistent FALSE; ThingLevelPersistent FALSE; StartCTCPhysicsStandard; PositionX 18.000000; PositionY 124.000000; PositionZ 26.5; RHSetForwardX 0.0; RHSetForwardY 1.0; RHSetForwardZ 0.0; RHSetUpX 0.0; RHSetUpY 0.0; RHSetUpZ 1.0; EndCTCPhysicsStandard; StartCTCTargeted; Targetable TRUE; EndCTCTargeted; StartCTCEditor; EndCTCEditor; StartCTCVillageMember; VillageUID 0; EndCTCVillageMember; StartCTCContainerRewardHero; ContainerContents[0] "OBJECT_BOOK_STORY_01"; ContainerContents[1] "OBJECT_BOOK_STORY_02"; ContainerContents[2] "OBJECT_BOOK_STORY_03"; ContainerContents[3] "OBJECT_BOOK_STORY_04"; ContainerContents[4] "OBJECT_BOOK_STORY_05"; ContainerContents[5] "OBJECT_BOOK_STORY_06"; ContainerContents[6] "OBJECT_BOOK_STORY_07"; ContainerContents[7] "OBJECT_BOOK_STORY_08"; ContainerContents[8] "OBJECT_BOOK_STORY_09"; ContainerContents[9] "OBJECT_BOOK_STORY_10"; ContainerContents[10] "OBJECT_BOOK_STORY_11"; ContainerContents[11] "OBJECT_BOOK_STORY_12"; ContainerContent…
creator: JohnDoe
date: 2009-07-30T14:37:20-00:00

Re: What is wrong with this script?
type: item
description: I messed up, I was wrong, RatpackerMod didn't change style cards. Sorry about that. I thought I saw it in Notepad but didn't bother to check the screeny. I think that it's OldBoy's fault, no offense but he did said that Ratpacker will help me. Never mind, as long as it works. No word about sorting the items eh?
creator: quicksilver
date: 2009-07-30T14:45:32-00:00

Re: What is wrong with this script?
type: item
description: quicksilver wrote on Thu, 30 July 2009 09:45 I think that it's OldBoy's fault, no offense but he did said that Ratpacker will help me. It's no one's fault, no one knew. I might take some time to redo that one mod, make the values more reasonable across all of the categories. The higher those values go, the longer it takes to load Fable. It also sucks up more memory. quicksilver wrote on Thu, 30 July 2009 09:45 No word about sorting the items eh? Entries in FMPs are in the order that they were placed in the FMP. Unless you mean in inventories. In-game, inventory items are sorted first by category/class, then by the order in which they were received by the Hero. For example, you get, in this order, the following weapons: Iron Longsword Master Crossbow Steel Greatsword Master Pickhammer Yew Longbow They'd be sorted as: Melee weapons: Light melee weapons: Iron Longsword Master Pickhammer Heavy melee weapons: Steel Greatsword Ranged weapons: Longbows: Yew Longbow Crossbows: Master Crossbow
creator: JohnDoe
date: 2009-07-30T15:09:52-00:00

Re: What is wrong with this script?
type: item
description: Yeah I was thinking of inventory. It is no one's fault, I was simply saying that listening to OldBoy, no offense, led me to believe that the mod will solve my problem, so it's again my mistake for not reading mod description. I think it's finally time to bring this thread to an end. Thanks again for the help and hear you as soon as I get stuck again . Bye for now, quick
creator: quicksilver
date: 2009-07-30T16:38:15-00:00

Re: What is wrong with this script?
type: item
description: Let me quote myself here: OldBoy wrote on Wed, 29 July 2009 22:30 This might be your solution. I stated might.
creator: OldBoy
date: 2009-07-30T16:43:59-00:00

Re: What is wrong with this script?
type: item
description: OK I'll quote myself too: Quote: It is no one's fault, I was simply saying that listening to OldBoy, no offense, led me to believe that the mod will solve my problem, so it's again my mistake for not reading mod description. And I'm sorry about that. But if it weren't for your suggestion I wouldn't find where are the values I need, for that I am grateful.
creator: quicksilver
date: 2009-07-30T17:10:16-00:00