LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-19-2011, 01:50 PM   #1
anon02
Member
 
Registered: Aug 2011
Posts: 223

Rep: Reputation: Disabled
Ideas for a RPG Game.


I am currently working on a terminal based RPG, and have come to a problem. I know it is not complete, but have no ideas of what to add. The basic idea is below. Also, if you want a copy of the source code to get ideas from, just ask.

The game is based around a philosophy of mine and a real world fact. The philosophy is that 'while you may have many enemies, the only real one is yourself', and the real world fact is that things will not always fall your way. The game is based around probability, meaning it can fall your way, or not.

The story starts of with your player, Ben (Nothing to do with me in real life, but I thought 'Ben' seemed like a rather good name for a village lad who found himself in danger), who is just walking around the village, finding things to do. He eventually finds a job working for a Blacksmith, who later helps him with weaponary, and earns 50 credits.
However this job affected a 'Boss' (No good name for him yet, ideas?) who decided to stop you. You may have seen the blender movie 'Sintel', and where the dragon takes 'Skills', this sort of happens here.
'Ben', has a pet dog (Or another animal), called 'Jeremy' (Same with 'Ben' but here it had to be a rather good narrators name), who was taken and when you walked to the cave enterance was lying there, dead (Another representation of things falling one way or another).
Ben is outraged by this, and this is where the game starts.

He needs to fight the enemies in the cave, earn money, buy medicine, beat bosses on the hillside, buy swords, and reach level 10 (May not seem like a lot, but I have played this game at least 20 times and only twice have I got to level 10), and then he meets the boss. During the whole game, the Boss has been taunting you as Jeremy explains the steps. At the boss level, Jeremy, the dogs spirit takes his swords and gives him 3 special weapons. He must use these to defeat his enemy. In this level however, the weapons have random hit power - eg a hit to the stomach could hurt you with a small lightning strike, but kill you with a massive one.

When he wins, his dog comes back.

What I need is ideas on how I could either improve the storyline, or new ideas I could use. If you have any ideas, I am going to rate their importance and work on them before the 1.0_0 release. I will try and get all of the ideas in, but I cannot promise anything.

I think this should go in Programming as it is not to do with any of the other topics, and it is to do with ideas for a program. If it is not meant to be here, please tell me for next time.
 
Old 09-19-2011, 02:25 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Maybe you should have a beta test or something, and then people can suggest ideas after playing it. Just reading the description doesn't really allow for too many ideas. It also depends on how ready the game is.
 
Old 09-19-2011, 02:32 PM   #3
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Maybe you should have a beta test or something, and then people can suggest ideas after playing it. Just reading the description doesn't really allow for too many ideas. It also depends on how ready the game is.
I have the current source code attached. You can just run GCC on it when you rename it to main.c. As it is not finished, the storyline is not fully implemented and an bug where it gets rid of the bosses name due to an error are still there. Press '?' and press enter to get help.
Attached Files
File Type: txt main.txt (22.5 KB, 36 views)
 
Old 09-19-2011, 06:17 PM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by ThatPerson View Post
I have the current source code attached.
I was looking through your source and found this:
Code:
						//Pretty sloppy code here, needs you to enter a new else if for a 
						//new weapon which kind of defeats the easy of adding weapons.
If you were using C++, std::map may have helped you here.

Quote:
Originally Posted by ThatPerson View Post
I know it is not complete, but have no ideas of what to add.
I think the hardest part of game programming is writing a compelling story.

By asking a question in this forum, you are using the common brainstorming method of asking a group to help you come up with ideas. However, the relatively slow nature of an online forum does not really lend itself to brainstorming. Brainstorming works best when the ideas are coming quickly and when people are saying the first thing that pops into their head. You may want to see if there are any IRC channels that specialize in brainstorming for writers and other story developers.
 
Old 09-19-2011, 11:04 PM   #5
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Maybe you should develop the story independently of the game. For example, you could set up a framework that reads in a story and/or "world" file and plays out the game, then spend a lot of time writing and revising the files it reads, while adding to the framework as necessary. It's always nice when a game is built around something that you need to rebuild within your own mind while playing it. I personally think there should be an elaborate story or history of relationships between people or things that you only get small glimpses of from the game. That way the player has to figure out what's behind it all, and for those who will look anyway, there really will be something.
Kevin Barry
 
Old 09-20-2011, 12:57 AM   #6
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by David1357 View Post
I was looking through your source and found this:
Code:
						//Pretty sloppy code here, needs you to enter a new else if for a 
						//new weapon which kind of defeats the easy of adding weapons.
If you were using C++, std::map may have helped you here.
I did look at that, But I cannot see a way of using a variable as a variable name, so I could set char weaponname[50]; to be 'simpleBlade', and then call like in PHP, ${$weaponname]. If there are thinks like this in C, please tell me, I have looked over a lot of forums.


Quote:
Originally Posted by David1357 View Post
I think the hardest part of game programming is writing a compelling story.

By asking a question in this forum, you are using the common brainstorming method of asking a group to help you come up with ideas. However, the relatively slow nature of an online forum does not really lend itself to brainstorming. Brainstorming works best when the ideas are coming quickly and when people are saying the first thing that pops into their head. You may want to see if there are any IRC channels that specialize in brainstorming for writers and other story developers.
Ah, thanks for the tip. I have not yet integrated the story with the game, but will soon.
 
Old 09-20-2011, 05:08 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Suggestions:

The navigation and combat systems need work.

Instead of '?' being help, which I never thought of typing, try just 'help'.

Maybe there should be a look function, like you can look and see what is there before charging in and attacking whatever is there.

Maybe see:
http://www.wurb.com/if/game/1
as an example.

At the beginning you should make up a story about how it started. Why is boss evil, why you are after him. Maybe he betrayed you or killed your relatives.
 
Old 09-20-2011, 10:15 AM   #8
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Suggestions:

The navigation and combat systems need work.

Instead of '?' being help, which I never thought of typing, try just 'help'.

Maybe there should be a look function, like you can look and see what is there before charging in and attacking whatever is there.

Maybe see:
http://www.wurb.com/if/game/1
as an example.

At the beginning you should make up a story about how it started. Why is boss evil, why you are after him. Maybe he betrayed you or killed your relatives.
I know the combat systems need work, I may add the Boss level type idea, where you take random amounts of health away until you win. The parameters of how much it wins are less than the players, so the player CAN lose up to 30, but also as little as 3. That might make it better.
About the '?', I probably will add 'help', but when I was making it I was trying to think about associations. I could make it both ? and help.

What, so you have a cave like:

Ben: cave
Jeremy: You peer into the darkness, wondering what is inside. You hear something crunching underfoot. You peer around. Nothing.
Ben@cave: look
Jeremy: As you fumble for the flaming torch, you notice the floor is literally covered in dead bodies. Young, old, men, women, children. The sight horrifies you, and that was when you saw the Templar Militia storming towards you.
Ben@cave: fight

And then it goes to the fighting part. I could have it so you have to look, which would be faster to implement, unless you have other ideas...?

Nice idea about at the end. Could be something like:

Jeremy: As you look down at the dead body beneath your feet, you remember your friend. The day he had been slaughtered by the animal left at your feet. But was it good to take an eye for an eye? Possibly....

Quote:
Originally Posted by ta0kira View Post
Maybe you should develop the story independently of the game. For example, you could set up a framework that reads in a story and/or "world" file and plays out the game, then spend a lot of time writing and revising the files it reads, while adding to the framework as necessary. It's always nice when a game is built around something that you need to rebuild within your own mind while playing it. I personally think there should be an elaborate story or history of relationships between people or things that you only get small glimpses of from the game. That way the player has to figure out what's behind it all, and for those who will look anyway, there really will be something.
Kevin Barry
Nice idea for it there, I could have it so it only gives glimpses, such as:

Ben@cave: 1
Jeremy: As you looked down at the dead Templar Militia, you remembered... If only you could have stopped it...

And other ideas? Nice idea. I will try and add something for the next version.
 
Old 09-20-2011, 10:34 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by ThatPerson View Post
What, so you have a cave like:

Ben: cave
Jeremy: You peer into the darkness, wondering what is inside. You hear something crunching underfoot. You peer around. Nothing.
Ben@cave: look
Jeremy: As you fumble for the flaming torch, you notice the floor is literally covered in dead bodies. Young, old, men, women, children. The sight horrifies you, and that was when you saw the Templar Militia storming towards you.
Ben@cave: fight
Yes, I think that is good. You may also consider a flee option.
 
Old 09-20-2011, 11:23 AM   #10
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Yes, I think that is good. You may also consider a flee option.
How about with the 'flee' option you drop either a random amount of money, or if not enough, it says something like:

Ben@flee: As you fled, you tripped on a rock. A spurt of blood flew out, and you lost 10 health

I am currently adding the 'look' code, 'flee' code will be done shortly after, and then I will add the story line.
 
Old 09-20-2011, 11:35 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Heh, yes a penalty would be appropriate for chickening out.
 
Old 09-20-2011, 11:43 AM   #12
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Heh, yes a penalty would be appropriate for chickening out.
I have added the flee code, and it is just going through the pre-alpha test stages. Should be done in about an hour.
 
Old 09-20-2011, 01:07 PM   #13
SigTerm
Member
 
Registered: Dec 2009
Distribution: Slackware 12.2
Posts: 379

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by ThatPerson View Post
I am currently working on a terminal based RPG,
  1. For story ideas you may want to check a few classic games such as "Silent Hill 1: and 2 and "Planescape: Torment".
  2. For examples of what can be done in terminal, you may want to check DoomRL and ADOM.
  3. Judging by your source code, right now you're writing interactive fiction. As far as I know, there should be multiple interactive fiction engines available, so you won't have to reinvent the wheel.
  4. Another genre that is very close to interactive fiction is "visual novel" (interactive fiction + graphics + voice + music). There's a RenPY engine available for making something like that, and their website should have a few demos.
  5. Before you start writing code, I'd advice to sit down, outline your game ON PAPER, plan and think about it for a few days. (IMO) If you keep updating code as it is now, you are very likely to reach the situation when the code will become unmanageable and you'll have to start over.
  6. Also I'd recommend to use higher-level language with "string", "boolean" and "map" types instead of C.
  7. If you insist on using C, you should switch to portable framework instead of using raw terminal. That means libSDL or ncurses.

In current situation, If I were you, I'd probably switch to RenPY, C++ or ready-to use Interactive Fiction engine. That would be more efficient than writing everything from scratch while simultaneously developing a story.
 
Old 09-20-2011, 01:23 PM   #14
anon02
Member
 
Registered: Aug 2011
Posts: 223

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by SigTerm View Post
  1. For story ideas you may want to check a few classic games such as "Silent Hill 1: and 2 and "Planescape: Torment".
  2. For examples of what can be done in terminal, you may want to check DoomRL and ADOM.
  3. Judging by your source code, right now you're writing interactive fiction. As far as I know, there should be multiple interactive fiction engines available, so you won't have to reinvent the wheel.
  4. Another genre that is very close to interactive fiction is "visual novel" (interactive fiction + graphics + voice + music). There's a RenPY engine available for making something like that, and their website should have a few demos.
  5. Before you start writing code, I'd advice to sit down, outline your game ON PAPER, plan and think about it for a few days. (IMO) If you keep updating code as it is now, you are very likely to reach the situation when the code will become unmanageable and you'll have to start over.
  6. Also I'd recommend to use higher-level language with "string", "boolean" and "map" types instead of C.
  7. If you insist on using C, you should switch to portable framework instead of using raw terminal. That means libSDL or ncurses.

In current situation, If I were you, I'd probably switch to RenPY, C++ or ready-to use Interactive Fiction engine. That would be more efficient than writing everything from scratch while simultaneously developing a story.
Well, I started working on the game because I wanted to try and learn the basics of C, and I wanted to make it completely free software - but open to EVERYONE. I even planned a board game version of it which used a dice. That is why it is terminal based. If you have an old computer with no GUI, I believe you should be able to play the game. If you have no computer at all, you can play it (Board game), if you have a super fast computer, you can play it.

I wrote the whole thing out on paper and before I working on the C version I made a web based version in PHP (Chromebooks anyone?), and a version in Gambas, and I know there are other interactive fiction engines, it is just that I wanted to see what I could do with a netbook, a lot of coffee, and some sheets of paper.

The reason I came to ask for opinions here is because I am trying to get the game as good as I could. Currently it is version 0.3_6 (The source code I posted is 0.3_5, but I added some of the ideas) and I was hoping to get to version 0.3_0 with the main game and then leave the rest of it to the audience. Unfortunately this over ran as I found some bugs, but since the 0.3_3 build I have been asking for opinions from different places. I also have every single version stored on 3 different computers which are interlinked, so if one breaks I have other copies. So getting it messed up should not be too much on an issue.
 
Old 09-20-2011, 01:27 PM   #15
lnarea
LQ Newbie
 
Registered: Sep 2009
Posts: 2
Blog Entries: 3

Rep: Reputation: 0
whatever you end up with, make it subscription based, not one-time purchase based. Learn from the masters and those who are now multi-multi millionaires like the guys who created WOW.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Space Trading, Simulation and Combat RPG Game 'Naev' 0.5 Released for Linux LXer Syndicated Linux News 0 06-04-2011 10:40 AM
LXer: Naev: Space Trading and Combat Game Similar to Escape Velocity with RPG Elements LXer Syndicated Linux News 0 10-15-2010 09:11 PM
Sauerbraten, cube 2, great rpg game frenchn00b Linux - Games 4 02-03-2008 09:22 AM
Missing Plugin Help for RPG Game sk8er319 Linux - General 3 10-30-2005 12:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration