The A.Typical RPG features everyday situations, tactical RPG gameplay, cartoony hand drawn art, branching storyline and a sense of humor in a strange town called whatever-this-place-is-ville. The game is based on the lives of a bunch of friends as they trudge through a college semester, with everyone in the town – ranging from bullies to real estate agents out to get them. Will they be able to survive?

Report article RSS Feed Scripting system!

I talk about the scripting system, and there's some art to show.

Posted by Arvind on Aug 28th, 2010

It's been almost a month since the last update. How time flies, doesn't it? The reasons for the delay are as follows:

  1. I somehow acquired both Jaundice and Hepatitis-A (Simultaneously! Scientific wonder!), which caused weakness and inability to program, and   
  2. The Scripting System.

While it would no doubt be fun to talk about (1), and how I suffered generally, I think an update on how (2) is shaping up would be more useful, and will receive better critical reception. Here's how I started programming the scripting system:

A few months ago, I came up with a demo (or a "vertical slice") for the A.Typical combat** system. I posted a few screenshots and details, which a few ModDB users criticized for causing irreparable harm to their eyes, BUT received (some) positive response for its uniqueness. Extending that system to multiple situations, however, proved a bigger challenge than what I thought. Specifically, I found out that my hacky approach to scripting was causing several bugs, glitches and inappropriate NPC behavior. Combining that system with the in-game world was also proving a pain with my earlier mentioned hacky approach, which brings us nicely to the new system.

Imagine a glitch here

The way the system works is simple: each event has a set of conditions needed to trigger the event, which I'll refer to as triggers for the event. Basically, a trigger is a logical expression that must be true if the event can occur. Conditions include the player location, events that have happened before, and in some cases the object the player must interact with to trigger the event. I also maintain a huge list of all events that take place in the game, with combat-specific events having their own list. Here's a (simplified) pictorial representation:

Boy, you are missing an awesome flowchart here.

A few features of the system still need implementation (such as making 2 events occur simultaneously, accounting for AI behavior). I hope to get started on those soon enough *grumbles about exams*. I hope to get better soon and give you more news and updates!

** - The general all-purpose system used in a variety of situations referred to as the combat system.

P.S. Oh, and by the way, super-all-round-artist Henri has been busy with real life stuff, so I'm sorry I don't have much art to show. However, he did come up with this work in progress photo of the world map. More awesome art is forthcoming!

Boy, you are missing some awesome art here.

Post comment Comments
moci
moci Aug 29 2010, 7:09am says:

Good stuff, glad you're 'healty' again. The map reminds me of the Simpsons intro. Good luck with the exams.

+2 votes     reply to comment
Arvind
Arvind Aug 29 2010, 11:01pm replied:

Thanks! I hope to get really cracking soon after the exams.

As for the world map image, it still has to be properly colored, and the final version will definitely look better :)

+1 vote     reply to comment
haliphax
haliphax Aug 30 2010, 3:19pm says:

Did you delete the previous news entry or something? I swear, this is deja vu.

+1 vote     reply to comment
Arvind
Arvind Aug 31 2010, 7:27am replied:

No, I don't think so. Which news post are you talking about?

P.S. All the news posts are here :
Moddb.com

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
A.Typical RPG
Platforms
Windows, Linux
Developer
Pyrodactyl
Engine
Custom Built
Contact
Send Message
Official Page
Pyrodactyl.com
Release Date
Released Jan 31, 2011
Game Watch
Track this game
News
Browse
News
Report Abuse
Report article
Related Games
A.Typical RPG
A.Typical RPG Indie Single Player Role Playing
Related Engines
Custom Built
Custom Built Commercial Released Sep 1, 2007
Related Groups
Indie Devs
Indie Devs Hobbies & Interests group with 1,082 members
Pyrodactyl
Pyrodactyl Developer with 3 members