Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Character Attribute Formulas


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 Twisttid   Members   -  Reputation: 92

Like
0Likes
Like

Posted 23 June 2014 - 01:30 AM

So, i'm making an MMORPG but I'm having trouble on the formulas on how each thing works, for an example with Strength I want to create a formula on how much damage is given depending on:

 

- Character Strength

- Weapon Power

- Target's Defence

 

Does anyone know somewhere I can get a detailed walkthrough on working these things out?



Sponsor:

#2 Twisttid   Members   -  Reputation: 92

Like
-2Likes
Like

Posted 23 June 2014 - 05:45 AM

Out of the 65 views so far, not 1 time has someone replied? Can't someone just help me?



#3 Buckeye   Crossbones+   -  Reputation: 5623

Like
3Likes
Like

Posted 23 June 2014 - 06:14 AM

You're getting no responses (probably) because you're asking for a reference to a detailed walkthrough that probably doesn't exist, as your subject is very specific and is relatively simple mathwise. A better approach for general topic posting in future is to describe a problem (as you have) and ask for any help, not necessarily a reference.

 

That said, approaches could be to:

 

1. add the attributes and use the sum.

2. multiply the attributes and use the product.

3. multiply each attribute by some factor and sum the results of those products.

 

Perhaps you can provide some additional information if one of those approaches doesn't fit the situation.


Edited by Buckeye, 23 June 2014 - 06:17 AM.

Please don't PM me with questions. Post them in the forums for everyone's benefit, and I can embarrass myself publicly.


#4 Tutorial Doctor   Members   -  Reputation: 1643

Like
0Likes
Like

Posted 23 June 2014 - 08:01 AM

If strength of a character is given a value 3, and weapon power is given a strength of -4 (negative because it subtracts power) then the resulting power of the character after the weapon hits it is -1.

Now say the character had a shield that has a +4 defense. This now gives the character +7 power. So when the weapon hits, the character is still at +3.

You could classify a strength of +3 as normal. Any strength greater is seen as extra defense.

Strength of zero is seen as dead or incapacitated. Negative strength can be whatever you desire.

That is a basic system/formula. You could also use factors as Buckeye suggested.

They call me the Tutorial Doctor.


#5 Tutorial Doctor   Members   -  Reputation: 1643

Like
0Likes
Like

Posted 23 June 2014 - 08:04 AM

One more thing. Inside of the game loop, you can gradually increase such health using a counter. If a collision between two objects happens:

health = health +/- factor

They call me the Tutorial Doctor.


#6 GoCatGo   GDNet+   -  Reputation: 1637

Like
0Likes
Like

Posted 16 July 2014 - 10:57 AM


Does anyone know somewhere I can get a detailed walkthrough on working these things out?

 

Right here:

 

http://www.autzones.com/din6000/textes/semaine13/Kirk%282005%29.pdf


Indie games are what indie movies were in the early 90s -- half-baked, poorly executed wastes of time that will quickly fall out of fashion.  Now go make Minecraft with wizards and watch the dozen or so remakes of Reservior Dogs.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS