Files

> > CS2D > Lua Scripts > Inventory
Files overviewCS2D overviewLua Scripts overview

English Inventory >

23 comments24 kb, 830 Downloads

old Inventory

Yasday
User Off Offline

Hey guys,

I just played around with Lua and somehow came to this idea. It's a simple inventory script.

I'm uploading two versions, the one with images and so on and the "normal" one ( recommended ). The one with the images ( folder called "ginventory" ) is also compatible to money systems like you can find in RP scripts change the variable MONEYVARIABLE in the file inventory.lua located in the folder "ginventory" to the money table you are using ( ex. MONEYVARIABLE = money ). It'll be used for the NPCs.

If you want to rate this file, you firstly have to download and try it. I'm not here for revenge or fake ratings, I just want to know your opinion about this script ( and maybe even some constructive critism ).

Greets, Yasday.

P.S.: I didn't add any icons or things like that, I don't think they're necessery. If you want any instructions on how to add NPCs or items, please send me a private message.
edited 2×, last 17.09.11 09:00:29 pm
Approved by GeoB99

Download Download

24 kb, 830 Downloads

Comments

23 comments
Page
To the start Previous 1 2 Next To the start

Comments disabled

The comment function is disabled. It is not possible to write comments here.

old

Q-Q
User Off Offline

Hmm there seems to be a better inventory so this idea is not new.
Idea: 1/5
Fun: 3/5
= 3

Here you can find the other one:
http://www.unrealsoftware.de/files_show.php?file=789

Tips:
It would be nicer if you could also drop those items and pick them up again and even use them for example to open a door if you manage this than i will rate 5/5
edited 1×, last 31.07.11 09:12:19 am

old

Yasday
User Off Offline

You can add items in the "inventory_items.lua" and NPCs in the "inventory_npc.lua".

old

yiqit44
User Off Offline

ı want to add Npc new item ?? Help me

old Sven Co-op 2D

snipars
User Off Offline

Hey Yasday , i have a mod name SC2D ( Sven Coop 2D )
Can u tell me how to add item ?

old

Yasday
User Off Offline

You can edit it, if you want.

Press "e" next to a NPC and a menu will pop up with the items and their prices.

old

yiqit44
User Off Offline

What can I do to get the item from the NPC?

old

tom282f3
User Off Offline

Fucking Awesome.
God-damn cool ingame gfx!
I would give it 100/5 but i can't give it so much
So only 5/5... Sorry...
Good Job, CS2D Mate!

PS: Can I edit it for my CS2D server?
It's cool but I want to make it cooler
Once my edit is done I will sent it to you
Sincerely
Tom282f3

old Beatiful

yiqit44
User Off Offline

Woow Very Nice Script Veru Very Thx

old ??

Punk Hazzard
User Off Offline

This is for Rp server ??
the scrupt is cool but i dont know use
hey do you remember me?

old

Yasday
User Off Offline

You can add new items and change their icons in the file called "inventory_items.lua". Send me a private message for further informations.

old

KimKat
GAME BANNED Off Offline

This is a really great upload, Yasday. The HUD seems to offer a ton of items and even has a previous and next page, are these items editable? It would be nice if someone could also imagine and creating that Counter-Strike classic buy menu someday using transparent (.png) graphics. That'd be pretty much a good Lua if someone did that one day. None the less this Lua script is reaching towards that kind of HUD. Great work!

About GEDIT.

old

ArChaLV
User Off Offline

@Yasday: What is gedit?i want to know please tell.

old

Yasday
User Off Offline

@albachersont
I'm using gedit and Notepad++.

old

albachersont
User Off Offline

is cool, I think, how to create scripts for cs2d know ... you got a program that I do not know.
it is difficult to create directly in Notepad!

old

PeterToman
COMMUNITY BANNED Off Offline

nice script, Yasday...

old

Yasday
User Off Offline

I didn't use the VisualLua mod. I finished this script even before EngiN33R uploaded the VisualLua mod. Just didn't upload it.

old

EngiN33R
Moderator Off Offline

@LittleChild
I had a look at the code, and for some reason I don't think he used my VisualLua.

old

Apache uwu
User Off Offline

Excellent. You will make a very great roleplay/citylife script. Strive hard, prob the best lua that uses cs2d 1.1.9's new functions.

old

kalis
User Off Offline

awesome lua
nice thank
i downloading

old

dizziness
User Off Offline

Niceman, but you dosen't put credits to engin33r because you know the visual menu from visualmod right?

But in the top i will say Perfect
To the start Previous 1 2 Next To the start