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 - Draco6slayer

1
Resources / Crying Animation
August 28, 2010, 07:39:25 pm
Here's an animation resource I made for those particularly emotional cutscenes in your game. It's a simple crying animation with the water graphic that took far longer than I would have liked to make. It took me like half an hour just to line it up with the sprites eyes. You can find it here:
http://www.mediafire.com/?znna205cscxwj1l
(It's in the form of a game, but doesn't have any maps. I just didn't have any other way to package it.)
This is for use in a map, not a battle.
2
Forewarning: The tutorial you are oh so close to reading is... *whispers* disorganized :o. *Thunder Strikes* *Somebody screams "AHH THE POWER OF A THOUSAND BURNING SUNS IS EATING AWAY AT MY SOUL!" :evil:* I'll fix it later, I'm a little close cut for time now.

Introduction
When making a game, the designer tries to attain a fun difficulty. For most games, this means that monsters have to be set with a system that leaves the player almost dead after accomplishing his/her goals. For some it means keeping the game going, while creating battles and making death possible. But in order to do any of that, we must first understand how battling works. I'm going to create an overview of everything involved in fighting while using (Deep announcer voice) THE DEFAULT BATTLE SYSTEM.
And so, without further ado, here is my tutorial.

Tutorial

Perhaps the most important part of the system is it's parameters. These are shown in the following database tabs: Actors, Skills, Weapons, Armors, Enemies, and States. The parameters are used in the battle formulas for everything, as they are the stats of players, enemies, weapons, armors, etc.

Parameters
Spoiler: ShowHide

    MAXHP The maximum hitpoints of a player or enemy. Maximum damage to be taken.

    MAXSP The maximum skill points of a player or enemy. Maximum points to be used in skills.

    INT(Intellegence) A power modifier for magic based skills.

    STR(Strength) A power modifier for normal attacks, a power modifier for strength based skills.

    AGI(Agility) Controls who attacks first, Prevents enemy from hitting critically, Controls whether or not
    player can escape, a power modifier for agility based skills.

    DEX(Dexterity) Allows player to hit critically, Increases player chance of hitting enemy, a power modifier
    for dexterity based skills.

    EVA(Evasion)(Enemies and armors only) Prevents player from hitting enemy

    ATK(Attack Power)(Enemies and weapons only) Directly sets damage dealt by weapon or enemy.

    PDEF(Physical Defense)(Enemies, weapons, and armors only) Defense against physical based attacks.

    MDEF(Magical Defense)(Enemies, weapons, and armors only) Defense against magical based attacks.


Formulas
Next on the important list is the battle formulas. These calculate effects and damage amounts, along with numerous other factors of battle.

Terminology:
Spoiler: ShowHide

A- User
B- Target
Power- Base Damage
Rate- Parameter based damage increase
Force- Effect Power
Variance- Maximum Random Amount More or Less of the Base Value
Parameters(STR, INT, Etc.) Face Value


Here is a basic overview of each formula (WIP)

Damage Calculation:

Normal attacks:
Spoiler: ShowHide

Power = A's attack power - (B's physical defense ÷ 2)

This means, "Final Attack Power is equal to Player's Attack power minus 1 half enemies defense power."
It can be simplified down to be "ATK is Players attack minus 1 half enemies defense."
Example: Players ATK is 100. Enemies PDEF is 50. ATK (75) = A's ATK (100) - PDEF/2 (25)

Rate = 20 + A's strength

Rate is a confusing system. I'm not sure if this is correct, but from the code I think it devises the actual damage from the formula atk*(20+Strength)/20. So for example: If the final value from the previous formula is 75, we multiply by (20+Strength(50))/20. (20+50)/20 or 70/20 which is 3.5. 3.5*75 is 262.2. That is the damage dealt without variance
Here is the line of code by the way. "Self.damage = atk * (20 + attacker.str) / 20"
Variance = 15

This is the amount of change possible either above or below the damage calculation.

Minimum force: 0

This simply means that you can not heal your opponent with an attack.



Skills:

Skill's force is positive:
Spoiler: ShowHide

The skill hurts the opponent.

Force = Skill's force
+ (A's attack power × skill's attack power F ÷ 100) Example: (140*100)/100=140
- (B's physical defense × skill's physical defense F ÷ 200)
- (B's magic defense × skill's magic defense F ÷ 200)

Alright, this is a confusing one. The damage that the skill does is the skill's power plus the attack power of the user's weapon (or if an enemy, just the user) multiplied by the skill's attack power and divided by 100. Example: The skill "Leg Sweep" has an ATK-F(or attack power F) of 100. A character equipped with an iron sword has the ATK(attack power) of 140. (140*100)Divided by 100 is 140. You then add that to the skills power, 20.
Minimum force: 0


Skill's force is negative:
Spoiler: ShowHide

Force = Skill's force
Rate = 20
+ (A's strength × skill's strength F ÷ 100)
+ (A's dexterity × skill's dexterity F ÷ 100)
+ (A's agility × skill's agility F ÷ 100)
+ (A's intelligence × skill's intelligence F ÷ 100)
Variance = Skill's variance

TBC
3
General Discussion / Common Event Help
August 25, 2010, 08:27:06 pm
So I created a simple common event to allow multiple BGMs to play in a certain area.

And I reached a problem. That is: Whenever the map changes, so does the music. I want to override whichever feature runs common events when you enter a map, or find some way around it. Any ideas?
4
Resources / Recolored Carpet Autotiles
August 24, 2010, 04:30:19 pm
I realized that this site, and most sites, are completely void of carpet autotiles when I looked for some replacements for my game. I decided to do two recolorings with gimp. They can be found here.
http://img828.imageshack.us/gal.php?g=blackcarpet.png
5
Script Requests / Class Selection Window
August 20, 2010, 05:10:21 pm
I need a script that can simplify class selection. Specifically I would like it to look like this (except for the color scheme): http://img5.imageshack.us/img5/253/oblivion200906300033597.jpg
I've done a brief search of the internet on this(1 page of google results, 1 page of this site's results, 1 page of RMXP unlimited's results) and found nothing. As far as I know, scripting this would be fairly simple. Making it out of a common event, however, would be next-to impossible. I can't script, I lie in the game creation side.
Please Help,
Draco6slayer

EDIT: I now realize my request was both vague, and incorrect. Here's another go:
1. This script is a simple add-on for XP
2. I am (probably) going to be using (as far as things that may be conflicting)Blizz ABS
3. It should be able to display a list of classes, and when any option is selected (Higlighted, not confirmed preferably) show a battler graphic or a picture designated for that class, with a caption of two or so lines. As shown in this image: http://img5.imageshack.us/img5/253/oblivion200906300033597.jpg]http://img5.imageshack.us/img5/253/oblivion200906300033597.jpg]http://img5.imageshack.us/img5/253/oblivion200906300033597.jpg