Multiplayer Character Classes?
by David Bedford · in Technical Issues · 07/28/2008 (3:58 pm) · 2 replies
Ok, so what I want to do it have a multiplayer game with two teams, that each have unique character classes with different character models and weapons. I also want them to have different amounts of health, armor, and energy.
In my game you will gain money over time and through the number of kills you get, and you will purchase your different character classes using the money. I am going to be using http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2312 to implement teams, however I have not found anything dealing with character classes at all.
I was thinking I could probably do the character classes and money stuff through torque script. However I'm not really sure how to go about adding in the character class type stuff. Would it make sense to have a different inventory.cs and player.cs file for each different character class? When the player brings up some gui I let them pick what class they want to be, check to make sure they have the money, either allow or disallow it. Then depending upon what class they selected load up a different player.cs and inventory.cs file to change their weapons, health, character model etc?
Is that the correct way to go about it? Any thoughts or suggestions? Have I overlooked anything?
Thank you in advance for any feedback or suggestions.
P.S. I will be releasing this as a resource once I complete it.
In my game you will gain money over time and through the number of kills you get, and you will purchase your different character classes using the money. I am going to be using http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2312 to implement teams, however I have not found anything dealing with character classes at all.
I was thinking I could probably do the character classes and money stuff through torque script. However I'm not really sure how to go about adding in the character class type stuff. Would it make sense to have a different inventory.cs and player.cs file for each different character class? When the player brings up some gui I let them pick what class they want to be, check to make sure they have the money, either allow or disallow it. Then depending upon what class they selected load up a different player.cs and inventory.cs file to change their weapons, health, character model etc?
Is that the correct way to go about it? Any thoughts or suggestions? Have I overlooked anything?
Thank you in advance for any feedback or suggestions.
P.S. I will be releasing this as a resource once I complete it.
#2
07/28/2008 (4:55 pm)
That is exactly what I was looking for, not sure how I managed to overlook it for the past week, but I've been searching and couldn't find anything like that. Thanks a bunch!
Torque Owner J.P. Berry