Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Inventory script

doomtucan
Registered User
Quote
2019-08-23 22:49:08

Yes i cannot code what-so-ever and was wondering if there is a script that can help with my inventory problem since i have no inventory system due to this complication and i have not figured out how to do this with just variables..Any help would be great thanks!


mutan_gaming
Registered User
Quote
2019-08-24 02:49:21

Learn how to script would be very useful for your current & future projects.


doomtucan
Registered User
Quote
2019-08-24 04:00:18

wrote:
Learn how to script would be very useful for your current & future projects.


Well thanks for the NOT help with my scripting needs....Can anyone actually help me with this situation?


mutan_gaming
Registered User
Quote
2019-08-24 06:13:33

Do you even understand what i was talking about..?
What i meant is you can't make inventory system without scripting. Think.


doomtucan
Registered User
Quote
2019-08-24 06:31:52

that goes against the whole premise of what this engine says...No CODING needed to make any game!


srfstudio
Registered User
Quote
2019-08-24 18:54:21

@doomtucan unfortunately the scope of things that you can create in Copper without scripting is limited. You can create a nice game completely without using any additional javascript or custom action/behavior but it has to be a game that uses only available resources. For example: FPS (with very rudimentary AI but still possible if your level-design is adapted for CC AI routine), walk simulator, simple adventure game (with object take-object use)...
The point is that you can make a game in CC without any coding but it has to be a game that CC can produce through it's modules. Inventory module is not a part of it's modules.


doomtucan
Registered User
Quote
2019-08-24 21:18:05

well since i need to script i will thank the dev for allowing me to try the engine for free and bow out of this engine!


Robo
Guest
Quote
2019-08-25 09:32:30

You could just use basic variables and have an on screen boxes showing if you have any of that particular item in it. It wont be as good as javascript version for refresh from start to end when added/used but will still work.

Keyboard keys could be used to activate a certain items also easy - all without any javascript.


doomtucan
Registered User
Quote
2019-08-25 15:53:22

would it be possible to use icons to show what items and how much you have of said item or would that require scripting?


srfstudio
Registered User
Quote
2019-08-25 19:53:51

Using variables for item possession, amount & icon can be done without any scripting. Think of it as a game menu screen consisted of images and not text: you have play, load & exit images.
-Load is only possible if you saved a game so you'll have two images, first will be, let's say, gray and visible while second one will be in color and hidden. Your variable you created for Load is 'gamesave1' and it's 0 by default.
-When you save a game you change variable 'gamesave1' to 1.
-After that you place if 'gamesave1' is 1 make gray load image invisible and make colored image visible.
This is extremely basic and can be done without any scripting. I suggest you start with creating your game menu and get yourself familiar with the engine. Also download few CCB files you can find on the forum and see how other people did things.
You can't jump-start your entire game without even knowing how variables & images work in the engine, it's just not possible. And it's not even programming, it's just using the modules and logical thinking.


doomtucan
Registered User
Quote
2019-08-25 20:17:15

i know i just cant jump in and just start making a game im just asking if what i want to do can be done without any coding and i have been messing around with the engine and seeing how things work


doomtucan
Registered User
Quote
2019-08-26 15:33:04

wrote:
Using variables for item possession, amount & icon can be done without any scripting. Think of it as a game menu screen consisted of images and not text: you have play, load & exit images.
-Load is only possible if you saved a game so you'll have two images, first will be, let's say, gray and visible while second one will be in color and hidden. Your variable you created for Load is 'gamesave1' and it's 0 by default.
-When you save a game you change variable 'gamesave1' to 1.
-After that you place if 'gamesave1' is 1 make gray load image invisible and make colored image visible.
This is extremely basic and can be done without any scripting. I suggest you start with creating your game menu and get yourself familiar with the engine. Also download few CCB files you can find on the forum and see how other people did things.
You can't jump-start your entire game without even knowing how variables & images work in the engine, it's just not possible. And it's not even programming, it's just using the modules and logical thinking.


Sorry i am asking so many questions its just i have a learning disability making it harder for me to learn things and sometimes i need more explanation on things but i am trying my best!


chicoporter
Registered User
Quote
2019-09-12 12:10:31

Not to sound rude, but saying "learn how to script" is a pretty ignorant. You need to understand that people process information differently. For example, I'm not good at learning things from videos, I prefer text. Also, people with learning disabilities have a tough time and need examples, not half answered questions.

That said, tutorials are extremely limited and there are hardly any explanations for anything. Most of the links to various other tutorials are dead. It's literally like tossing someone who can't swim into the ocean and told to just swim.

It's really frustrating.


just_in_case
Moderator
Quote
2019-09-13 04:24:15

I Don't know much about others or tutorials posted by them....

But tutorials posted by me, according to me as well are provided in step by step method also with the source example files.

You can check them out at my website

https://neophyte.cf

Hopefully there are enough tutorials for a newbie (neophyte) to get started with coppercube engine.

There are also some extensions (plugin,behavior and actions) available to download. And some game clone example sources too.😇😇😇


chicoporter
Registered User
Quote
2019-09-14 16:14:09

Thanks just_in_case. I only took a quick look, but I'll be checking it out in depth soon. The bowling tutorial seemed pretty straight forward. Again, thanks. Hope you put more tutorials up there soon.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact