Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

Making A StockPile System - Need Assistance

Archive: 7 posts


I'm trying to build a stockpile system, similar to Fat Princess' Wood and Stone collecting.

It will have to be able to add more items, take some away, and activate things.

I figured I could make a large shaft, where I can emit little blocks that could count as the items.

Then, when you go to upgrade something, it checks if you have enough supplies, by checking the height of the tower, (Easy.) upgrades it, and dissolves the proper amount of blocks.

The thing I can't wrap my head around is how to have it so that one upgrade could cost more than the other, or less than the other.

I'd need some kind of flexible system, that would let me choose how much each upgrade costs.

Say, three different upgrades. One costs three stocks, one costs five, and one costs seven. How would I be able to choose how many times, it would go off, while in game?

Yea, I think this might be kinda advanced, but I know some of you here are good with switches...

If I wasn't specific enough, please tell me.
2009-11-11 21:34:00

Author:
KlawwTheClown
Posts: 1106


You were specific enough. I know comphermc used to have a system like this, I don't know if he still has it around though. I also made a system using a different method than blocks, but its a little hard to explain, and i can't really take it out of the level i'm using it in easily, i'd have to remake it from scratch to give it away.

Firstly, i'd ask ol' comphy if he still has that counter lying around. Secondly, i'd start figuring out some numbers you want (ie: max of each item, how much they cost, etc.)
2009-11-11 21:42:00

Author:
Burnvictim42
Posts: 3322


Sadly, I don't have it laying around, and I'm not sure when I'd have time to rebuild it. I honestly think BV's method is more logically sound, so I may give [what I assume] to be his method a whirl at some point. It would require a bunch of OR gates!2009-11-11 22:21:00

Author:
comphermc
Posts: 5338


Whoa, this is like one of my very old topics about "variables" in LBP.

The shaft is a great idea. I just made something like that, as a counter, that counts up to a million, clocking in at one notch of thermo

I'm still a bit confused...what is it you need help with?

If it's on how to delete part of it, make it so that your blocks in the tube have a mag key switch that detect if a mag key is near it, destroying the dissolve block (must be dissolve). Then, make an emitter that emitts the mag key at a certain height in the tube, causing only the ones below there to be deleted.

If need be, I can send you and example. But hope fully you can build it yourself, and learn from it there-fore.
2009-11-11 22:27:00

Author:
goldenclaw13
Posts: 224


I think I'll try my "Method".

But I just need to think of how I can activate a one shot piston whatever amount of times I need at the moment.

I'm trying to make one that I can just copy/paste it and just rewire a few things for use anywhere. (I'll want to use it quite a bit in this level idea I have...)

Any ideas?

Thanks for the replies, too.
2009-11-11 22:28:00

Author:
KlawwTheClown
Posts: 1106


Did you see the post above yours? I'm just wondering because we literally posted at the same time.2009-11-11 22:33:00

Author:
goldenclaw13
Posts: 224


Did you see the post above yours? I'm just wondering because we literally posted at the same time.

I did now.

Wow, that's a more simple way of doing it.

And yea, I guess it is like variables. (Which I've wanted forever...)

I can't believe how easy that is. Wow.

Thanks everyone.
2009-11-12 00:11:00

Author:
KlawwTheClown
Posts: 1106


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.