Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 683 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 3
Page 1 of 4 1 2 3 4
Inventory Code #26422
04/19/04 02:53
04/19/04 02:53
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline OP
Expert
Error014  Offline OP
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Some wanted it, here is it. (you dont believe me? Look here)
http://de.geocities.com/onepixelgames/INVENTORY.zip

As you can see, It's geocities, so you have to copy&paste the link.

Comments are welcome.

EDIT:
Or better yet, use this Link. Then you dont have to use copy&paste (at least I hope so )
That's the download-page of my site, so there is some other stuff. The inventory-code is at the end.

http://de.geocities.com/onepixelgames/down.html


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: Inventory Code [Re: Error014] #26423
04/19/04 04:17
04/19/04 04:17
Joined: Mar 2004
Posts: 102
T
Taros Offline
Member
Taros  Offline
Member
T

Joined: Mar 2004
Posts: 102
Vow this code is great and very easy to use! Also, there is a merchant code included, i say it again great work!

Re: Inventory Code [Re: Taros] #26424
04/19/04 07:12
04/19/04 07:12
Joined: Aug 2003
Posts: 575
Venezuela
Firestorm Offline
Developer
Firestorm  Offline
Developer

Joined: Aug 2003
Posts: 575
Venezuela
VERY nice piece of work. Cheers!

And my German must be improving, I can actually understand some of the comments

Re: Inventory Code [Re: Error014] #26425
04/20/04 06:21
04/20/04 06:21

A
Anonymous
Unregistered
Anonymous
Unregistered
A



here we are..
born to be kings with the princes of the universe...

Re: Inventory Code #26426
04/23/04 01:40
04/23/04 01:40
Joined: Apr 2002
Posts: 680
Germany
Turrican Offline
User
Turrican  Offline
User

Joined: Apr 2002
Posts: 680
Germany
great script! this could fit into our project ... err ... wait -

...nevermind

Re: Inventory Code [Re: Turrican] #26427
04/25/04 14:07
04/25/04 14:07
Joined: Oct 2002
Posts: 2,256
Oz
L
Locoweed Offline
Expert
Locoweed  Offline
Expert
L

Joined: Oct 2002
Posts: 2,256
Oz
Nice Code. Great Work.

Heya Turrican , What up? Hope your project is moving along. Sounds like it is. Woot!

Later,
Loco


Professional A8.30
Spoils of War - East Coast Games
Re: Inventory Code [Re: Error014] #26428
05/07/04 02:34
05/07/04 02:34
Joined: May 2004
Posts: 5
M
mufasa Offline
Newbie
mufasa  Offline
Newbie
M

Joined: May 2004
Posts: 5
Hey Guys!Nice inventory Error thnx ,but i have some problems testing it.Im a such a noob,and i dont know german:P.Ok so i included the files in my test game,i made an objeckt.txt and puted there an description like in txt.,and now i dont know how to do the following things.How to add an object to my inventory from the start of the game;how to add an object (a gun) on my level for pickup up in inventory and use it to equip it.

Plz help me:)

Re: Inventory Code [Re: mufasa] #26429
05/07/04 04:33
05/07/04 04:33
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline OP
Expert
Error014  Offline OP
Expert

Joined: Jul 2002
Posts: 3,208
Germany
First of all, it must be "objekte.txt"

Next:

In Antwort auf:

How to add an object to my inventory from the start of the game?




quote from the txt-file:

In Antwort auf:

give_item(a,b);
Gives the player b items with the ID a




So, just call this function from main and you get these items - Remember replacing a with the ID of the object and B with the number

In Antwort auf:

how to add an object (a gun) on my level for pickup up in inventory?




I wrote a really simple action for it, also in the readme.txt - but the playerpointer must be assigned to your player, then you have to "walk over" the item. Insert the ID of the object in Skill1!:

In Antwort auf:


[Code]
ACTION take_me {
WHILE(1) {
WHILE(player==null) { wait(1); }
WHILE(vec_dist(player.x,my.x)<50) { give_item(INT(my.skill1),1); ent_remove(me); return; }
wait(1);
}
}







To equip it: Use the item-functions, there is an explanation in "readme.txt"

I hope that helps

Last edited by Error014; 05/07/04 04:34.

Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: Inventory Code [Re: Error014] #26430
05/07/04 04:45
05/07/04 04:45
Joined: May 2004
Posts: 5
M
mufasa Offline
Newbie
mufasa  Offline
Newbie
M

Joined: May 2004
Posts: 5
Danke man.I hope ill figure it out now,thx a lot:)

Re: Inventory Code [Re: mufasa] #26431
05/07/04 05:23
05/07/04 05:23
Joined: May 2004
Posts: 5
M
mufasa Offline
Newbie
mufasa  Offline
Newbie
M

Joined: May 2004
Posts: 5
ok so i copyed all of ur files in my project, made the objekte.txt with this content:

chapter1
Test_object
Its only for testing.
Only testing purpose
That were three descriptionlines
1
0
50
END


After that i toke a gun and put it in the folder with the name obj001.mdl
then i puted a called the function in my main WDL, like u said .

So when i press I ,it appears the description ,and a part from my gun which huge,all over the screen and the description...So what i am doing wrong?

Page 1 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1