2010-04-14, 07:27 PM
Thanks Todd!
|
Hello
|
2010-04-15, 02:23 AM
You will want to be careful your hidden doors are facing in the correct direction. If setup correctly they will recess when opened from the false side / mesh more naturally with the wall.
OK the setup for this is relatively straight forward, but you'll have to figure out just exactly how many denominations of gold you want to dispense. Lets assume the answer is 3....in the amounts of 50 gold, 100 gold and 300 gold.
We need two events...and a counter to track things. Lets call the counter "gold measure". In the first event, we give the counter a number randomly. So, make the event 'always on' and use the 'generate random counter value' command and apply it to the "gold measure" counter. Make the max value a 3, meaning SOM will randomly pick a number of 1, 2 or 3. (You could go higher like 60 and make 1-20 equal to 50 gold for example, but it really shouldnt change things much). Now if you don't want this counter constantly changing every second, also add the 'control active leaf' command and tell it to move forward in this event, and that will lock whichever counter value was selected. OK so we have our counter being randomly generated...now we need the inspect a bag event. create a second event on the bag and have it activated upon inspecting the bag. We will process the event commands as follows: IF (counter value =1) Change Player Parameter (amount of gold increased by 50) Display Message (you found 50 gold) Otherwise If (Counter value =2) Change Player Parameter (amount of gold increased 100) Display Message (you found 100 gold) Otherwise If (Counter value =3) Change Player Parameter (amount of gold increased 300) Display Message (you found 300 gold) End If End If End If Control Active Leaf (this event move forward) Then on the second leaf juts do a display message (empty). Thats all there is to it, enjoy.
- Todd DuFore (DMPDesign)
Site Founder
2010-04-15, 08:48 AM
If you don't generate / the random number at some earlier inconvenient point (beginning of the game even) the player can reload their save game until they get what they want (not as easy without save anywhere enabled)
2010-04-16, 08:14 PM
That is especially great info todd thank you. I did modify the texture but it hasnt shown yet unfortunately, ill have to do some searching. Yes i agree. However there is no saving in the menu and in the area with the money bags saving will be disabled, though thank you for pointing this out. Its very important that i balance my project.
2010-04-21, 01:10 PM
**spoiler alert**
Hello. I havent revealed much about my project to anyone. But this item i can include as one preview of many customs. You can find this item in the first release of my game. Anyone who doesnt want to view it, shouldnt look below. Verdite
2010-04-21, 01:48 PM
Please don't upload anymore BMP files to the internet (yes I'm an insensitive bastard)
2010-04-21, 02:53 PM
I save all my development pictures as BMP files. Please state why, and ill consider it.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
7 Guest(s) |