![]() |
BlueCube please help this noob out
Hey I am creating an RPG (duhh) and I am having it so you
buy your quests instead of getting them... But I dont know how to do this I tryed to put it into a shop menu but I only want the player to be able to buy it once... I then tryed a custom menu but that was WAY too much coading to just find out that it dosnt work... So if you could hep me then that'd be great.... Oh yeah and I also want the player to be able to speak to someone to get the information about the quest (or as I am calling them Trials) and information about what you get from the trial after completion... One more thing... If posible I would like for the player to be able to go to any Trial Depo (the building that you go to to get the trials) to receive the rewards... And for each Trial Depo to have differant Trials... So if you your holyness of RM2k3 could help or any one else then I would greatly apprestiate the help... and once I am done I shalleth put the game Online and post the link up here... Fwanks to you. Another Fine K!tt3N Rat Production... :) |
How many missions per area are we talking about here? If it's 6-8 or so, you might just want to have a standard "Show Choices" command that branches into other "Show Choices".
(I'd answer the rest of your post, but the structure of the whole thing depends on the number of options you're going to have) |
Thank you very much. I was thinking about having ten missions per area.
|
Quote:
Then it's just easier to do this (this is where you would assign the mission). There are 4 states to a mission, represented by a single variable: 0: Not started 1: Started 2: Complete 3: Complete, got reward Code:
Note that I use 6 to exit - it could be 9 or whatever you want, just so long as it's at the end. And this is where you get your rewards (This would all be in a COMMON EVENT that you call): Code:
|
Thanx again.... now i was woundering, if i put that it costs $200 for say mission 9, would i throw in a conditional branch checking the money and then later in that same part of the script just minus the $200. That would work.... wouldnt it
|
Yep, you can set it as a variable as well, if you want - like
<>Variable Operations: [7409:Mission09 Cost] = 200 <>Variable Operations: [7410:Mission10 Cost] = 500 <>Variable Operations: [7411:Mission11 Cost] = 270 <>Variable Operations: [7412:Mission12 Cost] = 410 And do that at the beginning of the game somewhere - that way, all of your costs are in one easy-to-find place, and you don't have to set a ton of different lines when you want that 200 to be 250 somewhere down the line.. you'd just check to see if your current gold is greater than variable [7409], and then use that same variable to reduce your gold. Remember that you can also use variables in your messages, so something like: <>Message: "This mission costs \v[7409] gold. Do you accept?" Would work very well. Using a variable saves you from having to change 3 lines for every mission cost you want to change - the "gold > 200" line, the "reduce gold by 200" line, and the "This mission costs 200" line. And, if you include costs in the original choices, that would make four lines. AND it would prevent you from changing the cost of one, only to forget to change the cost of the others. |
Shweet, thanks man.
|
All times are GMT -6. The time now is 11:43 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.