Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Marker Mage

Pages: [1]
1
Programming / Ideas About a Naturalist RL
« on: February 12, 2012, 10:13:56 AM »
I've been thinking of things that I probably won't be able to do until I get a lot more experience (still slowly working my way through a tutorial). Right now, one of those things is the idea of a roguelike that puts the player into the role of a naturalist (those people that study nature). Just give the player a randomized world of random monsters and give them the goal of studying them, learning what they eat, observing their behavior while mating, and things like that. It seems like something that might be an interesting deviation from the usual RL.

It would need a larger focus on the AI though. In fact, the entire idea pretty much revolves around a complex AI. You wouldn't be able to just have everything that can move trying to kill the player. You would need to give them other things that they'll try to do. You'd need to have them look for food, find mates, and defend territory. Give them a hunger stat and have them look for something to eat when it reaches a certain amount. Give them an age stat and have them look for a mate when it reaches a certain amount and they aren't looking for food. Give ones that have a reason to have territory some ability to choose a room to defend when they aren't trying to find food or a mate. Have some monsters form groups while others don't. Have monsters pick and choose what to eat. Do everything you can to make them act like the complex creatures they are, whether they're rats, orcs, dragons, or moving plants.

Randomizing the monsters would also be a must for an idea like this, and I don't mean just choosing them from a list. I mean making it so that the dragons that you encounter in one playthrough will be entirely different from the dragons you encounter in another playthrough. Make it so that each type of creature that could show up would have a couple of things for it chosen at random, whether it be raw stats, special abilities, or some changes to the AI. http://roguetemple.com/forums/index.php?topic=1769.0 has some examples of the kind of stuff I'm trying to describe here.

Another important thing for this kind of RL would be to make it so that after the random choices, a stable ecosystem would come about. Have a way to make sure that every creature would have something that it can eat. Maybe you have a way for the diets of the creatures to be adjusted according to what can kill what. Maybe you have the creatures divided up into trophic levels and have a number of creatures from each level chosen at random. Maybe you just have one to three top predators chosen, and then have the random number god decide the rest of the monsters from the lists of what previously chosen monsters eat. And you would need a replenishing source of food for whatever monsters are at the bottom of the food chain, or take away their hunger stat with the explanation that they use photosynthesis or that they eat stuff that the player character ignores.

Those above three paragraphs contain the most important things for this idea, but a few other things should be mentioned as well. A naturalist RL would probably need stealth available in it unless the player is expected to use the Steve Irwin approach to naturalism. The look command might also be used for studying monsters, and may even have the descriptions given expanded on as the player advances, providing information about the monster's stats, abilities, and AI. The ability to choose a specific monster and give it a name and/or change the character that represents it so that you can identify it more easily would be a nice idea.

It is all just an an unrealistic goal that's been distracting me for awhile now, and maybe sharing it will get it off my mind, or better yet, convince someone more competent to try using it for their own RL.

2
Programming / Another "help the newbie get started" topic
« on: December 21, 2011, 11:37:50 PM »
I'm interested in learning C++ and programming games, and I think that roguelike seems like a fun genre to program for. However, I have had some difficulty in finding a good tutorial for the C++ programming language.

My accomplishments in programming so far include making a rock paper scissors game for a graphing calculator that would change the odds of each choice depending on the results of previous games (so it would catch on if you just used the same thing repeatedly), a minesweeper clone done in visual basic, and a turn-based strategy game (also in visual basic) that I had stopped working on when the teacher for the business computer programming class I was in noticed that I was behind on the work he was giving out due to me goofing off so much by working on that game. I have had plenty of time to forget much of that.

My first attempt at finding a good C++ tutorial online had brought me to http://www.cprogramming.com/, which seems to have quizzes testing knowledge that their lessons don't contain, with question 6 on their first lesson's quiz being a good example of this problem. I got a bit fed up with the tutorial and its lesson quizzes expecting me to know stuff that it hasn't told me, and went back to Google to look for another tutorial.
My second attempt brought me to http://www.cppgameprogramming.com/, which is when I learned that their code didn't work with the compiler that I had (CodeBlocks). They pointed me towards a website to get a copy of the compiler that they used. I decided to try to download their most recent version that wasn't a beta, only to encounter a 404 error... so not much luck there either.
My third attempt was searching the forum topics here for "c++ tutorial", only to find out that the search function doesn't seem to recognize "c++" as anything more than the letter c and that it doesn't matter if that c is by itself or part of a word.

And so now, I'm on my fourth attempt, asking people on a forum. I'm looking for a tutorial that I won't have to pay for and was made by someone who actually kept track of what information it gave out (this is where my first attempt failed) and will either work with CodeBlocks or link me to a compiler that isn't in beta and is able to be downloaded. If any of you can point me towards a tutorial like that, I will be thankful and get back to learning programming. If you know of a tutorial that has a focus on games, that would be even better.

So can any of you guys help me?

Pages: [1]