Non-threaded

Forums » Newbie Central » Read Thread

Introduce yourself and get to know the community.

How to create a money system

13 years ago

I am creating a story and i want to create a money system in which the player can purchase weapons i looked in the tutorial and got lost on how the variables work. I do not really care how they work but can someone tell me how to give the player money and how to award money lose money ect. I just really cant seem to figure it out it is a crucial part for the story.

How to create a money system

13 years ago

In order to get a monetary system working, you're going to have to care about how variables work. It seems to me like you're not interested in putting the requisite work into making an advanced storygame.

Feel free to ask a specific question and I, or anyone else will help you, but I don't think that you're approaching this in the right way. I'll start you off with a general plan of action:

You'll need the following skills:

  • Know how to create a variable
  • Know how to manipulate a variable
  • Know how to display a variable

To learn skills #1 & 2: http://chooseyourstory.com/help/articles/article.aspx?ArticleId=1
To learn skill #3: http://chooseyourstory.com/forums/advanced-editor-forum/message/6042

You'll also need to set your game to advanced. This can be done through the new story wizard or from the game properties page of an existing story.

Good luck.

How to create a money system

13 years ago

When i said i did not care about variables i did not mean i did not want to know how they work i was trying to avoid anyone missing the point of my question. However thank you for the links they look promising.

How to create a money system

13 years ago

Beside each page link on your page editor is a  +- button (the plus is above the minus).

That button will show you the variables you have, and will allow you to add/subtract do other things to the variable.

When the player clicks the link, the variable will be affected however you tell it to be by the time they reach the page the link sends them to.

You should use the advanced editor. This can be done with scripting as well, but this solution should be easier to understand, as not everyone plays well with scripting.

How to create a money system

13 years ago

ok thanks this gives me a very good start thanks for the fast response.

How to create a money system

13 years ago

O and would a health system work with the variables too?

How to create a money system

13 years ago

Really, any sort of system you want to work that's number based (within reason) would work.

So yes.

How to create a money system

13 years ago

Think about what a variable is and you'll easily be able to answer that.

How to create a money system

13 years ago

alright then thanks for the help guys.

How to create a money system

13 years ago

No worries