Quote:
Originally Posted by fysiks
What do you mean by "each race file"? What kind of file is this?
It is possible to make your code flexible enough to the point you only need to change a few things but the more flexible you make your code, the more complex code it is.
|
I don't necessarily mind the complication, so long as it's all back-end stuff that does not need to be modified.
By each race file..I mean that every race will have its own .inl file. I currently have two, race_human_alliance.inl and race_undead_scourge.inl . In each file, I would like to have some kind of declaration of the race name. Otherwise, I have to do:
Code:
new RACE_NAMES[RACE_LAST][20] = {
"None",
"Undead Scourge",
"Human Alliance",
"Orcish Horde",
"Night Elves"
};
I want to localize as much information per race as I can into its own specific file. The main reason I wasn't able to work off of the existing war3:Ft mod was that every race had skills and abilities scattered throughout the mod in differing files. I want my mod to have almost 100% of the race in its own file.