Raised This Month: $ Target: $400
 0% 

Editing a global variable without a function.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PreDominance
Member
Join Date: Jul 2014
Old 07-31-2014 , 22:27   Re: Editing a global variable without a function.
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
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.
PreDominance is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode