Welcome, Guest. Please Login or Register.
May 09, 2025, 02:57:03 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Mortal Kombat Deadly Alliance RPG Battle Script « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Mortal Kombat Deadly Alliance RPG Battle Script  (Read 864 times)
Orion Tatsihama
Full Member
***
Posts: 107


Platinum Skies

ICQ - 53684753yakunoshonen@hotmail.com WWW
Mortal Kombat Deadly Alliance RPG Battle Script
« on: December 01, 2002, 03:47:19 AM »
Reply with quote

I'm going to start work on a battle script for a MKDA RPG forum.

Here's what I want to do:

Calculate Xp
Just a number.  Doesn't determine level or anything.  Probably like this: Total Battles Fought * 2

Calculate Hp

Set Basic Moves
Like in MK, moves such as Punch/Kick, etc.

Allow Special Moves
Each character (customizable) will have custom moves they come up with.

Fatalities
Done at the end of a match.
__________________________

IN DEPTH

Members have extra colums in their row in the database containing Experiance, Wins, Losses, and HP.

Experiance: ( Wins + Losses ) * 2
Wins: # of battles won
Losses: # of battles lost
Current HP: determined at battle...whatever
Total HP: ( # of Posts * 2 ) + Wins

Here's how I'm thinking about doing moves...but it's hard.  The user types in the move they want to do against his/her opponent like this: [attack opponent=name]Move Name[/attack].  Then, when the message is posted, it checks that move name, finds it in db, makes sure that user can use such move, finds opponents hp, finds what current battle opponent is in, then does damage and effect hp accordingly.

The problem lies in:

1. Challenging someone to a fight.
2. Making sure that someone doesn't keep posting, rapid fire to ensure a win.
3. Actually making the [attack][/attack] thing work.

This is my first mod for YaBBSE so I'm not sure where to start.  I can add the moves table to the database and the xp, chp, hp, win/loss colums to the member table.

Moves will not be automatically added. A user would send in his/her character info for approval.  Upon approval, it will be added.

If anyone has an alternative way to fight over a message board, please tell me!

I'm open to suggestions like: creating a small program and give it out to battle mods who will actually simulate the battle and post the log.  Or anything to that effect.

Please get back to me asap! Thanks.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Mortal Kombat Deadly Alliance RPG Battle Script
« Reply #1 on: December 25, 2002, 08:01:41 AM »
Reply with quote

I would recommend NOT doing it as a tag.  Something more like the check boxes down in the post screen would be better, ie.
  • Use an attack [available dropbox].  (and a fatalitie could become available in the box too when there HP is like < 5)

For example, you could add the checkbox... and add a drop-down menu with all the possible attacks.  This would be easier to program and more intuitive.

You should also provide a means to heal, for example every post might gain you +2 HP.

This could be used to prevent overattacking:
_fightmembers
ID_MEMBER INT(10) NOT NULL
nextfight TIME
hp INT
mhp INT
xp INT
wins INT
losses INT

_fightattacks
name VARCHAR(80)
damage INT
penalty TIME

(whenever you attack, nextfight = NOW + penalty, and you can't attack 'til then.)

Good luck.... and post any other problems/questions here - I'd be happy to help more.

-[Unknown]

PS: It's spelled experience. ;p
Logged
omgomgmog
Noobie
*
Posts: 2


I'm a llama!

Re:Mortal Kombat Deadly Alliance RPG Battle Script
« Reply #2 on: December 26, 2002, 06:26:31 PM »
Reply with quote

w00t!

Cant wait for this mod.

:D
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Mortal Kombat Deadly Alliance RPG Battle Script « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.264 seconds with 21 queries.