Author Topic: Hello  (Read 30239 times)

Offline Verdite

  • VIP
  • Dark Slayer Destroyer
  • *****
  • Posts: 1624
Re: Hello
« Reply #50 on: April 14, 2010, 02:27:54 pm »
Thanks Todd!

Offline Holy_Diver

  • Holy Diver
  • Archmage of Light
  • *****
  • Posts: 2280
  • This account won't read/reply to Private Messages
Re: Hello
« Reply #51 on: April 14, 2010, 09:23:34 pm »
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. 

Offline dmpdesign

  • Moonlight Retiree
  • Administrator
  • Dark Slayer Destroyer
  • *****
  • Posts: 1864
    • http://swordofmoonlight.com
Re: Hello
« Reply #52 on: April 14, 2010, 09:25:24 pm »
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.
« Last Edit: April 14, 2010, 09:27:14 pm by dmpdesign »
- Todd DuFore (DMPDesign)
Site Founder

Offline dmpdesign

  • Moonlight Retiree
  • Administrator
  • Dark Slayer Destroyer
  • *****
  • Posts: 1864
    • http://swordofmoonlight.com
Re: Hello
« Reply #53 on: April 14, 2010, 09:31:12 pm »
I believe that door uses yk42_1.txr
- Todd DuFore (DMPDesign)
Site Founder

Offline Holy_Diver

  • Holy Diver
  • Archmage of Light
  • *****
  • Posts: 2280
  • This account won't read/reply to Private Messages
Re: Hello
« Reply #54 on: April 15, 2010, 03:48:16 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)

Offline Verdite

  • VIP
  • Dark Slayer Destroyer
  • *****
  • Posts: 1624
Re: Hello
« Reply #55 on: April 16, 2010, 03:14:18 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.

Offline Verdite

  • VIP
  • Dark Slayer Destroyer
  • *****
  • Posts: 1624
Item in project. (spoiler)
« Reply #56 on: April 21, 2010, 08:10:38 am »
**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

Offline Holy_Diver

  • Holy Diver
  • Archmage of Light
  • *****
  • Posts: 2280
  • This account won't read/reply to Private Messages
Re: Hello
« Reply #57 on: April 21, 2010, 08:48:23 am »
Please don't upload anymore BMP files to the internet (yes I'm an insensitive bastard) :ninja:

Offline Verdite

  • VIP
  • Dark Slayer Destroyer
  • *****
  • Posts: 1624
Re: Hello
« Reply #58 on: April 21, 2010, 09:53:45 am »
I save all my development pictures as BMP files. Please state why, and ill consider it.

Offline Hguols

  • VIP
  • Guardian in Groundal
  • *****
  • Posts: 624
    • Orationem
Re: Hello
« Reply #59 on: April 21, 2010, 08:56:21 pm »
I save all my development pictures as BMP files. Please state why, and ill consider it.

There you go!  ^_^


Probable mucosal damage may contraindicate the use of gastric lavage.