The Daily Click ::. Forums ::. Klik Coding Help ::. custom characters and relative values...
 

Post Reply  Post Oekaki 
 

Posted By Message

ChuckyT



Registered
  04/12/2004
Points
  21
6th December, 2004 at 04:56:20 -

I'm making a game that allows you to fight a friend using custom characters. It uses a character creator to save character data to an INI file. Then the battle system (turn based) loads the data from the ini files. That part isn't a problem. What is a problem is what I like to call the "mondo" attack. It is a completely customizable attack that the user creates using the character creator. Here's an example...

damage = (opponent's health - your defense)*3

The problem is: how do I designate who the "opponent" is? Right now, I'm just using an equation-based system that uses the names of counters and such to determine numerical data:

damage = (p2's health - p1's defense)*3

that's fine as long as player 1 uses that character, but what happens when player 2 wants to use that character?

Anybody have some ideas?

A beta copy of the battle system and character creator can be found at:

http://mywebspace.wisc.edu/ajpetersen/web/Persona_Game.zip
(any characters you make must be moved into the "Personas" folder)

This game is based off of a card game my brother and I made.. read the rules at:
http://mywebspace.wisc.edu/ajpetersen/web/leaveyourmarkpersona.htm


Image Edited by the Author.

Image Edited by the Author.

 
Bop it up, Rock it out!

Jack Galilee



Registered
  02/12/2002
Points
  990

VIP Member
6th December, 2004 at 05:06:17 -

I cant get the Beta battle engine...

I think I understand what you mean but I want to see the engine before I try and help...

 
The only thing better than winning gold in the paralympics is not being retarted

ChuckyT



Registered
  04/12/2004
Points
  21
6th December, 2004 at 20:14:24 -

Ohh Sorry! I put the link into the message incorrectly...

http://mywebspace.wisc.edu/ajpetersen/web/Games/Persona_Game.zip

That should do 'er! Hope you can help... There are some sample characters included. Make sure you hit "reset" at the posse select screen before adding characters, then hit the "my posse is awesome" button for both players, and finally the middle button to go fight.

 
Bop it up, Rock it out!

Jack Galilee



Registered
  02/12/2002
Points
  990

VIP Member
6th December, 2004 at 21:15:12 -

Well, bsaiclly you need to come up with or redesign the Alogrothm to work out the damage dealable or maybe stop the users from being able to use the same personas

TIPS: Re-Make your games GUI

 
The only thing better than winning gold in the paralympics is not being retarted

ChuckyT



Registered
  04/12/2004
Points
  21
6th December, 2004 at 23:34:31 -

I'm currently redesigning it to be like a comic book... it's going to be really cool...

about that algorithm... that's what I'm having trouble with. Any ideas?

 
Bop it up, Rock it out!
   

Post Reply



 



Advertisement

Worth A Click