ID:267929
 
I am making a game, but having some trouble.
1. I need the script code for levels, and skills users can learn at that level.(Like at level 3, Black Mages learn Fire)
2. Also, when they start out, they are a novice. When they gain 100 exp, they get to choose what they are by talking to certain people. Is there a way to ignore the level up system for novices, but not anybody else?
3. I need a pop up box for when they reach 100 exp, asking them what they want to be, and telling them which NPC to talk to, and teleports them to that Npc's location.
4. I would like to make a teleportation pad, so that weay, when they are out in the fields, they can return to a town or city they have visited before. How do i make that?
5. A auto save feature. How do i make that?
The first thing you need is an adjustment in viewpoint.

I can tell you've got a pretty detailed idea for what you want your game to be like, and you've got some unique variations on the more common themes. That's awesome!

However, you're going about it by thinking of the game code as blocks of "script", i.e., "the script", "a script", etc... like sitting on a shelf somewhere is a box that says "the script code for the level system that Dead_Demon wants."

There isn't.

There's lots of different procedures people have written for experience levels... none of which do exactly what you want. If you didn't have a specific idea in mind and were just trying to cobble together a game, not any particular vision of a game, that would be fine... you could just throw a bunch of these things together and you'd have a game. Maybe not a good one, but a game, nonetheless.

There is a way to do everything you've mentioned. There are, in fact, several ways, none of which are right or wrong but some of which may be wrong "for your game", the way you envision it.

What you need to do before you start looking for "scripts" you can put together to make your game, is learn how DM code works... learn to read it, learn to write it... if you have a pretty decent handle on how it all works, then you can look at someone else's level code, figure out what it does that you like and what it doesn't do that you want, and then edit it to your needs.

Now, some people are going to respond to this by posting a block of code that may do something like what you need... but trust me, if you just blindly accept that, you will never get quite what -you- want, and you won't know how to fix it if goes wrong.
In response to Hedgemistress
I already understand the DM. I have made simple test games using the Faq and tutorials, bvut none of them tell me how to gain levels. They tell me how to get exp., but not levels. And i went to the help section to find info for pop up boxes, but all they have is how to make a verb for a pop up box. And I can make different genders, but not make different characters(Mage, Summoner, Knight, ect..). And i do think of it as script,a because the closest thing i have programmed to games are HTML websites and Javascript. To me, games are just a huge javascript run on a html document.
I am a newbie, and i would just like simple codes, so i can tinker with them, creating my own code.
So, please just give me simple codes for the things i asked for.
In response to Dead_Demon
If you understood DM code (or the concept of game programming overall), you'd know that there's no such thing as "levels" or "experience"... if you know how to do one, you know how to do the other. If all you do is use big blocks of code that you don't understand, then you might be able to get one or the other, but you'll never know.

The only thing worse then someone who doesn't understand is someone who doesn't understand but is sure that he or she does... any code I give you now is only going to further damage your ability to learn.

I'm sure someone else will give you what you think you want, but it won't be me. I only help people who are helpable. When you are, feel free to ask again.
In response to Hedgemistress
I do understand the DM language. If you want me to, I can make a short game right here.
In response to Dead_Demon
You understand DM? That's fantastic! That's the best news I've had all day! I had written a big tutorial on how to do what you're asking, but since you understand DM, there's no point because you can write it yourself!

Unless you've mistaken "having memorized some key chunks of code needed to perform some simple tasks, and having an understanding of the function of each big chunk" to mean "understanding the language"... in which case, you can't write all this stuff for yourself.

Please figure out which actually applies to you and then we can continue...
In response to Hedgemistress
I understand simple DM. I can create turf and wall, and set density. I can make a shout verb, and the users sprite for when they log on. Thats all the DM i know.
In response to Hedgemistress
And if you did write a tutorial, where is it on the tutorial page? Maybe you can tell me what its called and i will read it. Then we can forget this happened and go our ways.
In response to Dead_Demon
That's my point... that's not knowing DM. That's knowing a block of code that will do one thing. Knowing DM is useful and lets you do almost anything. Knowing a block of code is useless in every situation except for one, and lets you do only one thing.

Sometimes, when people travel in foreign countries, they memorize a handy phrase like "Where is the bathroom?" or "Please take me to the American embassy!" so they can get by in an emergency. Does that mean they know the language? No, it means they know a few phrases.

You know phrases, you don't know the language. You're going about learning in such a fashion that you're not even caring about the languages. If you'd stop being so defensive ("But I do know DM!") and listen, you'd understand what I mean... that those few phrases you already know contain key concepts that, if you stop to grasp, will let you do everything you're asking.

I'm telling you these things to help you. You could write a novel in a foreign language by getting someone to translate your sentences one at a time... but it wouldn't be very good and you'd lose a lot of meaning from what you're trying to say, and it would take forever. Well, this is what you're trying to do, isn't it?

I'm saying, stop and learn the language before you write the book.
In response to Hedgemistress
And all the Faqs tell me to open up DM and put down what the faq says and then they explain them.(Like Zilals faq)
I offer a truce, if you can help me learn the language. My language lerning cell in my brain has dissapeared, since i am 13, and the cell that learns languages in your brain dissapears when your 12, making it very hard to learn languages. So, help me. Please. An dwhats your tutorials name so i can find it?
In response to Dead_Demon
Dead_Demon wrote:
And all the Faqs tell me to open up DM and put down what the faq says and then they explain them.(Like Zilals faq)
I offer a truce, if you can help me learn the language. My language lerning cell in my brain has dissapeared, since i am 13, and the cell that learns languages in your brain dissapears when your 12, making it very hard to learn languages. So, help me. Please. An dwhats your tutorials name so i can find it?

Wow, my ability to learn languages definatley didn't disappear when I was twelve. I started DM at 14. I'm just now starting to learn C++. I think you need to get your facts straight.
In response to Dead_Demon
My language lerning cell in my brain has dissapeared, since i am 13, and the cell that learns languages in your brain dissapears when your 12, making it very hard to learn languages.

Sorry, I don't deal with people who use lame excuses to avoid learning. My whole goal here was to get you into a frame of mind in which actual learning was possible... if that happens, I'll be the first one to help you... but until then, this is the end of my side of this conversation.
In response to Dead_Demon
Dead_Demon wrote:
And all the Faqs tell me to open up DM and put down what the faq says and then they explain them.(Like Zilals faq)
I offer a truce, if you can help me learn the language. My language lerning cell in my brain has dissapeared, since i am 13, and the cell that learns languages in your brain dissapears when your 12, making it very hard to learn languages. So, help me. Please. An dwhats your tutorials name so i can find it?

I started learning dm last year when i was 13, this is indeed a lie :\