Let’s Play some Sony and text-based
May 2nd, 2013Posted in Assignments
No Comments »
Assignment 4
Mark Calugay
ITGM 315
Text-based RPG
Game Summary
You are warrior who just arrived in the Himalayas. Now defend it because there will be monsters coming from everywhere to attack the small village that you have come to know and love. You work for a certain number of hours to earn some gold. Afterwards maybe go do some shopping and acquire better gear and weapons. Train with some warriors and trainers to increase your combat and defense skills. After you have done that, you are ready to go to battle.
This text-based made up of a while loop. Initially it prompts the player to state his name and then choose between 1-4 the things that the player can do. You can work up to eight hours to earn some gold. Receiving 100 gold per hour. Going shopping lets you buy new sword and a new shield. This increments the variable swordLeve and sheidLevel by 1. Players can also train with a trainer, gaining 5 experience points every time they train. A maximum 100 experience points is needed to increase attack and defence. The last choice is go to battle. This choice makes the player leave the village and go attack incoming enemies. The game ends.
Reflective Statement:
Overall this was a good project. I looked to others for references and tried to change the story. Understanding the roles of while loops and switches really helped. I had failed a few times in doing some
Twisted Metal
http://www.youtube.com/watch?v=-zcytenauxc&feature=youtu.be
This is a Deathmatch type game but with cars. Achieving the level or smartness with the AI was difficult. Controlling them and asking them to fight between themselves and in a team was unattainable. I have created a small level with simple bots following a path that would then find the other team and start to shoot. The game is over when all the bots are defeated. Or when the other team is defeated. Players don’t have any weapons, and can only destroy an opponent by means of vehicles.
Creating the level was done by terrain editor. I explored the terrain editor because I wanted something that the players could explore with mountains and rough rocks and dirt. I feel as if it would be more natural to explore a world with uneven grounds. I explore how to paint with the paint tool and understand alpha channels between layers to create the illusion of having different terrain on the same plane.
Programming the bots was easier than I thought. Making them follow a path was as easy as placing pathnodes all around the map and making them choose between destination or origin. I have finally achieved this by placing pathnodes in between so the bots would know where to go and have that illusion of AI going around and fighting with other AI. For team Deathmatch game modes, it would somewhat override my kismet programming and I took too long in trying to solve a simple problem that was never solved. Preprocessed programs and kismet programs where doing different things and were causing a lot of bugs.
Reflective Summary
This program deemed to be far more difficult than I have ever imagined. Even the week that I thought would be more than enough, wasn’t enough. I was glad to have bots being spawn where I wanted them to, set to a specific team, find a car then go and fight with another bot. It is fun playing and driving around, but right now it is just pointless to even play because the objectives are a little whack!!