Author Topic: Fight: Building a battle system  (Read 6125 times)

0 Members and 1 Guest are viewing this topic.

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
Fight: Building a battle system
« on: August 01, 2006, 05:15:00 am »
Okay this topic is for me to help organize what it is I am trying to do with the battle program for TSOD.
Goals:
Semi Realtime Battle System that pauses you decide to act.
Auto Action for opponets and allies that are set to auto.  In other words, I want to make it so that the user can set all of  their team members to auto and watch them make decisions.  This way, the user can get ideas from watching the AI battle.
Summons
Item useage
Tag team atacks
Scripts and Dialog that execute during battle and change scenerios.
Closeups of characters and opponets when they do major attacks.
Victory Dance
I want it to be easy to use but strategic none the less

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
Fight: Building a battle system
« Reply #1 on: August 01, 2006, 05:50:00 am »
Concept: Using a while loop or using goto

I thinks it is much easier to use a while loop because it is more structured and seems to run faster for what I need to do.  So c1-->
CODE
ec1whilec2
ec2 1 enimy and 1 ally is alive, execute program.

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
Fight: Building a battle system
« Reply #2 on: August 01, 2006, 06:01:00 am »
What about the progam itself: fight...psudeo!!!!!!

c1-->
CODE
ec1Fight(enimys As matrix, team As matirx, script As string)
{
...
while
end
...
}c2
ec2

enimys Name, HP, DP, Weapon, Attack, Defense, Accuracy...
[{Justin,99999,19999, Sword,100,255,61...},{Phenoix,34000,27000, NONE, 255,200,100...}]

team is pretty much the same...

script can be anything

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Fight: Building a battle system
« Reply #3 on: August 01, 2006, 06:12:00 am »
aaah I c, sound cool altough its a triple post I cant wait to see it in action!

Alex

  • Guest
Fight: Building a battle system
« Reply #4 on: August 07, 2006, 07:39:00 pm »
Yep it's all about making the engine as flexible as possible, and divided into separate, smaller functions. Using this style it's very easy to debug and to add new features.

I wish you the best of luck in completing this ambitious project. I am glad to see you returned to this platform, I thought you migrated to the PSP.

- Alex

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Fight: Building a battle system
« Reply #5 on: August 08, 2006, 12:14:00 pm »
hey alex nice to see you back! But I think mdjenkins disapeared once again :(sad.gif

Liazon

  • Guest
Fight: Building a battle system
« Reply #6 on: August 08, 2006, 02:10:00 pm »
aww, this sounded like it'd be such a good rpg!

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
Fight: Building a battle system
« Reply #7 on: August 10, 2006, 02:03:00 am »
I'm still here, just been very busy.  

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Fight: Building a battle system
« Reply #8 on: August 10, 2006, 02:41:00 am »
I c >.< *xlibman

Offline mdjenkins86

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 235
  • Rating: +0/-0
    • View Profile
Fight: Building a battle system
« Reply #9 on: August 10, 2006, 04:55:00 am »
oh and my hp laptop suffered massive hardware failure.  So I have to get a new computer before I can finish...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Fight: Building a battle system
« Reply #10 on: August 10, 2006, 04:59:00 am »
ouch that sucks, I hope you didnt lost anything precious :(sad.gif

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Fight: Building a battle system
« Reply #11 on: September 17, 2006, 10:33:00 am »
hmm seems like mdjenkins is gone again...