Game Development Community

Putting RPG Character attributes into Torque

by Travis Vroman · in General Discussion · 04/30/2003 (7:23 pm) · 2 replies

OK, I have no clue where to begin to put in character attributes (such as strength, health, endurance, magic, defense, mind, etc...) I want to be able to have these attributes for severqal characters, and I want to be able to define curves for each as he/she levels up. How would I do this?

Thanx,

-T

#1
05/01/2003 (8:55 am)
First off since you own the SDK a private forum would probably be a better place for a question like this, since the reply will more than likely be of no interest to non-sdk owners.

On to the answer, you could either put them as script based variables or as attributes on the Player class or a sub-class of Player depending on where you will be doing the calculations and other design issues such as exposing them to either side of the code c++/script or both.
#2
05/05/2003 (5:29 pm)
ok... but I know nothing about how to do this... can you give me an example maybe and possibly explain how to plug it in to the game?

-B

-Note - I'm not a great programmer... I mainly got the graphics, gui and gameplay end of the stuff.