Scripts / Need Inventory Script

Author
Message
SpizyChicken
User Banned
Posted: 30th May 2015 08:38
I'm looking for a basic, simply inventory script for a game I'm making.
Nothing fancy, just pick up items along the way and have it show that I've collected the items. Doesn't need to do anything else. Anyone know where I can get a script like this? Thanks!
Mazxz
8
Years of Service
User Offline
Joined: 29th May 2015
Location: Canada
Posted: 31st May 2015 02:27
Ya I need one too!
PM
Teabone
Forum Support
17
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 31st May 2015 03:10
Would be nice. Not sure if GG supports multiple images yet within LUA.

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce 420 GT
!nullptr
Forum Support
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 31st May 2015 12:34 Edited at: 31st May 2015 12:36
I've considered putting a PnP script together but there are just too many variables and limitations to make it worthwhile without ending up with support requests way beyond what I'm prepared to handle. Rumour has it that Lee has a basic inventory system planned but without getting down and dirty with code it's unlikely to be a one size-fits all option for anyone.

Not only do you have to manage the entities via name (which requires a strict naming convention and funky parsing code) it's also what people want to do with the inventory. Use, drop, multiple count, save to next level etc. etc... It's fun for coders to roll-their-own but I think the lack of inventory scripts speaks for itself.

@Teabone - I utilised a combination of the single image and panels/text in this thread. Might be some ideas worth pursuing?

https://forum.game-guru.com/thread/212037

Here's the image for a quick view.
https://forum.game-guru.com/attachment/3757?thumb=true
Development/ Gaming Rigs
Sys 1: i7-4770 (3.5)/16Gb/128 SSD/3Tb/970gtx/2 x 23, 1 x 27 LCD - Sys 2: i7/8Gb/670gtx/1.5Tb/1 x 23 LCD - Sys 3: Amd Quad/8Gb/645gtx/1Tb/30" LCD
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 31st May 2015 17:03
going to agree with !nullptr on that, without a very clear idea of what you want it really is too varied to get anything up that is guaranteed to work as you expect.
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11

Login to post a reply

Server time is: 2024-05-03 06:10:26
Your offset time is: 2024-05-03 06:10:26