-
-
Notifications
You must be signed in to change notification settings - Fork 52
Guidelines
zumbak04 edited this page Dec 6, 2019
·
50 revisions
Hello! Here you will find tips or not very strict rules that we follow to make our work easier.
- If you want to commit changes that aren't yours, are completely generated, moved from one place to another or contain a lot of deleted lines, commented out lines, please TRY TO write in "(GDC)" at the end of your commit message.
- TRY TO talk to reviewers! When you fix a bug or implement a feature mentioned in the review, say to everyone on GitHub it's fixed or implemented!
-
TRY TO add
wc
at the beginning of non-vanilla files (created for this mod), so we can distinguish which files are related to the mod. Examples:wc_third_war_events.txt
,wc_event_modifiers.txt
. - PLEASE read [https://github.com/Warcraft-GoA-Development-Team/Warcraft-Guardians-of-Azeroth/wiki/Console-Tricks](these Console Tricks). They will help in testing.
- PLEASE read these GitHub Text Tricks. They will help in communicating on GitHub.
- We RECOMMEND TO use Notepad++ for scripting. In these Notepad Tricks you will find the download link and some tricks.
- TRY TO follow this Code Style. This unified code style allows you to save time spent interpreting the code of other developers.
- When you create some new script like an event, decision etc., TRY TO leave a comment so other developers can know context.
- If you change vanilla lines, TRY TO write comment
# Warcraft
before these lines and highlight it by making gaps (empty lines) before and after the mod lines.
Example
prisoner = no
# Warcraft
culture = gurubashi
trait = creature_troll
trait = greedy
-
TRY TO to use
weight_multiplier
instead ofmean_time_to_happen
. This makes the game less laggy. More info about whatweight_multiplier
is, you can find in this Event Modding Article. -
TRY TO add as much Event Pre-triggers and Decision Pre-triggers as possible. This makes the game less laggy. Design your features so they're limited to
only_playable = yes
orai = no
or both. - If you're working on Targeted Decisions, TRY NOT TO use
all
filter. Especially, if it'sai_target_filter
.
-
TRY TO name Event Namespaces like this:
WC + 3-2 Letters of Abbreviation
. For examples, the namespace ofwc_third_war_events.txt
isWCTHW
.
- TRY NOT TO make character attributes higher than 25 (35 maximum). Having a higher value than this breaks certain vanilla events and balance.
-
TRY NOT TO change province attributes without changing
Warcraft-Guardians-of-Azeroth\map\provinceDef.xls
. This is because the next map generation will clear all of your changes. For more information, Visit This Link. DO NOT open thisprovinceDef.xls
in any program except Microsoft Excel 2010 or 2013 or 2016.
- TRY TO add new localization at the end of the file.
-
TRY TO to write the localization of decision names, modifier names, event titles, trait names etc. while following these rules:
- Capitalize nouns, verbs and adjectives. Example:
Use Poisonous Gas
,Conjured Food for Poor
. - Skip articles except
the
article when it is the only object in the world. Normal examples:Subdue Void Creature
,Increases §GDeath Knight Level Up Chance§!
. Examples withthe
:Restore the Empire of Zul
,Join the Black Empire
. - Write them as short and as concise as possible.
- Capitalize nouns, verbs and adjectives. Example: