| Post/Author/DateTime | Post |
|---|---|
| JDCAce06-23-05, 03:05 PM | My friend and I are making a Java program that creates a random character (stats, class, and race so far). We want the program to assign the random stats to the character's abilities according to the character's class. For example: If the random class is Barbarian, the program will assign the highest rolled stat to the Strength ability and the lowest rolled will be assigned to the Charisma ability. But for that happen, we have to program the list of most important to least important abilities. Could I get some help on that? I know the order is just an opinion, but could I have your opinion? I have the easy classes done. Tell me if they're right in your opinion and also help me with the other classes. ----- Barbarian Str, Con, Dex, Wis, Int, Cha Fighter Str, Dex, Con, Int, Wis, Cha Wizard Int, Dex, Con, Wis, Cha, Str |
| Surreal06-23-05, 04:08 PM | You can't really list the proper order of every stat for each class since different people put higher priority on different stats. What if you want to be a finesse fighter? That would make Dex your primary stat. Sure a Wizard needs Int, but whether higher AC or HP comes next is a preference. Rather than creating a static list for each class, I would maybe group stats in order of importance and then somehow use a random number generator to assign the stats. example 1 - fighter high priority: str, dex, con low priority: int, wis, cha example 2 - wizard high priority: int medium priority: dex, con low priority: str, wis, cha example 3 - rogue high priority: int, dex medium: str, con, cha low: wis *note that order of importance is still subjective So with a random generator, sometimes even a fighter winds up with cha as his highest stat. |
| JDCAce06-23-05, 04:17 PM | Alright, thanks for the input. My friend is the head coder, while I'm more of a designer. I'll run that idea by him the next time I talk to him and see what he thinks. I really like your idea. It's going to be harder, but it's probably better. Thanks again! Anymore suggestions from anyone? |
| rbrt_Spade06-23-05, 04:25 PM | i program in pascal and C++-have you tried mabye a random number genrator for the important stats.-mabye you could also have mabye pregenrated stats-the random gen. chooses one-i did this for a video game i made-but your using java-dont know anything about that language |
| Lorianne06-23-05, 05:01 PM | I think that you can only apply those stats to the archtypical characters... The way you arrange your stats also matters a lot if you're using a different character concept. I know that such a thing might be difficult to implement into a program (it would certainly be way far beyond my ability :confused: ), so I don't know if you want to take such things into consideration. |
| Surreal06-23-05, 06:22 PM | Another thought: rather than trying to prioritize stats per class, why don't you just expand the class list? So now instead of just a fighter class you'll have a str fighter, dex fighter, etc. and each one has a specific listing of where the stats go. So now you don't have to fiddle with probabilities and stat priorities, but rather just randomly generate 6 stats, randomly pick a class & subclass, and the stats get assigned automatically. There's more prep work in terms of creating all the sub classes, but the programming would be much easier. |
| Surreal06-23-05, 06:25 PM | A third thought, which would actually be the most complicated to implement and program (but hey, programmers are somewhat masochistic to begin with and should welcome the challenge :D ) Generate 6 stats, assign randomly, then have the program try and determine the best fit class for the stats. You would have to combine elements from both of my above posts to do it. |